@descope/web-js-sdk 1.48.2 → 1.48.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/index.d.ts CHANGED
@@ -218,7 +218,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
218
218
  };
219
219
  webauthn: {
220
220
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
221
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
221
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
222
222
  transactionId: string;
223
223
  options: string;
224
224
  create: boolean;
@@ -234,7 +234,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
234
234
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
235
235
  };
236
236
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
237
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
237
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
238
238
  transactionId: string;
239
239
  options: string;
240
240
  create: boolean;
@@ -330,6 +330,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
330
330
  templateOptions?: {
331
331
  [x: string]: string;
332
332
  };
333
+ tenantId?: string;
333
334
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
334
335
  maskedPhone: string;
335
336
  }>>;
@@ -346,6 +347,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
346
347
  templateOptions?: {
347
348
  [x: string]: string;
348
349
  };
350
+ tenantId?: string;
349
351
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
350
352
  maskedPhone: string;
351
353
  }>>;
@@ -362,6 +364,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
362
364
  templateOptions?: {
363
365
  [x: string]: string;
364
366
  };
367
+ tenantId?: string;
365
368
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
366
369
  maskedPhone: string;
367
370
  }>>;
@@ -378,6 +381,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
378
381
  templateOptions?: {
379
382
  [x: string]: string;
380
383
  };
384
+ tenantId?: string;
381
385
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
382
386
  maskedPhone: string;
383
387
  }>>;
@@ -394,6 +398,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
394
398
  templateOptions?: {
395
399
  [x: string]: string;
396
400
  };
401
+ tenantId?: string;
397
402
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
398
403
  maskedEmail: string;
399
404
  }>>;
@@ -508,6 +513,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
508
513
  templateOptions?: {
509
514
  [x: string]: string;
510
515
  };
516
+ tenantId?: string;
511
517
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
512
518
  maskedPhone: string;
513
519
  }>>;
@@ -524,6 +530,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
524
530
  templateOptions?: {
525
531
  [x: string]: string;
526
532
  };
533
+ tenantId?: string;
527
534
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
528
535
  maskedPhone: string;
529
536
  }>>;
@@ -540,6 +547,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
540
547
  templateOptions?: {
541
548
  [x: string]: string;
542
549
  };
550
+ tenantId?: string;
543
551
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
544
552
  maskedPhone: string;
545
553
  }>>;
@@ -556,6 +564,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
556
564
  templateOptions?: {
557
565
  [x: string]: string;
558
566
  };
567
+ tenantId?: string;
559
568
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
560
569
  maskedPhone: string;
561
570
  }>>;
@@ -572,6 +581,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
572
581
  templateOptions?: {
573
582
  [x: string]: string;
574
583
  };
584
+ tenantId?: string;
575
585
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
576
586
  maskedEmail: string;
577
587
  }>>;
@@ -583,6 +593,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
583
593
  templateOptions?: {
584
594
  [x: string]: string;
585
595
  };
596
+ tenantId?: string;
586
597
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
587
598
  maskedPhone: string;
588
599
  }>>;
@@ -592,6 +603,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
592
603
  templateOptions?: {
593
604
  [x: string]: string;
594
605
  };
606
+ tenantId?: string;
595
607
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
596
608
  maskedPhone: string;
597
609
  }>>;
@@ -601,6 +613,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
601
613
  templateOptions?: {
602
614
  [x: string]: string;
603
615
  };
616
+ tenantId?: string;
604
617
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
605
618
  maskedPhone: string;
606
619
  }>>;
@@ -610,6 +623,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
610
623
  templateOptions?: {
611
624
  [x: string]: string;
612
625
  };
626
+ tenantId?: string;
613
627
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
614
628
  maskedPhone: string;
615
629
  }>>;
@@ -619,6 +633,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
619
633
  templateOptions?: {
620
634
  [x: string]: string;
621
635
  };
636
+ tenantId?: string;
622
637
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
623
638
  maskedEmail: string;
624
639
  }>>;
@@ -694,6 +709,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
694
709
  templateOptions?: {
695
710
  [x: string]: string;
696
711
  };
