@descope/react-sdk 2.27.9 → 2.27.11

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/README.md CHANGED
@@ -313,7 +313,9 @@ const App = () => {
313
313
  };
314
314
  ```
315
315
 
316
- Note: `useSession` triggers a single request to the Descope backend to attempt to refresh the session. If you **don't** `useSession` on your app, the session will not be refreshed automatically. If your app does not require `useSession`, you can trigger the refresh manually by calling `refresh` from `useDescope` hook. Example:
316
+ ### Trigger Auto Refresh
317
+
318
+ `useSession` triggers a single request to the Descope backend to attempt to refresh the session. If you **don't** `useSession` in your app, the session will not be refreshed automatically. If your app does not require `useSession`, you can trigger the refresh manually by calling `refresh` from `useDescope` hook. Example:
317
319
 
318
320
  ```js
319
321
  const { refresh } = useDescope();
@@ -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.27.9"};
1
+ "use strict";const e="undefined"!=typeof window;exports.IS_BROWSER=e,exports.baseHeaders={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.27.11"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
1
- const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.27.9"},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.27.11"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["declare const BUILD_VERSION: string;\n\nexport const baseHeaders = {\n 'x-descope-sdk-name': 'react',\n 'x-descope-sdk-version': BUILD_VERSION,\n};\n\n// This sdk can be used in SSR apps\nexport const IS_BROWSER = typeof window !== 'undefined';\n"],"names":["baseHeaders","IS_BROWSER","window"],"mappings":"AAEa,MAAAA,EAAc,CACzB,qBAAsB,QACtB,wBAAyB,UAIdC,EAA+B,oBAAXC"}
1
+ {"version":3,"file":"constants.js","sources":["../../src/constants.ts"],"sourcesContent":["declare const BUILD_VERSION: string;\n\nexport const baseHeaders = {\n 'x-descope-sdk-name': 'react',\n 'x-descope-sdk-version': BUILD_VERSION,\n};\n\n// This sdk can be used in SSR apps\nexport const IS_BROWSER = typeof window !== 'undefined';\n"],"names":["baseHeaders","IS_BROWSER","window"],"mappings":"AAEa,MAAAA,EAAc,CACzB,qBAAsB,QACtB,wBAAyB,WAIdC,EAA+B,oBAAXC"}
package/dist/index.d.ts CHANGED
@@ -127,7 +127,7 @@ declare const createSdkWrapper: <P extends {
127
127
  };
128
128
  webauthn: {
129
129
  signUp: ((identifier: string, name: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>) & {
130
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
130
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _1.PasskeyOptions, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<{
131
131
  transactionId: string;
132
132
  options: string;
133
133
  create: boolean;
@@ -143,7 +143,7 @@ declare const createSdkWrapper: <P extends {
143
143
  finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
144
144
  };
145
145
  signUpOrIn: ((identifier: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>) & {
146
- start: (loginId: string, origin: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
146
+ start: (loginId: string, origin: string, passkeyOptions?: _1.PasskeyOptions, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<{
147
147
  transactionId: string;
148
148
  options: string;
149
149
  create: boolean;
@@ -239,6 +239,7 @@ declare const createSdkWrapper: <P extends {
239
239
  templateOptions?: {
240
240
  [x: string]: string;
241
241
  };
242
+ tenantId?: string;
242
243
  }) => Promise<_1.SdkResponse<{
243
244
  maskedPhone: string;
244
245
  }>>;
@@ -255,6 +256,7 @@ declare const createSdkWrapper: <P extends {
255
256
  templateOptions?: {
256
257
  [x: string]: string;
257
258
  };
259
+ tenantId?: string;
258
260
  }) => Promise<_1.SdkResponse<{
259
261
  maskedPhone: string;
260
262
  }>>;
@@ -271,6 +273,7 @@ declare const createSdkWrapper: <P extends {
271
273
  templateOptions?: {
272
274
  [x: string]: string;
273
275
  };
276
+ tenantId?: string;
274
277
  }) => Promise<_1.SdkResponse<{
275
278
  maskedPhone: string;
276
279
  }>>;
@@ -287,6 +290,7 @@ declare const createSdkWrapper: <P extends {
287
290
  templateOptions?: {
288
291
  [x: string]: string;
289
292
  };
293
+ tenantId?: string;
290
294
  }) => Promise<_1.SdkResponse<{
291
295
  maskedPhone: string;
292
296
  }>>;
@@ -303,6 +307,7 @@ declare const createSdkWrapper: <P extends {
303
307
  templateOptions?: {
304
308
  [x: string]: string;
305
309
  };
310
+ tenantId?: string;
306
311
  }) => Promise<_1.SdkResponse<{
307
312
  maskedEmail: string;
308
313
  }>>;
@@ -417,6 +422,7 @@ declare const createSdkWrapper: <P extends {
417
422
  templateOptions?: {
418
423
  [x: string]: string;
419
424
  };
425
+ tenantId?: string;
420
426
  }) => Promise<_1.SdkResponse<{
421
427
  maskedPhone: string;
422
428
  }>>;
@@ -433,6 +439,7 @@ declare const createSdkWrapper: <P extends {
433
439
  templateOptions?: {
434
440
  [x: string]: string;
435
441
  };
442
+ tenantId?: string;
436
443
  }) => Promise<_1.SdkResponse<{
437
444
  maskedPhone: string;
438
445
  }>>;
@@ -449,6 +456,7 @@ declare const createSdkWrapper: <P extends {
449
456
  templateOptions?: {
450
457
  [x: string]: string;
451
458
  };
459
+ tenantId?: string;
452
460
  }) => Promise<_1.SdkResponse<{
453
461
  maskedPhone: string;
454
462
  }>>;
@@ -465,6 +473,7 @@ declare const createSdkWrapper: <P extends {
465
473
  templateOptions?: {
466
474
  [x: string]: string;
467
475
  };
476
+ tenantId?: string;
468
477
  }) => Promise<_1.SdkResponse<{
469
478
  maskedPhone: string;
470
479
  }>>;
