@stytch/vanilla-js 4.4.0 → 4.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/b2b/index.d.ts +18 -18
- package/dist/b2b/index.esm.d.ts +18 -18
- package/dist/b2b/index.esm.js +2228 -2210
- package/dist/b2b/index.headless.d.ts +18 -18
- package/dist/b2b/index.headless.esm.d.ts +18 -18
- package/dist/b2b/index.headless.esm.js +136 -105
- package/dist/b2b/index.headless.js +133 -102
- package/dist/b2b/index.js +2222 -2204
- package/dist/index.esm.js +3359 -3497
- package/dist/index.headless.esm.js +10 -6
- package/dist/index.headless.js +94 -90
- package/dist/index.js +2040 -2178
- package/package.json +27 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @stytch/vanilla-js
|
|
2
2
|
|
|
3
|
+
## 4.4.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 119952e: Fix an issue where ISTs were being deleted before they could be used
|
|
8
|
+
- Updated dependencies [56fd625]
|
|
9
|
+
- Updated dependencies [119952e]
|
|
10
|
+
- @stytch/core@2.5.1
|
|
11
|
+
|
|
12
|
+
## 4.4.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 7754915: Re-order and align phone number country code list with allowed countries
|
|
17
|
+
|
|
3
18
|
## 4.4.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
package/dist/b2b/index.d.ts
CHANGED
|
@@ -597,9 +597,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
597
597
|
*
|
|
598
598
|
* @returns A {@link B2BPasswordAuthenticateResponse} indicating the password is valid and that the Member is now logged in.
|
|
599
599
|
*
|
|
600
|
-
* @throws A
|
|
601
|
-
* @throws A
|
|
602
|
-
* @throws A
|
|
600
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
601
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
602
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
603
603
|
*/
|
|
604
604
|
authenticate(options: B2BPasswordAuthenticateOptions): Promise<B2BPasswordAuthenticateResponse>;
|
|
605
605
|
/**
|
|
@@ -619,9 +619,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
619
619
|
*
|
|
620
620
|
* @returns A {@link B2BPasswordResetByEmailStartResponse} indicating the password is valid and that the Member is now logged in.
|
|
621
621
|
*
|
|
622
|
-
* @throws A
|
|
623
|
-
* @throws A
|
|
624
|
-
* @throws A
|
|
622
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
623
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
624
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
625
625
|
*/
|
|
626
626
|
resetByEmailStart(options: B2BPasswordResetByEmailStartOptions): Promise<B2BPasswordResetByEmailStartResponse>;
|
|
627
627
|
/**
|
|
@@ -647,9 +647,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
647
647
|
*
|
|
648
648
|
* @returns A {@link B2BPasswordResetByEmailResponse} indicating the password is valid and that the Member is now logged in.
|
|
649
649
|
*
|
|
650
|
-
* @throws A
|
|
651
|
-
* @throws A
|
|
652
|
-
* @throws A
|
|
650
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
651
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
652
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
653
653
|
*/
|
|
654
654
|
resetByEmail(options: B2BPasswordResetByEmailOptions): Promise<B2BPasswordResetByEmailResponse>;
|
|
655
655
|
/**
|
|
@@ -667,9 +667,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
667
667
|
*
|
|
668
668
|
* @returns A {@link B2BPasswordStrengthCheckResponse} containing password strength feedback.
|
|
669
669
|
*
|
|
670
|
-
* @throws A
|
|
671
|
-
* @throws A
|
|
672
|
-
* @throws A
|
|
670
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
671
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
672
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
673
673
|
*/
|
|
674
674
|
strengthCheck(options: B2BPasswordStrengthCheckOptions): Promise<B2BPasswordStrengthCheckResponse>;
|
|
675
675
|
/**
|
|
@@ -689,9 +689,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
689
689
|
*
|
|
690
690
|
* @returns A {@link B2BPasswordResetByExistingPasswordResponse} indicating the password is valid and that the Member is now logged in.
|
|
691
691
|
*
|
|
692
|
-
* @throws A
|
|
693
|
-
* @throws A
|
|
694
|
-
* @throws A
|
|
692
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
693
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
694
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
695
695
|
*/
|
|
696
696
|
resetByExistingPassword(options: B2BPasswordResetByExistingPasswordOptions): Promise<B2BPasswordResetByExistingPasswordResponse>;
|
|
697
697
|
/**
|
|
@@ -709,9 +709,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
709
709
|
*
|
|
710
710
|
* @returns A {@link B2BPasswordResetBySessionResponse} indicating the password is valid and that the Member is now logged in.
|
|
711
711
|
*
|
|
712
|
-
* @throws A
|
|
713
|
-
* @throws A
|
|
714
|
-
* @throws A
|
|
712
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
713
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
714
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
715
715
|
*/
|
|
716
716
|
resetBySession(options: B2BPasswordResetBySessionOptions): Promise<B2BPasswordResetBySessionResponse>;
|
|
717
717
|
}
|
package/dist/b2b/index.esm.d.ts
CHANGED
|
@@ -597,9 +597,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
597
597
|
*
|
|
598
598
|
* @returns A {@link B2BPasswordAuthenticateResponse} indicating the password is valid and that the Member is now logged in.
|
|
599
599
|
*
|
|
600
|
-
* @throws A
|
|
601
|
-
* @throws A
|
|
602
|
-
* @throws A
|
|
600
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
601
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
602
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
603
603
|
*/
|
|
604
604
|
authenticate(options: B2BPasswordAuthenticateOptions): Promise<B2BPasswordAuthenticateResponse>;
|
|
605
605
|
/**
|
|
@@ -619,9 +619,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
619
619
|
*
|
|
620
620
|
* @returns A {@link B2BPasswordResetByEmailStartResponse} indicating the password is valid and that the Member is now logged in.
|
|
621
621
|
*
|
|
622
|
-
* @throws A
|
|
623
|
-
* @throws A
|
|
624
|
-
* @throws A
|
|
622
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
623
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
624
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
625
625
|
*/
|
|
626
626
|
resetByEmailStart(options: B2BPasswordResetByEmailStartOptions): Promise<B2BPasswordResetByEmailStartResponse>;
|
|
627
627
|
/**
|
|
@@ -647,9 +647,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
647
647
|
*
|
|
648
648
|
* @returns A {@link B2BPasswordResetByEmailResponse} indicating the password is valid and that the Member is now logged in.
|
|
649
649
|
*
|
|
650
|
-
* @throws A
|
|
651
|
-
* @throws A
|
|
652
|
-
* @throws A
|
|
650
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
651
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
652
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
653
653
|
*/
|
|
654
654
|
resetByEmail(options: B2BPasswordResetByEmailOptions): Promise<B2BPasswordResetByEmailResponse>;
|
|
655
655
|
/**
|
|
@@ -667,9 +667,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
667
667
|
*
|
|
668
668
|
* @returns A {@link B2BPasswordStrengthCheckResponse} containing password strength feedback.
|
|
669
669
|
*
|
|
670
|
-
* @throws A
|
|
671
|
-
* @throws A
|
|
672
|
-
* @throws A
|
|
670
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
671
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
672
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
673
673
|
*/
|
|
674
674
|
strengthCheck(options: B2BPasswordStrengthCheckOptions): Promise<B2BPasswordStrengthCheckResponse>;
|
|
675
675
|
/**
|
|
@@ -689,9 +689,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
689
689
|
*
|
|
690
690
|
* @returns A {@link B2BPasswordResetByExistingPasswordResponse} indicating the password is valid and that the Member is now logged in.
|
|
691
691
|
*
|
|
692
|
-
* @throws A
|
|
693
|
-
* @throws A
|
|
694
|
-
* @throws A
|
|
692
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
693
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
694
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
695
695
|
*/
|
|
696
696
|
resetByExistingPassword(options: B2BPasswordResetByExistingPasswordOptions): Promise<B2BPasswordResetByExistingPasswordResponse>;
|
|
697
697
|
/**
|
|
@@ -709,9 +709,9 @@ interface IHeadlessB2BPasswordClient {
|
|
|
709
709
|
*
|
|
710
710
|
* @returns A {@link B2BPasswordResetBySessionResponse} indicating the password is valid and that the Member is now logged in.
|
|
711
711
|
*
|
|
712
|
-
* @throws A
|
|
713
|
-
* @throws A
|
|
714
|
-
* @throws A
|
|
712
|
+
* @throws A `StytchAPIError` when the Stytch API returns an error.
|
|
713
|
+
* @throws A `StytchAPIUnreachableError` when the SDK cannot contact the Stytch API.
|
|
714
|
+
* @throws A `StytchSDKUsageError` when called with invalid input (invalid email, invalid options, etc.)
|
|
715
715
|
*/
|
|
716
716
|
resetBySession(options: B2BPasswordResetBySessionOptions): Promise<B2BPasswordResetBySessionResponse>;
|
|
717
717
|
}
|