712
+ tenantId?: string;
697
713
  } & {
698
714
  providerId?: string;
699
715
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -710,6 +726,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
710
726
  templateOptions?: {
711
727
  [x: string]: string;
712
728
  };
729
+ tenantId?: string;
713
730
  } & {
714
731
  providerId?: string;
715
732
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -784,6 +801,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
784
801
  templateOptions?: {
785
802
  [x: string]: string;
786
803
  };
804
+ tenantId?: string;
787
805
  } & {
788
806
  providerId?: string;
789
807
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -804,6 +822,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
804
822
  templateOptions?: {
805
823
  [x: string]: string;
806
824
  };
825
+ tenantId?: string;
807
826
  } & {
808
827
  providerId?: string;
809
828
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -837,6 +856,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
837
856
  templateOptions?: {
838
857
  [x: string]: string;
839
858
  };
859
+ tenantId?: string;
840
860
  } & {
841
861
  providerId?: string;
842
862
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -940,7 +960,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
940
960
  };
941
961
  webauthn: {
942
962
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
943
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
963
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
944
964
  transactionId: string;
945
965
  options: string;
946
966
  create: boolean;
@@ -956,7 +976,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
956
976
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
957
977
  };
958
978
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
959
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
979
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
960
980
  transactionId: string;
961
981
  options: string;
962
982
  create: boolean;
@@ -1052,6 +1072,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1052
1072
  templateOptions?: {
1053
1073
  [x: string]: string;
1054
1074
  };
1075
+ tenantId?: string;
1055
1076
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1056
1077
  maskedPhone: string;
1057
1078
  }>>;
@@ -1068,6 +1089,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1068
1089
  templateOptions?: {
1069
1090
  [x: string]: string;
1070
1091
  };
1092
+ tenantId?: string;
1071
1093
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1072
1094
  maskedPhone: string;
1073
1095
  }>>;
@@ -1084,6 +1106,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1084
1106
  templateOptions?: {
1085
1107
  [x: string]: string;
1086
1108
  };
1109
+ tenantId?: string;
1087
1110
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1088
1111
  maskedPhone: string;
1089
1112
  }>>;
@@ -1100,6 +1123,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1100
1123
  templateOptions?: {
1101
1124
  [x: string]: string;
1102
1125
  };
1126
+ tenantId?: string;
1103
1127
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1104
1128
  maskedPhone: string;
1105
1129
  }>>;
@@ -1116,6 +1140,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1116
1140
  templateOptions?: {
1117
1141
  [x: string]: string;
1118
1142
  };
1143
+ tenantId?: string;
1119
1144
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1120
1145
  maskedEmail: string;
1121
1146
  }>>;
@@ -1230,6 +1255,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1230
1255
  templateOptions?: {
1231
1256
  [x: string]: string;
1232
1257
  };
1258
+ tenantId?: string;
1233
1259
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1234
1260
  maskedPhone: string;
1235
1261
  }>>;
@@ -1246,6 +1272,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1246
1272
  templateOptions?: {
1247
1273
  [x: string]: string;
1248
1274
  };
1275
+ tenantId?: string;
1249
1276
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1250
1277
  maskedPhone: string;
1251
1278
  }>>;
@@ -1262,6 +1289,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1262
1289
  templateOptions?: {
1263
1290
  [x: string]: string;
1264
1291
  };
1292
+ tenantId?: string;
1265
1293
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1266
1294
  maskedPhone: string;
1267
1295
  }>>;
@@ -1278,6 +1306,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1278
1306
  templateOptions?: {
1279
1307
  [x: string]: string;
1280
1308
  };
1309
+ tenantId?: string;
1281
1310
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1282
1311
  maskedPhone: string;
1283
1312
  }>>;
@@ -1294,6 +1323,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1294
1323
  templateOptions?: {
1295
1324
  [x: string]: string;
1296
1325
  };
1326
+ tenantId?: string;
1297
1327
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1298
1328
  maskedEmail: string;
1299
1329
  }>>;
@@ -1305,6 +1335,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1305
1335
  templateOptions?: {
1306
1336
  [x: string]: string;
1307
1337
  };
1338
+ tenantId?: string;
1308
1339
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1309
1340
  maskedPhone: string;
1310
1341
  }>>;
@@ -1314,6 +1345,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1314
1345
  templateOptions?: {
1315
1346
  [x: string]: string;
1316
1347
  };
