@descope/react-sdk 2.29.2 → 2.29.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.29.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.29.3"};
2
2
  //# sourceMappingURL=constants.js.map
@@ -1,2 +1,2 @@
1
- const e={"x-descope-sdk-name":"react","x-descope-sdk-version":"2.29.2"},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.29.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
@@ -339,6 +339,7 @@ declare const createSdkWrapper: <P extends {
339
339
  };
340
340
  templateId?: string;
341
341
  providerId?: string;
342
+ mfa?: boolean;
342
343
  }) => Promise<_1.SdkResponse<{
343
344
  maskedEmail: string;
344
345
  }>>;
@@ -351,6 +352,7 @@ declare const createSdkWrapper: <P extends {
351
352
  };
352
353
  templateId?: string;
353
354
  providerId?: string;
355
+ mfa?: boolean;
354
356
  }) => Promise<_1.SdkResponse<{
355
357
  maskedPhone: string;
356
358
  }>>;
@@ -362,6 +364,7 @@ declare const createSdkWrapper: <P extends {
362
364
  };
363
365
  templateId?: string;
364
366
  providerId?: string;
367
+ mfa?: boolean;
365
368
  }) => Promise<_1.SdkResponse<{
366
369
  maskedPhone: string;
367
370
  }>>;
@@ -373,6 +376,7 @@ declare const createSdkWrapper: <P extends {
373
376
  };
374
377
  templateId?: string;
375
378
  providerId?: string;
379
+ mfa?: boolean;
376
380
  }) => Promise<_1.SdkResponse<{
377
381
  maskedPhone: string;
378
382
  }>>;
@@ -384,6 +388,7 @@ declare const createSdkWrapper: <P extends {
384
388
  };
385
389
  templateId?: string;
386
390
  providerId?: string;
391
+ mfa?: boolean;
387
392
  }) => Promise<_1.SdkResponse<{
388
393
  maskedPhone: string;
389
394
  }>>;
@@ -557,6 +562,7 @@ declare const createSdkWrapper: <P extends {
557
562
  };
558
563
  templateId?: string;
559
564
  providerId?: string;
565
+ mfa?: boolean;
560
566
  }) => Promise<_1.SdkResponse<{
561
567
  maskedEmail: string;
562
568
  }>>;
@@ -569,6 +575,7 @@ declare const createSdkWrapper: <P extends {
569
575
  };
570
576
  templateId?: string;
571
577
  providerId?: string;
578
+ mfa?: boolean;
572
579
  }) => Promise<_1.SdkResponse<{
573
580
  maskedPhone: string;
574
581
  }>>;
@@ -580,6 +587,7 @@ declare const createSdkWrapper: <P extends {
580
587
  };
581
588
  templateId?: string;
582
589
  providerId?: string;
590
+ mfa?: boolean;
583
591
  }) => Promise<_1.SdkResponse<{
584
592
  maskedPhone: string;
585
593
  }>>;
@@ -591,6 +599,7 @@ declare const createSdkWrapper: <P extends {
591
599
  };
592
600
  templateId?: string;
593
601
  providerId?: string;
602
+ mfa?: boolean;
594
603
  }) => Promise<_1.SdkResponse<{
595
604
  maskedPhone: string;
596
605
  }>>;
@@ -602,6 +611,7 @@ declare const createSdkWrapper: <P extends {
602
611
  };
603
612
  templateId?: string;
604
613
  providerId?: string;
614
+ mfa?: boolean;
605
615
  }) => Promise<_1.SdkResponse<{
606
616
  maskedPhone: string;
607
617
  }>>;
@@ -653,6 +663,7 @@ declare const createSdkWrapper: <P extends {
653
663
  };
654
664
  templateId?: string;
655
665
  providerId?: string;
666
+ mfa?: boolean;
656
667
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
657
668
  };
658
669
  };
@@ -1082,6 +1093,7 @@ declare const createSdkWrapper: <P extends {
1082
1093
  };