@@ -481,6 +490,7 @@ declare const createSdkWrapper: <P extends {
481
490
  templateOptions?: {
482
491
  [x: string]: string;
483
492
  };
493
+ tenantId?: string;
484
494
  }) => Promise<_1.SdkResponse<{
485
495
  maskedEmail: string;
486
496
  }>>;
@@ -492,6 +502,7 @@ declare const createSdkWrapper: <P extends {
492
502
  templateOptions?: {
493
503
  [x: string]: string;
494
504
  };
505
+ tenantId?: string;
495
506
  }) => Promise<_1.SdkResponse<{
496
507
  maskedPhone: string;
497
508
  }>>;
@@ -501,6 +512,7 @@ declare const createSdkWrapper: <P extends {
501
512
  templateOptions?: {
502
513
  [x: string]: string;
503
514
  };
515
+ tenantId?: string;
504
516
  }) => Promise<_1.SdkResponse<{
505
517
  maskedPhone: string;
506
518
  }>>;
@@ -510,6 +522,7 @@ declare const createSdkWrapper: <P extends {
510
522
  templateOptions?: {
511
523
  [x: string]: string;
512
524
  };
525
+ tenantId?: string;
513
526
  }) => Promise<_1.SdkResponse<{
514
527
  maskedPhone: string;
515
528
  }>>;
@@ -519,6 +532,7 @@ declare const createSdkWrapper: <P extends {
519
532
  templateOptions?: {
520
533
  [x: string]: string;
521
534
  };
535
+ tenantId?: string;
522
536
  }) => Promise<_1.SdkResponse<{
523
537
  maskedPhone: string;
524
538
  }>>;
@@ -528,6 +542,7 @@ declare const createSdkWrapper: <P extends {
528
542
  templateOptions?: {
529
543
  [x: string]: string;
530
544
  };
545
+ tenantId?: string;
531
546
  }) => Promise<_1.SdkResponse<{
532
547
  maskedEmail: string;
533
548
  }>>;
