@descope/react-sdk 2.14.0 → 2.14.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.14.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.14.1"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
1
- const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.14.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.14.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
@@ -576,6 +576,12 @@ declare const createSdkWrapper: <P extends Omit<{
576
576
  }>>;
577
577
  exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
578
578
  };
579
+ outbound: {
580
+ connect: (appId: string, options?: {
581
+ redirectURL?: string;
582
+ scopes?: string[];
583
+ }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
584
+ };
579
585
  saml: {
580
586
  start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
581
587
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
@@ -1223,6 +1229,12 @@ declare const createSdkWrapper: <P extends Omit<{
1223
1229
  }>>;
1224
1230
  exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1225
1231
  };
1232
+ outbound: {
1233
+ connect: (appId: string, options?: {
1234
+ redirectURL?: string;
1235
+ scopes?: string[];
1236
+ }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1237
+ };
1226
1238
  saml: {
1227
1239
  start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1228
1240
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
@@ -1870,6 +1882,12 @@ declare const createSdkWrapper: <P extends Omit<{
1870
1882
  }>>;
1871
1883
  exchangeOneTapIDToken: (provider: string, idToken: string, nonce: string, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1872
1884
  };
1885
+ outbound: {
1886
+ connect: (appId: string, options?: {
1887
+ redirectURL?: string;
1888
+ scopes?: string[];
1889
+ }, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1890
+ };
1873
1891
  saml: {
1874
1892
  start: (tenantIdOrEmail: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, ssoId?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1875
1893
  exchange: (code: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;