@descope/react-sdk 0.0.0-next-94de8ba2-20260626 → 0.0.0-next-0cf282db-20260628
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 +21 -9
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +63 -27
- package/package.json +13 -13
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":"0.0.0-next-
|
|
1
|
+
"use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"0.0.0-next-0cf282db-20260628"};
|
|
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":"0.0.0-next-
|
|
1
|
+
const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"0.0.0-next-0cf282db-20260628"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -150,13 +150,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
150
150
|
create: boolean;
|
|
151
151
|
}>>;
|
|
152
152
|
};
|
|
153
|
-
update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData
|
|
154
|
-
|
|
153
|
+
update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
|
|
154
|
+
jwt?: _1.JWTResponse;
|
|
155
|
+
}>>) & {
|
|
156
|
+
start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
|
|
155
157
|
transactionId: string;
|
|
156
158
|
options: string;
|
|
157
159
|
create: boolean;
|
|
158
160
|
}>>;
|
|
159
|
-
finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<
|
|
161
|
+
finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
|
|
162
|
+
jwt?: _1.JWTResponse;
|
|
163
|
+
}>>;
|
|
160
164
|
};
|
|
161
165
|
helpers: {
|
|
162
166
|
create: (options: string) => Promise<string>;
|
|
@@ -908,13 +912,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
908
912
|
create: boolean;
|
|
909
913
|
}>>;
|
|
910
914
|
};
|
|
911
|
-
update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData
|
|
912
|
-
|
|
915
|
+
update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
|
|
916
|
+
jwt?: _1.JWTResponse;
|
|
917
|
+
}>>) & {
|
|
918
|
+
start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
|
|
913
919
|
transactionId: string;
|
|
914
920
|
options: string;
|
|
915
921
|
create: boolean;
|
|
916
922
|
}>>;
|
|
917
|
-
finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<
|
|
923
|
+
finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
|
|
924
|
+
jwt?: _1.JWTResponse;
|
|
925
|
+
}>>;
|
|
918
926
|
};
|
|
919
927
|
helpers: {
|
|
920
928
|
create: (options: string) => Promise<string>;
|
|
@@ -1666,13 +1674,17 @@ declare const createSdkWrapper: <P extends {
|
|
|
1666
1674
|
create: boolean;
|
|
1667
1675
|
}>>;
|
|
1668
1676
|
};
|
|
1669
|
-
update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData
|
|
1670
|
-
|
|
1677
|
+
update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
|
|
1678
|
+
jwt?: _1.JWTResponse;
|
|
1679
|
+
}>>) & {
|
|
1680
|
+
start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
|
|
1671
1681
|
transactionId: string;
|
|
1672
1682
|
options: string;
|
|
1673
1683
|
create: boolean;
|
|
1674
1684
|
}>>;
|
|
1675
|
-
finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<
|
|
1685
|
+
finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
|
|
1686
|
+
jwt?: _1.JWTResponse;
|
|
1687
|
+
}>>;
|
|
1676
1688
|
};
|
|
1677
1689
|
helpers: {
|
|
1678
1690
|
create: (options: string) => Promise<string>;
|