@stytch/react 19.5.2 → 19.5.4
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 +12 -0
- package/dist/b2b/index.esm.js +0 -1
- package/dist/b2b/index.headless.d.ts +1 -1
- package/dist/b2b/index.headless.esm.d.ts +1 -1
- package/dist/b2b/index.js +0 -1
- package/dist/b2b/index.ui.d.ts +1 -1
- package/dist/b2b/index.ui.esm.d.ts +1 -1
- package/dist/index.headless.d.ts +1 -1
- package/dist/index.headless.esm.d.ts +1 -1
- package/dist/index.ui.d.ts +1 -1
- package/dist/index.ui.esm.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @stytch/react
|
|
2
2
|
|
|
3
|
+
## 19.5.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 499e2ac: Update documentation for B2B Passwords Reset By Email method
|
|
8
|
+
|
|
9
|
+
## 19.5.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 9349a6b: Add error handling for claimed domains in the Discovery flow when no valid organizations are found
|
|
14
|
+
|
|
3
15
|
## 19.5.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/b2b/index.esm.js
CHANGED
|
@@ -58,7 +58,6 @@ const StytchB2B = ({ styles, callbacks, config, }) => {
|
|
|
58
58
|
elementId: `#${containerEl.current.id}`,
|
|
59
59
|
styles,
|
|
60
60
|
});
|
|
61
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps -- SDK-1354
|
|
62
61
|
}, [stytchClient, styles, callbacks]);
|
|
63
62
|
return React.createElement("div", { ref: containerEl });
|
|
64
63
|
};
|
|
@@ -12,5 +12,5 @@ import { StytchB2BHeadlessClient } from "@stytch/vanilla-js/b2b/headless";
|
|
|
12
12
|
* )
|
|
13
13
|
* @returns A {@link StytchB2BHeadlessClient}
|
|
14
14
|
*/
|
|
15
|
-
declare const createStytchB2BHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
15
|
+
declare const createStytchB2BHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(rawPublicToken: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchB2BHeadlessClient<TProjectConfiguration>;
|
|
16
16
|
export { createStytchB2BHeadlessClient };
|
|
@@ -12,5 +12,5 @@ import { StytchB2BHeadlessClient } from "@stytch/vanilla-js/b2b/headless";
|
|
|
12
12
|
* )
|
|
13
13
|
* @returns A {@link StytchB2BHeadlessClient}
|
|
14
14
|
*/
|
|
15
|
-
declare const createStytchB2BHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
15
|
+
declare const createStytchB2BHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(rawPublicToken: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchB2BHeadlessClient<TProjectConfiguration>;
|
|
16
16
|
export { createStytchB2BHeadlessClient };
|
package/dist/b2b/index.js
CHANGED
|
@@ -65,7 +65,6 @@ const StytchB2B = ({ styles, callbacks, config, }) => {
|
|
|
65
65
|
elementId: `#${containerEl.current.id}`,
|
|
66
66
|
styles,
|
|
67
67
|
});
|
|
68
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps -- SDK-1354
|
|
69
68
|
}, [stytchClient, styles, callbacks]);
|
|
70
69
|
return React__default["default"].createElement("div", { ref: containerEl });
|
|
71
70
|
};
|
package/dist/b2b/index.ui.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ import { StytchB2BUIClient } from "@stytch/vanilla-js/b2b";
|
|
|
13
13
|
* )
|
|
14
14
|
* @returns A {@link StytchB2BUIClient}
|
|
15
15
|
*/
|
|
16
|
-
declare const createStytchB2BUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
16
|
+
declare const createStytchB2BUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(rawPublicToken: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchB2BUIClient<TProjectConfiguration>;
|
|
17
17
|
export { createStytchB2BUIClient };
|
|
@@ -13,5 +13,5 @@ import { StytchB2BUIClient } from "@stytch/vanilla-js/b2b";
|
|
|
13
13
|
* )
|
|
14
14
|
* @returns A {@link StytchB2BUIClient}
|
|
15
15
|
*/
|
|
16
|
-
declare const createStytchB2BUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
16
|
+
declare const createStytchB2BUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(rawPublicToken: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchB2BUIClient<TProjectConfiguration>;
|
|
17
17
|
export { createStytchB2BUIClient };
|
package/dist/index.headless.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ import { StytchHeadlessClient } from "@stytch/vanilla-js/headless";
|
|
|
12
12
|
* )
|
|
13
13
|
* @returns A {@link StytchHeadlessClient}
|
|
14
14
|
*/
|
|
15
|
-
declare const createStytchHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
15
|
+
declare const createStytchHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(publicTokenRaw: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchHeadlessClient<TProjectConfiguration>;
|
|
16
16
|
export { createStytchHeadlessClient };
|
|
@@ -12,5 +12,5 @@ import { StytchHeadlessClient } from "@stytch/vanilla-js/headless";
|
|
|
12
12
|
* )
|
|
13
13
|
* @returns A {@link StytchHeadlessClient}
|
|
14
14
|
*/
|
|
15
|
-
declare const createStytchHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
15
|
+
declare const createStytchHeadlessClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(publicTokenRaw: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchHeadlessClient<TProjectConfiguration>;
|
|
16
16
|
export { createStytchHeadlessClient };
|
package/dist/index.ui.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ import { StytchUIClient } from "@stytch/vanilla-js";
|
|
|
13
13
|
* )
|
|
14
14
|
* @returns A {@link StytchUIClient}
|
|
15
15
|
*/
|
|
16
|
-
declare const createStytchUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
16
|
+
declare const createStytchUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(publicTokenRaw: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchUIClient<TProjectConfiguration>;
|
|
17
17
|
export { createStytchUIClient };
|
package/dist/index.ui.esm.d.ts
CHANGED
|
@@ -13,5 +13,5 @@ import { StytchUIClient } from "@stytch/vanilla-js";
|
|
|
13
13
|
* )
|
|
14
14
|
* @returns A {@link StytchUIClient}
|
|
15
15
|
*/
|
|
16
|
-
declare const createStytchUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(
|
|
16
|
+
declare const createStytchUIClient: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(publicTokenRaw: string, options?: import("@stytch/core/public").StytchClientOptions | undefined) => StytchUIClient<TProjectConfiguration>;
|
|
17
17
|
export { createStytchUIClient };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/react",
|
|
3
|
-
"version": "19.5.
|
|
3
|
+
"version": "19.5.4",
|
|
4
4
|
"description": "Stytch's official React Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@stytch/internal-test-utils": "0.0.0",
|
|
40
40
|
"@stytch/internal-tsconfigs": "0.0.0",
|
|
41
41
|
"@stytch/js-utils": "0.0.1",
|
|
42
|
-
"@stytch/vanilla-js": "5.
|
|
42
|
+
"@stytch/vanilla-js": "5.24.5",
|
|
43
43
|
"@testing-library/react": "14.0.0",
|
|
44
44
|
"@types/jest": "29.5.14",
|
|
45
45
|
"eslint-config-custom": "0.0.1",
|