Comparing version 7.3.1 to 7.4.0
@@ -59,3 +59,3 @@ "use strict"; | ||
method: "DELETE", | ||
url: `${this.base_path}/${data.organization_id}/members/phone_numbers/${data.member_phone_id}` | ||
url: `${this.base_path}/${data.organization_id}/members/phone_numbers/${data.member_id}` | ||
}); | ||
@@ -62,0 +62,0 @@ } |
{ | ||
"name": "stytch", | ||
"version": "7.3.1", | ||
"version": "7.4.0", | ||
"description": "A wrapper for the Stytch API", | ||
@@ -5,0 +5,0 @@ "types": "./types/lib/index.d.ts", |
@@ -26,13 +26,13 @@ # Stytch Node.js Library | ||
- [x] [Email Magic Links](https://stytch.com/docs/api/send-by-email) | ||
- [x] [Embeddable Magic Links](https://stytch.com/docs/api/create-magic-link-overview) | ||
- [x] [OAuth logins](https://stytch.com/docs/api/oauth-overview) | ||
- [x] [Embeddable Magic Links](https://stytch.com/docs/api/create-magic-link) | ||
- [x] [OAuth logins](https://stytch.com/docs/api/oauth-google-start) | ||
- [x] [SMS passcodes](https://stytch.com/docs/api/send-otp-by-sms) | ||
- [x] [WhatsApp passcodes](https://stytch.com/docs/api/whatsapp-send) | ||
- [x] [Email passcodes](https://stytch.com/docs/api/send-otp-by-email) | ||
- [x] [Session Management](https://stytch.com/docs/api/sessions-overview) | ||
- [x] [WebAuthn](https://stytch.com/docs/api/webauthn-overview) | ||
- [x] [User Management](https://stytch.com/docs/api/users) | ||
- [x] [Time-based one-time passcodes (TOTPs)](https://stytch.com/docs/api/totps-overview) | ||
- [x] [Crypto wallets](https://stytch.com/docs/api/crypto-wallet-overview) | ||
- [x] [Passwords](https://stytch.com/docs/api/password-overview) | ||
- [x] [Session Management](https://stytch.com/docs/api/session-auth) | ||
- [x] [WebAuthn](https://stytch.com/docs/api/webauthn-register-start) | ||
- [x] [User Management](https://stytch.com/docs/api/create-user) | ||
- [x] [Time-based one-time passcodes (TOTPs)](https://stytch.com/docs/api/totp-create) | ||
- [x] [Crypto wallets](https://stytch.com/docs/api/crypto-wallet-authenticate-start) | ||
- [x] [Passwords](https://stytch.com/docs/api/password-create) | ||
@@ -44,7 +44,7 @@ **B2B** | ||
- [x] [Email Magic Links](https://stytch.com/docs/b2b/api/send-login-signup-email) | ||
- [x] [OAuth logins](https://stytch.com/docs/b2b/api/oauth-overview) | ||
- [x] [Session Management](https://stytch.com/docs/b2b/api/sessions-overview) | ||
- [x] [Single-Sign On](https://stytch.com/docs/b2b/api/sso-overview) | ||
- [x] [Discovery](https://stytch.com/docs/b2b/api/discovery-overview) | ||
- [x] [Passwords](https://stytch.com/docs/b2b/api/passwords-overview) | ||
- [x] [OAuth logins](https://stytch.com/docs/b2b/api/oauth-google-start) | ||
- [x] [Session Management](https://stytch.com/docs/b2b/api/session-object) | ||
- [x] [Single-Sign On](https://stytch.com/docs/b2b/api/sso-authenticate-start) | ||
- [x] [Discovery](https://stytch.com/docs/b2b/api/discovered-organization-object) | ||
- [x] [Passwords](https://stytch.com/docs/b2b/api/passwords-authenticate) | ||
@@ -51,0 +51,0 @@ ### Example B2C usage |
@@ -44,3 +44,3 @@ import { MemberSession, ResponseWithMember } from "./shared_b2b"; | ||
session_custom_claims?: Record<string, any>; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -47,0 +47,0 @@ export interface B2BDiscoveryIntermediateSessionExchangeResponse extends ResponseWithMember { |
@@ -13,3 +13,3 @@ import { MemberSession, ResponseWithMember } from "./shared_b2b"; | ||
signup_template_id?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -28,3 +28,3 @@ export interface B2BMagicLinksLoginOrSignupByEmailResponse extends ResponseWithMember { | ||
untrusted_metadata?: Record<string, any>; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -39,3 +39,3 @@ export declare type B2BMagicLinksInviteByEmailResponse = ResponseWithMember; | ||
pkce_code_verifier?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -58,3 +58,3 @@ export interface B2BMagicLinksAuthenticateResponse extends ResponseWithMember { | ||
login_template_id?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -61,0 +61,0 @@ export declare type B2BMagicLinksDiscoveryByEmailResponse = BaseResponse; |
@@ -78,3 +78,3 @@ import { Member, SearchOperator, ResultsMetadata, ResponseWithMember } from "./shared_b2b"; | ||
organization_id: string; | ||
member_phone_id: string; | ||
member_id: string; | ||
} | ||
@@ -81,0 +81,0 @@ export declare type B2BMemberDeletePhoneNumberResponse = ResponseWithMember; |
@@ -12,3 +12,3 @@ import { MemberSession, Member } from "./shared_b2b"; | ||
pkce_code_verifier?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -15,0 +15,0 @@ export interface B2BDiscoveryOAuthAuthenticateRequest { |
@@ -7,3 +7,3 @@ import { MemberSession, ResponseWithMember } from "./shared_b2b"; | ||
phone_number?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -10,0 +10,0 @@ export declare type B2BOTPsSMSSendResponse = ResponseWithMember; |
@@ -13,3 +13,3 @@ import { BaseResponse, fetchConfig } from "../shared"; | ||
session_custom_claims?: Record<string, any>; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -47,3 +47,3 @@ export interface B2BPasswordsAuthenticateResponse extends ResponseWithMember { | ||
code_verifier?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -69,3 +69,3 @@ export interface B2BPasswordsEmailResetResponse extends ResponseWithMember { | ||
organization_id: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -72,0 +72,0 @@ export interface B2BPasswordsExistingPasswordResetResponse extends ResponseWithMember { |
@@ -56,3 +56,3 @@ import { BaseResponse, fetchConfig } from "../shared"; | ||
session_custom_claims?: Record<string, any>; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -59,0 +59,0 @@ export interface B2BSessionsExchangeResponse extends BaseResponse { |
@@ -62,3 +62,3 @@ import { BaseResponse, fetchConfig } from "../shared"; | ||
pkce_code_verifier?: string; | ||
locale?: "en" | "es" | "pt-br"; | ||
locale?: "en" | "es" | "pt-br" | string; | ||
} | ||
@@ -65,0 +65,0 @@ export interface B2BSSOAuthenticateResponse extends BaseResponse { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
146945