1348
+ tenantId?: string;
1317
1349
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1318
1350
  maskedPhone: string;
1319
1351
  }>>;
@@ -1323,6 +1355,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1323
1355
  templateOptions?: {
1324
1356
  [x: string]: string;
1325
1357
  };
1358
+ tenantId?: string;
1326
1359
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1327
1360
  maskedPhone: string;
1328
1361
  }>>;
@@ -1332,6 +1365,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1332
1365
  templateOptions?: {
1333
1366
  [x: string]: string;
1334
1367
  };
1368
+ tenantId?: string;
1335
1369
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1336
1370
  maskedPhone: string;
1337
1371
  }>>;
@@ -1341,6 +1375,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1341
1375
  templateOptions?: {
1342
1376
  [x: string]: string;
1343
1377
  };
1378
+ tenantId?: string;
1344
1379
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1345
1380
  maskedEmail: string;
1346
1381
  }>>;
@@ -1416,6 +1451,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1416
1451
  templateOptions?: {
1417
1452
  [x: string]: string;
1418
1453
  };
1454
+ tenantId?: string;
1419
1455
  } & {
1420
1456
  providerId?: string;
1421
1457
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -1432,6 +1468,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1432
1468
  templateOptions?: {
1433
1469
  [x: string]: string;
1434
1470
  };
1471
+ tenantId?: string;
1435
1472
  } & {
1436
1473
  providerId?: string;
1437
1474
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -1506,6 +1543,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1506
1543
  templateOptions?: {
1507
1544
  [x: string]: string;
1508
1545
  };
1546
+ tenantId?: string;
1509
1547
  } & {
1510
1548
  providerId?: string;
1511
1549
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1526,6 +1564,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1526
1564
  templateOptions?: {
1527
1565
  [x: string]: string;
1528
1566
  };
1567
+ tenantId?: string;
1529
1568
  } & {
1530
1569
  providerId?: string;
1531
1570
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -1559,6 +1598,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1559
1598
  templateOptions?: {
1560
1599
  [x: string]: string;
1561
1600
  };
1601
+ tenantId?: string;
1562
1602
  } & {
1563
1603
  providerId?: string;
1564
1604
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -1662,7 +1702,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1662
1702
  };
1663
1703
  webauthn: {
1664
1704
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
1665
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1705
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1666
1706
  transactionId: string;
1667
1707
  options: string;
1668
1708
  create: boolean;
@@ -1678,7 +1718,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1678
1718
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
1679
1719
  };
1680
1720
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
1681
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1721
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
1682
1722
  transactionId: string;
1683
1723
  options: string;
1684
1724
  create: boolean;
@@ -1774,6 +1814,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1774
1814
  templateOptions?: {
1775
1815
  [x: string]: string;
1776
1816
  };
1817
+ tenantId?: string;
1777
1818
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1778
1819
  maskedPhone: string;
1779
1820
  }>>;
@@ -1790,6 +1831,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1790
1831
  templateOptions?: {
1791
1832
  [x: string]: string;
1792
1833
  };
1834
+ tenantId?: string;
1793
1835
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1794
1836
  maskedPhone: string;
1795
1837
  }>>;
@@ -1806,6 +1848,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1806
1848
  templateOptions?: {
1807
1849
  [x: string]: string;
1808
1850
  };
1851
+ tenantId?: string;
1809
1852
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1810
1853
  maskedPhone: string;
1811
1854
  }>>;
@@ -1822,6 +1865,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1822
1865
  templateOptions?: {
1823
1866
  [x: string]: string;
1824
1867
  };
1868
+ tenantId?: string;
1825
1869
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1826
1870
  maskedPhone: string;
1827
1871
  }>>;
@@ -1838,6 +1882,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1838
1882
  templateOptions?: {
1839
1883
  [x: string]: string;
1840
1884
  };
1885
+ tenantId?: string;
1841
1886
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1842
1887
  maskedEmail: string;
1843
1888
  }>>;
@@ -1952,6 +1997,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1952
1997
  templateOptions?: {
1953
1998
  [x: string]: string;
1954
1999
  };
2000
+ tenantId?: string;
1955
2001
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1956
2002
  maskedPhone: string;
1957
2003
  }>>;
@@ -1968,6 +2014,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1968
2014
  templateOptions?: {
1969
2015
  [x: string]: string;
1970
2016
  };
