@stytch/react 19.1.1 → 19.1.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 +6 -0
- package/dist/b2b/index.esm.js +1 -1
- package/dist/b2b/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/b2b/index.esm.js
CHANGED
|
@@ -38,7 +38,7 @@ import { i as invariant, b as noHeadlessClientError, n as noProviderError } from
|
|
|
38
38
|
* @param props {@link StytchB2BProps}
|
|
39
39
|
*/
|
|
40
40
|
const StytchB2B = ({ styles, callbacks, config }) => {
|
|
41
|
-
invariant(useIsMounted__INTERNAL(), noProviderError('<StytchB2B />'));
|
|
41
|
+
invariant(useIsMounted__INTERNAL(), noProviderError('<StytchB2B />', 'StytchB2BProvider'));
|
|
42
42
|
const stytchClient = useStytchB2BClient();
|
|
43
43
|
const containerEl = useRef(null);
|
|
44
44
|
useLayoutEffect(() => {
|
package/dist/b2b/index.js
CHANGED
|
@@ -45,7 +45,7 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
45
45
|
* @param props {@link StytchB2BProps}
|
|
46
46
|
*/
|
|
47
47
|
const StytchB2B = ({ styles, callbacks, config }) => {
|
|
48
|
-
invariant.invariant(StytchB2BContext.useIsMounted__INTERNAL(), invariant.noProviderError('<StytchB2B />'));
|
|
48
|
+
invariant.invariant(StytchB2BContext.useIsMounted__INTERNAL(), invariant.noProviderError('<StytchB2B />', 'StytchB2BProvider'));
|
|
49
49
|
const stytchClient = StytchB2BContext.useStytchB2BClient();
|
|
50
50
|
const containerEl = React.useRef(null);
|
|
51
51
|
React.useLayoutEffect(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/react",
|
|
3
|
-
"version": "19.1.
|
|
3
|
+
"version": "19.1.2",
|
|
4
4
|
"description": "Stytch's official React Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@babel/runtime": "7.18.6",
|
|
36
36
|
"@stytch/js-utils": "0.0.0",
|
|
37
|
-
"@stytch/vanilla-js": "5.
|
|
37
|
+
"@stytch/vanilla-js": "5.10.2",
|
|
38
38
|
"@testing-library/react": "14.0.0",
|
|
39
39
|
"eslint-config-custom": "0.0.1",
|
|
40
40
|
"react": "18.2.0",
|