@descope/react-sdk 2.19.0 → 2.19.1
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 +3 -3
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +9 -9
- package/package.json +11 -11
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":"2.19.
|
|
1
|
+
"use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.19.1"};
|
|
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":"2.19.
|
|
1
|
+
const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.19.1"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -601,7 +601,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
601
601
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
602
602
|
};
|
|
603
603
|
saml: {
|
|
604
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
604
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
605
605
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
606
606
|
};
|
|
607
607
|
totp: {
|
|
@@ -1231,7 +1231,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1231
1231
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1232
1232
|
};
|
|
1233
1233
|
saml: {
|
|
1234
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1234
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1235
1235
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1236
1236
|
};
|
|
1237
1237
|
totp: {
|
|
@@ -1861,7 +1861,7 @@ declare const createSdkWrapper: <P extends {
|
|
|
1861
1861
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1862
1862
|
};
|
|
1863
1863
|
saml: {
|
|
1864
|
-
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1864
|
+
start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string, forceAuthn?: boolean, loginHint?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1865
1865
|
exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
|
|
1866
1866
|
};
|
|
1867
1867
|
totp: {
|