2017
+ tenantId?: string;
1971
2018
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1972
2019
  maskedPhone: string;
1973
2020
  }>>;
@@ -1984,6 +2031,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
1984
2031
  templateOptions?: {
1985
2032
  [x: string]: string;
1986
2033
  };
2034
+ tenantId?: string;
1987
2035
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
1988
2036
  maskedPhone: string;
1989
2037
  }>>;
@@ -2000,6 +2048,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2000
2048
  templateOptions?: {
2001
2049
  [x: string]: string;
2002
2050
  };
2051
+ tenantId?: string;
2003
2052
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2004
2053
  maskedPhone: string;
2005
2054
  }>>;
@@ -2016,6 +2065,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2016
2065
  templateOptions?: {
2017
2066
  [x: string]: string;
2018
2067
  };
2068
+ tenantId?: string;
2019
2069
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2020
2070
  maskedEmail: string;
2021
2071
  }>>;
@@ -2027,6 +2077,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2027
2077
  templateOptions?: {
2028
2078
  [x: string]: string;
2029
2079
  };
2080
+ tenantId?: string;
2030
2081
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2031
2082
  maskedPhone: string;
2032
2083
  }>>;
@@ -2036,6 +2087,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2036
2087
  templateOptions?: {
2037
2088
  [x: string]: string;
2038
2089
  };
2090
+ tenantId?: string;
2039
2091
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2040
2092
  maskedPhone: string;
2041
2093
  }>>;
@@ -2045,6 +2097,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2045
2097
  templateOptions?: {
2046
2098
  [x: string]: string;
2047
2099
  };
2100
+ tenantId?: string;
2048
2101
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2049
2102
  maskedPhone: string;
2050
2103
  }>>;
@@ -2054,6 +2107,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2054
2107
  templateOptions?: {
2055
2108
  [x: string]: string;
2056
2109
  };
2110
+ tenantId?: string;
2057
2111
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2058
2112
  maskedPhone: string;
2059
2113
  }>>;
@@ -2063,6 +2117,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2063
2117
  templateOptions?: {
2064
2118
  [x: string]: string;
2065
2119
  };
2120
+ tenantId?: string;
2066
2121
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2067
2122
  maskedEmail: string;
2068
2123
  }>>;
@@ -2138,6 +2193,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2138
2193
  templateOptions?: {
2139
2194
  [x: string]: string;
2140
2195
  };
2196
+ tenantId?: string;
2141
2197
  } & {
2142
2198
  providerId?: string;
2143
2199
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -2154,6 +2210,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2154
2210
  templateOptions?: {
2155
2211
  [x: string]: string;
2156
2212
  };
2213
+ tenantId?: string;
2157
2214
  } & {
2158
2215
  providerId?: string;
2159
2216
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -2228,6 +2285,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2228
2285
  templateOptions?: {
2229
2286
  [x: string]: string;
2230
2287
  };
2288
+ tenantId?: string;
2231
2289
  } & {
2232
2290
  providerId?: string;
2233
2291
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2248,6 +2306,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2248
2306
  templateOptions?: {
2249
2307
  [x: string]: string;
2250
2308
  };
2309
+ tenantId?: string;
2251
2310
  } & {
2252
2311
  providerId?: string;
2253
2312
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2281,6 +2340,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2281
2340
  templateOptions?: {
2282
2341
  [x: string]: string;
2283
2342
  };
2343
+ tenantId?: string;
2284
2344
  } & {
2285
2345
  providerId?: string;
2286
2346
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -2394,7 +2454,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2394
2454
  };
2395
2455
  webauthn: {
2396
2456
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
2397
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2457
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2398
2458
  transactionId: string;
2399
2459
  options: string;
2400
2460
  create: boolean;
@@ -2410,7 +2470,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2410
2470
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
2411
2471
  };
2412
2472
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
2413
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2473
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
2414
2474
  transactionId: string;
2415
2475
  options: string;
2416
2476
  create: boolean;
@@ -2506,6 +2566,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2506
2566
  templateOptions?: {
2507
2567
  [x: string]: string;
2508
2568
  };
2569
+ tenantId?: string;
2509
2570
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2510
2571
  maskedPhone: string;
2511
2572
  }>>;
