@stytch/react 9.0.0 → 10.0.0
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 +7 -0
- package/dist/b2b/index.d.ts +2 -1
- package/dist/b2b/index.esm.d.ts +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/b2b/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import { Member, MemberSession,
|
|
4
|
+
import { Member, MemberSession, StytchB2BUIClient } from "@stytch/vanilla-js/b2b";
|
|
5
|
+
import { StytchB2BHeadlessClient } from "@stytch/vanilla-js/b2b/headless";
|
|
5
6
|
import { Callbacks, StyleConfig, StytchB2BUIConfig } from "@stytch/vanilla-js";
|
|
6
7
|
/**
|
|
7
8
|
* The Stytch Client object passed in to <StytchProvider /> in your application root.
|
package/dist/b2b/index.esm.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import { Member, MemberSession,
|
|
4
|
+
import { Member, MemberSession, StytchB2BUIClient } from "@stytch/vanilla-js/b2b";
|
|
5
|
+
import { StytchB2BHeadlessClient } from "@stytch/vanilla-js/b2b/headless";
|
|
5
6
|
import { Callbacks, StyleConfig, StytchB2BUIConfig } from "@stytch/vanilla-js";
|
|
6
7
|
/**
|
|
7
8
|
* The Stytch Client object passed in to <StytchProvider /> in your application root.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.0",
|
|
4
4
|
"description": "Stytch's official React Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/runtime": "7.18.6",
|
|
36
|
-
"@stytch/vanilla-js": "
|
|
36
|
+
"@stytch/vanilla-js": "3.0.0",
|
|
37
37
|
"@testing-library/react": "14.0.0",
|
|
38
38
|
"eslint-config-custom": "0.0.1",
|
|
39
39
|
"react-test-renderer": "18.0.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"typescript": "4.7.4"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@stytch/vanilla-js": "^
|
|
44
|
+
"@stytch/vanilla-js": "^3.0.0",
|
|
45
45
|
"react": ">= 17.0.2",
|
|
46
46
|
"react-dom": ">= 17.0.2"
|
|
47
47
|
}
|