@descope/react-sdk 0.0.0-next-94de8ba2-20260626 → 0.0.0-next-0cf282db-20260628

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.
@@ -135,13 +135,17 @@ declare const createSdkWrapper: <P extends {
135
135
  create: boolean;
136
136
  }>>;
137
137
  };
138
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
139
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
138
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
139
+ jwt?: _1.JWTResponse;
140
+ }>>) & {
141
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
140
142
  transactionId: string;
141
143
  options: string;
142
144
  create: boolean;
143
145
  }>>;
144
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
146
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
147
+ jwt?: _1.JWTResponse;
148
+ }>>;
145
149
  };
146
150
  helpers: {
147
151
  create: (options: string) => Promise<string>;
@@ -893,13 +897,17 @@ declare const createSdkWrapper: <P extends {
893
897
  create: boolean;
894
898
  }>>;
895
899
  };
896
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
897
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
900
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
901
+ jwt?: _1.JWTResponse;
902
+ }>>) & {
903
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
898
904
  transactionId: string;
899
905
  options: string;
900
906
  create: boolean;
901
907
  }>>;
902
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
908
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
909
+ jwt?: _1.JWTResponse;
910
+ }>>;
903
911
  };
904
912
  helpers: {
905
913
  create: (options: string) => Promise<string>;
@@ -1651,13 +1659,17 @@ declare const createSdkWrapper: <P extends {
1651
1659
  create: boolean;
1652
1660
  }>>;
1653
1661
  };
1654
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
1655
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
1662
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
1663
+ jwt?: _1.JWTResponse;
1664
+ }>>) & {
1665
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
1656
1666
  transactionId: string;
1657
1667
  options: string;
1658
1668
  create: boolean;
1659
1669
  }>>;
1660
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
1670
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
1671
+ jwt?: _1.JWTResponse;
1672
+ }>>;
1661
1673
  };
1662
1674
  helpers: {
1663
1675
  create: (options: string) => Promise<string>;
@@ -2424,13 +2436,17 @@ export declare const createTempSdk: () => (((({
2424
2436
  create: boolean;
2425
2437
  }>>;
2426
2438
  };
2427
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
2428
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
2439
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
2440
+ jwt?: _1.JWTResponse;
2441
+ }>>) & {
2442
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
2429
2443
  transactionId: string;
2430
2444
  options: string;
2431
2445
  create: boolean;
2432
2446
  }>>;
2433
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
2447
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
2448
+ jwt?: _1.JWTResponse;
2449
+ }>>;
2434
2450
  };
2435
2451
  helpers: {
2436
2452
  create: (options: string) => Promise<string>;
@@ -3182,13 +3198,17 @@ export declare const createTempSdk: () => (((({
3182
3198
  create: boolean;
3183
3199
  }>>;
3184
3200
  };
3185
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
3186
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
3201
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
3202
+ jwt?: _1.JWTResponse;
3203
+ }>>) & {
3204
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
3187
3205
  transactionId: string;
3188
3206
  options: string;
3189
3207
  create: boolean;
3190
3208
  }>>;
3191
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
3209
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
3210
+ jwt?: _1.JWTResponse;
3211
+ }>>;
3192
3212
  };
3193
3213
  helpers: {
3194
3214
  create: (options: string) => Promise<string>;
@@ -3940,13 +3960,17 @@ export declare const createTempSdk: () => (((({
3940
3960
  create: boolean;
3941
3961
  }>>;
3942
3962
  };
3943
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
3944
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
3963
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
3964
+ jwt?: _1.JWTResponse;
3965
+ }>>) & {
3966
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
3945
3967
  transactionId: string;
3946
3968
  options: string;
3947
3969
  create: boolean;
3948
3970
  }>>;
3949
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
3971
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
3972
+ jwt?: _1.JWTResponse;
3973
+ }>>;
3950
3974
  };
3951
3975
  helpers: {
3952
3976
  create: (options: string) => Promise<string>;
@@ -4721,13 +4745,17 @@ export declare const getGlobalSdk: () => (((({
4721
4745
  create: boolean;
4722
4746
  }>>;
4723
4747
  };
4724
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
4725
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
4748
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
4749
+ jwt?: _1.JWTResponse;
4750
+ }>>) & {
4751
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
4726
4752
  transactionId: string;
4727
4753
  options: string;
4728
4754
  create: boolean;
4729
4755
  }>>;
4730
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
4756
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
4757
+ jwt?: _1.JWTResponse;
4758
+ }>>;
4731
4759
  };
