@descope/react-sdk 2.14.1 → 2.14.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.
@@ -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.1"};
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.3"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
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};
1
+ const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.14.3"},d="undefined"!=typeof window;export{d as IS_BROWSER,e as baseHeaders};
2
2
  //# sourceMappingURL=constants.js.map
package/dist/index.d.ts CHANGED
@@ -320,6 +320,8 @@ declare const createSdkWrapper: <P extends Omit<{
320
320
  templateOptions?: {
321
321
  [x: string]: string;
322
322
  };
323
+ templateId?: string;
324
+ providerId?: string;
323
325
  }) => Promise<_1.SdkResponse<{
324
326
  maskedEmail: string;
325
327
  }>>;
@@ -330,6 +332,8 @@ declare const createSdkWrapper: <P extends Omit<{
330
332
  templateOptions?: {
331
333
  [x: string]: string;
332
334
  };
335
+ templateId?: string;
336
+ providerId?: string;
333
337
  }) => Promise<_1.SdkResponse<{
334
338
  maskedPhone: string;
335
339
  }>>;
@@ -339,6 +343,8 @@ declare const createSdkWrapper: <P extends Omit<{
339
343
  templateOptions?: {
340
344
  [x: string]: string;
341
345
  };
346
+ templateId?: string;
347
+ providerId?: string;
342
348
  }) => Promise<_1.SdkResponse<{
343
349
  maskedPhone: string;
344
350
  }>>;
@@ -348,6 +354,8 @@ declare const createSdkWrapper: <P extends Omit<{
348
354
  templateOptions?: {
349
355
  [x: string]: string;
350
356
  };
357
+ templateId?: string;
358
+ providerId?: string;
351
359
  }) => Promise<_1.SdkResponse<{
352
360
  maskedPhone: string;
353
361
  }>>;
@@ -481,6 +489,8 @@ declare const createSdkWrapper: <P extends Omit<{
481
489
  templateOptions?: {
482
490
  [x: string]: string;
483
491
  };
492
+ templateId?: string;
493
+ providerId?: string;
484
494
  }) => Promise<_1.SdkResponse<{
485
495
  maskedEmail: string;
486
496
  }>>;
@@ -491,6 +501,8 @@ declare const createSdkWrapper: <P extends Omit<{
491
501
  templateOptions?: {
492
502
  [x: string]: string;
493
503
  };
504
+ templateId?: string;
505
+ providerId?: string;
494
506
  }) => Promise<_1.SdkResponse<{
495
507
  maskedPhone: string;
496
508
  }>>;
@@ -500,6 +512,8 @@ declare const createSdkWrapper: <P extends Omit<{
500
512
  templateOptions?: {
501
513
  [x: string]: string;
502
514
  };
515
+ templateId?: string;
516
+ providerId?: string;
503
517
  }) => Promise<_1.SdkResponse<{
504
518
  maskedPhone: string;
505
519
  }>>;
@@ -509,6 +523,8 @@ declare const createSdkWrapper: <P extends Omit<{
509
523
  templateOptions?: {
510
524
  [x: string]: string;
511
525
  };
526
+ templateId?: string;
527
+ providerId?: string;
512
528
  }) => Promise<_1.SdkResponse<{
513
529
  maskedPhone: string;
514
530
  }>>;
@@ -550,6 +566,8 @@ declare const createSdkWrapper: <P extends Omit<{
550
566
  templateOptions?: {
551
567
  [x: string]: string;
552
568
  };
569
+ templateId?: string;
570
+ providerId?: string;
553
571
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
554
572
  };
555
573
  };
@@ -973,6 +991,8 @@ declare const createSdkWrapper: <P extends Omit<{
973
991
  templateOptions?: {
974
992
  [x: string]: string;
975
993
  };
994
+ templateId?: string;
995
+ providerId?: string;
976
996
  }) => Promise<_1.SdkResponse<{
977
997
  maskedEmail: string;
978
998
  }>>;
@@ -983,6 +1003,8 @@ declare const createSdkWrapper: <P extends Omit<{
983
1003
  templateOptions?: {
984
1004
  [x: string]: string;
985
1005
  };
1006
+ templateId?: string;
1007
+ providerId?: string;
986
1008
  }) => Promise<_1.SdkResponse<{
987
1009
  maskedPhone: string;
988
1010
  }>>;
@@ -992,6 +1014,8 @@ declare const createSdkWrapper: <P extends Omit<{
992
1014
  templateOptions?: {
993
1015
  [x: string]: string;
994
1016
  };
1017
+ templateId?: string;
1018
+ providerId?: string;
995
1019
  }) => Promise<_1.SdkResponse<{
996
1020
  maskedPhone: string;
997
1021
  }>>;
@@ -1001,6 +1025,8 @@ declare const createSdkWrapper: <P extends Omit<{
1001
1025
  templateOptions?: {
1002
1026
  [x: string]: string;
1003
1027
  };
1028
+ templateId?: string;
1029
+ providerId?: string;
1004
1030
  }) => Promise<_1.SdkResponse<{
1005
1031
  maskedPhone: string;
1006
1032
  }>>;
@@ -1134,6 +1160,8 @@ declare const createSdkWrapper: <P extends Omit<{
1134
1160
  templateOptions?: {
1135
1161
  [x: string]: string;
1136
1162
  };
1163
+ templateId?: string;
1164
+ providerId?: string;
1137
1165
  }) => Promise<_1.SdkResponse<{
1138
1166
  maskedEmail: string;
1139
1167
  }>>;