1083
1094
  templateId?: string;
1084
1095
  providerId?: string;
1096
+ mfa?: boolean;
1085
1097
  }) => Promise<_1.SdkResponse<{
1086
1098
  maskedEmail: string;
1087
1099
  }>>;
@@ -1094,6 +1106,7 @@ declare const createSdkWrapper: <P extends {
1094
1106
  };
1095
1107
  templateId?: string;
1096
1108
  providerId?: string;
1109
+ mfa?: boolean;
1097
1110
  }) => Promise<_1.SdkResponse<{
1098
1111
  maskedPhone: string;
1099
1112
  }>>;
@@ -1105,6 +1118,7 @@ declare const createSdkWrapper: <P extends {
1105
1118
  };
1106
1119
  templateId?: string;
1107
1120
  providerId?: string;
1121
+ mfa?: boolean;
1108
1122
  }) => Promise<_1.SdkResponse<{
1109
1123
  maskedPhone: string;
1110
1124
  }>>;
@@ -1116,6 +1130,7 @@ declare const createSdkWrapper: <P extends {
1116
1130
  };
1117
1131
  templateId?: string;
1118
1132
  providerId?: string;
1133
+ mfa?: boolean;
1119
1134
  }) => Promise<_1.SdkResponse<{
1120
1135
  maskedPhone: string;
1121
1136
  }>>;
@@ -1127,6 +1142,7 @@ declare const createSdkWrapper: <P extends {
1127
1142
  };
1128
1143
  templateId?: string;
1129
1144
  providerId?: string;
1145
+ mfa?: boolean;
1130
1146
  }) => Promise<_1.SdkResponse<{
1131
1147
  maskedPhone: string;
1132
1148
  }>>;
@@ -1300,6 +1316,7 @@ declare const createSdkWrapper: <P extends {
1300
1316
  };
1301
1317
  templateId?: string;
1302
1318
  providerId?: string;
1319
+ mfa?: boolean;
1303
1320
  }) => Promise<_1.SdkResponse<{
1304
1321
  maskedEmail: string;
1305
1322
  }>>;
@@ -1312,6 +1329,7 @@ declare const createSdkWrapper: <P extends {
1312
1329
  };
1313
1330
  templateId?: string;
1314
1331
  providerId?: string;
1332
+ mfa?: boolean;
1315
1333
  }) => Promise<_1.SdkResponse<{
1316
1334
  maskedPhone: string;
1317
1335
  }>>;
@@ -1323,6 +1341,7 @@ declare const createSdkWrapper: <P extends {
1323
1341
  };
1324
1342
  templateId?: string;
1325
1343
  providerId?: string;
1344
+ mfa?: boolean;
1326
1345
  }) => Promise<_1.SdkResponse<{
1327
1346
  maskedPhone: string;
1328
1347
  }>>;
@@ -1334,6 +1353,7 @@ declare const createSdkWrapper: <P extends {
1334
1353
  };
1335
1354
  templateId?: string;
1336
1355
  providerId?: string;
1356
+ mfa?: boolean;
1337
1357
  }) => Promise<_1.SdkResponse<{
1338
1358
  maskedPhone: string;
1339
1359
  }>>;
@@ -1345,6 +1365,7 @@ declare const createSdkWrapper: <P extends {
1345
1365
  };
1346
1366
  templateId?: string;
1347
1367
  providerId?: string;
1368
+ mfa?: boolean;
1348
1369
  }) => Promise<_1.SdkResponse<{
1349
1370
  maskedPhone: string;
1350
1371
  }>>;
@@ -1396,6 +1417,7 @@ declare const createSdkWrapper: <P extends {
1396
1417
  };
1397
1418
  templateId?: string;
1398
1419
  providerId?: string;
1420
+ mfa?: boolean;
1399
1421
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
1400
1422
  };
1401
1423
  };
@@ -1825,6 +1847,7 @@ declare const createSdkWrapper: <P extends {
1825
1847
  };