4732
4760
  helpers: {
4733
4761
  create: (options: string) => Promise<string>;
@@ -5479,13 +5507,17 @@ export declare const getGlobalSdk: () => (((({
5479
5507
  create: boolean;
5480
5508
  }>>;
5481
5509
  };
5482
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
5483
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
5510
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
5511
+ jwt?: _1.JWTResponse;
5512
+ }>>) & {
5513
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
5484
5514
  transactionId: string;
5485
5515
  options: string;
5486
5516
  create: boolean;
5487
5517
  }>>;
5488
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
5518
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
5519
+ jwt?: _1.JWTResponse;
5520
+ }>>;
5489
5521
  };
5490
5522
  helpers: {
5491
5523
  create: (options: string) => Promise<string>;
@@ -6237,13 +6269,17 @@ export declare const getGlobalSdk: () => (((({
6237
6269
  create: boolean;
6238
6270
  }>>;
6239
6271
  };
6240
- update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData>>) & {
6241
- start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
6272
+ update: ((identifier: string, token?: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.ResponseData> | _1.SdkResponse<{
6273
+ jwt?: _1.JWTResponse;
6274
+ }>>) & {
6275
+ start: (loginId: string, origin: string, token?: string, passkeyOptions?: _1.PasskeyOptions, mfa?: boolean) => Promise<_1.SdkResponse<{
6242
6276
  transactionId: string;
6243
6277
  options: string;
6244
6278
  create: boolean;
6245
6279
  }>>;
6246
- finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.ResponseData>>;
6280
+ finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<{
6281
+ jwt?: _1.JWTResponse;
6282
+ }>>;
6247
6283
  };
6248
6284
  helpers: {
6249
6285
  create: (options: string) => Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@descope/react-sdk",
3
- "version": "0.0.0-next-94de8ba2-20260626",
3
+ "version": "0.0.0-next-0cf282db-20260628",
4
4
  "description": "Descope React SDK",
5
5
  "author": "Descope Team <info@descope.com>",
6
6
  "homepage": "https://github.com/descope/descope-js",
@@ -49,18 +49,18 @@
49
49
  ]
50
50
  },
51
51
  "dependencies": {
52
- "@descope/sdk-helpers": "0.0.0-next-94de8ba2-20260626",
53
- "@descope/access-key-management-widget": "0.0.0-next-94de8ba2-20260626",
54
- "@descope/role-management-widget": "0.0.0-next-94de8ba2-20260626",
55
- "@descope/audit-management-widget": "0.0.0-next-94de8ba2-20260626",
56
- "@descope/user-management-widget": "0.0.0-next-94de8ba2-20260626",
57
- "@descope/user-profile-widget": "0.0.0-next-94de8ba2-20260626",
58
- "@descope/applications-portal-widget": "0.0.0-next-94de8ba2-20260626",
59
- "@descope/web-component": "0.0.0-next-94de8ba2-20260626",
60
- "@descope/web-js-sdk": "1.51.0",
61
- "@descope/outbound-applications-widget": "0.0.0-next-94de8ba2-20260626",
62
- "@descope/core-js-sdk": "2.65.0",
63
- "@descope/tenant-profile-widget": "0.0.0-next-94de8ba2-20260626"
52
+ "@descope/sdk-helpers": "0.0.0-next-0cf282db-20260628",
53
+ "@descope/audit-management-widget": "0.0.0-next-0cf282db-20260628",
54
+ "@descope/access-key-management-widget": "0.0.0-next-0cf282db-20260628",
55
+ "@descope/user-management-widget": "0.0.0-next-0cf282db-20260628",
56
+ "@descope/user-profile-widget": "0.0.0-next-0cf282db-20260628",
57
+ "@descope/applications-portal-widget": "0.0.0-next-0cf282db-20260628",
58
+ "@descope/role-management-widget": "0.0.0-next-0cf282db-20260628",
59
+ "@descope/outbound-applications-widget": "0.0.0-next-0cf282db-20260628",
60
+ "@descope/web-component": "0.0.0-next-0cf282db-20260628",
61
+ "@descope/core-js-sdk": "0.0.0-next-0cf282db-20260628",
62
+ "@descope/tenant-profile-widget": "0.0.0-next-0cf282db-20260628",
63
+ "@descope/web-js-sdk": "0.0.0-next-0cf282db-20260628"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@babel/core": "7.26.0",