@stytch/nextjs 21.4.1 → 21.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 +6 -0
- package/dist/adminPortal/index.esm.js +1 -1
- package/dist/adminPortal/index.js +1 -1
- package/dist/b2b/index.d.ts +2 -2
- package/dist/b2b/index.esm.d.ts +2 -2
- package/dist/b2b/index.esm.js +2 -2
- package/dist/b2b/index.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +11 -4
- package/dist/{StytchB2BContext-03d66270.d.ts → StytchB2BContext-47d523b4.d.ts} +0 -0
- package/dist/{StytchB2BContext-156a7bdd.js → StytchB2BContext-47d523b4.js} +1 -1
- package/dist/{StytchB2BContext-156a7bdd.d.ts → StytchB2BContext-f172fdfe.d.ts} +0 -0
- package/dist/{StytchB2BContext-03d66270.js → StytchB2BContext-f172fdfe.js} +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
+
import { u as useIsMounted__INTERNAL, a as useStytchB2BClient } from '../StytchB2BContext-f172fdfe.js';
|
|
5
5
|
import { n as noProviderError } from '../StytchSSRProxy-14916009.js';
|
|
6
6
|
import { i as invariant, a as useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect-8da8c061.js';
|
|
7
7
|
|
|
@@ -4,7 +4,7 @@ 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-
|
|
7
|
+
var StytchB2BContext = require('../StytchB2BContext-47d523b4.js');
|
|
8
8
|
var StytchSSRProxy = require('../StytchSSRProxy-63bc6323.js');
|
|
9
9
|
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect-41b6e419.js');
|
|
10
10
|
|
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-47d523b4.js";
|
|
149
149
|
export { StytchB2B, B2BIdentityProvider };
|
|
150
|
-
export type { StytchB2BProviderProps } from "../StytchB2BContext-
|
|
150
|
+
export type { StytchB2BProviderProps } from "../StytchB2BContext-47d523b4.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-f172fdfe.js";
|
|
149
149
|
export { StytchB2B, B2BIdentityProvider };
|
|
150
|
-
export type { StytchB2BProviderProps } from "../StytchB2BContext-
|
|
150
|
+
export type { StytchB2BProviderProps } from "../StytchB2BContext-f172fdfe.js";
|
package/dist/b2b/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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-f172fdfe.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-f172fdfe.js';
|
|
3
3
|
import React, { useRef } from 'react';
|
|
4
4
|
import { i as invariant, a as useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect-8da8c061.js';
|
|
5
5
|
import { a as noHeadlessClientError, n as noProviderError } from '../StytchSSRProxy-14916009.js';
|
package/dist/b2b/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var StytchB2BContext = require('../StytchB2BContext-
|
|
5
|
+
var StytchB2BContext = require('../StytchB2BContext-47d523b4.js');
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var useIsomorphicLayoutEffect = require('../useIsomorphicLayoutEffect-41b6e419.js');
|
|
8
8
|
var StytchSSRProxy = require('../StytchSSRProxy-63bc6323.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 isStytchSSRProxy, n as noProviderError, a as noHeadlessClientError } from './StytchSSRProxy-14916009.js';
|
|
3
2
|
import { i as invariant, u as useAsyncState, m as mergeWithStableProps, a as useIsomorphicLayoutEffect } from './useIsomorphicLayoutEffect-8da8c061.js';
|
|
3
|
+
import { i as isStytchSSRProxy, n as noProviderError, a as noHeadlessClientError } from './StytchSSRProxy-14916009.js';
|
|
4
4
|
|
|
5
5
|
const initialUser = {
|
|
6
6
|
user: null,
|
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 StytchSSRProxy = require('./StytchSSRProxy-63bc6323.js');
|
|
7
6
|
var useIsomorphicLayoutEffect = require('./useIsomorphicLayoutEffect-41b6e419.js');
|
|
7
|
+
var StytchSSRProxy = require('./StytchSSRProxy-63bc6323.js');
|
|
8
8
|
|
|
9
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/nextjs",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.2",
|
|
4
4
|
"description": "Stytch's official Next.js Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -21,15 +21,22 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "Stytch",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@babel/runtime": "7.
|
|
25
|
-
"@stytch/
|
|
26
|
-
"@stytch/
|
|
24
|
+
"@babel/runtime": "7.26.10",
|
|
25
|
+
"@stytch/internal-tsconfigs": "0.0.0",
|
|
26
|
+
"@stytch/js-utils": "0.0.1",
|
|
27
|
+
"@stytch/vanilla-js": "5.18.6",
|
|
27
28
|
"@testing-library/react": "14.0.0",
|
|
29
|
+
"@types/jest": "29.5.14",
|
|
28
30
|
"eslint-config-custom": "0.0.1",
|
|
31
|
+
"jest": "29.7.0",
|
|
32
|
+
"jest-environment-jsdom": "29.7.0",
|
|
33
|
+
"jest-environment-jsdom-global": "4.0.0",
|
|
29
34
|
"react": "18.2.0",
|
|
30
35
|
"react-dom": "18.2.0",
|
|
31
36
|
"react-test-renderer": "18.0.0",
|
|
32
37
|
"rollup": "2.79.2",
|
|
38
|
+
"rollup-plugin-ts": "3.4.5",
|
|
39
|
+
"ts-jest": "29.2.5",
|
|
33
40
|
"typescript": "5.3.3"
|
|
34
41
|
},
|
|
35
42
|
"peerDependencies": {
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var StytchSSRProxy = require('./StytchSSRProxy-63bc6323.js');
|
|
5
4
|
var useIsomorphicLayoutEffect = require('./useIsomorphicLayoutEffect-41b6e419.js');
|
|
5
|
+
var StytchSSRProxy = require('./StytchSSRProxy-63bc6323.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { createContext, useContext, useEffect, useMemo } from 'react';
|
|
2
|
-
import { i as isStytchSSRProxy, n as noProviderError } from './StytchSSRProxy-14916009.js';
|
|
3
2
|
import { i as invariant, u as useAsyncState, m as mergeWithStableProps } from './useIsomorphicLayoutEffect-8da8c061.js';
|
|
3
|
+
import { i as isStytchSSRProxy, n as noProviderError } from './StytchSSRProxy-14916009.js';
|
|
4
4
|
|
|
5
5
|
const initialMember = {
|
|
6
6
|
member: null,
|