@descope/react-sdk 2.6.0 → 2.6.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.
@@ -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.6.0"};
1
+ "use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.6.1"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
1
- const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.6.0"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
1
+ const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.6.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
@@ -538,7 +538,7 @@ declare const createSdkWrapper: <P extends Omit<{
538
538
  finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
539
539
  };
540
540
  saml: {
541
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
541
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
542
542
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
543
543
  };
544
544
  totp: {
@@ -1148,7 +1148,7 @@ declare const createSdkWrapper: <P extends Omit<{
1148
1148
  finishNative: (provider: string, stateId: string, user?: string, code?: string, idToken?: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
1149
1149
  };
1150
1150
  saml: {
1151
- start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1151
+ start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1152
1152
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1153
1153
  };
1154
1154
  totp: {
@@ -1316,7 +1316,7 @@ declare const getJwtPermissions: (token?: any, tenant?: string) => string[];
1316
1316
  declare const getJwtRoles: (token?: any, tenant?: string) => string[];
1317
1317
  declare const refresh: (token?: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1318
1318
 
1319
- declare module 'react' {
1319
+ declare global {
1320
1320
  namespace JSX {
1321
1321
  interface IntrinsicElements {
1322
1322
  ['descope-wc']: DescopeCustomElement;