@@ -2522,6 +2583,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2522
2583
  templateOptions?: {
2523
2584
  [x: string]: string;
2524
2585
  };
2586
+ tenantId?: string;
2525
2587
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2526
2588
  maskedPhone: string;
2527
2589
  }>>;
@@ -2538,6 +2600,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2538
2600
  templateOptions?: {
2539
2601
  [x: string]: string;
2540
2602
  };
2603
+ tenantId?: string;
2541
2604
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2542
2605
  maskedPhone: string;
2543
2606
  }>>;
@@ -2554,6 +2617,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2554
2617
  templateOptions?: {
2555
2618
  [x: string]: string;
2556
2619
  };
2620
+ tenantId?: string;
2557
2621
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2558
2622
  maskedPhone: string;
2559
2623
  }>>;
@@ -2570,6 +2634,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2570
2634
  templateOptions?: {
2571
2635
  [x: string]: string;
2572
2636
  };
2637
+ tenantId?: string;
2573
2638
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2574
2639
  maskedEmail: string;
2575
2640
  }>>;
@@ -2684,6 +2749,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2684
2749
  templateOptions?: {
2685
2750
  [x: string]: string;
2686
2751
  };
2752
+ tenantId?: string;
2687
2753
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2688
2754
  maskedPhone: string;
2689
2755
  }>>;
@@ -2700,6 +2766,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2700
2766
  templateOptions?: {
2701
2767
  [x: string]: string;
2702
2768
  };
2769
+ tenantId?: string;
2703
2770
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2704
2771
  maskedPhone: string;
2705
2772
  }>>;
@@ -2716,6 +2783,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2716
2783
  templateOptions?: {
2717
2784
  [x: string]: string;
2718
2785
  };
2786
+ tenantId?: string;
2719
2787
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2720
2788
  maskedPhone: string;
2721
2789
  }>>;
@@ -2732,6 +2800,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2732
2800
  templateOptions?: {
2733
2801
  [x: string]: string;
2734
2802
  };
2803
+ tenantId?: string;
2735
2804
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2736
2805
  maskedPhone: string;
2737
2806
  }>>;
@@ -2748,6 +2817,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2748
2817
  templateOptions?: {
2749
2818
  [x: string]: string;
2750
2819
  };
2820
+ tenantId?: string;
2751
2821
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2752
2822
  maskedEmail: string;
2753
2823
  }>>;
@@ -2759,6 +2829,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2759
2829
  templateOptions?: {
2760
2830
  [x: string]: string;
2761
2831
  };
2832
+ tenantId?: string;
2762
2833
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2763
2834
  maskedPhone: string;
2764
2835
  }>>;
@@ -2768,6 +2839,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2768
2839
  templateOptions?: {
2769
2840
  [x: string]: string;
2770
2841
  };
2842
+ tenantId?: string;
2771
2843
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2772
2844
  maskedPhone: string;
2773
2845
  }>>;
@@ -2777,6 +2849,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2777
2849
  templateOptions?: {
2778
2850
  [x: string]: string;
2779
2851
  };
2852
+ tenantId?: string;
2780
2853
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2781
2854
  maskedPhone: string;
2782
2855
  }>>;
@@ -2786,6 +2859,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2786
2859
  templateOptions?: {
2787
2860
  [x: string]: string;
2788
2861
  };
2862
+ tenantId?: string;
2789
2863
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2790
2864
  maskedPhone: string;
2791
2865
  }>>;
@@ -2795,6 +2869,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2795
2869
  templateOptions?: {
2796
2870
  [x: string]: string;
2797
2871
  };
2872
+ tenantId?: string;
2798
2873
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
2799
2874
  maskedEmail: string;
2800
2875
  }>>;
@@ -2870,6 +2945,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2870
2945
  templateOptions?: {
2871
2946
  [x: string]: string;
2872
2947
  };