@@ -603,6 +618,7 @@ declare const createSdkWrapper: <P extends {
603
618
  templateOptions?: {
604
619
  [x: string]: string;
605
620
  };
621
+ tenantId?: string;
606
622
  } & {
607
623
  providerId?: string;
608
624
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
@@ -619,6 +635,7 @@ declare const createSdkWrapper: <P extends {
619
635
  templateOptions?: {
620
636
  [x: string]: string;
621
637
  };
638
+ tenantId?: string;
622
639
  } & {
623
640
  providerId?: string;
624
641
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
@@ -693,6 +710,7 @@ declare const createSdkWrapper: <P extends {
693
710
  templateOptions?: {
694
711
  [x: string]: string;
695
712
  };
713
+ tenantId?: string;
696
714
  } & {
697
715
  providerId?: string;
698
716
  }) => Promise<_1.SdkResponse<{
@@ -713,6 +731,7 @@ declare const createSdkWrapper: <P extends {
713
731
  templateOptions?: {
714
732
  [x: string]: string;
715
733
  };
734
+ tenantId?: string;
716
735
  } & {
717
736
  providerId?: string;
718
737
  }) => Promise<_1.SdkResponse<{
@@ -746,6 +765,7 @@ declare const createSdkWrapper: <P extends {
746
765
  templateOptions?: {
747
766
  [x: string]: string;
748
767
  };
768
+ tenantId?: string;
749
769
  } & {
750
770
  providerId?: string;
751
771
  }) => Promise<_1.SdkResponse<_1.JWTResponse>>;
@@ -849,7 +869,7 @@ declare const createSdkWrapper: <P extends {
849
869
  };
850
870
  webauthn: {
851
871
  signUp: ((identifier: string, name: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>) & {
852
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
872
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _1.PasskeyOptions, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<{
853
873
  transactionId: string;
854
874
  options: string;
855
875
  create: boolean;
@@ -865,7 +885,7 @@ declare const createSdkWrapper: <P extends {
865
885
  finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
866
886
  };
867
887
  signUpOrIn: ((identifier: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>) & {
868
- start: (loginId: string, origin: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
888
+ start: (loginId: string, origin: string, passkeyOptions?: _1.PasskeyOptions, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<{
869
889
  transactionId: string;
870
890
  options: string;
871
891
  create: boolean;
@@ -961,6 +981,7 @@ declare const createSdkWrapper: <P extends {
961
981
  templateOptions?: {
962
982
  [x: string]: string;
963
983
  };
984
+ tenantId?: string;
964
985
  }) => Promise<_1.SdkResponse<{
965
986
  maskedPhone: string;
966
987
  }>>;
@@ -977,6 +998,7 @@ declare const createSdkWrapper: <P extends {
977
998
  templateOptions?: {
978
999
  [x: string]: string;
979
1000
  };
1001
+ tenantId?: string;
980
1002
  }) => Promise<_1.SdkResponse<{
981
1003
  maskedPhone: string;
982
1004
  }>>;
@@ -993,6 +1015,7 @@ declare const createSdkWrapper: <P extends {
993
1015
  templateOptions?: {
994
1016
  [x: string]: string;
995
1017
  };
1018
+ tenantId?: string;
996
1019
  }) => Promise<_1.SdkResponse<{
997
1020
  maskedPhone: string;
998
1021
  }>>;
@@ -1009,6 +1032,7 @@ declare const createSdkWrapper: <P extends {
1009
1032
  templateOptions?: {
1010
1033
  [x: string]: string;
1011
1034
  };
1035
+ tenantId?: string;
1012
1036
  }) => Promise<_1.SdkResponse<{
1013
1037
  maskedPhone: string;
1014
1038
  }>>;
@@ -1025,6 +1049,7 @@ declare const createSdkWrapper: <P extends {
1025
1049
  templateOptions?: {
1026
1050
  [x: string]: string;
1027
1051
  };
1052
+ tenantId?: string;
1028
1053
  }) => Promise<_1.SdkResponse<{
1029
1054
  maskedEmail: string;
1030
1055
  }>>;
@@ -1139,6 +1164,7 @@ declare const createSdkWrapper: <P extends {
1139
1164
  templateOptions?: {
1140
1165
  [x: string]: string;
1141
1166
  };
1167
+ tenantId?: string;
1142
1168
  }) => Promise<_1.SdkResponse<{
1143
1169
  maskedPhone: string;
1144
1170
  }>>;
@@ -1155,6 +1181,7 @@ declare const createSdkWrapper: <P extends {
1155
1181
  templateOptions?: {
1156
1182
  [x: string]: string;
1157
1183
  };
1184
+ tenantId?: string;
1158
1185
  }) => Promise<_1.SdkResponse<{
1159
1186
  maskedPhone: string;
1160
1187
  }>>;
@@ -1171,6 +1198,7 @@ declare const createSdkWrapper: <P extends {
1171
1198
  templateOptions?: {
1172
1199
  [x: string]: string;
1173
1200
  };
1201
+ tenantId?: string;
1174
1202
  }) => Promise<_1.SdkResponse<{
1175
1203
  maskedPhone: string;
1176
1204
  }>>;
@@ -1187,6 +1215,7 @@ declare const createSdkWrapper: <P extends {
1187
1215
  templateOptions?: {
1188
1216
  [x: string]: string;
1189
1217
  };
1218
+ tenantId?: string;
1190
1219
  }) => Promise<_1.SdkResponse<{
1191
1220
  maskedPhone: string;
1192
1221
  }>>;
@@ -1203,6 +1232,7 @@ declare const createSdkWrapper: <P extends {
1203
1232
  templateOptions?: {
1204
1233
  [x: string]: string;
1205
1234
  };
1235
+ tenantId?: string;
1206
1236
  }) => Promise<_1.SdkResponse<{
1207
1237
  maskedEmail: string;
1208
1238
  }>>;