@@ -1144,6 +1172,8 @@ declare const createSdkWrapper: <P extends Omit<{
1144
1172
  templateOptions?: {
1145
1173
  [x: string]: string;
1146
1174
  };
1175
+ templateId?: string;
1176
+ providerId?: string;
1147
1177
  }) => Promise<_1.SdkResponse<{
1148
1178
  maskedPhone: string;
1149
1179
  }>>;
@@ -1153,6 +1183,8 @@ declare const createSdkWrapper: <P extends Omit<{
1153
1183
  templateOptions?: {
1154
1184
  [x: string]: string;
1155
1185
  };
1186
+ templateId?: string;
1187
+ providerId?: string;
1156
1188
  }) => Promise<_1.SdkResponse<{
1157
1189
  maskedPhone: string;
1158
1190
  }>>;
@@ -1162,6 +1194,8 @@ declare const createSdkWrapper: <P extends Omit<{
1162
1194
  templateOptions?: {
1163
1195
  [x: string]: string;
1164
1196
  };
1197
+ templateId?: string;
1198
+ providerId?: string;
1165
1199
  }) => Promise<_1.SdkResponse<{
1166
1200
  maskedPhone: string;
1167
1201
  }>>;
@@ -1203,6 +1237,8 @@ declare const createSdkWrapper: <P extends Omit<{
1203
1237
  templateOptions?: {
1204
1238
  [x: string]: string;
1205
1239
  };
1240
+ templateId?: string;
1241
+ providerId?: string;
1206
1242
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
1207
1243
  };
1208
1244
  };
@@ -1626,6 +1662,8 @@ declare const createSdkWrapper: <P extends Omit<{
1626
1662
  templateOptions?: {
1627
1663
  [x: string]: string;
1628
1664
  };
1665
+ templateId?: string;
1666
+ providerId?: string;
1629
1667
  }) => Promise<_1.SdkResponse<{
1630
1668
  maskedEmail: string;
1631
1669
  }>>;
@@ -1636,6 +1674,8 @@ declare const createSdkWrapper: <P extends Omit<{
1636
1674
  templateOptions?: {
1637
1675
  [x: string]: string;
1638
1676
  };
1677
+ templateId?: string;
1678
+ providerId?: string;
1639
1679
  }) => Promise<_1.SdkResponse<{
1640
1680
  maskedPhone: string;
1641
1681
  }>>;
@@ -1645,6 +1685,8 @@ declare const createSdkWrapper: <P extends Omit<{
1645
1685
  templateOptions?: {
1646
1686
  [x: string]: string;
1647
1687
  };
1688
+ templateId?: string;
1689
+ providerId?: string;
1648
1690
  }) => Promise<_1.SdkResponse<{
1649
1691
  maskedPhone: string;
1650
1692
  }>>;
@@ -1654,6 +1696,8 @@ declare const createSdkWrapper: <P extends Omit<{
1654
1696
  templateOptions?: {
1655
1697
  [x: string]: string;
1656
1698
  };
1699
+ templateId?: string;
1700
+ providerId?: string;
1657
1701
  }) => Promise<_1.SdkResponse<{
1658
1702
  maskedPhone: string;
1659
1703
  }>>;
@@ -1787,6 +1831,8 @@ declare const createSdkWrapper: <P extends Omit<{
1787
1831
  templateOptions?: {
1788
1832
  [x: string]: string;
1789
1833
  };
1834
+ templateId?: string;
1835
+ providerId?: string;
1790
1836
  }) => Promise<_1.SdkResponse<{
1791
1837
  maskedEmail: string;
1792
1838
  }>>;
@@ -1797,6 +1843,8 @@ declare const createSdkWrapper: <P extends Omit<{
1797
1843
  templateOptions?: {
1798
1844
  [x: string]: string;
1799
1845
  };
1846
+ templateId?: string;
1847
+ providerId?: string;
1800
1848
  }) => Promise<_1.SdkResponse<{
1801
1849
  maskedPhone: string;
1802
1850
  }>>;
@@ -1806,6 +1854,8 @@ declare const createSdkWrapper: <P extends Omit<{
1806
1854
  templateOptions?: {
1807
1855
  [x: string]: string;
1808
1856
  };
1857
+ templateId?: string;
1858
+ providerId?: string;
1809
1859
  }) => Promise<_1.SdkResponse<{
1810
1860
  maskedPhone: string;
1811
1861
  }>>;
@@ -1815,6 +1865,8 @@ declare const createSdkWrapper: <P extends Omit<{
1815
1865
  templateOptions?: {
1816
1866
  [x: string]: string;
1817
1867
  };
1868
+ templateId?: string;
1869
+ providerId?: string;
1818
1870
  }) => Promise<_1.SdkResponse<{
1819
1871
  maskedPhone: string;
1820
1872
  }>>;
@@ -1856,6 +1908,8 @@ declare const createSdkWrapper: <P extends Omit<{
1856
1908
  templateOptions?: {
1857
1909
  [x: string]: string;
1858
1910
  };
1911
+ templateId?: string;
1912
+ providerId?: string;
1859
1913
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
1860
1914
  };
1861
1915
  };