2948
+ tenantId?: string;
2873
2949
  } & {
2874
2950
  providerId?: string;
2875
2951
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -2886,6 +2962,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2886
2962
  templateOptions?: {
2887
2963
  [x: string]: string;
2888
2964
  };
2965
+ tenantId?: string;
2889
2966
  } & {
2890
2967
  providerId?: string;
2891
2968
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -2960,6 +3037,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2960
3037
  templateOptions?: {
2961
3038
  [x: string]: string;
2962
3039
  };
3040
+ tenantId?: string;
2963
3041
  } & {
2964
3042
  providerId?: string;
2965
3043
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -2980,6 +3058,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
2980
3058
  templateOptions?: {
2981
3059
  [x: string]: string;
2982
3060
  };
3061
+ tenantId?: string;
2983
3062
  } & {
2984
3063
  providerId?: string;
2985
3064
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3013,6 +3092,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3013
3092
  templateOptions?: {
3014
3093
  [x: string]: string;
3015
3094
  };
3095
+ tenantId?: string;
3016
3096
  } & {
3017
3097
  providerId?: string;
3018
3098
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -3116,7 +3196,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3116
3196
  };
3117
3197
  webauthn: {
3118
3198
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
3119
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3199
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3120
3200
  transactionId: string;
3121
3201
  options: string;
3122
3202
  create: boolean;
@@ -3132,7 +3212,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3132
3212
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
3133
3213
  };
3134
3214
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
3135
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3215
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3136
3216
  transactionId: string;
3137
3217
  options: string;
3138
3218
  create: boolean;
@@ -3228,6 +3308,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3228
3308
  templateOptions?: {
3229
3309
  [x: string]: string;
3230
3310
  };
3311
+ tenantId?: string;
3231
3312
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3232
3313
  maskedPhone: string;
3233
3314
  }>>;
@@ -3244,6 +3325,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3244
3325
  templateOptions?: {
3245
3326
  [x: string]: string;
3246
3327
  };
3328
+ tenantId?: string;
3247
3329
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3248
3330
  maskedPhone: string;
3249
3331
  }>>;
@@ -3260,6 +3342,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3260
3342
  templateOptions?: {
3261
3343
  [x: string]: string;
3262
3344
  };
3345
+ tenantId?: string;
3263
3346
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3264
3347
  maskedPhone: string;
3265
3348
  }>>;
@@ -3276,6 +3359,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3276
3359
  templateOptions?: {
3277
3360
  [x: string]: string;
3278
3361
  };
3362
+ tenantId?: string;
3279
3363
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3280
3364
  maskedPhone: string;
3281
3365
  }>>;
@@ -3292,6 +3376,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3292
3376
  templateOptions?: {
3293
3377
  [x: string]: string;
3294
3378
  };
3379
+ tenantId?: string;
3295
3380
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3296
3381
  maskedEmail: string;
3297
3382
  }>>;
@@ -3406,6 +3491,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3406
3491
  templateOptions?: {
3407
3492
  [x: string]: string;
3408
3493
  };
3494
+ tenantId?: string;
3409
3495
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3410
3496
  maskedPhone: string;
3411
3497
  }>>;
@@ -3422,6 +3508,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3422
3508
  templateOptions?: {
3423
3509
  [x: string]: string;
3424
3510
  };
3511
+ tenantId?: string;
3425
3512
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3426
3513
  maskedPhone: string;
3427
3514
  }>>;
@@ -3438,6 +3525,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3438
3525
  templateOptions?: {
3439
3526
  [x: string]: string;
3440
3527
  };
3528
+ tenantId?: string;
3441
3529
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3442
3530
  maskedPhone: string;
3443
3531
  }>>;
@@ -3454,6 +3542,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3454
3542
  templateOptions?: {
3455
3543
  [x: string]: string;
3456
3544
  };
3545
+ tenantId?: string;
3457
3546
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3458
3547
  maskedPhone: string;
3459
3548
  }>>;
@@ -3470,6 +3559,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3470
3559
  templateOptions?: {
3471
3560
  [x: string]: string;
3472
3561
  };
3562
+ tenantId?: string;
3473
3563
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3474
3564
  maskedEmail: string;
3475
3565
  }>>;
@@ -3481,6 +3571,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3481
3571
  templateOptions?: {
3482
3572
  [x: string]: string;
3483
3573
  };
3574
+ tenantId?: string;
3484
3575
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3485
3576
  maskedPhone: string;
3486
3577
  }>>;
@@ -3490,6 +3581,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3490
3581
  templateOptions?: {
3491
3582
  [x: string]: string;
3492
3583
  };
3584
+ tenantId?: string;
3493
3585
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3494
3586
  maskedPhone: string;
