@descope/react-sdk 3.5.0 → 3.5.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/dist/cjs/constants.js +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +45 -0
- package/package.json +12 -12
package/dist/cjs/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"3.5.
|
|
1
|
+
"use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"3.5.2"};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/esm/constants.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"3.5.
|
|
1
|
+
const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"3.5.2"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -818,6 +818,11 @@ declare const createSdkWrapper: <P extends {
|
|
|
818
818
|
nonAlphanumeric: boolean;
|
|
819
819
|
}>>;
|
|
820
820
|
};
|
|
821
|
+
emailVerification: {
|
|
822
|
+
start: () => Promise<_1.SdkResponse<{
|
|
823
|
+
nonce: string;
|
|
824
|
+
}>>;
|
|
825
|
+
};
|
|
821
826
|
selectTenant: (tenantId: string, token?: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
822
827
|
logoutAll: (token?: string) => Promise<_1.SdkResponse<never>>;
|
|
823
828
|
me: (token?: string) => Promise<_1.SdkResponse<_1.UserResponse>>;
|
|
@@ -1588,6 +1593,11 @@ declare const createSdkWrapper: <P extends {
|
|
|
1588
1593
|
nonAlphanumeric: boolean;
|
|
1589
1594
|
}>>;
|
|
1590
1595
|
};
|
|
1596
|
+
emailVerification: {
|
|
1597
|
+
start: () => Promise<_1.SdkResponse<{
|
|
1598
|
+
nonce: string;
|
|
1599
|
+
}>>;
|
|
1600
|
+
};
|
|
1591
1601
|
selectTenant: (tenantId: string, token?: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1592
1602
|
logoutAll: (token?: string) => Promise<_1.SdkResponse<never>>;
|
|
1593
1603
|
me: (token?: string) => Promise<_1.SdkResponse<_1.UserResponse>>;
|
|
@@ -2358,6 +2368,11 @@ declare const createSdkWrapper: <P extends {
|
|
|
2358
2368
|
nonAlphanumeric: boolean;
|
|
2359
2369
|
}>>;
|
|
2360
2370
|
};
|
|
2371
|
+
emailVerification: {
|
|
2372
|
+
start: () => Promise<_1.SdkResponse<{
|
|
2373
|
+
nonce: string;
|
|
2374
|
+
}>>;
|
|
2375
|
+
};
|
|
2361
2376
|
selectTenant: (tenantId: string, token?: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
2362
2377
|
logoutAll: (token?: string) => Promise<_1.SdkResponse<never>>;
|
|
2363
2378
|
me: (token?: string) => Promise<_1.SdkResponse<_1.UserResponse>>;
|