@coinbase/cdp-core 0.0.121 → 0.0.122

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.
Files changed (630) hide show
  1. package/dist/esm/index.web.js +110 -100
  2. package/dist/esm/index.web10.js +4 -4
  3. package/dist/esm/index.web100.js +86 -41
  4. package/dist/esm/index.web101.js +31 -13
  5. package/dist/esm/index.web102.js +25 -24
  6. package/dist/esm/index.web103.js +45 -15
  7. package/dist/esm/index.web104.js +3 -25
  8. package/dist/esm/index.web105.js +42 -20
  9. package/dist/esm/index.web106.js +13 -16
  10. package/dist/esm/index.web107.js +23 -28
  11. package/dist/esm/index.web108.js +14 -40
  12. package/dist/esm/index.web109.js +24 -48
  13. package/dist/esm/index.web11.js +1 -1
  14. package/dist/esm/index.web110.js +21 -81
  15. package/dist/esm/index.web111.js +15 -24
  16. package/dist/esm/index.web112.js +28 -158
  17. package/dist/esm/index.web113.js +39 -46
  18. package/dist/esm/index.web114.js +49 -28
  19. package/dist/esm/index.web115.js +77 -68
  20. package/dist/esm/index.web116.js +25 -8
  21. package/dist/esm/index.web117.js +156 -114
  22. package/dist/esm/index.web118.js +30 -119
  23. package/dist/esm/index.web119.js +24 -65
  24. package/dist/esm/index.web12.js +1 -1
  25. package/dist/esm/index.web120.js +72 -26
  26. package/dist/esm/index.web121.js +11 -33
  27. package/dist/esm/index.web122.js +9 -24
  28. package/dist/esm/index.web123.js +100 -47
  29. package/dist/esm/index.web124.js +137 -24
  30. package/dist/esm/index.web125.js +69 -51
  31. package/dist/esm/index.web126.js +26 -20
  32. package/dist/esm/index.web127.js +32 -152
  33. package/dist/esm/index.web128.js +24 -17
  34. package/dist/esm/index.web129.js +63 -21
  35. package/dist/esm/index.web13.js +3 -3
  36. package/dist/esm/index.web130.js +24 -51
  37. package/dist/esm/index.web131.js +48 -374
  38. package/dist/esm/index.web132.js +21 -29
  39. package/dist/esm/index.web133.js +152 -28
  40. package/dist/esm/index.web134.js +379 -2
  41. package/dist/esm/index.web135.js +28 -65
  42. package/dist/esm/index.web136.js +28 -364
  43. package/dist/esm/index.web137.js +2 -947
  44. package/dist/esm/index.web138.js +66 -2
  45. package/dist/esm/index.web139.js +364 -49
  46. package/dist/esm/index.web140.js +16 -26
  47. package/dist/esm/index.web141.js +21 -53
  48. package/dist/esm/index.web142.js +49 -9
  49. package/dist/esm/index.web143.js +5 -2
  50. package/dist/esm/index.web144.js +945 -45
  51. package/dist/esm/index.web145.js +2 -14
  52. package/dist/esm/index.web146.js +48 -11
  53. package/dist/esm/index.web147.js +26 -11
  54. package/dist/esm/index.web148.js +5 -5
  55. package/dist/esm/index.web149.js +48 -5
  56. package/dist/esm/index.web15.js +1 -1
  57. package/dist/esm/index.web150.js +50 -43
  58. package/dist/esm/index.web151.js +10 -14
  59. package/dist/esm/index.web152.js +2 -29
  60. package/dist/esm/index.web153.js +45 -8
  61. package/dist/esm/index.web154.js +13 -3
  62. package/dist/esm/index.web155.js +8 -22
  63. package/dist/esm/index.web156.js +28 -8
  64. package/dist/esm/index.web157.js +6 -6
  65. package/dist/esm/index.web158.js +3 -80
  66. package/dist/esm/index.web159.js +18 -18
  67. package/dist/esm/index.web16.js +1 -1
  68. package/dist/esm/index.web160.js +8 -3
  69. package/dist/esm/index.web161.js +7 -15
  70. package/dist/esm/index.web162.js +80 -4
  71. package/dist/esm/index.web163.js +21 -7
  72. package/dist/esm/index.web164.js +3 -19
  73. package/dist/esm/index.web165.js +8 -54
  74. package/dist/esm/index.web166.js +4 -17
  75. package/dist/esm/index.web167.js +14 -23
  76. package/dist/esm/index.web168.js +19 -8
  77. package/dist/esm/index.web169.js +47 -28
  78. package/dist/esm/index.web17.js +1 -1
  79. package/dist/esm/index.web170.js +17 -7
  80. package/dist/esm/index.web171.js +18 -15
  81. package/dist/esm/index.web172.js +8 -13
  82. package/dist/esm/index.web173.js +40 -53
  83. package/dist/esm/index.web174.js +7 -6
  84. package/dist/esm/index.web175.js +19 -20
  85. package/dist/esm/index.web176.js +11 -16
  86. package/dist/esm/index.web177.js +11 -45
  87. package/dist/esm/index.web178.js +2 -4
  88. package/dist/esm/index.web179.js +2 -4
  89. package/dist/esm/index.web18.js +2 -2
  90. package/dist/esm/index.web180.js +13 -34
  91. package/dist/esm/index.web181.js +53 -10
  92. package/dist/esm/index.web182.js +6 -4
  93. package/dist/esm/index.web183.js +21 -28
  94. package/dist/esm/index.web184.js +17 -6
  95. package/dist/esm/index.web185.js +42 -29
  96. package/dist/esm/index.web186.js +3 -12
  97. package/dist/esm/index.web187.js +3 -55
  98. package/dist/esm/index.web188.js +32 -40
  99. package/dist/esm/index.web189.js +11 -126
  100. package/dist/esm/index.web19.js +2 -2
  101. package/dist/esm/index.web190.js +4 -104
  102. package/dist/esm/index.web191.js +28 -6
  103. package/dist/esm/index.web192.js +7 -3
  104. package/dist/esm/index.web193.js +30 -76
  105. package/dist/esm/index.web194.js +13 -2
  106. package/dist/esm/index.web195.js +56 -2
  107. package/dist/esm/index.web196.js +39 -34
  108. package/dist/esm/index.web197.js +126 -5
  109. package/dist/esm/index.web198.js +101 -31
  110. package/dist/esm/index.web199.js +6 -14
  111. package/dist/esm/index.web2.js +2 -2
  112. package/dist/esm/index.web20.js +7 -7
  113. package/dist/esm/index.web200.js +3 -35
  114. package/dist/esm/index.web201.js +77 -17
  115. package/dist/esm/index.web202.js +2 -9
  116. package/dist/esm/index.web203.js +2 -11
  117. package/dist/esm/index.web204.js +37 -11
  118. package/dist/esm/index.web205.js +6 -13
  119. package/dist/esm/index.web206.js +34 -5
  120. package/dist/esm/index.web207.js +15 -5
  121. package/dist/esm/index.web208.js +34 -10
  122. package/dist/esm/index.web209.js +19 -2
  123. package/dist/esm/index.web21.js +1 -1
  124. package/dist/esm/index.web210.js +9 -2
  125. package/dist/esm/index.web211.js +9 -19
  126. package/dist/esm/index.web212.js +12 -10
  127. package/dist/esm/index.web213.js +14 -20
  128. package/dist/esm/index.web214.js +6 -94
  129. package/dist/esm/index.web215.js +4 -20
  130. package/dist/esm/index.web216.js +11 -118
  131. package/dist/esm/index.web217.js +106 -101
  132. package/dist/esm/index.web218.js +2 -79
  133. package/dist/esm/index.web219.js +2 -79
  134. package/dist/esm/index.web220.js +21 -2
  135. package/dist/esm/index.web221.js +10 -109
  136. package/dist/esm/index.web222.js +20 -2
  137. package/dist/esm/index.web223.js +94 -8
  138. package/dist/esm/index.web224.js +21 -2
  139. package/dist/esm/index.web225.js +110 -353
  140. package/dist/esm/index.web226.js +103 -852
  141. package/dist/esm/index.web227.js +77 -37
  142. package/dist/esm/index.web228.js +79 -2
  143. package/dist/esm/index.web229.js +36 -67
  144. package/dist/esm/index.web230.js +2 -35
  145. package/dist/esm/index.web231.js +69 -14
  146. package/dist/esm/index.web232.js +34 -46
  147. package/dist/esm/index.web233.js +12 -18
  148. package/dist/esm/index.web234.js +8 -2
  149. package/dist/esm/index.web235.js +2 -20
  150. package/dist/esm/index.web236.js +356 -28
  151. package/dist/esm/index.web237.js +852 -6
  152. package/dist/esm/index.web238.js +45 -16
  153. package/dist/esm/index.web239.js +20 -27
  154. package/dist/esm/index.web240.js +2 -8
  155. package/dist/esm/index.web241.js +19 -10
  156. package/dist/esm/index.web242.js +32 -12
  157. package/dist/esm/index.web243.js +6 -9
  158. package/dist/esm/index.web244.js +15 -14
  159. package/dist/esm/index.web245.js +25 -78
  160. package/dist/esm/index.web246.js +8 -2
  161. package/dist/esm/index.web247.js +11 -2
  162. package/dist/esm/index.web248.js +13 -2
  163. package/dist/esm/index.web249.js +8 -2
  164. package/dist/esm/index.web250.js +17 -5
  165. package/dist/esm/index.web251.js +80 -14
  166. package/dist/esm/index.web252.js +2 -79
  167. package/dist/esm/index.web253.js +6 -0
  168. package/dist/esm/index.web254.js +4 -0
  169. package/dist/esm/index.web255.js +4 -0
  170. package/dist/esm/index.web256.js +7 -0
  171. package/dist/esm/index.web257.js +81 -0
  172. package/dist/esm/index.web258.js +17 -0
  173. package/dist/esm/index.web28.js +5 -5
  174. package/dist/esm/index.web29.js +6 -6
  175. package/dist/esm/index.web3.js +1 -1
  176. package/dist/esm/index.web30.js +5 -5
  177. package/dist/esm/index.web31.js +5 -5
  178. package/dist/esm/index.web32.js +5 -5
  179. package/dist/esm/index.web33.js +5 -5
  180. package/dist/esm/index.web34.js +6 -6
  181. package/dist/esm/index.web35.js +5 -5
  182. package/dist/esm/index.web36.js +5 -5
  183. package/dist/esm/index.web37.js +1 -1
  184. package/dist/esm/index.web38.js +5 -5
  185. package/dist/esm/index.web39.js +5 -5
  186. package/dist/esm/index.web4.js +1 -1
  187. package/dist/esm/index.web40.js +6 -6
  188. package/dist/esm/index.web41.js +1 -1
  189. package/dist/esm/index.web42.js +5 -5
  190. package/dist/esm/index.web43.js +5 -5
  191. package/dist/esm/index.web45.js +2 -2
  192. package/dist/esm/index.web46.js +1 -1
  193. package/dist/esm/index.web49.js +4 -4
  194. package/dist/esm/index.web50.js +1 -1
  195. package/dist/esm/index.web52.js +3 -3
  196. package/dist/esm/index.web53.js +3 -3
  197. package/dist/esm/index.web54.js +2 -2
  198. package/dist/esm/index.web55.js +1 -1
  199. package/dist/esm/index.web57.js +3 -3
  200. package/dist/esm/index.web58.js +1 -1
  201. package/dist/esm/index.web59.js +2 -2
  202. package/dist/esm/index.web6.js +1 -1
  203. package/dist/esm/index.web60.js +4 -4
  204. package/dist/esm/index.web61.js +2 -2
  205. package/dist/esm/index.web62.js +3 -3
  206. package/dist/esm/index.web63.js +3 -3
  207. package/dist/esm/index.web64.js +3 -3
  208. package/dist/esm/index.web65.js +5 -5
  209. package/dist/esm/index.web66.js +5 -5
  210. package/dist/esm/index.web67.js +5 -5
  211. package/dist/esm/index.web68.js +5 -5
  212. package/dist/esm/index.web70.js +3 -3
  213. package/dist/esm/index.web71.js +9 -9
  214. package/dist/esm/index.web75.js +2 -2
  215. package/dist/esm/index.web76.js +3 -3
  216. package/dist/esm/index.web77.js +12 -12
  217. package/dist/esm/index.web78.js +1 -1
  218. package/dist/esm/index.web79.js +1 -1
  219. package/dist/esm/index.web80.js +1 -1
  220. package/dist/esm/index.web81.js +55 -19
  221. package/dist/esm/index.web82.js +62 -47
  222. package/dist/esm/index.web83.js +6 -40
  223. package/dist/esm/index.web84.js +17 -17
  224. package/dist/esm/index.web85.js +18 -349
  225. package/dist/esm/index.web86.js +47 -17
  226. package/dist/esm/index.web87.js +35 -127
  227. package/dist/esm/index.web88.js +18 -87
  228. package/dist/esm/index.web89.js +353 -6
  229. package/dist/esm/index.web9.js +1 -1
  230. package/dist/esm/index.web90.js +17 -54
  231. package/dist/esm/index.web91.js +125 -155
  232. package/dist/esm/index.web92.js +82 -61
  233. package/dist/esm/index.web93.js +7 -36
  234. package/dist/esm/index.web94.js +49 -99
  235. package/dist/esm/index.web95.js +156 -36
  236. package/dist/esm/index.web96.js +65 -29
  237. package/dist/esm/index.web97.js +36 -26
  238. package/dist/esm/index.web98.js +106 -45
  239. package/dist/esm/index.web99.js +43 -3
  240. package/dist/native/index.native11.js +1 -1
  241. package/dist/native/index.native110.js +3 -3
  242. package/dist/native/index.native113.js +2 -2
  243. package/dist/native/index.native117.js +3 -3
  244. package/dist/native/index.native129.js +12 -12
  245. package/dist/native/index.native130.js +2 -2
  246. package/dist/native/index.native131.js +13 -373
  247. package/dist/native/index.native132.js +25 -2
  248. package/dist/native/index.native133.js +48 -63
  249. package/dist/native/index.native134.js +189 -177
  250. package/dist/native/index.native135.js +2 -31
  251. package/dist/native/index.native136.js +65 -28
  252. package/dist/native/index.native137.js +360 -12
  253. package/dist/native/index.native138.js +28 -22
  254. package/dist/native/index.native139.js +28 -50
  255. package/dist/native/index.native144.js +2 -2
  256. package/dist/native/index.native146.js +13 -36
  257. package/dist/native/index.native147.js +11 -67
  258. package/dist/native/index.native148.js +36 -5
  259. package/dist/native/index.native149.js +66 -11
  260. package/dist/native/index.native150.js +4 -11
  261. package/dist/native/index.native151.js +7 -7
  262. package/dist/native/index.native158.js +13 -13
  263. package/dist/native/index.native159.js +54 -26
  264. package/dist/native/index.native160.js +6 -7
  265. package/dist/native/index.native161.js +21 -3
  266. package/dist/native/index.native162.js +16 -26
  267. package/dist/native/index.native163.js +45 -8
  268. package/dist/native/index.native164.js +3 -7
  269. package/dist/native/index.native165.js +3 -79
  270. package/dist/native/index.native166.js +32 -25
  271. package/dist/native/index.native167.js +12 -3
  272. package/dist/native/index.native168.js +4 -14
  273. package/dist/native/index.native169.js +28 -4
  274. package/dist/native/index.native170.js +6 -13
  275. package/dist/native/index.native171.js +31 -18
  276. package/dist/native/index.native172.js +9 -57
  277. package/dist/native/index.native173.js +55 -17
  278. package/dist/native/index.native174.js +41 -22
  279. package/dist/native/index.native175.js +127 -8
  280. package/dist/native/index.native176.js +102 -39
  281. package/dist/native/index.native177.js +6 -7
  282. package/dist/native/index.native178.js +3 -21
  283. package/dist/native/index.native179.js +78 -13
  284. package/dist/native/index.native180.js +2 -56
  285. package/dist/native/index.native181.js +2 -7
  286. package/dist/native/index.native182.js +34 -18
  287. package/dist/native/index.native183.js +5 -16
  288. package/dist/native/index.native184.js +31 -42
  289. package/dist/native/index.native185.js +14 -3
  290. package/dist/native/index.native186.js +34 -3
  291. package/dist/native/index.native187.js +17 -33
  292. package/dist/native/index.native188.js +8 -12
  293. package/dist/native/index.native189.js +10 -4
  294. package/dist/native/index.native190.js +11 -28
  295. package/dist/native/index.native191.js +13 -6
  296. package/dist/native/index.native192.js +5 -32
  297. package/dist/native/index.native193.js +5 -13
  298. package/dist/native/index.native194.js +10 -55
  299. package/dist/native/index.native195.js +13 -42
  300. package/dist/native/index.native196.js +26 -126
  301. package/dist/native/index.native197.js +7 -104
  302. package/dist/native/index.native198.js +3 -6
  303. package/dist/native/index.native199.js +28 -3
  304. package/dist/native/index.native200.js +8 -78
  305. package/dist/native/index.native201.js +8 -2
  306. package/dist/native/index.native202.js +80 -2
  307. package/dist/native/index.native203.js +25 -35
  308. package/dist/native/index.native204.js +3 -6
  309. package/dist/native/index.native205.js +14 -34
  310. package/dist/native/index.native206.js +4 -14
  311. package/dist/native/index.native207.js +13 -34
  312. package/dist/native/index.native208.js +18 -17
  313. package/dist/native/index.native209.js +60 -8
  314. package/dist/native/index.native210.js +17 -10
  315. package/dist/native/index.native211.js +23 -11
  316. package/dist/native/index.native212.js +8 -13
  317. package/dist/native/index.native213.js +41 -5
  318. package/dist/native/index.native214.js +8 -5
  319. package/dist/native/index.native215.js +20 -10
  320. package/dist/native/index.native216.js +104 -2
  321. package/dist/native/index.native217.js +77 -107
  322. package/dist/native/index.native218.js +79 -2
  323. package/dist/native/index.native219.js +2 -39
  324. package/dist/native/index.native220.js +109 -2
  325. package/dist/native/index.native221.js +2 -70
  326. package/dist/native/index.native222.js +20 -34
  327. package/dist/native/index.native223.js +10 -15
  328. package/dist/native/index.native224.js +20 -8
  329. package/dist/native/index.native225.js +94 -2
  330. package/dist/native/index.native226.js +21 -361
  331. package/dist/native/index.native227.js +118 -853
  332. package/dist/native/index.native228.js +38 -103
  333. package/dist/native/index.native229.js +2 -79
  334. package/dist/native/index.native230.js +69 -78
  335. package/dist/native/index.native231.js +34 -20
  336. package/dist/native/index.native232.js +15 -10
  337. package/dist/native/index.native233.js +8 -20
  338. package/dist/native/index.native234.js +2 -94
  339. package/dist/native/index.native235.js +361 -21
  340. package/dist/native/index.native236.js +853 -118
  341. package/dist/native/index.native237.js +1 -1
  342. package/dist/native/index.native240.js +5 -5
  343. package/dist/native/index.native241.js +2 -2
  344. package/dist/native/index.native242.js +3 -46
  345. package/dist/native/index.native243.js +46 -3
  346. package/dist/native/index.native244.js +2 -2
  347. package/dist/native/index.native245.js +2 -2
  348. package/dist/native/index.native246.js +2 -2
  349. package/dist/native/index.native248.js +1 -1
  350. package/dist/native/index.native250.js +1 -1
  351. package/dist/native/index.native254.js +1 -1
  352. package/dist/native/index.native256.js +78 -14
  353. package/dist/native/index.native257.js +14 -78
  354. package/dist/native/index.native3.js +1 -1
  355. package/dist/native/index.native79.js +12 -12
  356. package/dist/native/index.native84.js +12 -9
  357. package/dist/native/index.native90.js +4 -2
  358. package/dist/native-types/actions/deletePasskey.d.ts +21 -0
  359. package/dist/native-types/actions/enrollPasskey.d.ts +44 -0
  360. package/dist/native-types/actions/listPasskeys.d.ts +16 -0
  361. package/dist/native-types/actions/verifyPasskey.d.ts +30 -0
  362. package/dist/native-types/errors.d.ts +10 -2
  363. package/dist/native-types/index.web.d.ts +5 -0
  364. package/dist/native-types/mfa/utils.d.ts +3 -3
  365. package/dist/native-types/shared/base64url.d.ts +21 -0
  366. package/dist/native-types/shared/webauthn.d.ts +121 -0
  367. package/dist/native-types/types.d.ts +4 -2
  368. package/dist/native-types/version.d.ts +1 -1
  369. package/dist/types/actions/deletePasskey.d.ts +21 -0
  370. package/dist/types/actions/enrollPasskey.d.ts +44 -0
  371. package/dist/types/actions/listPasskeys.d.ts +16 -0
  372. package/dist/types/actions/verifyPasskey.d.ts +30 -0
  373. package/dist/types/errors.d.ts +10 -2
  374. package/dist/types/index.web.d.ts +5 -0
  375. package/dist/types/mfa/utils.d.ts +3 -3
  376. package/dist/types/shared/base64url.d.ts +21 -0
  377. package/dist/types/shared/webauthn.d.ts +121 -0
  378. package/dist/types/types.d.ts +4 -2
  379. package/dist/types/version.d.ts +1 -1
  380. package/dist/web/index.web.js +110 -100
  381. package/dist/web/index.web10.js +4 -4
  382. package/dist/web/index.web100.js +86 -41
  383. package/dist/web/index.web101.js +31 -13
  384. package/dist/web/index.web102.js +25 -24
  385. package/dist/web/index.web103.js +45 -15
  386. package/dist/web/index.web104.js +3 -25
  387. package/dist/web/index.web105.js +42 -20
  388. package/dist/web/index.web106.js +13 -16
  389. package/dist/web/index.web107.js +23 -28
  390. package/dist/web/index.web108.js +14 -40
  391. package/dist/web/index.web109.js +24 -48
  392. package/dist/web/index.web11.js +1 -1
  393. package/dist/web/index.web110.js +21 -81
  394. package/dist/web/index.web111.js +15 -24
  395. package/dist/web/index.web112.js +28 -158
  396. package/dist/web/index.web113.js +39 -46
  397. package/dist/web/index.web114.js +49 -28
  398. package/dist/web/index.web115.js +77 -68
  399. package/dist/web/index.web116.js +25 -8
  400. package/dist/web/index.web117.js +156 -114
  401. package/dist/web/index.web118.js +30 -119
  402. package/dist/web/index.web119.js +24 -65
  403. package/dist/web/index.web12.js +1 -1
  404. package/dist/web/index.web120.js +72 -26
  405. package/dist/web/index.web121.js +11 -33
  406. package/dist/web/index.web122.js +9 -24
  407. package/dist/web/index.web123.js +100 -47
  408. package/dist/web/index.web124.js +137 -24
  409. package/dist/web/index.web125.js +69 -51
  410. package/dist/web/index.web126.js +26 -20
  411. package/dist/web/index.web127.js +32 -152
  412. package/dist/web/index.web128.js +24 -17
  413. package/dist/web/index.web129.js +63 -21
  414. package/dist/web/index.web13.js +3 -3
  415. package/dist/web/index.web130.js +24 -51
  416. package/dist/web/index.web131.js +48 -374
  417. package/dist/web/index.web132.js +21 -29
  418. package/dist/web/index.web133.js +152 -28
  419. package/dist/web/index.web134.js +379 -2
  420. package/dist/web/index.web135.js +28 -65
  421. package/dist/web/index.web136.js +28 -364
  422. package/dist/web/index.web137.js +2 -947
  423. package/dist/web/index.web138.js +66 -2
  424. package/dist/web/index.web139.js +364 -49
  425. package/dist/web/index.web140.js +16 -26
  426. package/dist/web/index.web141.js +21 -53
  427. package/dist/web/index.web142.js +49 -9
  428. package/dist/web/index.web143.js +5 -2
  429. package/dist/web/index.web144.js +945 -45
  430. package/dist/web/index.web145.js +2 -14
  431. package/dist/web/index.web146.js +48 -11
  432. package/dist/web/index.web147.js +26 -11
  433. package/dist/web/index.web148.js +5 -5
  434. package/dist/web/index.web149.js +48 -5
  435. package/dist/web/index.web15.js +1 -1
  436. package/dist/web/index.web150.js +50 -43
  437. package/dist/web/index.web151.js +10 -14
  438. package/dist/web/index.web152.js +2 -29
  439. package/dist/web/index.web153.js +45 -8
  440. package/dist/web/index.web154.js +13 -3
  441. package/dist/web/index.web155.js +8 -22
  442. package/dist/web/index.web156.js +28 -8
  443. package/dist/web/index.web157.js +6 -6
  444. package/dist/web/index.web158.js +3 -80
  445. package/dist/web/index.web159.js +18 -18
  446. package/dist/web/index.web16.js +1 -1
  447. package/dist/web/index.web160.js +8 -3
  448. package/dist/web/index.web161.js +7 -15
  449. package/dist/web/index.web162.js +80 -4
  450. package/dist/web/index.web163.js +21 -7
  451. package/dist/web/index.web164.js +3 -19
  452. package/dist/web/index.web165.js +8 -54
  453. package/dist/web/index.web166.js +4 -17
  454. package/dist/web/index.web167.js +14 -23
  455. package/dist/web/index.web168.js +19 -8
  456. package/dist/web/index.web169.js +47 -28
  457. package/dist/web/index.web17.js +1 -1
  458. package/dist/web/index.web170.js +17 -7
  459. package/dist/web/index.web171.js +18 -15
  460. package/dist/web/index.web172.js +8 -13
  461. package/dist/web/index.web173.js +40 -53
  462. package/dist/web/index.web174.js +7 -6
  463. package/dist/web/index.web175.js +19 -20
  464. package/dist/web/index.web176.js +11 -16
  465. package/dist/web/index.web177.js +11 -45
  466. package/dist/web/index.web178.js +2 -4
  467. package/dist/web/index.web179.js +2 -4
  468. package/dist/web/index.web18.js +2 -2
  469. package/dist/web/index.web180.js +13 -34
  470. package/dist/web/index.web181.js +53 -10
  471. package/dist/web/index.web182.js +6 -4
  472. package/dist/web/index.web183.js +21 -28
  473. package/dist/web/index.web184.js +17 -6
  474. package/dist/web/index.web185.js +42 -29
  475. package/dist/web/index.web186.js +3 -12
  476. package/dist/web/index.web187.js +3 -55
  477. package/dist/web/index.web188.js +32 -40
  478. package/dist/web/index.web189.js +11 -126
  479. package/dist/web/index.web19.js +2 -2
  480. package/dist/web/index.web190.js +4 -104
  481. package/dist/web/index.web191.js +28 -6
  482. package/dist/web/index.web192.js +7 -3
  483. package/dist/web/index.web193.js +30 -76
  484. package/dist/web/index.web194.js +13 -2
  485. package/dist/web/index.web195.js +56 -2
  486. package/dist/web/index.web196.js +39 -34
  487. package/dist/web/index.web197.js +126 -5
  488. package/dist/web/index.web198.js +101 -31
  489. package/dist/web/index.web199.js +6 -14
  490. package/dist/web/index.web2.js +2 -2
  491. package/dist/web/index.web20.js +7 -7
  492. package/dist/web/index.web200.js +3 -35
  493. package/dist/web/index.web201.js +77 -17
  494. package/dist/web/index.web202.js +2 -9
  495. package/dist/web/index.web203.js +2 -11
  496. package/dist/web/index.web204.js +37 -11
  497. package/dist/web/index.web205.js +6 -13
  498. package/dist/web/index.web206.js +34 -5
  499. package/dist/web/index.web207.js +15 -5
  500. package/dist/web/index.web208.js +34 -10
  501. package/dist/web/index.web209.js +19 -2
  502. package/dist/web/index.web21.js +1 -1
  503. package/dist/web/index.web210.js +9 -2
  504. package/dist/web/index.web211.js +9 -19
  505. package/dist/web/index.web212.js +12 -10
  506. package/dist/web/index.web213.js +14 -20
  507. package/dist/web/index.web214.js +6 -94
  508. package/dist/web/index.web215.js +4 -20
  509. package/dist/web/index.web216.js +11 -118
  510. package/dist/web/index.web217.js +106 -101
  511. package/dist/web/index.web218.js +2 -79
  512. package/dist/web/index.web219.js +2 -79
  513. package/dist/web/index.web220.js +21 -2
  514. package/dist/web/index.web221.js +10 -109
  515. package/dist/web/index.web222.js +20 -2
  516. package/dist/web/index.web223.js +94 -8
  517. package/dist/web/index.web224.js +21 -2
  518. package/dist/web/index.web225.js +110 -353
  519. package/dist/web/index.web226.js +103 -852
  520. package/dist/web/index.web227.js +77 -37
  521. package/dist/web/index.web228.js +79 -2
  522. package/dist/web/index.web229.js +36 -67
  523. package/dist/web/index.web230.js +2 -35
  524. package/dist/web/index.web231.js +69 -14
  525. package/dist/web/index.web232.js +34 -46
  526. package/dist/web/index.web233.js +12 -18
  527. package/dist/web/index.web234.js +8 -2
  528. package/dist/web/index.web235.js +2 -20
  529. package/dist/web/index.web236.js +356 -28
  530. package/dist/web/index.web237.js +852 -6
  531. package/dist/web/index.web238.js +45 -16
  532. package/dist/web/index.web239.js +20 -27
  533. package/dist/web/index.web240.js +2 -8
  534. package/dist/web/index.web241.js +19 -10
  535. package/dist/web/index.web242.js +32 -12
  536. package/dist/web/index.web243.js +6 -9
  537. package/dist/web/index.web244.js +15 -14
  538. package/dist/web/index.web245.js +25 -78
  539. package/dist/web/index.web246.js +8 -2
  540. package/dist/web/index.web247.js +11 -2
  541. package/dist/web/index.web248.js +13 -2
  542. package/dist/web/index.web249.js +8 -2
  543. package/dist/web/index.web250.js +17 -5
  544. package/dist/web/index.web251.js +80 -14
  545. package/dist/web/index.web252.js +2 -79
  546. package/dist/web/index.web253.js +6 -0
  547. package/dist/web/index.web254.js +4 -0
  548. package/dist/web/index.web255.js +4 -0
  549. package/dist/web/index.web256.js +7 -0
  550. package/dist/web/index.web257.js +81 -0
  551. package/dist/web/index.web258.js +17 -0
  552. package/dist/web/index.web28.js +5 -5
  553. package/dist/web/index.web29.js +6 -6
  554. package/dist/web/index.web3.js +1 -1
  555. package/dist/web/index.web30.js +5 -5
  556. package/dist/web/index.web31.js +5 -5
  557. package/dist/web/index.web32.js +5 -5
  558. package/dist/web/index.web33.js +5 -5
  559. package/dist/web/index.web34.js +6 -6
  560. package/dist/web/index.web35.js +5 -5
  561. package/dist/web/index.web36.js +5 -5
  562. package/dist/web/index.web37.js +1 -1
  563. package/dist/web/index.web38.js +5 -5
  564. package/dist/web/index.web39.js +5 -5
  565. package/dist/web/index.web4.js +1 -1
  566. package/dist/web/index.web40.js +6 -6
  567. package/dist/web/index.web41.js +1 -1
  568. package/dist/web/index.web42.js +5 -5
  569. package/dist/web/index.web43.js +5 -5
  570. package/dist/web/index.web45.js +2 -2
  571. package/dist/web/index.web46.js +1 -1
  572. package/dist/web/index.web49.js +4 -4
  573. package/dist/web/index.web50.js +1 -1
  574. package/dist/web/index.web52.js +3 -3
  575. package/dist/web/index.web53.js +3 -3
  576. package/dist/web/index.web54.js +2 -2
  577. package/dist/web/index.web55.js +1 -1
  578. package/dist/web/index.web57.js +3 -3
  579. package/dist/web/index.web58.js +1 -1
  580. package/dist/web/index.web59.js +2 -2
  581. package/dist/web/index.web6.js +1 -1
  582. package/dist/web/index.web60.js +4 -4
  583. package/dist/web/index.web61.js +2 -2
  584. package/dist/web/index.web62.js +3 -3
  585. package/dist/web/index.web63.js +3 -3
  586. package/dist/web/index.web64.js +3 -3
  587. package/dist/web/index.web65.js +5 -5
  588. package/dist/web/index.web66.js +5 -5
  589. package/dist/web/index.web67.js +5 -5
  590. package/dist/web/index.web68.js +5 -5
  591. package/dist/web/index.web70.js +3 -3
  592. package/dist/web/index.web71.js +9 -9
  593. package/dist/web/index.web75.js +2 -2
  594. package/dist/web/index.web76.js +3 -3
  595. package/dist/web/index.web77.js +12 -12
  596. package/dist/web/index.web78.js +1 -1
  597. package/dist/web/index.web79.js +1 -1
  598. package/dist/web/index.web80.js +1 -1
  599. package/dist/web/index.web81.js +55 -19
  600. package/dist/web/index.web82.js +62 -47
  601. package/dist/web/index.web83.js +6 -40
  602. package/dist/web/index.web84.js +17 -17
  603. package/dist/web/index.web85.js +18 -349
  604. package/dist/web/index.web86.js +47 -17
  605. package/dist/web/index.web87.js +35 -127
  606. package/dist/web/index.web88.js +18 -87
  607. package/dist/web/index.web89.js +353 -6
  608. package/dist/web/index.web9.js +1 -1
  609. package/dist/web/index.web90.js +17 -54
  610. package/dist/web/index.web91.js +125 -155
  611. package/dist/web/index.web92.js +82 -61
  612. package/dist/web/index.web93.js +7 -36
  613. package/dist/web/index.web94.js +49 -99
  614. package/dist/web/index.web95.js +156 -36
  615. package/dist/web/index.web96.js +65 -29
  616. package/dist/web/index.web97.js +36 -26
  617. package/dist/web/index.web98.js +106 -45
  618. package/dist/web/index.web99.js +43 -3
  619. package/dist/web-types/actions/deletePasskey.d.ts +21 -0
  620. package/dist/web-types/actions/enrollPasskey.d.ts +44 -0
  621. package/dist/web-types/actions/listPasskeys.d.ts +16 -0
  622. package/dist/web-types/actions/verifyPasskey.d.ts +30 -0
  623. package/dist/web-types/errors.d.ts +10 -2
  624. package/dist/web-types/index.web.d.ts +5 -0
  625. package/dist/web-types/mfa/utils.d.ts +3 -3
  626. package/dist/web-types/shared/base64url.d.ts +21 -0
  627. package/dist/web-types/shared/webauthn.d.ts +121 -0
  628. package/dist/web-types/types.d.ts +4 -2
  629. package/dist/web-types/version.d.ts +1 -1
  630. package/package.json +3 -3