3495
3587
  }>>;
@@ -3499,6 +3591,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3499
3591
  templateOptions?: {
3500
3592
  [x: string]: string;
3501
3593
  };
3594
+ tenantId?: string;
3502
3595
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3503
3596
  maskedPhone: string;
3504
3597
  }>>;
@@ -3508,6 +3601,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3508
3601
  templateOptions?: {
3509
3602
  [x: string]: string;
3510
3603
  };
3604
+ tenantId?: string;
3511
3605
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3512
3606
  maskedPhone: string;
3513
3607
  }>>;
@@ -3517,6 +3611,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3517
3611
  templateOptions?: {
3518
3612
  [x: string]: string;
3519
3613
  };
3614
+ tenantId?: string;
3520
3615
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3521
3616
  maskedEmail: string;
3522
3617
  }>>;
@@ -3592,6 +3687,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3592
3687
  templateOptions?: {
3593
3688
  [x: string]: string;
3594
3689
  };
3690
+ tenantId?: string;
3595
3691
  } & {
3596
3692
  providerId?: string;
3597
3693
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -3608,6 +3704,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3608
3704
  templateOptions?: {
3609
3705
  [x: string]: string;
3610
3706
  };
3707
+ tenantId?: string;
3611
3708
  } & {
3612
3709
  providerId?: string;
3613
3710
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -3682,6 +3779,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3682
3779
  templateOptions?: {
3683
3780
  [x: string]: string;
3684
3781
  };
3782
+ tenantId?: string;
3685
3783
  } & {
3686
3784
  providerId?: string;
3687
3785
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3702,6 +3800,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3702
3800
  templateOptions?: {
3703
3801
  [x: string]: string;
3704
3802
  };
3803
+ tenantId?: string;
3705
3804
  } & {
3706
3805
  providerId?: string;
3707
3806
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -3735,6 +3834,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3735
3834
  templateOptions?: {
3736
3835
  [x: string]: string;
3737
3836
  };
3837
+ tenantId?: string;
3738
3838
  } & {
3739
3839
  providerId?: string;
3740
3840
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
@@ -3838,7 +3938,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3838
3938
  };
3839
3939
  webauthn: {
3840
3940
  signUp: ((identifier: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
3841
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3941
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3842
3942
  transactionId: string;
3843
3943
  options: string;
3844
3944
  create: boolean;
@@ -3854,7 +3954,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3854
3954
  finish: (transactionId: string, response: string) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;
3855
3955
  };
3856
3956
  signUpOrIn: ((identifier: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>) & {
3857
- start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3957
+ start: (loginId: string, origin: string, passkeyOptions?: _descope_core_js_sdk.PasskeyOptions, loginOptions?: _descope_core_js_sdk.LoginOptions) => Promise<_descope_core_js_sdk.SdkResponse<{
3858
3958
  transactionId: string;
3859
3959
  options: string;
3860
3960
  create: boolean;
@@ -3950,6 +4050,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3950
4050
  templateOptions?: {
3951
4051
  [x: string]: string;
3952
4052
  };
4053
+ tenantId?: string;
3953
4054
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3954
4055
  maskedPhone: string;
3955
4056
  }>>;
@@ -3966,6 +4067,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3966
4067
  templateOptions?: {
3967
4068
  [x: string]: string;
3968
4069
  };
4070
+ tenantId?: string;
3969
4071
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3970
4072
  maskedPhone: string;
3971
4073
  }>>;
@@ -3982,6 +4084,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3982
4084
  templateOptions?: {
3983
4085
  [x: string]: string;
3984
4086
  };
4087
+ tenantId?: string;
3985
4088
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
3986
4089
  maskedPhone: string;
3987
4090
  }>>;
@@ -3998,6 +4101,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
3998
4101
  templateOptions?: {
3999
4102
  [x: string]: string;
4000
4103
  };
4104
+ tenantId?: string;
4001
4105
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4002
4106
  maskedPhone: string;
4003
4107
  }>>;
@@ -4014,6 +4118,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4014
4118
  templateOptions?: {
4015
4119
  [x: string]: string;
4016
4120
  };
4121
+ tenantId?: string;
4017
4122
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4018
4123
  maskedEmail: string;
4019
4124
  }>>;
