@descope/react-sdk 2.14.20 → 2.14.21

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.20"};
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.21"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
1
- const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.14.20"},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.21"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
2
2
  //# sourceMappingURL=constants.js.map
package/dist/index.d.ts CHANGED
@@ -573,7 +573,7 @@ declare const createSdkWrapper: <P extends Omit<{
573
573
  };
574
574
  };
575
575
  oauth: {
576
- start: ((provider: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
576
+ start: ((provider: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, loginHint?: string) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
577
577
  google: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
578
578
  facebook: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
579
579
  github: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
@@ -1244,7 +1244,7 @@ declare const createSdkWrapper: <P extends Omit<{
1244
1244
  };
1245
1245
  };
1246
1246
  oauth: {
1247
- start: ((provider: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
1247
+ start: ((provider: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, loginHint?: string) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
1248
1248
  google: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1249
1249
  facebook: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1250
1250
  github: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
@@ -1915,7 +1915,7 @@ declare const createSdkWrapper: <P extends Omit<{
1915
1915
  };
1916
1916
  };
1917
1917
  oauth: {
1918
- start: ((provider: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
1918
+ start: ((provider: string, redirectUrl?: string, loginOptions?: _1.LoginOptions, token?: string, loginHint?: string) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
1919
1919
  google: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1920
1920
  facebook: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;
1921
1921
  github: (redirectURL?: string, loginOptions?: _1.LoginOptions, token?: string) => Promise<_1.SdkResponse<_1.URLResponse>>;