1826
1848
  templateId?: string;
1827
1849
  providerId?: string;
1850
+ mfa?: boolean;
1828
1851
  }) => Promise<_1.SdkResponse<{
1829
1852
  maskedEmail: string;
1830
1853
  }>>;
@@ -1837,6 +1860,7 @@ declare const createSdkWrapper: <P extends {
1837
1860
  };
1838
1861
  templateId?: string;
1839
1862
  providerId?: string;
1863
+ mfa?: boolean;
1840
1864
  }) => Promise<_1.SdkResponse<{
1841
1865
  maskedPhone: string;
1842
1866
  }>>;
@@ -1848,6 +1872,7 @@ declare const createSdkWrapper: <P extends {
1848
1872
  };
1849
1873
  templateId?: string;
1850
1874
  providerId?: string;
1875
+ mfa?: boolean;
1851
1876
  }) => Promise<_1.SdkResponse<{
1852
1877
  maskedPhone: string;
1853
1878
  }>>;
@@ -1859,6 +1884,7 @@ declare const createSdkWrapper: <P extends {
1859
1884
  };
1860
1885
  templateId?: string;
1861
1886
  providerId?: string;
1887
+ mfa?: boolean;
1862
1888
  }) => Promise<_1.SdkResponse<{
1863
1889
  maskedPhone: string;
1864
1890
  }>>;
@@ -1870,6 +1896,7 @@ declare const createSdkWrapper: <P extends {
1870
1896
  };
1871
1897
  templateId?: string;
1872
1898
  providerId?: string;
1899
+ mfa?: boolean;
1873
1900
  }) => Promise<_1.SdkResponse<{
1874
1901
  maskedPhone: string;
1875
1902
  }>>;
@@ -2043,6 +2070,7 @@ declare const createSdkWrapper: <P extends {
2043
2070
  };
2044
2071
  templateId?: string;
2045
2072
  providerId?: string;
2073
+ mfa?: boolean;
2046
2074
  }) => Promise<_1.SdkResponse<{
2047
2075
  maskedEmail: string;
2048
2076
  }>>;
@@ -2055,6 +2083,7 @@ declare const createSdkWrapper: <P extends {
2055
2083
  };
2056
2084
  templateId?: string;
2057
2085
  providerId?: string;
2086
+ mfa?: boolean;
2058
2087
  }) => Promise<_1.SdkResponse<{
2059
2088
  maskedPhone: string;
2060
2089
  }>>;
@@ -2066,6 +2095,7 @@ declare const createSdkWrapper: <P extends {
2066
2095
  };
2067
2096
  templateId?: string;
2068
2097
  providerId?: string;
2098
+ mfa?: boolean;
2069
2099
  }) => Promise<_1.SdkResponse<{
2070
2100
  maskedPhone: string;
2071
2101
  }>>;
@@ -2077,6 +2107,7 @@ declare const createSdkWrapper: <P extends {
2077
2107
  };
2078
2108
  templateId?: string;
2079
2109
  providerId?: string;
2110
+ mfa?: boolean;
2080
2111
  }) => Promise<_1.SdkResponse<{
2081
2112
  maskedPhone: string;
2082
2113
  }>>;
@@ -2088,6 +2119,7 @@ declare const createSdkWrapper: <P extends {
2088
2119
  };
2089
2120
  templateId?: string;
2090
2121
  providerId?: string;
2122
+ mfa?: boolean;
2091
2123
  }) => Promise<_1.SdkResponse<{
2092
2124
  maskedPhone: string;
2093
2125
  }>>;
@@ -2139,6 +2171,7 @@ declare const createSdkWrapper: <P extends {
2139
2171
  };
2140
2172
  templateId?: string;
2141
2173
  providerId?: string;
2174
+ mfa?: boolean;
2142
2175
  }) => Promise<_1.SdkResponse<_1.EnchantedLinkResponse>>;
2143
2176
  };
2144
2177
  };