@@ -4128,6 +4233,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4128
4233
  templateOptions?: {
4129
4234
  [x: string]: string;
4130
4235
  };
4236
+ tenantId?: string;
4131
4237
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4132
4238
  maskedPhone: string;
4133
4239
  }>>;
@@ -4144,6 +4250,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4144
4250
  templateOptions?: {
4145
4251
  [x: string]: string;
4146
4252
  };
4253
+ tenantId?: string;
4147
4254
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4148
4255
  maskedPhone: string;
4149
4256
  }>>;
@@ -4160,6 +4267,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4160
4267
  templateOptions?: {
4161
4268
  [x: string]: string;
4162
4269
  };
4270
+ tenantId?: string;
4163
4271
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4164
4272
  maskedPhone: string;
4165
4273
  }>>;
@@ -4176,6 +4284,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4176
4284
  templateOptions?: {
4177
4285
  [x: string]: string;
4178
4286
  };
4287
+ tenantId?: string;
4179
4288
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4180
4289
  maskedPhone: string;
4181
4290
  }>>;
@@ -4192,6 +4301,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4192
4301
  templateOptions?: {
4193
4302
  [x: string]: string;
4194
4303
  };
4304
+ tenantId?: string;
4195
4305
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4196
4306
  maskedEmail: string;
4197
4307
  }>>;
@@ -4203,6 +4313,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4203
4313
  templateOptions?: {
4204
4314
  [x: string]: string;
4205
4315
  };
4316
+ tenantId?: string;
4206
4317
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4207
4318
  maskedPhone: string;
4208
4319
  }>>;
@@ -4212,6 +4323,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4212
4323
  templateOptions?: {
4213
4324
  [x: string]: string;
4214
4325
  };
4326
+ tenantId?: string;
4215
4327
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4216
4328
  maskedPhone: string;
4217
4329
  }>>;
@@ -4221,6 +4333,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4221
4333
  templateOptions?: {
4222
4334
  [x: string]: string;
4223
4335
  };
4336
+ tenantId?: string;
4224
4337
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4225
4338
  maskedPhone: string;
4226
4339
  }>>;
@@ -4230,6 +4343,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4230
4343
  templateOptions?: {
4231
4344
  [x: string]: string;
4232
4345
  };
4346
+ tenantId?: string;
4233
4347
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4234
4348
  maskedPhone: string;
4235
4349
  }>>;
@@ -4239,6 +4353,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4239
4353
  templateOptions?: {
4240
4354
  [x: string]: string;
4241
4355
  };
4356
+ tenantId?: string;
4242
4357
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
4243
4358
  maskedEmail: string;
4244
4359
  }>>;
@@ -4314,6 +4429,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4314
4429
  templateOptions?: {
4315
4430
  [x: string]: string;
4316
4431
  };
4432
+ tenantId?: string;
4317
4433
  } & {
4318
4434
  providerId?: string;
4319
4435
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -4330,6 +4446,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4330
4446
  templateOptions?: {
4331
4447
  [x: string]: string;
4332
4448
  };
4449
+ tenantId?: string;
4333
4450
  } & {
4334
4451
  providerId?: string;
4335
4452
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.EnchantedLinkResponse>>;
@@ -4404,6 +4521,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4404
4521
  templateOptions?: {
4405
4522
  [x: string]: string;
4406
4523
  };
4524
+ tenantId?: string;
4407
4525
  } & {
4408
4526
  providerId?: string;
4409
4527
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -4424,6 +4542,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4424
4542
  templateOptions?: {
4425
4543
  [x: string]: string;
4426
4544
  };
4545
+ tenantId?: string;
4427
4546
  } & {
4428
4547
  providerId?: string;
4429
4548
  }) => Promise<_descope_core_js_sdk.SdkResponse<{
@@ -4457,6 +4576,7 @@ declare const decoratedCreateSdk: <A extends CookieConfig>({ persistTokens: isPe
4457
4576
  templateOptions?: {
4458
4577
  [x: string]: string;
4459
4578
  };
4579
+ tenantId?: string;
4460
4580
  } & {
4461
4581
  providerId?: string;
4462
4582
  }) => Promise<_descope_core_js_sdk.SdkResponse<_descope_core_js_sdk.JWTResponse>>;