@@ -1214,6 +1244,7 @@ declare const createSdkWrapper: <P extends {
1214
1244
  templateOptions?: {
1215
1245
  [x: string]: string;
1216
1246
  };
1247
+ tenantId?: string;
1217
1248
  }) => Promise<_1.SdkResponse<{
1218
1249
  maskedPhone: string;
1219
1250
  }>>;
@@ -1223,6 +1254,7 @@ declare const createSdkWrapper: <P extends {
1223
1254
  templateOptions?: {
1224
1255
  [x: string]: string;
1225
1256
  };
1257
+ tenantId?: string;
1226
1258
  }) => Promise<_1.SdkResponse<{
1227
1259
  maskedPhone: string;
1228
1260
  }>>;
@@ -1232,6 +1264,7 @@ declare const createSdkWrapper: <P extends {
1232
1264
  templateOptions?: {
1233
1265
  [x: string]: string;
1234
1266
  };
1267
+ tenantId?: string;
1235
1268
  }) => Promise<_1.SdkResponse<{
1236
1269
  maskedPhone: string;
1237
1270
  }>>;
@@ -1241,6 +1274,7 @@ declare const createSdkWrapper: <P extends {
1241
1274
  templateOptions?: {
1242
1275
  [x: string]: string;
1243
1276
  };
1277
+ tenantId?: string;
1244
1278
  }) => Promise<_1.SdkResponse<{
1245
1279
  maskedPhone: string;
1246
1280
  }>>;
@@ -1250,6 +1284,7 @@ declare const createSdkWrapper: <P extends {
1250
1284
  templateOptions?: {
1251
1285
  [x: string]: string;
1252
1286
  };
1287
+ tenantId?: string;
1253
1288
  }) => Promise<_1.SdkResponse<{
1254
1289
  maskedEmail: string;
1255
1290
  }>>;
