@stytch/nextjs 4.0.0 → 5.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 +11 -0
- package/dist/b2b/index.d.ts +2 -2
- package/dist/b2b/index.esm.d.ts +2 -2
- package/dist/b2b/index.esm.js +4973 -580
- package/dist/b2b/index.js +4973 -580
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/b2b/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import { StytchB2BHeadlessClient, Member, MemberSession } from "@stytch/vanilla-js/b2b/";
|
|
4
|
+
import { StytchB2BHeadlessClient, StytchB2BUIClient, Member, MemberSession } from "@stytch/vanilla-js/b2b/";
|
|
5
5
|
import { StytchB2BHeadlessClient as StytchB2BHeadlessClient$0 } from "@stytch/vanilla-js/b2b";
|
|
6
6
|
/**
|
|
7
7
|
* The Stytch Client object passed in to <StytchProvider /> in your `_app.js`.
|
|
8
8
|
* Either a StytchUIClient or StytchHeadlessClient.
|
|
9
9
|
*/
|
|
10
|
-
type StytchB2BClient = StytchB2BHeadlessClient;
|
|
10
|
+
type StytchB2BClient = StytchB2BHeadlessClient | StytchB2BUIClient;
|
|
11
11
|
type SWRMember = {
|
|
12
12
|
member: null;
|
|
13
13
|
fromCache: false;
|
package/dist/b2b/index.esm.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
import { StytchB2BHeadlessClient, Member, MemberSession } from "@stytch/vanilla-js/b2b/";
|
|
4
|
+
import { StytchB2BHeadlessClient, StytchB2BUIClient, Member, MemberSession } from "@stytch/vanilla-js/b2b/";
|
|
5
5
|
import { StytchB2BHeadlessClient as StytchB2BHeadlessClient$0 } from "@stytch/vanilla-js/b2b";
|
|
6
6
|
/**
|
|
7
7
|
* The Stytch Client object passed in to <StytchProvider /> in your `_app.js`.
|
|
8
8
|
* Either a StytchUIClient or StytchHeadlessClient.
|
|
9
9
|
*/
|
|
10
|
-
type StytchB2BClient = StytchB2BHeadlessClient;
|
|
10
|
+
type StytchB2BClient = StytchB2BHeadlessClient | StytchB2BUIClient;
|
|
11
11
|
type SWRMember = {
|
|
12
12
|
member: null;
|
|
13
13
|
fromCache: false;
|