@descope/react-sdk 2.18.1 → 2.18.3
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 +6 -0
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/types/sdk.d.ts +18 -0
- 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.18.
|
|
1
|
+
"use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.18.3"};
|
|
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.18.
|
|
1
|
+
const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.18.3"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
|
|
2
2
|
//# sourceMappingURL=constants.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -596,6 +596,8 @@ declare const createSdkWrapper: <P extends {
|
|
|
596
596
|
connect: (appId: string, options?: {
|
|
597
597
|
redirectUrl?: string;
|
|
598
598
|
scopes?: string[];
|
|
599
|
+
tenantId?: string;
|
|
600
|
+
tenantLevel?: boolean;
|
|
599
601
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
600
602
|
};
|
|
601
603
|
saml: {
|
|
@@ -1224,6 +1226,8 @@ declare const createSdkWrapper: <P extends {
|
|
|
1224
1226
|
connect: (appId: string, options?: {
|
|
1225
1227
|
redirectUrl?: string;
|
|
1226
1228
|
scopes?: string[];
|
|
1229
|
+
tenantId?: string;
|
|
1230
|
+
tenantLevel?: boolean;
|
|
1227
1231
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1228
1232
|
};
|
|
1229
1233
|
saml: {
|
|
@@ -1852,6 +1856,8 @@ declare const createSdkWrapper: <P extends {
|
|
|
1852
1856
|
connect: (appId: string, options?: {
|
|
1853
1857
|
redirectUrl?: string;
|
|
1854
1858
|
scopes?: string[];
|
|
1859
|
+
tenantId?: string;
|
|
1860
|
+
tenantLevel?: boolean;
|
|
1855
1861
|
}, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
|
|
1856
1862
|
};
|
|
1857
1863
|
saml: {
|