Skip to content

Commit

Permalink
Fix Go version in go.mod (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
logan-stytch authored May 22, 2024
1 parent 1d0ef4e commit 208acbe
Show file tree
Hide file tree
Showing 100 changed files with 275 additions and 275 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/stytchauth/stytch-go/v13
module github.com/stytchauth/stytch-go/v14

go 1.18

Expand Down
8 changes: 4 additions & 4 deletions stytch/b2b/b2bstytchapi/b2bstytchapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import (
"time"

"github.com/MicahParks/keyfunc/v2"
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b"
"github.com/stytchauth/stytch-go/v13/stytch/config"
"github.com/stytchauth/stytch-go/v13/stytch/consumer"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b"
"github.com/stytchauth/stytch-go/v14/stytch/config"
"github.com/stytchauth/stytch-go/v14/stytch/consumer"
)

type Logger interface {
Expand Down
2 changes: 1 addition & 1 deletion stytch/b2b/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package b2b
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v14/stytch"
)

type DiscoveryClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/discovery/intermediatesessions/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package intermediatesessions
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// ExchangeParams: Request type for `IntermediateSessions.Exchange`.
Expand Down
8 changes: 4 additions & 4 deletions stytch/b2b/discovery/organizations/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ package organizations
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/discovery"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/discovery"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// CreateParams: Request type for `Organizations.Create`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/discovery/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package discovery
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// DiscoveredOrganization:
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/discovery_intermediatesessions.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/discovery/intermediatesessions"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/discovery/intermediatesessions"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type DiscoveryIntermediateSessionsClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/discovery_organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/discovery/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/discovery/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type DiscoveryOrganizationsClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/magiclinks.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"fmt"

"github.com/mitchellh/mapstructure"
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/magiclinks"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/magiclinks"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type MagicLinksClient struct {
Expand Down
2 changes: 1 addition & 1 deletion stytch/b2b/magiclinks/discovery/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package discovery
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/discovery"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/discovery"
)

// AuthenticateParams: Request type for `Discovery.Authenticate`.
Expand Down
4 changes: 2 additions & 2 deletions stytch/b2b/magiclinks/email/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package email
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/methodoptions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/methodoptions"
)

// InviteParams: Request type for `Email.Invite`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/magiclinks/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package magiclinks
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// AuthenticateParams: Request type for `MagicLinks.Authenticate`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/magiclinks_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/magiclinks/discovery"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/magiclinks/discovery"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type MagicLinksDiscoveryClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/magiclinks_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/magiclinks/email"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/magiclinks/email"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type MagicLinksEmailClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/magiclinks_email_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/magiclinks/email/discovery"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/magiclinks/email/discovery"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type MagicLinksEmailDiscoveryClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/oauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"fmt"

"github.com/mitchellh/mapstructure"
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/oauth"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/oauth"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type OAuthClient struct {
Expand Down
2 changes: 1 addition & 1 deletion stytch/b2b/oauth/discovery/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package discovery
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/discovery"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/discovery"
)

// AuthenticateParams: Request type for `Discovery.Authenticate`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/oauth/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ package oauth
import (
"time"

"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// AuthenticateParams: Request type for `OAuth.Authenticate`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/oauth_discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/oauth/discovery"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/oauth/discovery"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type OAuthDiscoveryClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"encoding/json"
"fmt"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type OrganizationsClient struct {
Expand Down
4 changes: 2 additions & 2 deletions stytch/b2b/organizations/members/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package members
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/methodoptions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/methodoptions"
)

// CreateParams: Request type for `Members.Create`.
Expand Down
2 changes: 1 addition & 1 deletion stytch/b2b/organizations/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package organizations
import (
"time"

"github.com/stytchauth/stytch-go/v13/stytch/methodoptions"
"github.com/stytchauth/stytch-go/v14/stytch/methodoptions"
)

// ActiveSCIMConnection:
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/organizations_members.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"encoding/json"
"fmt"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations/members"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations/members"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type OrganizationsMembersClient struct {
Expand Down
4 changes: 2 additions & 2 deletions stytch/b2b/organizations_members_oauthproviders.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"context"
"fmt"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations/members/oauthproviders"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations/members/oauthproviders"
)

type OrganizationsMembersOAuthProvidersClient struct {
Expand Down
2 changes: 1 addition & 1 deletion stytch/b2b/otp.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ package b2b
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v14/stytch"
)

type OTPsClient struct {
Expand Down
4 changes: 2 additions & 2 deletions stytch/b2b/otp/sms/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package sms
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// AuthenticateParams: Request type for `Sms.Authenticate`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/otp_sms.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"fmt"

"github.com/mitchellh/mapstructure"
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/otp/sms"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/otp/sms"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type OTPsSmsClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/passwords.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"fmt"

"github.com/mitchellh/mapstructure"
"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/passwords"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/passwords"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type PasswordsClient struct {
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/passwords/email/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package email
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// ResetParams: Request type for `Email.Reset`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/passwords/existingpassword/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package existingpassword
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// ResetParams: Request type for `ExistingPassword.Reset`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/passwords/session/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ package session
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
)

// ResetParams: Request type for `Sessions.Reset`.
Expand Down
8 changes: 4 additions & 4 deletions stytch/b2b/passwords/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ package passwords
// !!!

import (
"github.com/stytchauth/stytch-go/v13/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v13/stytch/consumer/passwords"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/mfa"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/organizations"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions"
"github.com/stytchauth/stytch-go/v14/stytch/consumer/passwords"
)

// AuthenticateParams: Request type for `Passwords.Authenticate`.
Expand Down
6 changes: 3 additions & 3 deletions stytch/b2b/passwords_email.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"context"
"encoding/json"

"github.com/stytchauth/stytch-go/v13/stytch"
"github.com/stytchauth/stytch-go/v13/stytch/b2b/passwords/email"
"github.com/stytchauth/stytch-go/v13/stytch/stytcherror"
"github.com/stytchauth/stytch-go/v14/stytch"
"github.com/stytchauth/stytch-go/v14/stytch/b2b/passwords/email"
"github.com/stytchauth/stytch-go/v14/stytch/stytcherror"
)

type PasswordsEmailClient struct {
Expand Down
Loading

0 comments on commit 208acbe

Please sign in to comment.