@@ -1,855 +1,120 @@
1
- import { __module as E } from "./index.native246.js";
2
- E.exports;
3
- var we;
4
- function Ye() {
5
- return we ? E.exports : (we = 1, (function(P, u) {
6
- process.env.NODE_ENV !== "production" && (function() {
7
- function Ee(e, t) {
8
- Object.defineProperty(h.prototype, e, {
9
- get: function() {
10
- console.warn(
11
- "%s(...) is deprecated in plain JavaScript React classes. %s",
12
- t[0],
13
- t[1]
14
- );
15
- }
16
- });
17
- }
18
- function be(e) {
19
- return e === null || typeof e != "object" ? null : (e = ae && e[ae] || e["@@iterator"], typeof e == "function" ? e : null);
20
- }
21
- function N(e, t) {
22
- e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
23
- var r = e + "." + t;
24
- se[r] || (console.error(
25
- "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
26
- t,
27
- e
28
- ), se[r] = !0);
29
- }
30
- function h(e, t, r) {
31
- this.props = e, this.context = t, this.refs = G, this.updater = r || ie;
32
- }
33
- function B() {
34
- }
35
- function M(e, t, r) {
36
- this.props = e, this.context = t, this.refs = G, this.updater = r || ie;
37
- }
38
- function L() {
39
- }
40
- function K(e) {
41
- return "" + e;
42
- }
43
- function b(e) {
44
- try {
45
- K(e);
46
- var t = !1;
47
- } catch {
48
- t = !0;
49
- }
50
- if (t) {
51
- t = console;
52
- var r = t.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
53
- return r.call(
54
- t,
55
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
56
- n
57
- ), K(e);
58
- }
59
- }
60
- function T(e) {
61
- if (e == null) return null;
62
- if (typeof e == "function")
63
- return e.$$typeof === je ? null : e.displayName || e.name || null;
64
- if (typeof e == "string") return e;
65
- switch (e) {
66
- case q:
67
- return "Fragment";
68
- case te:
69
- return "Profiler";
70
- case ee:
71
- return "StrictMode";
72
- case oe:
73
- return "Suspense";
74
- case Ce:
75
- return "SuspenseList";
76
- case ue:
77
- return "Activity";
78
- }
79
- if (typeof e == "object")
80
- switch (typeof e.tag == "number" && console.error(
81
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
82
- ), e.$$typeof) {
83
- case x:
84
- return "Portal";
85
- case re:
86
- return e.displayName || "Context";
87
- case z:
88
- return (e._context.displayName || "Context") + ".Consumer";
89
- case ne:
90
- var t = e.render;
91
- return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
92
- case H:
93
- return t = e.displayName || null, t !== null ? t : T(e.type) || "Memo";
94
- case v:
95
- t = e._payload, e = e._init;
96
- try {
97
- return T(e(t));
98
- } catch {
99
- }
100
- }
101
- return null;
102
- }
103
- function F(e) {
104
- if (e === q) return "<>";
105
- if (typeof e == "object" && e !== null && e.$$typeof === v)
106
- return "<...>";
107
- try {
108
- var t = T(e);
109
- return t ? "<" + t + ">" : "<...>";
110
- } catch {
111
- return "<...>";
112
- }
113
- }
114
- function X() {
115
- var e = s.A;
116
- return e === null ? null : e.getOwner();
117
- }
118
- function V() {
119
- return Error("react-stack-top-frame");
120
- }
121
- function Z(e) {
122
- if (S.call(e, "key")) {
123
- var t = Object.getOwnPropertyDescriptor(e, "key").get;
124
- if (t && t.isReactWarning) return !1;
125
- }
126
- return e.key !== void 0;
127
- }
128
- function Te(e, t) {
129
- function r() {
130
- de || (de = !0, console.error(
131
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
132
- t
133
- ));
134
- }
135
- r.isReactWarning = !0, Object.defineProperty(e, "key", {
136
- get: r,
137
- configurable: !0
138
- });
139
- }
140
- function Re() {
141
- var e = T(this.type);
142
- return he[e] || (he[e] = !0, console.error(
143
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
144
- )), e = this.props.ref, e !== void 0 ? e : null;
145
- }
146
- function D(e, t, r, n, o, i) {
147
- var a = r.ref;
148
- return e = {
149
- $$typeof: W,
150
- type: e,
151
- key: t,
152
- props: r,
153
- _owner: n
154
- }, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
155
- enumerable: !1,
156
- get: Re
157
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
158
- configurable: !1,
159
- enumerable: !1,
160
- writable: !0,
161
- value: 0
162
- }), Object.defineProperty(e, "_debugInfo", {
163
- configurable: !1,
164
- enumerable: !1,
165
- writable: !0,
166
- value: null
167
- }), Object.defineProperty(e, "_debugStack", {
168
- configurable: !1,
169
- enumerable: !1,
170
- writable: !0,
171
- value: o
172
- }), Object.defineProperty(e, "_debugTask", {
173
- configurable: !1,
174
- enumerable: !1,
175
- writable: !0,
176
- value: i
177
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
178
- }
179
- function Oe(e, t) {
180
- return t = D(
181
- e.type,
182
- t,
183
- e.props,
184
- e._owner,
185
- e._debugStack,
186
- e._debugTask
187
- ), e._store && (t._store.validated = e._store.validated), t;
188
- }
189
- function J(e) {
190
- m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === v && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
191
- }
192
- function m(e) {
193
- return typeof e == "object" && e !== null && e.$$typeof === W;
194
- }
195
- function ke(e) {
196
- var t = { "=": "=0", ":": "=2" };
197
- return "$" + e.replace(/[=:]/g, function(r) {
198
- return t[r];
199
- });
200
- }
201
- function Y(e, t) {
202
- return typeof e == "object" && e !== null && e.key != null ? (b(e.key), ke("" + e.key)) : t.toString(36);
203
- }
204
- function Se(e) {
205
- switch (e.status) {
206
- case "fulfilled":
207
- return e.value;
208
- case "rejected":
209
- throw e.reason;
210
- default:
211
- switch (typeof e.status == "string" ? e.then(L, L) : (e.status = "pending", e.then(
212
- function(t) {
213
- e.status === "pending" && (e.status = "fulfilled", e.value = t);
214
- },
215
- function(t) {
216
- e.status === "pending" && (e.status = "rejected", e.reason = t);
217
- }
218
- )), e.status) {
219
- case "fulfilled":
220
- return e.value;
221
- case "rejected":
222
- throw e.reason;
223
- }
224
- }
225
- throw e;
226
- }
227
- function y(e, t, r, n, o) {
228
- var i = typeof e;
229
- (i === "undefined" || i === "boolean") && (e = null);
230
- var a = !1;
231
- if (e === null) a = !0;
232
- else
233
- switch (i) {
234
- case "bigint":
235
- case "string":
236
- case "number":
237
- a = !0;
238
- break;
239
- case "object":
240
- switch (e.$$typeof) {
241
- case W:
242
- case x:
243
- a = !0;
244
- break;
245
- case v:
246
- return a = e._init, y(
247
- a(e._payload),
248
- t,
249
- r,
250
- n,
251
- o
252
- );
253
- }
254
- }
255
- if (a) {
256
- a = e, o = o(a);
257
- var f = n === "" ? "." + Y(a, 0) : n;
258
- return fe(o) ? (r = "", f != null && (r = f.replace(ye, "$&/") + "/"), y(o, t, r, "", function(p) {
259
- return p;
260
- })) : o != null && (m(o) && (o.key != null && (a && a.key === o.key || b(o.key)), r = Oe(
261
- o,
262
- r + (o.key == null || a && a.key === o.key ? "" : ("" + o.key).replace(
263
- ye,
264
- "$&/"
265
- ) + "/") + f
266
- ), n !== "" && a != null && m(a) && a.key == null && a._store && !a._store.validated && (r._store.validated = 2), o = r), t.push(o)), 1;
267
- }
268
- if (a = 0, f = n === "" ? "." : n + ":", fe(e))
269
- for (var c = 0; c < e.length; c++)
270
- n = e[c], i = f + Y(n, c), a += y(
271
- n,
272
- t,
273
- r,
274
- i,
275
- o
276
- );
277
- else if (c = be(e), typeof c == "function")
278
- for (c === e.entries && (me || console.warn(
279
- "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
280
- ), me = !0), e = c.call(e), c = 0; !(n = e.next()).done; )
281
- n = n.value, i = f + Y(n, c++), a += y(
282
- n,
283
- t,
284
- r,
285
- i,
286
- o
287
- );
288
- else if (i === "object") {
289
- if (typeof e.then == "function")
290
- return y(
291
- Se(e),
292
- t,
293
- r,
294
- n,
295
- o
296
- );
297
- throw t = String(e), Error(
298
- "Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."
299
- );
300
- }
301
- return a;
302
- }
303
- function R(e, t, r) {
304
- if (e == null) return e;
305
- var n = [], o = 0;
306
- return y(e, n, "", "", function(i) {
307
- return t.call(r, i, o++);
308
- }), n;
309
- }
310
- function Ae(e) {
311
- if (e._status === -1) {
312
- var t = e._ioInfo;
313
- t != null && (t.start = t.end = performance.now()), t = e._result;
314
- var r = t();
315
- if (r.then(
316
- function(o) {
317
- if (e._status === 0 || e._status === -1) {
318
- e._status = 1, e._result = o;
319
- var i = e._ioInfo;
320
- i != null && (i.end = performance.now()), r.status === void 0 && (r.status = "fulfilled", r.value = o);
321
- }
322
- },
323
- function(o) {
324
- if (e._status === 0 || e._status === -1) {
325
- e._status = 2, e._result = o;
326
- var i = e._ioInfo;
327
- i != null && (i.end = performance.now()), r.status === void 0 && (r.status = "rejected", r.reason = o);
328
- }
329
- }
330
- ), t = e._ioInfo, t != null) {
331
- t.value = r;
332
- var n = r.displayName;
333
- typeof n == "string" && (t.name = n);
334
- }
335
- e._status === -1 && (e._status = 0, e._result = r);
336
- }
337
- if (e._status === 1)
338
- return t = e._result, t === void 0 && console.error(
339
- `lazy: Expected the result of a dynamic import() call. Instead received: %s
340
-
341
- Your code should look like:
342
- const MyComponent = lazy(() => import('./MyComponent'))
343
-
344
- Did you accidentally put curly braces around the import?`,
345
- t
346
- ), "default" in t || console.error(
347
- `lazy: Expected the result of a dynamic import() call. Instead received: %s
348
-
349
- Your code should look like:
350
- const MyComponent = lazy(() => import('./MyComponent'))`,
351
- t
352
- ), t.default;
353
- throw e._result;
354
- }
355
- function l() {
356
- var e = s.H;
357
- return e === null && console.error(
358
- `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
359
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
360
- 2. You might be breaking the Rules of Hooks
361
- 3. You might have more than one copy of React in the same app
362
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
363
- ), e;
364
- }
365
- function $() {
366
- s.asyncTransitions--;
367
- }
368
- function O(e) {
369
- if (A === null)
370
- try {
371
- var t = ("require" + Math.random()).slice(0, 7);
372
- A = (P && P[t]).call(
373
- P,
374
- "timers"
375
- ).setImmediate;
376
- } catch {
377
- A = function(n) {
378
- ge === !1 && (ge = !0, typeof MessageChannel > "u" && console.error(
379
- "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
380
- ));
381
- var o = new MessageChannel();
382
- o.port1.onmessage = n, o.port2.postMessage(void 0);
383
- };
384
- }
385
- return A(e);
386
- }
387
- function g(e) {
388
- return 1 < e.length && typeof AggregateError == "function" ? new AggregateError(e) : e[0];
389
- }
390
- function k(e, t) {
391
- t !== C - 1 && console.error(
392
- "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
393
- ), C = t;
394
- }
395
- function U(e, t, r) {
396
- var n = s.actQueue;
397
- if (n !== null)
398
- if (n.length !== 0)
399
- try {
400
- I(n), O(function() {
401
- return U(e, t, r);
402
- });
403
- return;
404
- } catch (o) {
405
- s.thrownErrors.push(o);
406
- }
407
- else s.actQueue = null;
408
- 0 < s.thrownErrors.length ? (n = g(s.thrownErrors), s.thrownErrors.length = 0, r(n)) : t(e);
409
- }
410
- function I(e) {
411
- if (!Q) {
412
- Q = !0;
413
- var t = 0;
414
- try {
415
- for (; t < e.length; t++) {
416
- var r = e[t];
417
- do {
418
- s.didUsePromise = !1;
419
- var n = r(!1);
420
- if (n !== null) {
421
- if (s.didUsePromise) {
422
- e[t] = r, e.splice(0, t);
423
- return;
424
- }
425
- r = n;
426
- } else break;
427
- } while (!0);
428
- }
429
- e.length = 0;
430
- } catch (o) {
431
- e.splice(0, t + 1), s.thrownErrors.push(o);
432
- } finally {
433
- Q = !1;
434
- }
435
- }
436
- }
437
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
438
- var W = /* @__PURE__ */ Symbol.for("react.transitional.element"), x = /* @__PURE__ */ Symbol.for("react.portal"), q = /* @__PURE__ */ Symbol.for("react.fragment"), ee = /* @__PURE__ */ Symbol.for("react.strict_mode"), te = /* @__PURE__ */ Symbol.for("react.profiler"), z = /* @__PURE__ */ Symbol.for("react.consumer"), re = /* @__PURE__ */ Symbol.for("react.context"), ne = /* @__PURE__ */ Symbol.for("react.forward_ref"), oe = /* @__PURE__ */ Symbol.for("react.suspense"), Ce = /* @__PURE__ */ Symbol.for("react.suspense_list"), H = /* @__PURE__ */ Symbol.for("react.memo"), v = /* @__PURE__ */ Symbol.for("react.lazy"), ue = /* @__PURE__ */ Symbol.for("react.activity"), ae = Symbol.iterator, se = {}, ie = {
439
- isMounted: function() {
440
- return !1;
441
- },
442
- enqueueForceUpdate: function(e) {
443
- N(e, "forceUpdate");
444
- },
445
- enqueueReplaceState: function(e) {
446
- N(e, "replaceState");
447
- },
448
- enqueueSetState: function(e) {
449
- N(e, "setState");
450
- }
451
- }, ce = Object.assign, G = {};
452
- Object.freeze(G), h.prototype.isReactComponent = {}, h.prototype.setState = function(e, t) {
453
- if (typeof e != "object" && typeof e != "function" && e != null)
454
- throw Error(
455
- "takes an object of state variables to update or a function which returns an object of state variables."
456
- );
457
- this.updater.enqueueSetState(this, e, t, "setState");
458
- }, h.prototype.forceUpdate = function(e) {
459
- this.updater.enqueueForceUpdate(this, e, "forceUpdate");
460
- };
461
- var d = {
462
- isMounted: [
463
- "isMounted",
464
- "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
465
- ],
466
- replaceState: [
467
- "replaceState",
468
- "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
469
- ]
470
- };
471
- for (w in d)
472
- d.hasOwnProperty(w) && Ee(w, d[w]);
473
- B.prototype = h.prototype, d = M.prototype = new B(), d.constructor = M, ce(d, h.prototype), d.isPureReactComponent = !0;
474
- var fe = Array.isArray, je = /* @__PURE__ */ Symbol.for("react.client.reference"), s = {
475
- H: null,
476
- A: null,
477
- T: null,
478
- S: null,
479
- actQueue: null,
480
- asyncTransitions: 0,
481
- isBatchingLegacy: !1,
482
- didScheduleLegacyUpdate: !1,
483
- didUsePromise: !1,
484
- thrownErrors: [],
485
- getCurrentStack: null,
486
- recentlyCreatedOwnerStacks: 0
487
- }, S = Object.prototype.hasOwnProperty, le = console.createTask ? console.createTask : function() {
488
- return null;
489
- };
490
- d = {
491
- react_stack_bottom_frame: function(e) {
492
- return e();
493
- }
494
- };
495
- var de, pe, he = {}, Pe = d.react_stack_bottom_frame.bind(
496
- d,
497
- V
498
- )(), Ne = le(F(V)), me = !1, ye = /\/+/g, _e = typeof reportError == "function" ? reportError : function(e) {
499
- if (typeof window == "object" && typeof window.ErrorEvent == "function") {
500
- var t = new window.ErrorEvent("error", {
501
- bubbles: !0,
502
- cancelable: !0,
503
- message: typeof e == "object" && e !== null && typeof e.message == "string" ? String(e.message) : String(e),
504
- error: e
505
- });
506
- if (!window.dispatchEvent(t)) return;
507
- } else if (typeof process == "object" && typeof process.emit == "function") {
508
- process.emit("uncaughtException", e);
509
- return;
510
- }
511
- console.error(e);
512
- }, ge = !1, A = null, C = 0, j = !1, Q = !1, ve = typeof queueMicrotask == "function" ? function(e) {
513
- queueMicrotask(function() {
514
- return queueMicrotask(e);
515
- });
516
- } : O;
517
- d = Object.freeze({
518
- __proto__: null,
519
- c: function(e) {
520
- return l().useMemoCache(e);
521
- }
522
- });
523
- var w = {
524
- map: R,
525
- forEach: function(e, t, r) {
526
- R(
527
- e,
528
- function() {
529
- t.apply(this, arguments);
530
- },
531
- r
532
- );
533
- },
534
- count: function(e) {
535
- var t = 0;
536
- return R(e, function() {
537
- t++;
538
- }), t;
539
- },
540
- toArray: function(e) {
541
- return R(e, function(t) {
542
- return t;
543
- }) || [];
544
- },
545
- only: function(e) {
546
- if (!m(e))
547
- throw Error(
548
- "React.Children.only expected to receive a single React element child."
549
- );
550
- return e;
551
- }
552
- };
553
- u.Activity = ue, u.Children = w, u.Component = h, u.Fragment = q, u.Profiler = te, u.PureComponent = M, u.StrictMode = ee, u.Suspense = oe, u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = s, u.__COMPILER_RUNTIME = d, u.act = function(e) {
554
- var t = s.actQueue, r = C;
555
- C++;
556
- var n = s.actQueue = t !== null ? t : [], o = !1;
557
- try {
558
- var i = e();
559
- } catch (c) {
560
- s.thrownErrors.push(c);
561
- }
562
- if (0 < s.thrownErrors.length)
563
- throw k(t, r), e = g(s.thrownErrors), s.thrownErrors.length = 0, e;
564
- if (i !== null && typeof i == "object" && typeof i.then == "function") {
565
- var a = i;
566
- return ve(function() {
567
- o || j || (j = !0, console.error(
568
- "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
569
- ));
570
- }), {
571
- then: function(c, p) {
572
- o = !0, a.then(
573
- function(_) {
574
- if (k(t, r), r === 0) {
575
- try {
576
- I(n), O(function() {
577
- return U(
578
- _,
579
- c,
580
- p
581
- );
582
- });
583
- } catch (Le) {
584
- s.thrownErrors.push(Le);
585
- }
586
- if (0 < s.thrownErrors.length) {
587
- var Me = g(
588
- s.thrownErrors
589
- );
590
- s.thrownErrors.length = 0, p(Me);
591
- }
592
- } else c(_);
593
- },
594
- function(_) {
595
- k(t, r), 0 < s.thrownErrors.length && (_ = g(
596
- s.thrownErrors
597
- ), s.thrownErrors.length = 0), p(_);
598
- }
599
- );
600
- }
601
- };
602
- }
603
- var f = i;
604
- if (k(t, r), r === 0 && (I(n), n.length !== 0 && ve(function() {
605
- o || j || (j = !0, console.error(
606
- "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
607
- ));
608
- }), s.actQueue = null), 0 < s.thrownErrors.length)
609
- throw e = g(s.thrownErrors), s.thrownErrors.length = 0, e;
610
- return {
611
- then: function(c, p) {
612
- o = !0, r === 0 ? (s.actQueue = n, O(function() {
613
- return U(
614
- f,
615
- c,
616
- p
617
- );
618
- })) : c(f);
619
- }
620
- };
621
- }, u.cache = function(e) {
622
- return function() {
623
- return e.apply(null, arguments);
624
- };
625
- }, u.cacheSignal = function() {
626
- return null;
627
- }, u.captureOwnerStack = function() {
628
- var e = s.getCurrentStack;
629
- return e === null ? null : e();
630
- }, u.cloneElement = function(e, t, r) {
631
- if (e == null)
632
- throw Error(
633
- "The argument must be a React element, but you passed " + e + "."
634
- );
635
- var n = ce({}, e.props), o = e.key, i = e._owner;
636
- if (t != null) {
637
- var a;
638
- e: {
639
- if (S.call(t, "ref") && (a = Object.getOwnPropertyDescriptor(
640
- t,
641
- "ref"
642
- ).get) && a.isReactWarning) {
643
- a = !1;
644
- break e;
645
- }
646
- a = t.ref !== void 0;
647
- }
648
- a && (i = X()), Z(t) && (b(t.key), o = "" + t.key);
649
- for (f in t)
650
- !S.call(t, f) || f === "key" || f === "__self" || f === "__source" || f === "ref" && t.ref === void 0 || (n[f] = t[f]);
651
- }
652
- var f = arguments.length - 2;
653
- if (f === 1) n.children = r;
654
- else if (1 < f) {
655
- a = Array(f);
656
- for (var c = 0; c < f; c++)
657
- a[c] = arguments[c + 2];
658
- n.children = a;
659
- }
660
- for (n = D(
661
- e.type,
662
- o,
663
- n,
664
- i,
665
- e._debugStack,
666
- e._debugTask
667
- ), o = 2; o < arguments.length; o++)
668
- J(arguments[o]);
669
- return n;
670
- }, u.createContext = function(e) {
671
- return e = {
672
- $$typeof: re,
673
- _currentValue: e,
674
- _currentValue2: e,
675
- _threadCount: 0,
676
- Provider: null,
677
- Consumer: null
678
- }, e.Provider = e, e.Consumer = {
679
- $$typeof: z,
680
- _context: e
681
- }, e._currentRenderer = null, e._currentRenderer2 = null, e;
682
- }, u.createElement = function(e, t, r) {
683
- for (var n = 2; n < arguments.length; n++)
684
- J(arguments[n]);
685
- n = {};
686
- var o = null;
687
- if (t != null)
688
- for (c in pe || !("__self" in t) || "key" in t || (pe = !0, console.warn(
689
- "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
690
- )), Z(t) && (b(t.key), o = "" + t.key), t)
691
- S.call(t, c) && c !== "key" && c !== "__self" && c !== "__source" && (n[c] = t[c]);
692
- var i = arguments.length - 2;
693
- if (i === 1) n.children = r;
694
- else if (1 < i) {
695
- for (var a = Array(i), f = 0; f < i; f++)
696
- a[f] = arguments[f + 2];
697
- Object.freeze && Object.freeze(a), n.children = a;
698
- }
699
- if (e && e.defaultProps)
700
- for (c in i = e.defaultProps, i)
701
- n[c] === void 0 && (n[c] = i[c]);
702
- o && Te(
703
- n,
704
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
705
- );
706
- var c = 1e4 > s.recentlyCreatedOwnerStacks++;
707
- return D(
708
- e,
709
- o,
710
- n,
711
- X(),
712
- c ? Error("react-stack-top-frame") : Pe,
713
- c ? le(F(e)) : Ne
714
- );
715
- }, u.createRef = function() {
716
- var e = { current: null };
717
- return Object.seal(e), e;
718
- }, u.forwardRef = function(e) {
719
- e != null && e.$$typeof === H ? console.error(
720
- "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
721
- ) : typeof e != "function" ? console.error(
722
- "forwardRef requires a render function but was given %s.",
723
- e === null ? "null" : typeof e
724
- ) : e.length !== 0 && e.length !== 2 && console.error(
725
- "forwardRef render functions accept exactly two parameters: props and ref. %s",
726
- e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
727
- ), e != null && e.defaultProps != null && console.error(
728
- "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
729
- );
730
- var t = { $$typeof: ne, render: e }, r;
731
- return Object.defineProperty(t, "displayName", {
732
- enumerable: !1,
733
- configurable: !0,
734
- get: function() {
735
- return r;
736
- },
737
- set: function(n) {
738
- r = n, e.name || e.displayName || (Object.defineProperty(e, "name", { value: n }), e.displayName = n);
739
- }
740
- }), t;
741
- }, u.isValidElement = m, u.lazy = function(e) {
742
- e = { _status: -1, _result: e };
743
- var t = {
744
- $$typeof: v,
745
- _payload: e,
746
- _init: Ae
747
- }, r = {
748
- name: "lazy",
749
- start: -1,
750
- end: -1,
751
- value: null,
752
- owner: null,
753
- debugStack: Error("react-stack-top-frame"),
754
- debugTask: console.createTask ? console.createTask("lazy()") : null
755
- };
756
- return e._ioInfo = r, t._debugInfo = [{ awaited: r }], t;
757
- }, u.memo = function(e, t) {
758
- e == null && console.error(
759
- "memo: The first argument must be a component. Instead received: %s",
760
- e === null ? "null" : typeof e
761
- ), t = {
762
- $$typeof: H,
763
- type: e,
764
- compare: t === void 0 ? null : t
765
- };
766
- var r;
767
- return Object.defineProperty(t, "displayName", {
768
- enumerable: !1,
769
- configurable: !0,
770
- get: function() {
771
- return r;
772
- },
773
- set: function(n) {
774
- r = n, e.name || e.displayName || (Object.defineProperty(e, "name", { value: n }), e.displayName = n);
775
- }
776
- }), t;
777
- }, u.startTransition = function(e) {
778
- var t = s.T, r = {};
779
- r._updatedFibers = /* @__PURE__ */ new Set(), s.T = r;
780
- try {
781
- var n = e(), o = s.S;
782
- o !== null && o(r, n), typeof n == "object" && n !== null && typeof n.then == "function" && (s.asyncTransitions++, n.then($, $), n.then(L, _e));
783
- } catch (i) {
784
- _e(i);
785
- } finally {
786
- t === null && r._updatedFibers && (e = r._updatedFibers.size, r._updatedFibers.clear(), 10 < e && console.warn(
787
- "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
788
- )), t !== null && r.types !== null && (t.types !== null && t.types !== r.types && console.error(
789
- "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
790
- ), t.types = r.types), s.T = t;
791
- }
792
- }, u.unstable_useCacheRefresh = function() {
793
- return l().useCacheRefresh();
794
- }, u.use = function(e) {
795
- return l().use(e);
796
- }, u.useActionState = function(e, t, r) {
797
- return l().useActionState(
798
- e,
799
- t,
800
- r
801
- );
802
- }, u.useCallback = function(e, t) {
803
- return l().useCallback(e, t);
804
- }, u.useContext = function(e) {
805
- var t = l();
806
- return e.$$typeof === z && console.error(
807
- "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
808
- ), t.useContext(e);
809
- }, u.useDebugValue = function(e, t) {
810
- return l().useDebugValue(e, t);
811
- }, u.useDeferredValue = function(e, t) {
812
- return l().useDeferredValue(e, t);
813
- }, u.useEffect = function(e, t) {
814
- return e == null && console.warn(
815
- "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
816
- ), l().useEffect(e, t);
817
- }, u.useEffectEvent = function(e) {
818
- return l().useEffectEvent(e);
819
- }, u.useId = function() {
820
- return l().useId();
821
- }, u.useImperativeHandle = function(e, t, r) {
822
- return l().useImperativeHandle(e, t, r);
823
- }, u.useInsertionEffect = function(e, t) {
824
- return e == null && console.warn(
825
- "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
826
- ), l().useInsertionEffect(e, t);
827
- }, u.useLayoutEffect = function(e, t) {
828
- return e == null && console.warn(
829
- "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
830
- ), l().useLayoutEffect(e, t);
831
- }, u.useMemo = function(e, t) {
832
- return l().useMemo(e, t);
833
- }, u.useOptimistic = function(e, t) {
834
- return l().useOptimistic(e, t);
835
- }, u.useReducer = function(e, t, r) {
836
- return l().useReducer(e, t, r);
837
- }, u.useRef = function(e) {
838
- return l().useRef(e);
839
- }, u.useState = function(e) {
840
- return l().useState(e);
841
- }, u.useSyncExternalStore = function(e, t, r) {
842
- return l().useSyncExternalStore(
843
- e,
844
- t,
845
- r
846
- );
847
- }, u.useTransition = function() {
848
- return l().useTransition();
849
- }, u.version = "19.2.7", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
850
- })();
851
- })(E, E.exports), E.exports);
852
- }
1
+ import { isJWK as p } from "./index.native253.js";
2
+ import { decode as m } from "./index.native222.js";
3
+ import y from "./index.native254.js";
4
+ import { isCryptoKey as S, isKeyObject as K } from "./index.native252.js";
5
+ let c;
6
+ const f = async (e, r, s, i = !1) => {
7
+ c ||= /* @__PURE__ */ new WeakMap();
8
+ let n = c.get(e);
9
+ if (n?.[s])
10
+ return n[s];
11
+ const t = await y({ ...r, alg: s });
12
+ return i && Object.freeze(e), n ? n[s] = t : c.set(e, { [s]: t }), t;
13
+ }, E = (e, r) => {
14
+ c ||= /* @__PURE__ */ new WeakMap();
15
+ let s = c.get(e);
16
+ if (s?.[r])
17
+ return s[r];
18
+ const i = e.type === "public", n = !!i;
19
+ let t;
20
+ if (e.asymmetricKeyType === "x25519") {
21
+ switch (r) {
22
+ case "ECDH-ES":
23
+ case "ECDH-ES+A128KW":
24
+ case "ECDH-ES+A192KW":
25
+ case "ECDH-ES+A256KW":
26
+ break;
27
+ default:
28
+ throw new TypeError("given KeyObject instance cannot be used for this algorithm");
29
+ }
30
+ t = e.toCryptoKey(e.asymmetricKeyType, n, i ? [] : ["deriveBits"]);
31
+ }
32
+ if (e.asymmetricKeyType === "ed25519") {
33
+ if (r !== "EdDSA" && r !== "Ed25519")
34
+ throw new TypeError("given KeyObject instance cannot be used for this algorithm");
35
+ t = e.toCryptoKey(e.asymmetricKeyType, n, [
36
+ i ? "verify" : "sign"
37
+ ]);
38
+ }
39
+ if (e.asymmetricKeyType === "rsa") {
40
+ let a;
41
+ switch (r) {
42
+ case "RSA-OAEP":
43
+ a = "SHA-1";
44
+ break;
45
+ case "RS256":
46
+ case "PS256":
47
+ case "RSA-OAEP-256":
48
+ a = "SHA-256";
49
+ break;
50
+ case "RS384":
51
+ case "PS384":
52
+ case "RSA-OAEP-384":
53
+ a = "SHA-384";
54
+ break;
55
+ case "RS512":
56
+ case "PS512":
57
+ case "RSA-OAEP-512":
58
+ a = "SHA-512";
59
+ break;
60
+ default:
61
+ throw new TypeError("given KeyObject instance cannot be used for this algorithm");
62
+ }
63
+ if (r.startsWith("RSA-OAEP"))
64
+ return e.toCryptoKey({
65
+ name: "RSA-OAEP",
66
+ hash: a
67
+ }, n, i ? ["encrypt"] : ["decrypt"]);
68
+ t = e.toCryptoKey({
69
+ name: r.startsWith("PS") ? "RSA-PSS" : "RSASSA-PKCS1-v1_5",
70
+ hash: a
71
+ }, n, [i ? "verify" : "sign"]);
72
+ }
73
+ if (e.asymmetricKeyType === "ec") {
74
+ const o = (/* @__PURE__ */ new Map([
75
+ ["prime256v1", "P-256"],
76
+ ["secp384r1", "P-384"],
77
+ ["secp521r1", "P-521"]
78
+ ])).get(e.asymmetricKeyDetails?.namedCurve);
79
+ if (!o)
80
+ throw new TypeError("given KeyObject instance cannot be used for this algorithm");
81
+ r === "ES256" && o === "P-256" && (t = e.toCryptoKey({
82
+ name: "ECDSA",
83
+ namedCurve: o
84
+ }, n, [i ? "verify" : "sign"])), r === "ES384" && o === "P-384" && (t = e.toCryptoKey({
85
+ name: "ECDSA",
86
+ namedCurve: o
87
+ }, n, [i ? "verify" : "sign"])), r === "ES512" && o === "P-521" && (t = e.toCryptoKey({
88
+ name: "ECDSA",
89
+ namedCurve: o
90
+ }, n, [i ? "verify" : "sign"])), r.startsWith("ECDH-ES") && (t = e.toCryptoKey({
91
+ name: "ECDH",
92
+ namedCurve: o
93
+ }, n, i ? [] : ["deriveBits"]));
94
+ }
95
+ if (!t)
96
+ throw new TypeError("given KeyObject instance cannot be used for this algorithm");
97
+ return s ? s[r] = t : c.set(e, { [r]: t }), t;
98
+ }, d = async (e, r) => {
99
+ if (e instanceof Uint8Array || S(e))
100
+ return e;
101
+ if (K(e)) {
102
+ if (e.type === "secret")
103
+ return e.export();
104
+ if ("toCryptoKey" in e && typeof e.toCryptoKey == "function")
105
+ try {
106
+ return E(e, r);
107
+ } catch (i) {
108
+ if (i instanceof TypeError)
109
+ throw i;
110
+ }
111
+ let s = e.export({ format: "jwk" });
112
+ return f(e, s, r);
113
+ }
114
+ if (p(e))
115
+ return e.k ? m(e.k) : f(e, e, r, !0);
116
+ throw new Error("unreachable");
117
+ };
853
118
  export {
854
- Ye as __require
119
+ d as default
855
120
  };