@@ -1325,6 +1360,7 @@ declare const createSdkWrapper: <P extends {
1325
1360
  templateOptions?: {
1326
1361
  [x: string]: string;
1327
1362
  };
1363
+ tenantId?: string;
1328
1364
  } & {
1329
1365
  providerId?: string;
1330
1366
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
@@ -1341,6 +1377,7 @@ declare const createSdkWrapper: <P extends {
1341
1377
  templateOptions?: {
1342
1378
  [x: string]: string;
1343
1379
  };
1380
+ tenantId?: string;
1344
1381
  } & {
1345
1382
  providerId?: string;
1346
1383
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
@@ -1415,6 +1452,7 @@ declare const createSdkWrapper: <P extends {
1415
1452
  templateOptions?: {
1416
1453
  [x: string]: string;
1417
1454
  };
1455
+ tenantId?: string;
1418
1456
  } & {
1419
1457
  providerId?: string;
1420
1458
  }) => Promise<_1.SdkResponse<{
@@ -1435,6 +1473,7 @@ declare const createSdkWrapper: <P extends {
1435
1473
  templateOptions?: {
1436
1474
  [x: string]: string;
1437
1475
  };
1476
+ tenantId?: string;
1438
1477
  } & {
1439
1478
  providerId?: string;
1440
1479
  }) => Promise<_1.SdkResponse<{
@@ -1468,6 +1507,7 @@ declare const createSdkWrapper: <P extends {
1468
1507
  templateOptions?: {
1469
1508
  [x: string]: string;
1470
1509
  };
1510
+ tenantId?: string;
1471
1511
  } & {
1472
1512
  providerId?: string;
1473
1513
  }) => Promise<_1.SdkResponse<_1.JWTResponse>>;
@@ -1571,7 +1611,7 @@ declare const createSdkWrapper: <P extends {
1571
1611
  };
1572
1612
  webauthn: {
1573
1613
  signUp: ((identifier: string, name: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>) & {
1574
- start: (loginId: string, origin: string, name: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
1614
+ start: (loginId: string, origin: string, name: string, passkeyOptions?: _1.PasskeyOptions, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<{
1575
1615
  transactionId: string;
1576
1616
  options: string;
1577
1617
  create: boolean;
@@ -1587,7 +1627,7 @@ declare const createSdkWrapper: <P extends {
1587
1627
  finish: (transactionId: string, response: string) => Promise<_1.SdkResponse<_1.JWTResponse>>;
1588
1628
  };
1589
1629
  signUpOrIn: ((identifier: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<_1.JWTResponse>>) & {
1590
- start: (loginId: string, origin: string, passkeyOptions?: _1.PasskeyOptions) => Promise<_1.SdkResponse<{
1630
+ start: (loginId: string, origin: string, passkeyOptions?: _1.PasskeyOptions, loginOptions?: _1.LoginOptions) => Promise<_1.SdkResponse<{
1591
1631
  transactionId: string;
1592
1632
  options: string;
1593
1633
  create: boolean;
@@ -1683,6 +1723,7 @@ declare const createSdkWrapper: <P extends {
1683
1723
  templateOptions?: {
1684
1724
  [x: string]: string;
1685
1725
  };
1726
+ tenantId?: string;
1686
1727
  }) => Promise<_1.SdkResponse<{
1687
1728
  maskedPhone: string;
1688
1729
  }>>;
@@ -1699,6 +1740,7 @@ declare const createSdkWrapper: <P extends {
1699
1740
  templateOptions?: {
1700
1741
  [x: string]: string;
1701
1742
  };
1743
+ tenantId?: string;
1702
1744
  }) => Promise<_1.SdkResponse<{
1703
1745
  maskedPhone: string;
1704
1746
  }>>;
@@ -1715,6 +1757,7 @@ declare const createSdkWrapper: <P extends {
1715
1757
  templateOptions?: {
1716
1758
  [x: string]: string;
1717
1759
  };
1760
+ tenantId?: string;
1718
1761
  }) => Promise<_1.SdkResponse<{
1719
1762
  maskedPhone: string;
1720
1763
  }>>;
@@ -1731,6 +1774,7 @@ declare const createSdkWrapper: <P extends {
1731
1774
  templateOptions?: {
1732
1775
  [x: string]: string;
1733
1776
  };
1777
+ tenantId?: string;
1734
1778
  }) => Promise<_1.SdkResponse<{
1735
1779
  maskedPhone: string;
1736
1780
  }>>;
@@ -1747,6 +1791,7 @@ declare const createSdkWrapper: <P extends {
1747
1791
  templateOptions?: {
1748
1792
  [x: string]: string;
1749
1793
  };
1794
+ tenantId?: string;
1750
1795
  }) => Promise<_1.SdkResponse<{
1751
1796
  maskedEmail: string;
1752
1797
  }>>;
@@ -1861,6 +1906,7 @@ declare const createSdkWrapper: <P extends {
1861
1906
  templateOptions?: {
1862
1907
  [x: string]: string;
1863
1908
  };
1909
+ tenantId?: string;
1864
1910
  }) => Promise<_1.SdkResponse<{
1865
1911
  maskedPhone: string;
1866
1912
  }>>;
@@ -1877,6 +1923,7 @@ declare const createSdkWrapper: <P extends {
1877
1923
  templateOptions?: {
1878
1924
  [x: string]: string;
1879
1925
  };
1926
+ tenantId?: string;
1880
1927
  }) => Promise<_1.SdkResponse<{
1881
1928
  maskedPhone: string;
1882
1929
  }>>;
@@ -1893,6 +1940,7 @@ declare const createSdkWrapper: <P extends {
1893
1940
  templateOptions?: {
1894
1941
  [x: string]: string;
1895
1942
  };
1943
+ tenantId?: string;
1896
1944
  }) => Promise<_1.SdkResponse<{
1897
1945
  maskedPhone: string;
1898
1946
  }>>;
@@ -1909,6 +1957,7 @@ declare const createSdkWrapper: <P extends {
1909
1957
  templateOptions?: {
1910
1958
  [x: string]: string;
1911
1959
  };
1960
+ tenantId?: string;
1912
1961
  }) => Promise<_1.SdkResponse<{
1913
1962
  maskedPhone: string;
1914
1963
  }>>;
@@ -1925,6 +1974,7 @@ declare const createSdkWrapper: <P extends {
1925
1974
  templateOptions?: {
1926
1975
  [x: string]: string;
1927
1976
  };
1977
+ tenantId?: string;
1928
1978
  }) => Promise<_1.SdkResponse<{
1929
1979
  maskedEmail: string;
1930
1980
  }>>;
@@ -1936,6 +1986,7 @@ declare const createSdkWrapper: <P extends {
1936
1986
  templateOptions?: {
1937
1987
  [x: string]: string;
1938
1988
  };
1989
+ tenantId?: string;
1939
1990
  }) => Promise<_1.SdkResponse<{
1940
1991
  maskedPhone: string;
1941
1992
  }>>;
