@stytch/nextjs 6.0.0 → 7.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 +13 -0
- package/dist/b2b/index.d.ts +3 -3
- package/dist/b2b/index.esm.d.ts +3 -3
- package/dist/b2b/index.esm.js +3 -5426
- package/dist/b2b/index.js +3 -5426
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.d.ts +2 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ interface StytchProps {
|
|
|
199
199
|
* @param styles - An optional {@link StyleConfig} to customize the look and feel of the screen.
|
|
200
200
|
* @param callbacks - An optional {@link Callbacks} object
|
|
201
201
|
*/
|
|
202
|
-
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => JSX.Element;
|
|
202
|
+
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => React.JSX.Element;
|
|
203
203
|
interface StytchResetPasswordProps extends StytchProps {
|
|
204
204
|
passwordResetToken: string;
|
|
205
205
|
}
|
|
@@ -239,6 +239,6 @@ interface StytchResetPasswordProps extends StytchProps {
|
|
|
239
239
|
* @param styles - An optional {@link StyleConfig} to customize the look and feel of the screen.
|
|
240
240
|
* @param callbacks - An optional {@link Callbacks} object
|
|
241
241
|
*/
|
|
242
|
-
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => JSX.Element;
|
|
242
|
+
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => React.JSX.Element;
|
|
243
243
|
export { StytchProvider, useStytch, useStytchSession, useStytchUser, withStytch, withStytchSession, withStytchUser, StytchLogin, StytchPasswordReset };
|
|
244
244
|
export type { StytchProviderProps };
|
package/dist/index.esm.d.ts
CHANGED
|
@@ -199,7 +199,7 @@ interface StytchProps {
|
|
|
199
199
|
* @param styles - An optional {@link StyleConfig} to customize the look and feel of the screen.
|
|
200
200
|
* @param callbacks - An optional {@link Callbacks} object
|
|
201
201
|
*/
|
|
202
|
-
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => JSX.Element;
|
|
202
|
+
declare const StytchLogin: ({ config, styles, callbacks }: StytchProps) => React.JSX.Element;
|
|
203
203
|
interface StytchResetPasswordProps extends StytchProps {
|
|
204
204
|
passwordResetToken: string;
|
|
205
205
|
}
|
|
@@ -239,6 +239,6 @@ interface StytchResetPasswordProps extends StytchProps {
|
|
|
239
239
|
* @param styles - An optional {@link StyleConfig} to customize the look and feel of the screen.
|
|
240
240
|
* @param callbacks - An optional {@link Callbacks} object
|
|
241
241
|
*/
|
|
242
|
-
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => JSX.Element;
|
|
242
|
+
declare const StytchPasswordReset: ({ config, styles, callbacks, passwordResetToken }: StytchResetPasswordProps) => React.JSX.Element;
|
|
243
243
|
export { StytchProvider, useStytch, useStytchSession, useStytchUser, withStytch, withStytchSession, withStytchUser, StytchLogin, StytchPasswordReset };
|
|
244
244
|
export type { StytchProviderProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stytch/nextjs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "Stytch's official Next.js Library",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"author": "Stytch",
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@babel/runtime": "7.18.6",
|
|
25
|
-
"@stytch/vanilla-js": "0.
|
|
25
|
+
"@stytch/vanilla-js": "1.0.0",
|
|
26
26
|
"@testing-library/react": "14.0.0",
|
|
27
27
|
"eslint-config-custom": "0.0.1",
|
|
28
28
|
"react-dom": ">= 17.0.2",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"typescript": "4.7.4"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@stytch/vanilla-js": "^0.
|
|
34
|
+
"@stytch/vanilla-js": "^1.0.0",
|
|
35
35
|
"react": ">= 17.0.2",
|
|
36
36
|
"react-dom": ">= 17.0.2"
|
|
37
37
|
},
|