@stytch/nextjs 21.4.1 → 21.4.3
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/README.md +9 -8
- package/dist/{StytchB2BContext-03d66270.js → StytchB2BContext-a2d58b5b.js} +2 -2
- package/dist/{StytchB2BContext-156a7bdd.js → StytchB2BContext-fc9fdcb3.js} +2 -2
- package/dist/adminPortal/index.d.ts +1 -1
- package/dist/adminPortal/index.esm.d.ts +1 -1
- package/dist/adminPortal/index.esm.js +3 -3
- package/dist/adminPortal/index.js +3 -3
- package/dist/b2b/index.d.ts +2 -2
- package/dist/b2b/index.esm.d.ts +2 -2
- package/dist/b2b/index.esm.js +4 -4
- package/dist/b2b/index.headless.esm.js +1 -1
- package/dist/b2b/index.headless.js +1 -1
- package/dist/b2b/index.js +3 -3
- package/dist/b2b/index.ui.esm.js +1 -1
- package/dist/b2b/index.ui.js +1 -1
- package/dist/index-b14d4efe.d.ts +1 -1
- package/dist/index.esm.js +2 -2
- package/dist/index.headless.esm.js +1 -1
- package/dist/index.headless.js +1 -1
- package/dist/index.js +2 -2
- package/dist/index.ui.esm.js +1 -1
- package/dist/index.ui.js +1 -1
- package/package.json +12 -6
- /package/dist/{StytchB2BContext-03d66270.d.ts → StytchB2BContext-a2d58b5b.d.ts} +0 -0
- /package/dist/{StytchB2BContext-156a7bdd.d.ts → StytchB2BContext-fc9fdcb3.d.ts} +0 -0
- /package/dist/{StytchSSRProxy-14916009.d.ts → StytchSSRProxy-4e34fb34.d.ts} +0 -0
- /package/dist/{StytchSSRProxy-14916009.js → StytchSSRProxy-4e34fb34.js} +0 -0
- /package/dist/{StytchSSRProxy-63bc6323.d.ts → StytchSSRProxy-c9d3bc41.d.ts} +0 -0
- /package/dist/{StytchSSRProxy-63bc6323.js → StytchSSRProxy-c9d3bc41.js} +0 -0
- /package/dist/{useIsomorphicLayoutEffect-41b6e419.d.ts → useIsomorphicLayoutEffect-2962f7c7.d.ts} +0 -0
- /package/dist/{useIsomorphicLayoutEffect-8da8c061.js → useIsomorphicLayoutEffect-2962f7c7.js} +0 -0
- /package/dist/{useIsomorphicLayoutEffect-8da8c061.d.ts → useIsomorphicLayoutEffect-a2b587d2.d.ts} +0 -0
- /package/dist/{useIsomorphicLayoutEffect-41b6e419.js → useIsomorphicLayoutEffect-a2b587d2.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @stytch/nextjs
|
|
2
2
|
|
|
3
|
+
## 21.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c20addb: Fix some README typos
|
|
8
|
+
|
|
9
|
+
## 21.4.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7d804d9: feat: Add support for accessTokenExchange to B2B Sessions Client
|
|
14
|
+
|
|
3
15
|
## 21.4.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -4,8 +4,11 @@ Stytch's Next.js Library
|
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
|
-
With `npm
|
|
8
|
-
|
|
7
|
+
With `npm`:
|
|
8
|
+
|
|
9
|
+
```shell
|
|
10
|
+
npm install @stytch/nextjs @stytch/vanilla-js --save
|
|
11
|
+
```
|
|
9
12
|
|
|
10
13
|
## Documentation
|
|
11
14
|
|
|
@@ -25,7 +28,7 @@ import { createStytchB2BUIClient } from '@stytch/nextjs/b2b/ui';
|
|
|
25
28
|
import { createStytchB2BHeadlessClient } from '@stytch/nextjs/b2b/headless';
|
|
26
29
|
```
|
|
27
30
|
|
|
28
|
-
For full documentation please refer to Stytch's javascript SDK documentation on https://stytch.com/docs/sdks
|
|
31
|
+
For full documentation please refer to Stytch's javascript SDK documentation on https://stytch.com/docs/sdks.
|
|
29
32
|
|
|
30
33
|
## Example Usage
|
|
31
34
|
|
|
@@ -36,11 +39,10 @@ import { createStytchUIClient } from '@stytch/nextjs/ui';
|
|
|
36
39
|
const stytch = createStytchUIClient('public-token-<find yours in the stytch dashboard>');
|
|
37
40
|
|
|
38
41
|
// Wrap your App in the StytchProvider
|
|
39
|
-
|
|
42
|
+
const Root = () => (
|
|
40
43
|
<StytchProvider stytch={stytch}>
|
|
41
44
|
<App />
|
|
42
|
-
</StytchProvider
|
|
43
|
-
document.getElementById('root'),
|
|
45
|
+
</StytchProvider>
|
|
44
46
|
);
|
|
45
47
|
|
|
46
48
|
// Now use Stytch in your components
|
|
@@ -59,11 +61,10 @@ const App = () => {
|
|
|
59
61
|
styles: {
|
|
60
62
|
container: { width: '321px' },
|
|
61
63
|
colors: { primary: '#0577CA' },
|
|
62
|
-
fontFamily: '"Helvetica
|
|
64
|
+
fontFamily: '"Helvetica Neue", Helvetica, sans-serif',
|
|
63
65
|
},
|
|
64
66
|
callbacks: {
|
|
65
67
|
onEvent: (message) => console.log(message),
|
|
66
|
-
onSuccess: (message) => console.log(message),
|
|
67
68
|
onError: (message) => console.log(message),
|
|
68
69
|
},
|
|
69
70
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { createContext, useContext, useEffect, useMemo } from 'react';
|
|
2
|
-
import { i as
|
|
3
|
-
import { i as
|
|
2
|
+
import { i as invariant, u as useAsyncState, m as mergeWithStableProps } from './useIsomorphicLayoutEffect-2962f7c7.js';
|
|
3
|
+
import { i as isStytchSSRProxy, n as noProviderError } from './StytchSSRProxy-4e34fb34.js';
|
|
4
4
|
|
|
5
5
|
const initialMember = {
|
|
6
6
|
member: null,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var useIsomorphicLayoutEffect = require('./useIsomorphicLayoutEffect-a2b587d2.js');
|
|
5
|
+
var StytchSSRProxy = require('./StytchSSRProxy-c9d3bc41.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -39,6 +39,6 @@ type AdminPortalSCIMProps<TProjectConfiguration extends StytchProjectConfigurati
|
|
|
39
39
|
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk online reference}
|
|
40
40
|
*/
|
|
41
41
|
declare const AdminPortalSCIM: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(props: ExcludeInjectedOptions<AdminPortalSCIMMountOptions<Partial<import("@stytch/core/public").StytchProjectConfiguration>>>) => JSX.Element;
|
|
42
|
-
export { AdminPortalSSO, AdminPortalOrgSettings, AdminPortalMemberManagement, AdminPortalSCIM };
|
|
43
42
|
export { AdminPortalB2BProducts } from "@stytch/vanilla-js/b2b/adminPortal";
|
|
43
|
+
export { AdminPortalSSO, AdminPortalOrgSettings, AdminPortalMemberManagement, AdminPortalSCIM };
|
|
44
44
|
export type { AdminPortalSSOProps, AdminPortalOrgSettingsProps, AdminPortalMemberManagementProps, AdminPortalSCIMProps };
|
|
@@ -39,6 +39,6 @@ type AdminPortalSCIMProps<TProjectConfiguration extends StytchProjectConfigurati
|
|
|
39
39
|
* See the {@link https://stytch.com/docs/b2b/sdks/javascript-sdk online reference}
|
|
40
40
|
*/
|
|
41
41
|
declare const AdminPortalSCIM: <TProjectConfiguration extends Partial<import("@stytch/core/public").StytchProjectConfiguration> = Stytch.DefaultProjectConfiguration>(props: ExcludeInjectedOptions<AdminPortalSCIMMountOptions<Partial<import("@stytch/core/public").StytchProjectConfiguration>>>) => JSX.Element;
|
|
42
|
-
export { AdminPortalSSO, AdminPortalOrgSettings, AdminPortalMemberManagement, AdminPortalSCIM };
|
|
43
42
|
export { AdminPortalB2BProducts } from "@stytch/vanilla-js/b2b/adminPortal";
|
|
43
|
+
export { AdminPortalSSO, AdminPortalOrgSettings, AdminPortalMemberManagement, AdminPortalSCIM };
|
|
44
44
|
export type { AdminPortalSSOProps, AdminPortalOrgSettingsProps, AdminPortalMemberManagementProps, AdminPortalSCIMProps };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { mountAdminPortalSSO, mountAdminPortalOrgSettings, mountAdminPortalMemberManagement, mountAdminPortalSCIM } from '@stytch/vanilla-js/b2b/adminPortal';
|
|
2
2
|
export { AdminPortalB2BProducts } from '@stytch/vanilla-js/b2b/adminPortal';
|
|
3
3
|
import React, { useRef } from 'react';
|
|
4
|
-
import { u as useIsMounted__INTERNAL, a as useStytchB2BClient } from '../StytchB2BContext-
|
|
5
|
-
import { n as noProviderError } from '../StytchSSRProxy-
|
|
6
|
-
import { i as invariant, a as useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect-
|
|
4
|
+
import { u as useIsMounted__INTERNAL, a as useStytchB2BClient } from '../StytchB2BContext-a2d58b5b.js';
|
|
5
|
+
import { n as noProviderError } from '../StytchSSRProxy-4e34fb34.js';
|
|
6
|
+
import { i as invariant, a as useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect-2962f7c7.js';
|
|
7
7
|
|
|
8
8
|
const makeAdminPortalComponent = (mountFn, componentName) => {
|
|
9
9
|
const Component = (props) => {
|
|
@@ -4,9 +4,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var adminPortal = require('@stytch/vanilla-js/b2b/adminPortal');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var StytchB2BContext = require('../StytchB2BContext-
|
|
8
|
-
var StytchSSRProxy = require('../StytchSSRProxy-
|
|
9
|
-
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect-
|
|
7
|
+
var StytchB2BContext = require('../StytchB2BContext-fc9fdcb3.js');
|
|
8
|
+
var StytchSSRProxy = require('../StytchSSRProxy-c9d3bc41.js');
|
|
9
|
+
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect-a2b587d2.js');
|
|
10
10
|
|
|
11
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
12
|
|
package/dist/b2b/index.d.ts
CHANGED
|
@@ -145,6 +145,6 @@ declare const StytchB2B: <TProjectConfiguration extends Partial<import("@stytch/
|
|
|
145
145
|
* @param getIDPConsentManifest - Optional {@link B2BIDPConsentManifestGenerator} to customize the consent screen.
|
|
146
146
|
*/
|
|
147
147
|
declare const B2BIdentityProvider: ({ styles, callbacks, getIDPConsentManifest }: B2BIdentityProviderProps) => React.JSX.Element;
|
|
148
|
-
export { StytchB2BProvider, useStytchB2BClient, useStytchMemberSession, useStytchMember, useStytchIsAuthorized, useStytchOrganization, withStytchB2BClient, withStytchMemberSession, withStytchMember, withStytchOrganization, withStytchPermissions } from "../StytchB2BContext-
|
|
148
|
+
export { StytchB2BProvider, useStytchB2BClient, useStytchMemberSession, useStytchMember, useStytchIsAuthorized, useStytchOrganization, withStytchB2BClient, withStytchMemberSession, withStytchMember, withStytchOrganization, withStytchPermissions } from "../StytchB2BContext-fc9fdcb3.js";
|
|
149
149
|
export { StytchB2B, B2BIdentityProvider };
|
|
150
|
-
export type { StytchB2BProviderProps } from "../StytchB2BContext-
|
|
150
|
+
export type { StytchB2BProviderProps } from "../StytchB2BContext-fc9fdcb3.js";
|
package/dist/b2b/index.esm.d.ts
CHANGED
|
@@ -145,6 +145,6 @@ declare const StytchB2B: <TProjectConfiguration extends Partial<import("@stytch/
|
|
|
145
145
|
* @param getIDPConsentManifest - Optional {@link B2BIDPConsentManifestGenerator} to customize the consent screen.
|
|
146
146
|
*/
|
|
147
147
|
declare const B2BIdentityProvider: ({ styles, callbacks, getIDPConsentManifest }: B2BIdentityProviderProps) => React.JSX.Element;
|
|
148
|
-
export { StytchB2BProvider, useStytchB2BClient, useStytchMemberSession, useStytchMember, useStytchIsAuthorized, useStytchOrganization, withStytchB2BClient, withStytchMemberSession, withStytchMember, withStytchOrganization, withStytchPermissions } from "../StytchB2BContext-
|
|
148
|
+
export { StytchB2BProvider, useStytchB2BClient, useStytchMemberSession, useStytchMember, useStytchIsAuthorized, useStytchOrganization, withStytchB2BClient, withStytchMemberSession, withStytchMember, withStytchOrganization, withStytchPermissions } from "../StytchB2BContext-a2d58b5b.js";
|
|
149
149
|
export { StytchB2B, B2BIdentityProvider };
|
|
150
|
-
export type { StytchB2BProviderProps } from "../StytchB2BContext-
|
|
150
|
+
export type { StytchB2BProviderProps } from "../StytchB2BContext-a2d58b5b.js";
|
package/dist/b2b/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useIsMounted__INTERNAL, a as useStytchB2BClient, i as isUIClient, b as useStytchMember } from '../StytchB2BContext-
|
|
2
|
-
export { S as StytchB2BProvider, a as useStytchB2BClient, d as useStytchIsAuthorized, b as useStytchMember, c as useStytchMemberSession, e as useStytchOrganization, w as withStytchB2BClient, g as withStytchMember, f as withStytchMemberSession, h as withStytchOrganization, j as withStytchPermissions } from '../StytchB2BContext-
|
|
1
|
+
import { u as useIsMounted__INTERNAL, a as useStytchB2BClient, i as isUIClient, b as useStytchMember } from '../StytchB2BContext-a2d58b5b.js';
|
|
2
|
+
export { S as StytchB2BProvider, a as useStytchB2BClient, d as useStytchIsAuthorized, b as useStytchMember, c as useStytchMemberSession, e as useStytchOrganization, w as withStytchB2BClient, g as withStytchMember, f as withStytchMemberSession, h as withStytchOrganization, j as withStytchPermissions } from '../StytchB2BContext-a2d58b5b.js';
|
|
3
3
|
import React, { useRef } from 'react';
|
|
4
|
-
import { i as invariant, a as useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect-
|
|
5
|
-
import { a as noHeadlessClientError, n as noProviderError } from '../StytchSSRProxy-
|
|
4
|
+
import { i as invariant, a as useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect-2962f7c7.js';
|
|
5
|
+
import { a as noHeadlessClientError, n as noProviderError } from '../StytchSSRProxy-4e34fb34.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* The Stytch B2B UI component.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StytchB2BHeadlessClient } from '@stytch/vanilla-js/b2b/headless';
|
|
2
|
-
import { c as createStytchSSRProxy } from '../StytchSSRProxy-
|
|
2
|
+
import { c as createStytchSSRProxy } from '../StytchSSRProxy-4e34fb34.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates a Headless Stytch client object to call the stytch B2B APIs.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var headless = require('@stytch/vanilla-js/b2b/headless');
|
|
6
|
-
var StytchSSRProxy = require('../StytchSSRProxy-
|
|
6
|
+
var StytchSSRProxy = require('../StytchSSRProxy-c9d3bc41.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a Headless Stytch client object to call the stytch B2B APIs.
|
package/dist/b2b/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var StytchB2BContext = require('../StytchB2BContext-
|
|
5
|
+
var StytchB2BContext = require('../StytchB2BContext-fc9fdcb3.js');
|
|
6
6
|
var React = require('react');
|
|
7
|
-
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect-
|
|
8
|
-
var StytchSSRProxy = require('../StytchSSRProxy-
|
|
7
|
+
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect-a2b587d2.js');
|
|
8
|
+
var StytchSSRProxy = require('../StytchSSRProxy-c9d3bc41.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
11
|
|
package/dist/b2b/index.ui.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StytchB2BUIClient } from '@stytch/vanilla-js/b2b';
|
|
2
|
-
import { c as createStytchSSRProxy } from '../StytchSSRProxy-
|
|
2
|
+
import { c as createStytchSSRProxy } from '../StytchSSRProxy-4e34fb34.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates a Stytch UI client object to call the Stytch APIs and render Stytch UI components.
|
package/dist/b2b/index.ui.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var b2b = require('@stytch/vanilla-js/b2b');
|
|
6
|
-
var StytchSSRProxy = require('../StytchSSRProxy-
|
|
6
|
+
var StytchSSRProxy = require('../StytchSSRProxy-c9d3bc41.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a Stytch UI client object to call the Stytch APIs and render Stytch UI components.
|
package/dist/index-b14d4efe.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { createDeepEqual } from "./createDeepEqual-5555f2e1.js";
|
|
2
|
-
export { mergeWithStableProps } from "./useIsomorphicLayoutEffect-
|
|
2
|
+
export { mergeWithStableProps } from "./useIsomorphicLayoutEffect-2962f7c7.js";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { createContext, useContext, useMemo, useEffect, useRef } from 'react';
|
|
2
|
-
import { i as
|
|
3
|
-
import { i as
|
|
2
|
+
import { i as invariant, u as useAsyncState, m as mergeWithStableProps, a as useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect-2962f7c7.js';
|
|
3
|
+
import { i as isStytchSSRProxy, n as noProviderError, a as noHeadlessClientError } from './StytchSSRProxy-4e34fb34.js';
|
|
4
4
|
|
|
5
5
|
const initialUser = {
|
|
6
6
|
user: null,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StytchHeadlessClient } from '@stytch/vanilla-js/headless';
|
|
2
|
-
import { c as createStytchSSRProxy } from './StytchSSRProxy-
|
|
2
|
+
import { c as createStytchSSRProxy } from './StytchSSRProxy-4e34fb34.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates a Headless Stytch client object to call the stytch APIs.
|
package/dist/index.headless.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var headless = require('@stytch/vanilla-js/headless');
|
|
6
|
-
var StytchSSRProxy = require('./StytchSSRProxy-
|
|
6
|
+
var StytchSSRProxy = require('./StytchSSRProxy-c9d3bc41.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a Headless Stytch client object to call the stytch APIs.
|
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
6
|
+
var useIsomorphicLayoutEffect = require('./useIsomorphicLayoutEffect-a2b587d2.js');
|
|
7
|
+
var StytchSSRProxy = require('./StytchSSRProxy-c9d3bc41.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
package/dist/index.ui.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StytchUIClient } from '@stytch/vanilla-js';
|
|
2
|
-
import { c as createStytchSSRProxy } from './StytchSSRProxy-
|
|
2
|
+
import { c as createStytchSSRProxy } from './StytchSSRProxy-4e34fb34.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Creates a Stytch UI client object to call the Stytch APIs and render Stytch UI components.
|
package/dist/index.ui.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var vanillaJs = require('@stytch/vanilla-js');
|
|
6
|
-
var StytchSSRProxy = require('./StytchSSRProxy-
|
|
6
|
+
var StytchSSRProxy = require('./StytchSSRProxy-c9d3bc41.js');
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Creates a Stytch UI client object to call the Stytch APIs and render Stytch UI components.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/nextjs",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.3",
|
|
4
4
|
"description": "Stytch's official Next.js Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -15,21 +15,27 @@
|
|
|
15
15
|
"build": "npm run clean && npm run compile",
|
|
16
16
|
"clean": "rm -rf ./dist",
|
|
17
17
|
"compile": "rollup -c",
|
|
18
|
-
"dev": "tsc -p tsconfig.build.json --watch"
|
|
19
|
-
"test": "jest"
|
|
18
|
+
"dev": "tsc -p tsconfig.build.json --watch"
|
|
20
19
|
},
|
|
21
20
|
"license": "MIT",
|
|
22
21
|
"author": "Stytch",
|
|
23
22
|
"devDependencies": {
|
|
24
|
-
"@babel/runtime": "7.
|
|
25
|
-
"@stytch/
|
|
26
|
-
"@stytch/
|
|
23
|
+
"@babel/runtime": "7.26.10",
|
|
24
|
+
"@stytch/internal-tsconfigs": "0.0.0",
|
|
25
|
+
"@stytch/js-utils": "0.0.1",
|
|
26
|
+
"@stytch/vanilla-js": "5.21.1",
|
|
27
27
|
"@testing-library/react": "14.0.0",
|
|
28
|
+
"@types/jest": "29.5.14",
|
|
28
29
|
"eslint-config-custom": "0.0.1",
|
|
30
|
+
"jest": "29.7.0",
|
|
31
|
+
"jest-environment-jsdom": "29.7.0",
|
|
32
|
+
"jest-environment-jsdom-global": "4.0.0",
|
|
29
33
|
"react": "18.2.0",
|
|
30
34
|
"react-dom": "18.2.0",
|
|
31
35
|
"react-test-renderer": "18.0.0",
|
|
32
36
|
"rollup": "2.79.2",
|
|
37
|
+
"rollup-plugin-ts": "3.4.5",
|
|
38
|
+
"ts-jest": "29.2.5",
|
|
33
39
|
"typescript": "5.3.3"
|
|
34
40
|
},
|
|
35
41
|
"peerDependencies": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{useIsomorphicLayoutEffect-41b6e419.d.ts → useIsomorphicLayoutEffect-2962f7c7.d.ts}
RENAMED
|
File without changes
|
/package/dist/{useIsomorphicLayoutEffect-8da8c061.js → useIsomorphicLayoutEffect-2962f7c7.js}
RENAMED
|
File without changes
|
/package/dist/{useIsomorphicLayoutEffect-8da8c061.d.ts → useIsomorphicLayoutEffect-a2b587d2.d.ts}
RENAMED
|
File without changes
|
/package/dist/{useIsomorphicLayoutEffect-41b6e419.js → useIsomorphicLayoutEffect-a2b587d2.js}
RENAMED
|
File without changes
|