@@ -1945,6 +1996,7 @@ declare const createSdkWrapper: <P extends {
1945
1996
  templateOptions?: {
1946
1997
  [x: string]: string;
1947
1998
  };
1999
+ tenantId?: string;
1948
2000
  }) => Promise<_1.SdkResponse<{
1949
2001
  maskedPhone: string;
1950
2002
  }>>;
@@ -1954,6 +2006,7 @@ declare const createSdkWrapper: <P extends {
1954
2006
  templateOptions?: {
1955
2007
  [x: string]: string;
1956
2008
  };
2009
+ tenantId?: string;
1957
2010
  }) => Promise<_1.SdkResponse<{
1958
2011
  maskedPhone: string;
1959
2012
  }>>;
@@ -1963,6 +2016,7 @@ declare const createSdkWrapper: <P extends {
1963
2016
  templateOptions?: {
1964
2017
  [x: string]: string;
1965
2018
  };
2019
+ tenantId?: string;
1966
2020
  }) => Promise<_1.SdkResponse<{
1967
2021
  maskedPhone: string;
1968
2022
  }>>;
@@ -1972,6 +2026,7 @@ declare const createSdkWrapper: <P extends {
1972
2026
  templateOptions?: {
1973
2027
  [x: string]: string;
1974
2028
  };
2029
+ tenantId?: string;
1975
2030
  }) => Promise<_1.SdkResponse<{
1976
2031
  maskedEmail: string;
1977
2032
  }>>;
@@ -2047,6 +2102,7 @@ declare const createSdkWrapper: <P extends {
2047
2102
  templateOptions?: {
2048
2103
  [x: string]: string;
2049
2104
  };
2105
+ tenantId?: string;
2050
2106
  } & {
2051
2107
  providerId?: string;
2052
2108
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
@@ -2063,6 +2119,7 @@ declare const createSdkWrapper: <P extends {
2063
2119
  templateOptions?: {
2064
2120
  [x: string]: string;
2065
2121
  };
2122
+ tenantId?: string;
2066
2123
  } & {
2067
2124
  providerId?: string;
2068
2125
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
@@ -2137,6 +2194,7 @@ declare const createSdkWrapper: <P extends {
2137
2194
  templateOptions?: {
2138
2195
  [x: string]: string;
2139
2196
  };
2197
+ tenantId?: string;
2140
2198
  } & {
2141
2199
  providerId?: string;
2142
2200
  }) => Promise<_1.SdkResponse<{
@@ -2157,6 +2215,7 @@ declare const createSdkWrapper: <P extends {
2157
2215
  templateOptions?: {
2158
2216
  [x: string]: string;
2159
2217
  };
2218
+ tenantId?: string;
2160
2219
  } & {
2161
2220
  providerId?: string;
2162
2221
  }) => Promise<_1.SdkResponse<{
@@ -2190,6 +2249,7 @@ declare const createSdkWrapper: <P extends {
2190
2249
  templateOptions?: {
2191
2250
  [x: string]: string;
2192
2251
  };
2252
+ tenantId?: string;
2193
2253
  } & {
2194
2254
  providerId?: string;
2195
2255
  }) => Promise<_1.SdkResponse<_1.JWTResponse>>;