diff --git a/go.mod b/go.mod index 30b8a17..497ef27 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/stytchauth/stytch-go/v13 +module github.com/stytchauth/stytch-go/v14 go 1.18 diff --git a/stytch/b2b/b2bstytchapi/b2bstytchapi.go b/stytch/b2b/b2bstytchapi/b2bstytchapi.go index 2b8beab..b20f09f 100644 --- a/stytch/b2b/b2bstytchapi/b2bstytchapi.go +++ b/stytch/b2b/b2bstytchapi/b2bstytchapi.go @@ -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 { diff --git a/stytch/b2b/discovery.go b/stytch/b2b/discovery.go index 3f8c376..d001428 100644 --- a/stytch/b2b/discovery.go +++ b/stytch/b2b/discovery.go @@ -7,7 +7,7 @@ package b2b // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch" + "github.com/stytchauth/stytch-go/v14/stytch" ) type DiscoveryClient struct { diff --git a/stytch/b2b/discovery/intermediatesessions/types.go b/stytch/b2b/discovery/intermediatesessions/types.go index a968ea5..d254015 100644 --- a/stytch/b2b/discovery/intermediatesessions/types.go +++ b/stytch/b2b/discovery/intermediatesessions/types.go @@ -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`. diff --git a/stytch/b2b/discovery/organizations/types.go b/stytch/b2b/discovery/organizations/types.go index 831b4e8..97bc4e9 100644 --- a/stytch/b2b/discovery/organizations/types.go +++ b/stytch/b2b/discovery/organizations/types.go @@ -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`. diff --git a/stytch/b2b/discovery/types.go b/stytch/b2b/discovery/types.go index 2fe2e02..959377b 100644 --- a/stytch/b2b/discovery/types.go +++ b/stytch/b2b/discovery/types.go @@ -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: diff --git a/stytch/b2b/discovery_intermediatesessions.go b/stytch/b2b/discovery_intermediatesessions.go index 6970b57..ccaef28 100644 --- a/stytch/b2b/discovery_intermediatesessions.go +++ b/stytch/b2b/discovery_intermediatesessions.go @@ -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 { diff --git a/stytch/b2b/discovery_organizations.go b/stytch/b2b/discovery_organizations.go index 75da701..c36d6b2 100644 --- a/stytch/b2b/discovery_organizations.go +++ b/stytch/b2b/discovery_organizations.go @@ -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 { diff --git a/stytch/b2b/magiclinks.go b/stytch/b2b/magiclinks.go index 9566e77..f5d78cd 100644 --- a/stytch/b2b/magiclinks.go +++ b/stytch/b2b/magiclinks.go @@ -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 { diff --git a/stytch/b2b/magiclinks/discovery/types.go b/stytch/b2b/magiclinks/discovery/types.go index 4d886db..5d2fae7 100644 --- a/stytch/b2b/magiclinks/discovery/types.go +++ b/stytch/b2b/magiclinks/discovery/types.go @@ -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`. diff --git a/stytch/b2b/magiclinks/email/types.go b/stytch/b2b/magiclinks/email/types.go index be1dd59..d5fa86d 100644 --- a/stytch/b2b/magiclinks/email/types.go +++ b/stytch/b2b/magiclinks/email/types.go @@ -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`. diff --git a/stytch/b2b/magiclinks/types.go b/stytch/b2b/magiclinks/types.go index ac7c52a..c7e1b9b 100644 --- a/stytch/b2b/magiclinks/types.go +++ b/stytch/b2b/magiclinks/types.go @@ -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`. diff --git a/stytch/b2b/magiclinks_discovery.go b/stytch/b2b/magiclinks_discovery.go index 99928ec..8e14476 100644 --- a/stytch/b2b/magiclinks_discovery.go +++ b/stytch/b2b/magiclinks_discovery.go @@ -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 { diff --git a/stytch/b2b/magiclinks_email.go b/stytch/b2b/magiclinks_email.go index 74834c4..da3505b 100644 --- a/stytch/b2b/magiclinks_email.go +++ b/stytch/b2b/magiclinks_email.go @@ -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 { diff --git a/stytch/b2b/magiclinks_email_discovery.go b/stytch/b2b/magiclinks_email_discovery.go index 7c179cc..d96381c 100644 --- a/stytch/b2b/magiclinks_email_discovery.go +++ b/stytch/b2b/magiclinks_email_discovery.go @@ -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 { diff --git a/stytch/b2b/oauth.go b/stytch/b2b/oauth.go index 510adee..5181dd2 100644 --- a/stytch/b2b/oauth.go +++ b/stytch/b2b/oauth.go @@ -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 { diff --git a/stytch/b2b/oauth/discovery/types.go b/stytch/b2b/oauth/discovery/types.go index 42d752e..3b104d0 100644 --- a/stytch/b2b/oauth/discovery/types.go +++ b/stytch/b2b/oauth/discovery/types.go @@ -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`. diff --git a/stytch/b2b/oauth/types.go b/stytch/b2b/oauth/types.go index 5a1037f..bee658e 100644 --- a/stytch/b2b/oauth/types.go +++ b/stytch/b2b/oauth/types.go @@ -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`. diff --git a/stytch/b2b/oauth_discovery.go b/stytch/b2b/oauth_discovery.go index 5928e7d..179e496 100644 --- a/stytch/b2b/oauth_discovery.go +++ b/stytch/b2b/oauth_discovery.go @@ -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 { diff --git a/stytch/b2b/organizations.go b/stytch/b2b/organizations.go index 239265e..78ff435 100644 --- a/stytch/b2b/organizations.go +++ b/stytch/b2b/organizations.go @@ -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 { diff --git a/stytch/b2b/organizations/members/types.go b/stytch/b2b/organizations/members/types.go index f3142be..d83c1cb 100644 --- a/stytch/b2b/organizations/members/types.go +++ b/stytch/b2b/organizations/members/types.go @@ -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`. diff --git a/stytch/b2b/organizations/types.go b/stytch/b2b/organizations/types.go index f9b52f2..512229a 100644 --- a/stytch/b2b/organizations/types.go +++ b/stytch/b2b/organizations/types.go @@ -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: diff --git a/stytch/b2b/organizations_members.go b/stytch/b2b/organizations_members.go index b8579c6..937d122 100644 --- a/stytch/b2b/organizations_members.go +++ b/stytch/b2b/organizations_members.go @@ -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 { diff --git a/stytch/b2b/organizations_members_oauthproviders.go b/stytch/b2b/organizations_members_oauthproviders.go index fea6e0a..5d3e825 100644 --- a/stytch/b2b/organizations_members_oauthproviders.go +++ b/stytch/b2b/organizations_members_oauthproviders.go @@ -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 { diff --git a/stytch/b2b/otp.go b/stytch/b2b/otp.go index aa457f5..0773c9b 100644 --- a/stytch/b2b/otp.go +++ b/stytch/b2b/otp.go @@ -7,7 +7,7 @@ package b2b // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch" + "github.com/stytchauth/stytch-go/v14/stytch" ) type OTPsClient struct { diff --git a/stytch/b2b/otp/sms/types.go b/stytch/b2b/otp/sms/types.go index 712b6bc..f4e2660 100644 --- a/stytch/b2b/otp/sms/types.go +++ b/stytch/b2b/otp/sms/types.go @@ -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`. diff --git a/stytch/b2b/otp_sms.go b/stytch/b2b/otp_sms.go index 302e20d..4a0ecf0 100644 --- a/stytch/b2b/otp_sms.go +++ b/stytch/b2b/otp_sms.go @@ -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 { diff --git a/stytch/b2b/passwords.go b/stytch/b2b/passwords.go index 90520e8..a9285ae 100644 --- a/stytch/b2b/passwords.go +++ b/stytch/b2b/passwords.go @@ -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 { diff --git a/stytch/b2b/passwords/email/types.go b/stytch/b2b/passwords/email/types.go index 320820a..854e068 100644 --- a/stytch/b2b/passwords/email/types.go +++ b/stytch/b2b/passwords/email/types.go @@ -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`. diff --git a/stytch/b2b/passwords/existingpassword/types.go b/stytch/b2b/passwords/existingpassword/types.go index 01d2d3f..73e20a8 100644 --- a/stytch/b2b/passwords/existingpassword/types.go +++ b/stytch/b2b/passwords/existingpassword/types.go @@ -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`. diff --git a/stytch/b2b/passwords/session/types.go b/stytch/b2b/passwords/session/types.go index 67a985a..ba6dd7b 100644 --- a/stytch/b2b/passwords/session/types.go +++ b/stytch/b2b/passwords/session/types.go @@ -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`. diff --git a/stytch/b2b/passwords/types.go b/stytch/b2b/passwords/types.go index 852a4ae..6ae6ab6 100644 --- a/stytch/b2b/passwords/types.go +++ b/stytch/b2b/passwords/types.go @@ -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`. diff --git a/stytch/b2b/passwords_email.go b/stytch/b2b/passwords_email.go index cd1116e..9410ced 100644 --- a/stytch/b2b/passwords_email.go +++ b/stytch/b2b/passwords_email.go @@ -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 { diff --git a/stytch/b2b/passwords_existingpassword.go b/stytch/b2b/passwords_existingpassword.go index e3bdcf9..0406a43 100644 --- a/stytch/b2b/passwords_existingpassword.go +++ b/stytch/b2b/passwords_existingpassword.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/passwords/existingpassword" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/passwords/existingpassword" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type PasswordsExistingPasswordClient struct { diff --git a/stytch/b2b/passwords_session.go b/stytch/b2b/passwords_session.go index 7c30d27..e9b2019 100644 --- a/stytch/b2b/passwords_session.go +++ b/stytch/b2b/passwords_session.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/passwords/session" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/passwords/session" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type PasswordsSessionsClient struct { diff --git a/stytch/b2b/rbac.go b/stytch/b2b/rbac.go index 00dbd08..e8cc3bb 100644 --- a/stytch/b2b/rbac.go +++ b/stytch/b2b/rbac.go @@ -10,8 +10,8 @@ import ( "context" "time" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/rbac" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/rbac" ) type RBACClient struct { diff --git a/stytch/b2b/recoverycodes.go b/stytch/b2b/recoverycodes.go index d22f8e7..8e33a79 100644 --- a/stytch/b2b/recoverycodes.go +++ b/stytch/b2b/recoverycodes.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/recoverycodes" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/recoverycodes" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type RecoveryCodesClient struct { diff --git a/stytch/b2b/recoverycodes/types.go b/stytch/b2b/recoverycodes/types.go index 8074404..d6a4380 100644 --- a/stytch/b2b/recoverycodes/types.go +++ b/stytch/b2b/recoverycodes/types.go @@ -7,8 +7,8 @@ package recoverycodes // !!! 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" ) // GetParams: Request type for `RecoveryCodes.Get`. diff --git a/stytch/b2b/scim.go b/stytch/b2b/scim.go index 24fbb86..d3ff13b 100644 --- a/stytch/b2b/scim.go +++ b/stytch/b2b/scim.go @@ -7,7 +7,7 @@ package b2b // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch" + "github.com/stytchauth/stytch-go/v14/stytch" ) type SCIMClient struct { diff --git a/stytch/b2b/scim/connections/types.go b/stytch/b2b/scim/connections/types.go index a0d09d4..0c41699 100644 --- a/stytch/b2b/scim/connections/types.go +++ b/stytch/b2b/scim/connections/types.go @@ -7,8 +7,8 @@ package connections // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/b2b/scim" - "github.com/stytchauth/stytch-go/v13/stytch/methodoptions" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/scim" + "github.com/stytchauth/stytch-go/v14/stytch/methodoptions" ) // CreateParams: Request type for `Connections.Create`. diff --git a/stytch/b2b/scim_connections.go b/stytch/b2b/scim_connections.go index d443e45..550c14f 100644 --- a/stytch/b2b/scim_connections.go +++ b/stytch/b2b/scim_connections.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/scim/connections" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/scim/connections" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type SCIMConnectionsClient struct { diff --git a/stytch/b2b/sessions.go b/stytch/b2b/sessions.go index 41d9cd6..ace3a24 100644 --- a/stytch/b2b/sessions.go +++ b/stytch/b2b/sessions.go @@ -15,11 +15,11 @@ import ( "github.com/MicahParks/keyfunc/v2" "github.com/golang-jwt/jwt/v5" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/rbac" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/shared" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/rbac" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/shared" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type SessionsClient struct { @@ -332,7 +332,7 @@ func (c *SessionsClient) GetJWKS( // ADDIMPORT: "time" // ADDIMPORT: "github.com/golang-jwt/jwt/v5" // ADDIMPORT: "github.com/MicahParks/keyfunc/v2" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" func (c *SessionsClient) AuthenticateJWT( ctx context.Context, @@ -397,7 +397,7 @@ func (c *SessionsClient) AuthenticateJWTWithClaims( return resp, nil } -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/shared" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/shared" func (c *SessionsClient) AuthenticateJWTLocal( ctx context.Context, token string, diff --git a/stytch/b2b/sessions/types.go b/stytch/b2b/sessions/types.go index ca12b90..70df64a 100644 --- a/stytch/b2b/sessions/types.go +++ b/stytch/b2b/sessions/types.go @@ -11,9 +11,9 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "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/consumer/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/consumer/sessions" ) // AuthenticateParams: Request type for `Sessions.Authenticate`. @@ -387,7 +387,7 @@ const ( // ADDIMPORT: "errors" // ADDIMPORT: "strings" // ADDIMPORT: "github.com/golang-jwt/jwt/v5" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" var ErrJWTTooOld = errors.New("JWT too old") diff --git a/stytch/b2b/sessions_test.go b/stytch/b2b/sessions_test.go index 0ab0732..8f7ca06 100644 --- a/stytch/b2b/sessions_test.go +++ b/stytch/b2b/sessions_test.go @@ -12,17 +12,17 @@ import ( "testing" "time" - "github.com/stytchauth/stytch-go/v13/stytch/b2b" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/b2bstytchapi" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions" - consumersessions "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/b2b" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/b2bstytchapi" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions" + consumersessions "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" "github.com/MicahParks/keyfunc/v2" "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/config" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/config" ) func TestAuthenticateJWTLocal(t *testing.T) { diff --git a/stytch/b2b/sso.go b/stytch/b2b/sso.go index f1d604f..429104f 100644 --- a/stytch/b2b/sso.go +++ b/stytch/b2b/sso.go @@ -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/sso" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sso" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type SSOClient struct { diff --git a/stytch/b2b/sso/oidc/types.go b/stytch/b2b/sso/oidc/types.go index 84ddbe0..3041237 100644 --- a/stytch/b2b/sso/oidc/types.go +++ b/stytch/b2b/sso/oidc/types.go @@ -7,8 +7,8 @@ package oidc // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sso" - "github.com/stytchauth/stytch-go/v13/stytch/methodoptions" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sso" + "github.com/stytchauth/stytch-go/v14/stytch/methodoptions" ) // CreateConnectionParams: Request type for `OIDC.CreateConnection`. diff --git a/stytch/b2b/sso/saml/types.go b/stytch/b2b/sso/saml/types.go index 1ad5d01..82df5f2 100644 --- a/stytch/b2b/sso/saml/types.go +++ b/stytch/b2b/sso/saml/types.go @@ -7,8 +7,8 @@ package saml // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sso" - "github.com/stytchauth/stytch-go/v13/stytch/methodoptions" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sso" + "github.com/stytchauth/stytch-go/v14/stytch/methodoptions" ) // CreateConnectionParams: Request type for `SAML.CreateConnection`. diff --git a/stytch/b2b/sso/types.go b/stytch/b2b/sso/types.go index 8924a49..0a3e4c7 100644 --- a/stytch/b2b/sso/types.go +++ b/stytch/b2b/sso/types.go @@ -9,10 +9,10 @@ package sso 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/v13/stytch/methodoptions" + "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/methodoptions" ) // AuthenticateParams: Request type for `SSO.Authenticate`. diff --git a/stytch/b2b/sso_oidc.go b/stytch/b2b/sso_oidc.go index afc6e83..f412e05 100644 --- a/stytch/b2b/sso_oidc.go +++ b/stytch/b2b/sso_oidc.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sso/oidc" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sso/oidc" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type SSOOIDCClient struct { diff --git a/stytch/b2b/sso_saml.go b/stytch/b2b/sso_saml.go index 531ed90..26a2e66 100644 --- a/stytch/b2b/sso_saml.go +++ b/stytch/b2b/sso_saml.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sso/saml" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sso/saml" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type SSOSAMLClient struct { diff --git a/stytch/b2b/totps.go b/stytch/b2b/totps.go index 9450191..096ef16 100644 --- a/stytch/b2b/totps.go +++ b/stytch/b2b/totps.go @@ -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/totps" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/totps" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type TOTPsClient struct { diff --git a/stytch/b2b/totps/types.go b/stytch/b2b/totps/types.go index f7b94ad..98a7aba 100644 --- a/stytch/b2b/totps/types.go +++ b/stytch/b2b/totps/types.go @@ -7,8 +7,8 @@ package totps // !!! 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 `TOTPs.Authenticate`. diff --git a/stytch/config/version.go b/stytch/config/version.go index 560cb1e..ed71658 100644 --- a/stytch/config/version.go +++ b/stytch/config/version.go @@ -1,3 +1,3 @@ package config -const APIVersion = "14.1.0" +const APIVersion = "14.1.1" diff --git a/stytch/consumer/cryptowallets.go b/stytch/consumer/cryptowallets.go index ed55960..7b3b1a0 100644 --- a/stytch/consumer/cryptowallets.go +++ b/stytch/consumer/cryptowallets.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/cryptowallets" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/cryptowallets" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type CryptoWalletsClient struct { diff --git a/stytch/consumer/cryptowallets/types.go b/stytch/consumer/cryptowallets/types.go index 8a02329..6d01ca0 100644 --- a/stytch/consumer/cryptowallets/types.go +++ b/stytch/consumer/cryptowallets/types.go @@ -7,8 +7,8 @@ package cryptowallets // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // AuthenticateParams: Request type for `CryptoWallets.Authenticate`. diff --git a/stytch/consumer/m2m.go b/stytch/consumer/m2m.go index 1e6b801..fb7891a 100644 --- a/stytch/consumer/m2m.go +++ b/stytch/consumer/m2m.go @@ -18,10 +18,10 @@ import ( "github.com/MicahParks/keyfunc/v2" "github.com/golang-jwt/jwt/v5" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/config" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/config" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type M2MClient struct { @@ -42,9 +42,9 @@ func NewM2MClient(c stytch.Client, jwks *keyfunc.JWKS) *M2MClient { // MANUAL(Token)(SERVICE_METHOD) // ADDIMPORT: "context" // ADDIMPORT: "fmt" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/config" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/config" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" // ADDIMPORT: "io" // ADDIMPORT: "net/http" // ADDIMPORT: "net/url" @@ -132,7 +132,7 @@ func (c *M2MClient) Token( // ADDIMPORT: "time" // ADDIMPORT: "github.com/golang-jwt/jwt/v5" // ADDIMPORT: "github.com/MicahParks/keyfunc/v2" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" // AuthenticateToken validates an access token issued by Stytch from the Token endpoint. // M2M access tokens are JWTs signed with the project's JWKs, and can be validated locally using any Stytch client library. diff --git a/stytch/consumer/m2m/clients/secrets/types.go b/stytch/consumer/m2m/clients/secrets/types.go index 53dcaf7..c134771 100644 --- a/stytch/consumer/m2m/clients/secrets/types.go +++ b/stytch/consumer/m2m/clients/secrets/types.go @@ -7,7 +7,7 @@ package secrets // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m" ) // RotateCancelParams: Request type for `Secrets.RotateCancel`. diff --git a/stytch/consumer/m2m/clients/types.go b/stytch/consumer/m2m/clients/types.go index bbdd2be..f6a3889 100644 --- a/stytch/consumer/m2m/clients/types.go +++ b/stytch/consumer/m2m/clients/types.go @@ -7,7 +7,7 @@ package clients // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m" ) // CreateParams: Request type for `Clients.Create`. diff --git a/stytch/consumer/m2m_clients.go b/stytch/consumer/m2m_clients.go index a21cdbd..ec0921a 100644 --- a/stytch/consumer/m2m_clients.go +++ b/stytch/consumer/m2m_clients.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m/clients" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m/clients" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type M2MClientsClient struct { diff --git a/stytch/consumer/m2m_clients_secrets.go b/stytch/consumer/m2m_clients_secrets.go index 7a1717c..8710f62 100644 --- a/stytch/consumer/m2m_clients_secrets.go +++ b/stytch/consumer/m2m_clients_secrets.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m/clients/secrets" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m/clients/secrets" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type M2MClientsSecretsClient struct { diff --git a/stytch/consumer/m2m_test.go b/stytch/consumer/m2m_test.go index 14244e7..fc342a3 100644 --- a/stytch/consumer/m2m_test.go +++ b/stytch/consumer/m2m_test.go @@ -9,16 +9,16 @@ import ( "testing" "time" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" "github.com/MicahParks/keyfunc/v2" "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/config" - "github.com/stytchauth/stytch-go/v13/stytch/consumer" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/m2m" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/config" + "github.com/stytchauth/stytch-go/v14/stytch/consumer" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/m2m" ) func TestM2MClient_Token(t *testing.T) { diff --git a/stytch/consumer/magiclinks.go b/stytch/consumer/magiclinks.go index a680965..a89abac 100644 --- a/stytch/consumer/magiclinks.go +++ b/stytch/consumer/magiclinks.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/magiclinks" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/magiclinks" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type MagicLinksClient struct { diff --git a/stytch/consumer/magiclinks/email/types.go b/stytch/consumer/magiclinks/email/types.go index 13f0bbb..aa87b78 100644 --- a/stytch/consumer/magiclinks/email/types.go +++ b/stytch/consumer/magiclinks/email/types.go @@ -7,8 +7,8 @@ package email // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // InviteParams: Request type for `Email.Invite`. diff --git a/stytch/consumer/magiclinks/types.go b/stytch/consumer/magiclinks/types.go index 46b97cf..d12c909 100644 --- a/stytch/consumer/magiclinks/types.go +++ b/stytch/consumer/magiclinks/types.go @@ -7,9 +7,9 @@ package magiclinks // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // AuthenticateParams: Request type for `MagicLinks.Authenticate`. diff --git a/stytch/consumer/magiclinks_email.go b/stytch/consumer/magiclinks_email.go index 817014b..c75eab0 100644 --- a/stytch/consumer/magiclinks_email.go +++ b/stytch/consumer/magiclinks_email.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/magiclinks/email" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/magiclinks/email" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type MagicLinksEmailClient struct { diff --git a/stytch/consumer/oauth.go b/stytch/consumer/oauth.go index 2057716..a51142a 100644 --- a/stytch/consumer/oauth.go +++ b/stytch/consumer/oauth.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/oauth" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/oauth" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type OAuthClient struct { diff --git a/stytch/consumer/oauth/types.go b/stytch/consumer/oauth/types.go index 39ce4ad..a52d5b1 100644 --- a/stytch/consumer/oauth/types.go +++ b/stytch/consumer/oauth/types.go @@ -9,8 +9,8 @@ package oauth import ( "time" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // AttachParams: Request type for `OAuth.Attach`. diff --git a/stytch/consumer/otp.go b/stytch/consumer/otp.go index 42bfb1d..da8fcb4 100644 --- a/stytch/consumer/otp.go +++ b/stytch/consumer/otp.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/otp" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/otp" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type OTPsClient struct { diff --git a/stytch/consumer/otp/email/types.go b/stytch/consumer/otp/email/types.go index 47926b3..ba248f6 100644 --- a/stytch/consumer/otp/email/types.go +++ b/stytch/consumer/otp/email/types.go @@ -7,7 +7,7 @@ package email // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" ) // LoginOrCreateParams: Request type for `Email.LoginOrCreate`. diff --git a/stytch/consumer/otp/sms/types.go b/stytch/consumer/otp/sms/types.go index 4a2bf4c..52b93ec 100644 --- a/stytch/consumer/otp/sms/types.go +++ b/stytch/consumer/otp/sms/types.go @@ -7,7 +7,7 @@ package sms // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" ) // LoginOrCreateParams: Request type for `Sms.LoginOrCreate`. diff --git a/stytch/consumer/otp/types.go b/stytch/consumer/otp/types.go index 01d069e..12f2663 100644 --- a/stytch/consumer/otp/types.go +++ b/stytch/consumer/otp/types.go @@ -7,10 +7,10 @@ package otp // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/magiclinks" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/magiclinks" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // AuthenticateParams: Request type for `OTPs.Authenticate`. diff --git a/stytch/consumer/otp/whatsapp/types.go b/stytch/consumer/otp/whatsapp/types.go index d4c518a..9a7e39c 100644 --- a/stytch/consumer/otp/whatsapp/types.go +++ b/stytch/consumer/otp/whatsapp/types.go @@ -7,7 +7,7 @@ package whatsapp // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" ) // LoginOrCreateParams: Request type for `Whatsapp.LoginOrCreate`. diff --git a/stytch/consumer/otp_email.go b/stytch/consumer/otp_email.go index e717772..508dbad 100644 --- a/stytch/consumer/otp_email.go +++ b/stytch/consumer/otp_email.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/otp/email" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/otp/email" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type OTPsEmailClient struct { diff --git a/stytch/consumer/otp_sms.go b/stytch/consumer/otp_sms.go index 3f9a277..3ca0864 100644 --- a/stytch/consumer/otp_sms.go +++ b/stytch/consumer/otp_sms.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/otp/sms" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/otp/sms" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type OTPsSmsClient struct { diff --git a/stytch/consumer/otp_whatsapp.go b/stytch/consumer/otp_whatsapp.go index 4174356..6022621 100644 --- a/stytch/consumer/otp_whatsapp.go +++ b/stytch/consumer/otp_whatsapp.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/otp/whatsapp" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/otp/whatsapp" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type OTPsWhatsappClient struct { diff --git a/stytch/consumer/passwords.go b/stytch/consumer/passwords.go index 0b3a25a..92f74bb 100644 --- a/stytch/consumer/passwords.go +++ b/stytch/consumer/passwords.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/passwords" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/passwords" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type PasswordsClient struct { diff --git a/stytch/consumer/passwords/email/types.go b/stytch/consumer/passwords/email/types.go index e052cd5..218aa60 100644 --- a/stytch/consumer/passwords/email/types.go +++ b/stytch/consumer/passwords/email/types.go @@ -7,10 +7,10 @@ package email // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/magiclinks" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/magiclinks" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // ResetParams: Request type for `Email.Reset`. diff --git a/stytch/consumer/passwords/existingpassword/types.go b/stytch/consumer/passwords/existingpassword/types.go index 6cb76c0..5f14238 100644 --- a/stytch/consumer/passwords/existingpassword/types.go +++ b/stytch/consumer/passwords/existingpassword/types.go @@ -7,8 +7,8 @@ package existingpassword // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // ResetParams: Request type for `ExistingPassword.Reset`. diff --git a/stytch/consumer/passwords/session/types.go b/stytch/consumer/passwords/session/types.go index 330c342..416e58b 100644 --- a/stytch/consumer/passwords/session/types.go +++ b/stytch/consumer/passwords/session/types.go @@ -7,8 +7,8 @@ package session // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // ResetParams: Request type for `Sessions.Reset`. diff --git a/stytch/consumer/passwords/types.go b/stytch/consumer/passwords/types.go index a5ffc96..6c7ceed 100644 --- a/stytch/consumer/passwords/types.go +++ b/stytch/consumer/passwords/types.go @@ -7,8 +7,8 @@ package passwords // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // Argon2Config: diff --git a/stytch/consumer/passwords_email.go b/stytch/consumer/passwords_email.go index 61ab001..e726951 100644 --- a/stytch/consumer/passwords_email.go +++ b/stytch/consumer/passwords_email.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/passwords/email" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/passwords/email" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type PasswordsEmailClient struct { diff --git a/stytch/consumer/passwords_existingpassword.go b/stytch/consumer/passwords_existingpassword.go index 5c907a4..0a6a709 100644 --- a/stytch/consumer/passwords_existingpassword.go +++ b/stytch/consumer/passwords_existingpassword.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/passwords/existingpassword" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/passwords/existingpassword" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type PasswordsExistingPasswordClient struct { diff --git a/stytch/consumer/passwords_session.go b/stytch/consumer/passwords_session.go index 32f6b60..e95ff2b 100644 --- a/stytch/consumer/passwords_session.go +++ b/stytch/consumer/passwords_session.go @@ -10,9 +10,9 @@ import ( "context" "encoding/json" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/passwords/session" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/passwords/session" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type PasswordsSessionsClient struct { diff --git a/stytch/consumer/project.go b/stytch/consumer/project.go index b45e7ef..772f89e 100644 --- a/stytch/consumer/project.go +++ b/stytch/consumer/project.go @@ -9,8 +9,8 @@ package consumer import ( "context" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/project" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/project" ) type ProjectClient struct { diff --git a/stytch/consumer/sessions.go b/stytch/consumer/sessions.go index 807267a..ec921bc 100644 --- a/stytch/consumer/sessions.go +++ b/stytch/consumer/sessions.go @@ -15,10 +15,10 @@ import ( "github.com/MicahParks/keyfunc/v2" "github.com/golang-jwt/jwt/v5" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/shared" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/shared" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type SessionsClient struct { @@ -234,8 +234,8 @@ func (c *SessionsClient) GetJWKS( // ADDIMPORT: "time" // ADDIMPORT: "github.com/golang-jwt/jwt/v5" // ADDIMPORT: "github.com/MicahParks/keyfunc/v2" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" -// ADDIMPORT: "github.com/stytchauth/stytch-go/v13/stytch/shared" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" +// ADDIMPORT: "github.com/stytchauth/stytch-go/v14/stytch/shared" func (c *SessionsClient) AuthenticateJWT( ctx context.Context, diff --git a/stytch/consumer/sessions/types.go b/stytch/consumer/sessions/types.go index ba26f99..9bb6e74 100644 --- a/stytch/consumer/sessions/types.go +++ b/stytch/consumer/sessions/types.go @@ -11,8 +11,8 @@ import ( "time" "github.com/golang-jwt/jwt/v5" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) type AmazonOAuthFactor struct { diff --git a/stytch/consumer/sessions_test.go b/stytch/consumer/sessions_test.go index a4bbedd..3482cf4 100644 --- a/stytch/consumer/sessions_test.go +++ b/stytch/consumer/sessions_test.go @@ -12,17 +12,17 @@ import ( "testing" "time" - "github.com/stytchauth/stytch-go/v13/stytch/consumer" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/stytchapi" + "github.com/stytchauth/stytch-go/v14/stytch/consumer" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/stytchapi" "github.com/MicahParks/keyfunc/v2" "github.com/golang-jwt/jwt/v5" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/config" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/config" ) func TestAuthenticateJWTLocal(t *testing.T) { diff --git a/stytch/consumer/stytchapi/stytchapi.go b/stytch/consumer/stytchapi/stytchapi.go index 43aefd6..f7a39c5 100644 --- a/stytch/consumer/stytchapi/stytchapi.go +++ b/stytch/consumer/stytchapi/stytchapi.go @@ -13,9 +13,9 @@ import ( "time" "github.com/MicahParks/keyfunc/v2" - "github.com/stytchauth/stytch-go/v13/stytch" - "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/config" + "github.com/stytchauth/stytch-go/v14/stytch/consumer" ) type Logger interface { diff --git a/stytch/consumer/stytchapi/stytchapi_test.go b/stytch/consumer/stytchapi/stytchapi_test.go index 54a94c0..315b1f3 100644 --- a/stytch/consumer/stytchapi/stytchapi_test.go +++ b/stytch/consumer/stytchapi/stytchapi_test.go @@ -9,9 +9,9 @@ import ( "testing" "time" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/magiclinks" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/stytchapi" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/magiclinks" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/stytchapi" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/stytch/consumer/totps.go b/stytch/consumer/totps.go index f6ef98f..2500119 100644 --- a/stytch/consumer/totps.go +++ b/stytch/consumer/totps.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/totps" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/totps" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type TOTPsClient struct { diff --git a/stytch/consumer/totps/types.go b/stytch/consumer/totps/types.go index 81a6596..dd8049a 100644 --- a/stytch/consumer/totps/types.go +++ b/stytch/consumer/totps/types.go @@ -7,8 +7,8 @@ package totps // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // AuthenticateParams: Request type for `TOTPs.Authenticate`. diff --git a/stytch/consumer/users.go b/stytch/consumer/users.go index 2411d38..981d654 100644 --- a/stytch/consumer/users.go +++ b/stytch/consumer/users.go @@ -11,9 +11,9 @@ import ( "encoding/json" "fmt" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type UsersClient struct { diff --git a/stytch/consumer/users/types.go b/stytch/consumer/users/types.go index 134bdcd..2906f27 100644 --- a/stytch/consumer/users/types.go +++ b/stytch/consumer/users/types.go @@ -9,7 +9,7 @@ package users import ( "time" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/attribute" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/attribute" ) // BiometricRegistration: diff --git a/stytch/consumer/webauthn.go b/stytch/consumer/webauthn.go index bb2922f..a3230fb 100644 --- a/stytch/consumer/webauthn.go +++ b/stytch/consumer/webauthn.go @@ -12,9 +12,9 @@ import ( "fmt" "github.com/mitchellh/mapstructure" - "github.com/stytchauth/stytch-go/v13/stytch" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/webauthn" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/webauthn" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) type WebAuthnClient struct { diff --git a/stytch/consumer/webauthn/types.go b/stytch/consumer/webauthn/types.go index 93f3fd3..78ee066 100644 --- a/stytch/consumer/webauthn/types.go +++ b/stytch/consumer/webauthn/types.go @@ -7,8 +7,8 @@ package webauthn // !!! import ( - "github.com/stytchauth/stytch-go/v13/stytch/consumer/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/consumer/users" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/consumer/users" ) // AuthenticateParams: Request type for `WebAuthn.Authenticate`. diff --git a/stytch/shared/jwt_test.go b/stytch/shared/jwt_test.go index d80ecfe..f1876ca 100644 --- a/stytch/shared/jwt_test.go +++ b/stytch/shared/jwt_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/stretchr/testify/assert" - "github.com/stytchauth/stytch-go/v13/stytch/shared" + "github.com/stytchauth/stytch-go/v14/stytch/shared" ) func TestReservedClaim(t *testing.T) { diff --git a/stytch/shared/rbac_local.go b/stytch/shared/rbac_local.go index a9608fa..2a4b267 100644 --- a/stytch/shared/rbac_local.go +++ b/stytch/shared/rbac_local.go @@ -1,9 +1,9 @@ package shared import ( - "github.com/stytchauth/stytch-go/v13/stytch/b2b/rbac" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/rbac" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) func PerformAuthorizationCheck( diff --git a/stytch/shared/rbac_local_test.go b/stytch/shared/rbac_local_test.go index ed2bcec..95c99bd 100644 --- a/stytch/shared/rbac_local_test.go +++ b/stytch/shared/rbac_local_test.go @@ -4,10 +4,10 @@ import ( "testing" "github.com/stretchr/testify/assert" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/rbac" - "github.com/stytchauth/stytch-go/v13/stytch/b2b/sessions" - "github.com/stytchauth/stytch-go/v13/stytch/shared" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/rbac" + "github.com/stytchauth/stytch-go/v14/stytch/b2b/sessions" + "github.com/stytchauth/stytch-go/v14/stytch/shared" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) const orgID = "organization-1234" diff --git a/stytch/stytch.go b/stytch/stytch.go index 9d575a2..2f8a589 100644 --- a/stytch/stytch.go +++ b/stytch/stytch.go @@ -10,8 +10,8 @@ import ( "net/http" "strings" - "github.com/stytchauth/stytch-go/v13/stytch/config" - "github.com/stytchauth/stytch-go/v13/stytch/stytcherror" + "github.com/stytchauth/stytch-go/v14/stytch/config" + "github.com/stytchauth/stytch-go/v14/stytch/stytcherror" ) const ( diff --git a/stytch/stytcherror/stytcherror.go b/stytch/stytcherror/stytcherror.go index 200acd5..8e4aeab 100644 --- a/stytch/stytcherror/stytcherror.go +++ b/stytch/stytcherror/stytcherror.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/stytchauth/stytch-go/v13/stytch/config" + "github.com/stytchauth/stytch-go/v14/stytch/config" ) type Error struct {