@coinbase/cdp-core 0.0.85 → 0.0.86

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 (1054) hide show
  1. package/dist/esm/index.native.js +147 -121
  2. package/dist/esm/index.native10.js +40 -459
  3. package/dist/esm/index.native100.js +87 -21
  4. package/dist/esm/index.native101.js +14 -10
  5. package/dist/esm/index.native102.js +20 -102
  6. package/dist/esm/index.native103.js +50 -6
  7. package/dist/esm/index.native104.js +377 -3
  8. package/dist/esm/index.native105.js +28 -14
  9. package/dist/esm/index.native106.js +28 -34
  10. package/dist/esm/index.native107.js +2 -81
  11. package/dist/esm/index.native108.js +66 -2
  12. package/dist/esm/index.native109.js +365 -2
  13. package/dist/esm/index.native11.js +12 -36
  14. package/dist/esm/index.native110.js +949 -11
  15. package/dist/esm/index.native111.js +2 -38
  16. package/dist/esm/index.native112.js +48 -5
  17. package/dist/esm/index.native113.js +27 -34
  18. package/dist/esm/index.native114.js +12 -8
  19. package/dist/esm/index.native115.js +11 -10
  20. package/dist/esm/index.native116.js +54 -11
  21. package/dist/esm/index.native117.js +10 -13
  22. package/dist/esm/index.native118.js +2 -19
  23. package/dist/esm/index.native119.js +45 -6
  24. package/dist/esm/index.native12.js +11 -40
  25. package/dist/esm/index.native120.js +13 -4
  26. package/dist/esm/index.native121.js +4 -10
  27. package/dist/esm/index.native122.js +7 -2
  28. package/dist/esm/index.native123.js +44 -62
  29. package/dist/esm/index.native124.js +35 -365
  30. package/dist/esm/index.native125.js +66 -53
  31. package/dist/esm/index.native126.js +13 -10
  32. package/dist/esm/index.native127.js +28 -2
  33. package/dist/esm/index.native128.js +8 -45
  34. package/dist/esm/index.native129.js +3 -13
  35. package/dist/esm/index.native13.js +21 -19
  36. package/dist/esm/index.native130.js +28 -2
  37. package/dist/esm/index.native131.js +9 -35
  38. package/dist/esm/index.native132.js +7 -67
  39. package/dist/esm/index.native133.js +79 -4
  40. package/dist/esm/index.native134.js +20 -11
  41. package/dist/esm/index.native135.js +3 -7
  42. package/dist/esm/index.native136.js +14 -3
  43. package/dist/esm/index.native137.js +4 -19
  44. package/dist/esm/index.native138.js +13 -8
  45. package/dist/esm/index.native139.js +19 -7
  46. package/dist/esm/index.native14.js +13 -5
  47. package/dist/esm/index.native140.js +55 -66
  48. package/dist/esm/index.native141.js +17 -18
  49. package/dist/esm/index.native142.js +23 -3
  50. package/dist/esm/index.native143.js +8 -4
  51. package/dist/esm/index.native144.js +41 -4
  52. package/dist/esm/index.native145.js +7 -4
  53. package/dist/esm/index.native146.js +11 -10
  54. package/dist/esm/index.native147.js +2 -53
  55. package/dist/esm/index.native148.js +2 -18
  56. package/dist/esm/index.native149.js +16 -22
  57. package/dist/esm/index.native15.js +11 -44
  58. package/dist/esm/index.native150.js +45 -8
  59. package/dist/esm/index.native151.js +13 -33
  60. package/dist/esm/index.native152.js +55 -7
  61. package/dist/esm/index.native153.js +6 -20
  62. package/dist/esm/index.native154.js +18 -17
  63. package/dist/esm/index.native155.js +4 -5
  64. package/dist/esm/index.native156.js +3 -47
  65. package/dist/esm/index.native157.js +33 -102
  66. package/dist/esm/index.native158.js +10 -17
  67. package/dist/esm/index.native159.js +4 -79
  68. package/dist/esm/index.native16.js +10 -16
  69. package/dist/esm/index.native160.js +27 -31
  70. package/dist/esm/index.native161.js +6 -6
  71. package/dist/esm/index.native162.js +42 -4
  72. package/dist/esm/index.native163.js +53 -76
  73. package/dist/esm/index.native164.js +126 -19
  74. package/dist/esm/index.native165.js +24 -10
  75. package/dist/esm/index.native166.js +12 -19
  76. package/dist/esm/index.native167.js +99 -88
  77. package/dist/esm/index.native168.js +7 -21
  78. package/dist/esm/index.native169.js +3 -118
  79. package/dist/esm/index.native17.js +52 -15
  80. package/dist/esm/index.native170.js +14 -3
  81. package/dist/esm/index.native171.js +29 -41
  82. package/dist/esm/index.native172.js +78 -38
  83. package/dist/esm/index.native173.js +2 -2
  84. package/dist/esm/index.native174.js +2 -70
  85. package/dist/esm/index.native175.js +37 -34
  86. package/dist/esm/index.native176.js +5 -19
  87. package/dist/esm/index.native177.js +34 -7
  88. package/dist/esm/index.native178.js +9 -2
  89. package/dist/esm/index.native179.js +10 -377
  90. package/dist/esm/index.native18.js +6 -16
  91. package/dist/esm/index.native180.js +11 -835
  92. package/dist/esm/index.native181.js +14 -5
  93. package/dist/esm/index.native182.js +19 -2
  94. package/dist/esm/index.native183.js +5 -108
  95. package/dist/esm/index.native184.js +5 -2
  96. package/dist/esm/index.native185.js +10 -17
  97. package/dist/esm/index.native186.js +103 -27
  98. package/dist/esm/index.native187.js +78 -7
  99. package/dist/esm/index.native188.js +80 -11
  100. package/dist/esm/index.native189.js +19 -11
  101. package/dist/esm/index.native19.js +4 -16
  102. package/dist/esm/index.native190.js +10 -10
  103. package/dist/esm/index.native191.js +20 -17
  104. package/dist/esm/index.native192.js +89 -76
  105. package/dist/esm/index.native193.js +21 -15
  106. package/dist/esm/index.native194.js +118 -2
  107. package/dist/esm/index.native195.js +2 -2
  108. package/dist/esm/index.native196.js +109 -2
  109. package/dist/esm/index.native197.js +2 -79
  110. package/dist/esm/index.native198.js +41 -0
  111. package/dist/esm/index.native199.js +4 -0
  112. package/dist/esm/index.native2.js +2 -2
  113. package/dist/esm/index.native20.js +12 -16
  114. package/dist/esm/index.native200.js +72 -0
  115. package/dist/esm/index.native201.js +37 -0
  116. package/dist/esm/index.native202.js +23 -0
  117. package/dist/esm/index.native203.js +10 -0
  118. package/dist/esm/index.native204.js +4 -0
  119. package/dist/esm/index.native205.js +380 -0
  120. package/dist/esm/index.native206.js +838 -0
  121. package/dist/esm/index.native207.js +4 -0
  122. package/dist/esm/index.native208.js +23 -0
  123. package/dist/esm/index.native209.js +49 -0
  124. package/dist/esm/index.native21.js +4 -26
  125. package/dist/esm/index.native210.js +22 -0
  126. package/dist/esm/index.native211.js +35 -0
  127. package/dist/esm/index.native212.js +9 -0
  128. package/dist/esm/index.native213.js +20 -0
  129. package/dist/esm/index.native214.js +30 -0
  130. package/dist/esm/index.native215.js +10 -0
  131. package/dist/esm/index.native216.js +13 -0
  132. package/dist/esm/index.native217.js +15 -0
  133. package/dist/esm/index.native218.js +12 -0
  134. package/dist/esm/index.native219.js +19 -0
  135. package/dist/esm/index.native22.js +4 -57
  136. package/dist/esm/index.native220.js +83 -0
  137. package/dist/esm/index.native221.js +4 -0
  138. package/dist/esm/index.native222.js +4 -0
  139. package/dist/esm/index.native223.js +4 -0
  140. package/dist/esm/index.native224.js +6 -0
  141. package/dist/esm/index.native225.js +17 -0
  142. package/dist/esm/index.native226.js +7 -0
  143. package/dist/esm/index.native227.js +81 -0
  144. package/dist/esm/index.native23.js +7 -29
  145. package/dist/esm/index.native24.js +7 -27
  146. package/dist/esm/index.native25.js +26 -28
  147. package/dist/esm/index.native26.js +30 -28
  148. package/dist/esm/index.native27.js +26 -113
  149. package/dist/esm/index.native28.js +26 -19
  150. package/dist/esm/index.native29.js +26 -26
  151. package/dist/esm/index.native3.js +1 -1
  152. package/dist/esm/index.native30.js +25 -61
  153. package/dist/esm/index.native31.js +34 -17
  154. package/dist/esm/index.native32.js +27 -11
  155. package/dist/esm/index.native33.js +36 -17
  156. package/dist/esm/index.native34.js +25 -7
  157. package/dist/esm/index.native35.js +40 -47
  158. package/dist/esm/index.native36.js +46 -12
  159. package/dist/esm/index.native37.js +37 -48
  160. package/dist/esm/index.native38.js +42 -23
  161. package/dist/esm/index.native39.js +23 -277
  162. package/dist/esm/index.native4.js +2 -2
  163. package/dist/esm/index.native40.js +6 -18
  164. package/dist/esm/index.native41.js +41 -119
  165. package/dist/esm/index.native42.js +16 -70
  166. package/dist/esm/index.native43.js +20 -6
  167. package/dist/esm/index.native44.js +18 -45
  168. package/dist/esm/index.native45.js +20 -148
  169. package/dist/esm/index.native46.js +21 -28
  170. package/dist/esm/index.native47.js +29 -29
  171. package/dist/esm/index.native48.js +59 -3
  172. package/dist/esm/index.native49.js +33 -8
  173. package/dist/esm/index.native5.js +1 -1
  174. package/dist/esm/index.native50.js +28 -65
  175. package/dist/esm/index.native51.js +30 -88
  176. package/dist/esm/index.native52.js +29 -23
  177. package/dist/esm/index.native53.js +116 -17
  178. package/dist/esm/index.native54.js +20 -137
  179. package/dist/esm/index.native55.js +31 -61
  180. package/dist/esm/index.native56.js +63 -27
  181. package/dist/esm/index.native57.js +25 -42
  182. package/dist/esm/index.native58.js +16 -152
  183. package/dist/esm/index.native59.js +22 -42
  184. package/dist/esm/index.native60.js +8 -33
  185. package/dist/esm/index.native61.js +48 -9
  186. package/dist/esm/index.native62.js +13 -40
  187. package/dist/esm/index.native63.js +48 -48
  188. package/dist/esm/index.native64.js +38 -72
  189. package/dist/esm/index.native65.js +274 -23
  190. package/dist/esm/index.native66.js +17 -158
  191. package/dist/esm/index.native67.js +130 -46
  192. package/dist/esm/index.native68.js +71 -19
  193. package/dist/esm/index.native69.js +6 -72
  194. package/dist/esm/index.native70.js +54 -950
  195. package/dist/esm/index.native71.js +156 -2
  196. package/dist/esm/index.native72.js +28 -50
  197. package/dist/esm/index.native73.js +31 -27
  198. package/dist/esm/index.native74.js +17 -81
  199. package/dist/esm/index.native75.js +42 -15
  200. package/dist/esm/index.native76.js +41 -22
  201. package/dist/esm/index.native77.js +24 -51
  202. package/dist/esm/index.native78.js +7 -375
  203. package/dist/esm/index.native79.js +29 -29
  204. package/dist/esm/index.native80.js +40 -28
  205. package/dist/esm/index.native81.js +42 -2
  206. package/dist/esm/index.native82.js +3 -2
  207. package/dist/esm/index.native83.js +48 -17
  208. package/dist/esm/index.native84.js +78 -43
  209. package/dist/esm/index.native85.js +25 -13
  210. package/dist/esm/index.native86.js +158 -54
  211. package/dist/esm/index.native87.js +47 -6
  212. package/dist/esm/index.native88.js +19 -22
  213. package/dist/esm/index.native89.js +72 -11
  214. package/dist/esm/index.native9.js +1 -1
  215. package/dist/esm/index.native90.js +8 -3
  216. package/dist/esm/index.native91.js +94 -3
  217. package/dist/esm/index.native92.js +134 -32
  218. package/dist/esm/index.native93.js +65 -10
  219. package/dist/esm/index.native94.js +27 -5
  220. package/dist/esm/index.native95.js +42 -29
  221. package/dist/esm/index.native96.js +64 -6
  222. package/dist/esm/index.native97.js +45 -41
  223. package/dist/esm/index.native98.js +20 -55
  224. package/dist/esm/index.native99.js +151 -126
  225. package/dist/esm/index.web.js +166 -140
  226. package/dist/esm/index.web10.js +12 -36
  227. package/dist/esm/index.web100.js +20 -127
  228. package/dist/esm/index.web101.js +149 -20
  229. package/dist/esm/index.web102.js +14 -10
  230. package/dist/esm/index.web103.js +20 -102
  231. package/dist/esm/index.web104.js +50 -6
  232. package/dist/esm/index.web105.js +377 -3
  233. package/dist/esm/index.web106.js +28 -14
  234. package/dist/esm/index.web107.js +28 -34
  235. package/dist/esm/index.web108.js +2 -81
  236. package/dist/esm/index.web109.js +66 -2
  237. package/dist/esm/index.web11.js +11 -40
  238. package/dist/esm/index.web110.js +365 -2
  239. package/dist/esm/index.web111.js +949 -11
  240. package/dist/esm/index.web112.js +2 -38
  241. package/dist/esm/index.web113.js +48 -5
  242. package/dist/esm/index.web114.js +27 -34
  243. package/dist/esm/index.web115.js +12 -8
  244. package/dist/esm/index.web116.js +11 -10
  245. package/dist/esm/index.web117.js +54 -11
  246. package/dist/esm/index.web118.js +10 -13
  247. package/dist/esm/index.web119.js +2 -19
  248. package/dist/esm/index.web12.js +21 -19
  249. package/dist/esm/index.web120.js +45 -6
  250. package/dist/esm/index.web121.js +13 -4
  251. package/dist/esm/index.web122.js +4 -10
  252. package/dist/esm/index.web123.js +7 -2
  253. package/dist/esm/index.web124.js +44 -62
  254. package/dist/esm/index.web125.js +14 -364
  255. package/dist/esm/index.web126.js +27 -53
  256. package/dist/esm/index.web127.js +7 -10
  257. package/dist/esm/index.web128.js +4 -2
  258. package/dist/esm/index.web129.js +28 -44
  259. package/dist/esm/index.web13.js +13 -5
  260. package/dist/esm/index.web130.js +8 -13
  261. package/dist/esm/index.web131.js +8 -2
  262. package/dist/esm/index.web132.js +80 -4
  263. package/dist/esm/index.web133.js +21 -11
  264. package/dist/esm/index.web134.js +3 -7
  265. package/dist/esm/index.web135.js +15 -3
  266. package/dist/esm/index.web136.js +4 -19
  267. package/dist/esm/index.web137.js +14 -8
  268. package/dist/esm/index.web138.js +19 -7
  269. package/dist/esm/index.web139.js +56 -66
  270. package/dist/esm/index.web14.js +11 -44
  271. package/dist/esm/index.web140.js +17 -18
  272. package/dist/esm/index.web141.js +23 -3
  273. package/dist/esm/index.web142.js +8 -4
  274. package/dist/esm/index.web143.js +42 -4
  275. package/dist/esm/index.web144.js +7 -4
  276. package/dist/esm/index.web145.js +11 -10
  277. package/dist/esm/index.web146.js +2 -53
  278. package/dist/esm/index.web147.js +2 -18
  279. package/dist/esm/index.web148.js +16 -22
  280. package/dist/esm/index.web149.js +45 -8
  281. package/dist/esm/index.web15.js +10 -16
  282. package/dist/esm/index.web150.js +13 -33
  283. package/dist/esm/index.web151.js +55 -7
  284. package/dist/esm/index.web152.js +6 -20
  285. package/dist/esm/index.web153.js +18 -17
  286. package/dist/esm/index.web154.js +4 -5
  287. package/dist/esm/index.web155.js +3 -47
  288. package/dist/esm/index.web156.js +32 -17
  289. package/dist/esm/index.web157.js +11 -78
  290. package/dist/esm/index.web158.js +4 -103
  291. package/dist/esm/index.web159.js +27 -31
  292. package/dist/esm/index.web16.js +52 -15
  293. package/dist/esm/index.web160.js +6 -6
  294. package/dist/esm/index.web161.js +42 -4
  295. package/dist/esm/index.web162.js +53 -76
  296. package/dist/esm/index.web163.js +126 -19
  297. package/dist/esm/index.web164.js +24 -10
  298. package/dist/esm/index.web165.js +12 -19
  299. package/dist/esm/index.web166.js +99 -88
  300. package/dist/esm/index.web167.js +7 -21
  301. package/dist/esm/index.web168.js +3 -118
  302. package/dist/esm/index.web169.js +14 -3
  303. package/dist/esm/index.web17.js +6 -16
  304. package/dist/esm/index.web170.js +29 -41
  305. package/dist/esm/index.web171.js +78 -38
  306. package/dist/esm/index.web172.js +2 -2
  307. package/dist/esm/index.web173.js +2 -70
  308. package/dist/esm/index.web174.js +37 -34
  309. package/dist/esm/index.web175.js +5 -19
  310. package/dist/esm/index.web176.js +34 -7
  311. package/dist/esm/index.web177.js +9 -2
  312. package/dist/esm/index.web178.js +10 -377
  313. package/dist/esm/index.web179.js +11 -835
  314. package/dist/esm/index.web18.js +4 -16
  315. package/dist/esm/index.web180.js +14 -5
  316. package/dist/esm/index.web181.js +19 -2
  317. package/dist/esm/index.web182.js +5 -108
  318. package/dist/esm/index.web183.js +5 -2
  319. package/dist/esm/index.web184.js +10 -17
  320. package/dist/esm/index.web185.js +103 -27
  321. package/dist/esm/index.web186.js +78 -7
  322. package/dist/esm/index.web187.js +80 -11
  323. package/dist/esm/index.web188.js +19 -11
  324. package/dist/esm/index.web189.js +10 -10
  325. package/dist/esm/index.web19.js +12 -16
  326. package/dist/esm/index.web190.js +20 -17
  327. package/dist/esm/index.web191.js +89 -76
  328. package/dist/esm/index.web192.js +21 -15
  329. package/dist/esm/index.web193.js +118 -2
  330. package/dist/esm/index.web194.js +2 -2
  331. package/dist/esm/index.web195.js +109 -2
  332. package/dist/esm/index.web196.js +2 -79
  333. package/dist/esm/index.web197.js +10 -0
  334. package/dist/esm/index.web198.js +4 -0
  335. package/dist/esm/index.web199.js +380 -0
  336. package/dist/esm/index.web2.js +2 -2
  337. package/dist/esm/index.web20.js +4 -26
  338. package/dist/esm/index.web200.js +838 -0
  339. package/dist/esm/index.web201.js +41 -0
  340. package/dist/esm/index.web202.js +4 -0
  341. package/dist/esm/index.web203.js +72 -0
  342. package/dist/esm/index.web204.js +37 -0
  343. package/dist/esm/index.web205.js +23 -0
  344. package/dist/esm/index.web206.js +49 -0
  345. package/dist/esm/index.web207.js +4 -0
  346. package/dist/esm/index.web208.js +23 -0
  347. package/dist/esm/index.web209.js +22 -0
  348. package/dist/esm/index.web21.js +4 -57
  349. package/dist/esm/index.web210.js +35 -0
  350. package/dist/esm/index.web211.js +9 -0
  351. package/dist/esm/index.web212.js +20 -0
  352. package/dist/esm/index.web213.js +30 -0
  353. package/dist/esm/index.web214.js +10 -0
  354. package/dist/esm/index.web215.js +13 -0
  355. package/dist/esm/index.web216.js +15 -0
  356. package/dist/esm/index.web217.js +12 -0
  357. package/dist/esm/index.web218.js +19 -0
  358. package/dist/esm/index.web219.js +83 -0
  359. package/dist/esm/index.web22.js +7 -29
  360. package/dist/esm/index.web220.js +4 -0
  361. package/dist/esm/index.web221.js +4 -0
  362. package/dist/esm/index.web222.js +4 -0
  363. package/dist/esm/index.web223.js +6 -0
  364. package/dist/esm/index.web224.js +17 -0
  365. package/dist/esm/index.web225.js +7 -0
  366. package/dist/esm/index.web226.js +81 -0
  367. package/dist/esm/index.web23.js +7 -27
  368. package/dist/esm/index.web24.js +27 -28
  369. package/dist/esm/index.web25.js +31 -28
  370. package/dist/esm/index.web26.js +27 -113
  371. package/dist/esm/index.web27.js +27 -19
  372. package/dist/esm/index.web28.js +27 -26
  373. package/dist/esm/index.web29.js +26 -61
  374. package/dist/esm/index.web3.js +1 -1
  375. package/dist/esm/index.web30.js +35 -17
  376. package/dist/esm/index.web31.js +28 -11
  377. package/dist/esm/index.web32.js +37 -17
  378. package/dist/esm/index.web33.js +25 -7
  379. package/dist/esm/index.web34.js +41 -47
  380. package/dist/esm/index.web35.js +47 -12
  381. package/dist/esm/index.web36.js +37 -48
  382. package/dist/esm/index.web37.js +42 -23
  383. package/dist/esm/index.web38.js +23 -277
  384. package/dist/esm/index.web39.js +6 -18
  385. package/dist/esm/index.web40.js +41 -119
  386. package/dist/esm/index.web41.js +16 -70
  387. package/dist/esm/index.web42.js +20 -6
  388. package/dist/esm/index.web43.js +18 -45
  389. package/dist/esm/index.web44.js +20 -148
  390. package/dist/esm/index.web45.js +20 -67
  391. package/dist/esm/index.web46.js +32 -35
  392. package/dist/esm/index.web47.js +56 -79
  393. package/dist/esm/index.web48.js +34 -28
  394. package/dist/esm/index.web49.js +28 -32
  395. package/dist/esm/index.web5.js +1 -1
  396. package/dist/esm/index.web50.js +30 -3
  397. package/dist/esm/index.web51.js +30 -9
  398. package/dist/esm/index.web52.js +113 -61
  399. package/dist/esm/index.web53.js +20 -88
  400. package/dist/esm/index.web54.js +30 -23
  401. package/dist/esm/index.web55.js +64 -17
  402. package/dist/esm/index.web56.js +25 -137
  403. package/dist/esm/index.web57.js +16 -60
  404. package/dist/esm/index.web58.js +22 -27
  405. package/dist/esm/index.web59.js +8 -42
  406. package/dist/esm/index.web60.js +47 -152
  407. package/dist/esm/index.web61.js +12 -42
  408. package/dist/esm/index.web62.js +47 -31
  409. package/dist/esm/index.web63.js +38 -8
  410. package/dist/esm/index.web64.js +266 -30
  411. package/dist/esm/index.web65.js +18 -48
  412. package/dist/esm/index.web66.js +128 -68
  413. package/dist/esm/index.web67.js +69 -24
  414. package/dist/esm/index.web68.js +6 -159
  415. package/dist/esm/index.web69.js +55 -47
  416. package/dist/esm/index.web70.js +154 -22
  417. package/dist/esm/index.web71.js +67 -72
  418. package/dist/esm/index.web72.js +35 -951
  419. package/dist/esm/index.web73.js +90 -2
  420. package/dist/esm/index.web74.js +28 -50
  421. package/dist/esm/index.web75.js +31 -27
  422. package/dist/esm/index.web76.js +17 -16
  423. package/dist/esm/index.web77.js +42 -21
  424. package/dist/esm/index.web78.js +42 -50
  425. package/dist/esm/index.web79.js +22 -375
  426. package/dist/esm/index.web8.js +1 -1
  427. package/dist/esm/index.web80.js +8 -28
  428. package/dist/esm/index.web81.js +29 -29
  429. package/dist/esm/index.web82.js +41 -2
  430. package/dist/esm/index.web83.js +42 -2
  431. package/dist/esm/index.web84.js +3 -18
  432. package/dist/esm/index.web85.js +48 -45
  433. package/dist/esm/index.web86.js +81 -13
  434. package/dist/esm/index.web87.js +24 -54
  435. package/dist/esm/index.web88.js +159 -6
  436. package/dist/esm/index.web89.js +44 -18
  437. package/dist/esm/index.web9.js +40 -460
  438. package/dist/esm/index.web90.js +25 -12
  439. package/dist/esm/index.web91.js +72 -3
  440. package/dist/esm/index.web92.js +8 -3
  441. package/dist/esm/index.web93.js +94 -33
  442. package/dist/esm/index.web94.js +134 -10
  443. package/dist/esm/index.web95.js +68 -4
  444. package/dist/esm/index.web96.js +27 -29
  445. package/dist/esm/index.web97.js +42 -7
  446. package/dist/esm/index.web98.js +63 -41
  447. package/dist/esm/index.web99.js +46 -55
  448. package/dist/native/index.native.js +147 -121
  449. package/dist/native/index.native10.js +40 -459
  450. package/dist/native/index.native100.js +87 -21
  451. package/dist/native/index.native101.js +14 -10
  452. package/dist/native/index.native102.js +20 -102
  453. package/dist/native/index.native103.js +50 -6
  454. package/dist/native/index.native104.js +377 -3
  455. package/dist/native/index.native105.js +28 -14
  456. package/dist/native/index.native106.js +28 -34
  457. package/dist/native/index.native107.js +2 -81
  458. package/dist/native/index.native108.js +66 -2
  459. package/dist/native/index.native109.js +365 -2
  460. package/dist/native/index.native11.js +12 -36
  461. package/dist/native/index.native110.js +949 -11
  462. package/dist/native/index.native111.js +2 -38
  463. package/dist/native/index.native112.js +48 -5
  464. package/dist/native/index.native113.js +27 -34
  465. package/dist/native/index.native114.js +12 -8
  466. package/dist/native/index.native115.js +11 -10
  467. package/dist/native/index.native116.js +54 -11
  468. package/dist/native/index.native117.js +10 -13
  469. package/dist/native/index.native118.js +2 -19
  470. package/dist/native/index.native119.js +45 -6
  471. package/dist/native/index.native12.js +11 -40
  472. package/dist/native/index.native120.js +13 -4
  473. package/dist/native/index.native121.js +4 -10
  474. package/dist/native/index.native122.js +7 -2
  475. package/dist/native/index.native123.js +44 -62
  476. package/dist/native/index.native124.js +35 -365
  477. package/dist/native/index.native125.js +66 -53
  478. package/dist/native/index.native126.js +13 -10
  479. package/dist/native/index.native127.js +28 -2
  480. package/dist/native/index.native128.js +8 -45
  481. package/dist/native/index.native129.js +3 -13
  482. package/dist/native/index.native13.js +21 -19
  483. package/dist/native/index.native130.js +28 -2
  484. package/dist/native/index.native131.js +9 -35
  485. package/dist/native/index.native132.js +7 -67
  486. package/dist/native/index.native133.js +79 -4
  487. package/dist/native/index.native134.js +20 -11
  488. package/dist/native/index.native135.js +3 -7
  489. package/dist/native/index.native136.js +14 -3
  490. package/dist/native/index.native137.js +4 -19
  491. package/dist/native/index.native138.js +13 -8
  492. package/dist/native/index.native139.js +19 -7
  493. package/dist/native/index.native14.js +13 -5
  494. package/dist/native/index.native140.js +55 -66
  495. package/dist/native/index.native141.js +17 -18
  496. package/dist/native/index.native142.js +23 -3
  497. package/dist/native/index.native143.js +8 -4
  498. package/dist/native/index.native144.js +41 -4
  499. package/dist/native/index.native145.js +7 -4
  500. package/dist/native/index.native146.js +11 -10
  501. package/dist/native/index.native147.js +2 -53
  502. package/dist/native/index.native148.js +2 -18
  503. package/dist/native/index.native149.js +16 -22
  504. package/dist/native/index.native15.js +11 -44
  505. package/dist/native/index.native150.js +45 -8
  506. package/dist/native/index.native151.js +13 -33
  507. package/dist/native/index.native152.js +55 -7
  508. package/dist/native/index.native153.js +6 -20
  509. package/dist/native/index.native154.js +18 -17
  510. package/dist/native/index.native155.js +4 -5
  511. package/dist/native/index.native156.js +3 -47
  512. package/dist/native/index.native157.js +33 -102
  513. package/dist/native/index.native158.js +10 -17
  514. package/dist/native/index.native159.js +4 -79
  515. package/dist/native/index.native16.js +10 -16
  516. package/dist/native/index.native160.js +27 -31
  517. package/dist/native/index.native161.js +6 -6
  518. package/dist/native/index.native162.js +42 -4
  519. package/dist/native/index.native163.js +53 -76
  520. package/dist/native/index.native164.js +126 -19
  521. package/dist/native/index.native165.js +24 -10
  522. package/dist/native/index.native166.js +12 -19
  523. package/dist/native/index.native167.js +99 -88
  524. package/dist/native/index.native168.js +7 -21
  525. package/dist/native/index.native169.js +3 -118
  526. package/dist/native/index.native17.js +52 -15
  527. package/dist/native/index.native170.js +14 -3
  528. package/dist/native/index.native171.js +29 -41
  529. package/dist/native/index.native172.js +78 -38
  530. package/dist/native/index.native173.js +2 -2
  531. package/dist/native/index.native174.js +2 -70
  532. package/dist/native/index.native175.js +37 -34
  533. package/dist/native/index.native176.js +5 -19
  534. package/dist/native/index.native177.js +34 -7
  535. package/dist/native/index.native178.js +9 -2
  536. package/dist/native/index.native179.js +10 -377
  537. package/dist/native/index.native18.js +6 -16
  538. package/dist/native/index.native180.js +11 -835
  539. package/dist/native/index.native181.js +14 -5
  540. package/dist/native/index.native182.js +19 -2
  541. package/dist/native/index.native183.js +5 -108
  542. package/dist/native/index.native184.js +5 -2
  543. package/dist/native/index.native185.js +10 -17
  544. package/dist/native/index.native186.js +103 -27
  545. package/dist/native/index.native187.js +78 -7
  546. package/dist/native/index.native188.js +80 -11
  547. package/dist/native/index.native189.js +19 -11
  548. package/dist/native/index.native19.js +4 -16
  549. package/dist/native/index.native190.js +10 -10
  550. package/dist/native/index.native191.js +20 -17
  551. package/dist/native/index.native192.js +89 -76
  552. package/dist/native/index.native193.js +21 -15
  553. package/dist/native/index.native194.js +118 -2
  554. package/dist/native/index.native195.js +2 -2
  555. package/dist/native/index.native196.js +109 -2
  556. package/dist/native/index.native197.js +2 -79
  557. package/dist/native/index.native198.js +41 -0
  558. package/dist/native/index.native199.js +4 -0
  559. package/dist/native/index.native2.js +2 -2
  560. package/dist/native/index.native20.js +12 -16
  561. package/dist/native/index.native200.js +72 -0
  562. package/dist/native/index.native201.js +37 -0
  563. package/dist/native/index.native202.js +23 -0
  564. package/dist/native/index.native203.js +10 -0
  565. package/dist/native/index.native204.js +4 -0
  566. package/dist/native/index.native205.js +380 -0
  567. package/dist/native/index.native206.js +838 -0
  568. package/dist/native/index.native207.js +4 -0
  569. package/dist/native/index.native208.js +23 -0
  570. package/dist/native/index.native209.js +49 -0
  571. package/dist/native/index.native21.js +4 -26
  572. package/dist/native/index.native210.js +22 -0
  573. package/dist/native/index.native211.js +35 -0
  574. package/dist/native/index.native212.js +9 -0
  575. package/dist/native/index.native213.js +20 -0
  576. package/dist/native/index.native214.js +30 -0
  577. package/dist/native/index.native215.js +10 -0
  578. package/dist/native/index.native216.js +13 -0
  579. package/dist/native/index.native217.js +15 -0
  580. package/dist/native/index.native218.js +12 -0
  581. package/dist/native/index.native219.js +19 -0
  582. package/dist/native/index.native22.js +4 -57
  583. package/dist/native/index.native220.js +83 -0
  584. package/dist/native/index.native221.js +4 -0
  585. package/dist/native/index.native222.js +4 -0
  586. package/dist/native/index.native223.js +4 -0
  587. package/dist/native/index.native224.js +6 -0
  588. package/dist/native/index.native225.js +17 -0
  589. package/dist/native/index.native226.js +7 -0
  590. package/dist/native/index.native227.js +81 -0
  591. package/dist/native/index.native23.js +7 -29
  592. package/dist/native/index.native24.js +7 -27
  593. package/dist/native/index.native25.js +26 -28
  594. package/dist/native/index.native26.js +30 -28
  595. package/dist/native/index.native27.js +26 -113
  596. package/dist/native/index.native28.js +26 -19
  597. package/dist/native/index.native29.js +26 -26
  598. package/dist/native/index.native3.js +1 -1
  599. package/dist/native/index.native30.js +25 -61
  600. package/dist/native/index.native31.js +34 -17
  601. package/dist/native/index.native32.js +27 -11
  602. package/dist/native/index.native33.js +36 -17
  603. package/dist/native/index.native34.js +25 -7
  604. package/dist/native/index.native35.js +40 -47
  605. package/dist/native/index.native36.js +46 -12
  606. package/dist/native/index.native37.js +37 -48
  607. package/dist/native/index.native38.js +42 -23
  608. package/dist/native/index.native39.js +23 -277
  609. package/dist/native/index.native4.js +2 -2
  610. package/dist/native/index.native40.js +6 -18
  611. package/dist/native/index.native41.js +41 -119
  612. package/dist/native/index.native42.js +16 -70
  613. package/dist/native/index.native43.js +20 -6
  614. package/dist/native/index.native44.js +18 -45
  615. package/dist/native/index.native45.js +20 -148
  616. package/dist/native/index.native46.js +21 -28
  617. package/dist/native/index.native47.js +29 -29
  618. package/dist/native/index.native48.js +59 -3
  619. package/dist/native/index.native49.js +33 -8
  620. package/dist/native/index.native5.js +1 -1
  621. package/dist/native/index.native50.js +28 -65
  622. package/dist/native/index.native51.js +30 -88
  623. package/dist/native/index.native52.js +29 -23
  624. package/dist/native/index.native53.js +116 -17
  625. package/dist/native/index.native54.js +20 -137
  626. package/dist/native/index.native55.js +31 -61
  627. package/dist/native/index.native56.js +63 -27
  628. package/dist/native/index.native57.js +25 -42
  629. package/dist/native/index.native58.js +16 -152
  630. package/dist/native/index.native59.js +22 -42
  631. package/dist/native/index.native60.js +8 -33
  632. package/dist/native/index.native61.js +48 -9
  633. package/dist/native/index.native62.js +13 -40
  634. package/dist/native/index.native63.js +48 -48
  635. package/dist/native/index.native64.js +38 -72
  636. package/dist/native/index.native65.js +274 -23
  637. package/dist/native/index.native66.js +17 -158
  638. package/dist/native/index.native67.js +130 -46
  639. package/dist/native/index.native68.js +71 -19
  640. package/dist/native/index.native69.js +6 -72
  641. package/dist/native/index.native70.js +54 -950
  642. package/dist/native/index.native71.js +156 -2
  643. package/dist/native/index.native72.js +28 -50
  644. package/dist/native/index.native73.js +31 -27
  645. package/dist/native/index.native74.js +17 -81
  646. package/dist/native/index.native75.js +42 -15
  647. package/dist/native/index.native76.js +41 -22
  648. package/dist/native/index.native77.js +24 -51
  649. package/dist/native/index.native78.js +7 -375
  650. package/dist/native/index.native79.js +29 -29
  651. package/dist/native/index.native80.js +40 -28
  652. package/dist/native/index.native81.js +42 -2
  653. package/dist/native/index.native82.js +3 -2
  654. package/dist/native/index.native83.js +48 -17
  655. package/dist/native/index.native84.js +78 -43
  656. package/dist/native/index.native85.js +25 -13
  657. package/dist/native/index.native86.js +158 -54
  658. package/dist/native/index.native87.js +47 -6
  659. package/dist/native/index.native88.js +19 -22
  660. package/dist/native/index.native89.js +72 -11
  661. package/dist/native/index.native9.js +1 -1
  662. package/dist/native/index.native90.js +8 -3
  663. package/dist/native/index.native91.js +94 -3
  664. package/dist/native/index.native92.js +134 -32
  665. package/dist/native/index.native93.js +65 -10
  666. package/dist/native/index.native94.js +27 -5
  667. package/dist/native/index.native95.js +42 -29
  668. package/dist/native/index.native96.js +64 -6
  669. package/dist/native/index.native97.js +45 -41
  670. package/dist/native/index.native98.js +20 -55
  671. package/dist/native/index.native99.js +151 -126
  672. package/dist/native-types/actions/authenticateWithJWT.d.ts +4 -0
  673. package/dist/native-types/actions/createEvmEoaAccount.d.ts +4 -1
  674. package/dist/native-types/actions/createEvmSmartAccount.d.ts +1 -0
  675. package/dist/native-types/actions/createSolanaAccount.d.ts +4 -1
  676. package/dist/native-types/actions/createSpendPermission.d.ts +1 -0
  677. package/dist/native-types/actions/exportEvmAccount.d.ts +2 -0
  678. package/dist/native-types/actions/exportSolanaAccount.d.ts +2 -0
  679. package/dist/native-types/actions/getAccessToken.d.ts +3 -0
  680. package/dist/native-types/actions/getAccessTokenExpiration.d.ts +1 -0
  681. package/dist/native-types/actions/getCurrentUser.d.ts +2 -0
  682. package/dist/native-types/actions/getUserOperation.d.ts +2 -0
  683. package/dist/native-types/actions/initialize.d.ts +2 -0
  684. package/dist/native-types/actions/initiateMfaEnrollment.d.ts +2 -0
  685. package/dist/native-types/actions/initiateMfaVerification.d.ts +1 -0
  686. package/dist/native-types/actions/isSignedIn.d.ts +1 -0
  687. package/dist/native-types/actions/linkApple.d.ts +3 -1
  688. package/dist/native-types/actions/linkEmail.d.ts +3 -1
  689. package/dist/native-types/actions/linkOAuth.d.ts +3 -1
  690. package/dist/native-types/actions/linkSms.d.ts +3 -1
  691. package/dist/native-types/actions/onAuthStateChange.d.ts +2 -0
  692. package/dist/native-types/actions/onOAuthStateChange.d.ts +2 -0
  693. package/dist/native-types/actions/recordMfaEnrollmentPrompted.d.ts +3 -1
  694. package/dist/native-types/actions/revokeSpendPermission.d.ts +1 -0
  695. package/dist/native-types/actions/sendEvmEoaUsdc.d.ts +1 -0
  696. package/dist/native-types/actions/sendEvmSmartAccountUsdc.d.ts +1 -0
  697. package/dist/native-types/actions/sendEvmTransaction.d.ts +2 -0
  698. package/dist/native-types/actions/sendSolanaTransaction.d.ts +2 -0
  699. package/dist/native-types/actions/sendSolanaUsdc.d.ts +1 -0
  700. package/dist/native-types/actions/sendUsdc.d.ts +4 -0
  701. package/dist/native-types/actions/sendUserOperation.d.ts +2 -0
  702. package/dist/native-types/actions/signEvmHash.d.ts +2 -0
  703. package/dist/native-types/actions/signEvmMessage.d.ts +2 -0
  704. package/dist/native-types/actions/signEvmTransaction.d.ts +2 -0
  705. package/dist/native-types/actions/signEvmTypedData.d.ts +2 -0
  706. package/dist/native-types/actions/signInWithEmail.d.ts +2 -0
  707. package/dist/native-types/actions/signInWithOAuth.d.ts +4 -0
  708. package/dist/native-types/actions/signInWithSms.d.ts +2 -0
  709. package/dist/native-types/actions/signOut.d.ts +1 -0
  710. package/dist/native-types/actions/signSolanaMessage.d.ts +2 -0
  711. package/dist/native-types/actions/signSolanaTransaction.d.ts +2 -0
  712. package/dist/native-types/actions/submitMfaEnrollment.d.ts +1 -0
  713. package/dist/native-types/actions/submitMfaVerification.d.ts +1 -0
  714. package/dist/native-types/actions/verifyEmailOTP.d.ts +2 -0
  715. package/dist/native-types/actions/verifyOAuth.d.ts +2 -0
  716. package/dist/native-types/actions/verifySmsOTP.d.ts +2 -0
  717. package/dist/native-types/core.d.ts +27 -31
  718. package/dist/native-types/index.d.ts +2 -2
  719. package/dist/native-types/shared/createEvmAccountIfNeeded.d.ts +2 -0
  720. package/dist/native-types/shared/createSolanaAccountIfNeeded.d.ts +2 -0
  721. package/dist/native-types/shared/initiateSignIn.d.ts +21 -0
  722. package/dist/native-types/shared/verifyOTP.d.ts +3 -0
  723. package/dist/native-types/types.d.ts +16 -0
  724. package/dist/native-types/version.d.ts +1 -1
  725. package/dist/types/actions/authenticateWithJWT.d.ts +4 -0
  726. package/dist/types/actions/createEvmEoaAccount.d.ts +4 -1
  727. package/dist/types/actions/createEvmSmartAccount.d.ts +1 -0
  728. package/dist/types/actions/createSolanaAccount.d.ts +4 -1
  729. package/dist/types/actions/createSpendPermission.d.ts +1 -0
  730. package/dist/types/actions/exportEvmAccount.d.ts +2 -0
  731. package/dist/types/actions/exportSolanaAccount.d.ts +2 -0
  732. package/dist/types/actions/getAccessToken.d.ts +3 -0
  733. package/dist/types/actions/getAccessTokenExpiration.d.ts +1 -0
  734. package/dist/types/actions/getCurrentUser.d.ts +2 -0
  735. package/dist/types/actions/getUserOperation.d.ts +2 -0
  736. package/dist/types/actions/initialize.d.ts +2 -0
  737. package/dist/types/actions/initiateMfaEnrollment.d.ts +2 -0
  738. package/dist/types/actions/initiateMfaVerification.d.ts +1 -0
  739. package/dist/types/actions/isSignedIn.d.ts +1 -0
  740. package/dist/types/actions/linkApple.d.ts +3 -1
  741. package/dist/types/actions/linkEmail.d.ts +3 -1
  742. package/dist/types/actions/linkOAuth.d.ts +3 -1
  743. package/dist/types/actions/linkSms.d.ts +3 -1
  744. package/dist/types/actions/onAuthStateChange.d.ts +2 -0
  745. package/dist/types/actions/onOAuthStateChange.d.ts +2 -0
  746. package/dist/types/actions/recordMfaEnrollmentPrompted.d.ts +3 -1
  747. package/dist/types/actions/revokeSpendPermission.d.ts +1 -0
  748. package/dist/types/actions/sendEvmEoaUsdc.d.ts +1 -0
  749. package/dist/types/actions/sendEvmSmartAccountUsdc.d.ts +1 -0
  750. package/dist/types/actions/sendEvmTransaction.d.ts +2 -0
  751. package/dist/types/actions/sendSolanaTransaction.d.ts +2 -0
  752. package/dist/types/actions/sendSolanaUsdc.d.ts +1 -0
  753. package/dist/types/actions/sendUsdc.d.ts +4 -0
  754. package/dist/types/actions/sendUserOperation.d.ts +2 -0
  755. package/dist/types/actions/signEvmHash.d.ts +2 -0
  756. package/dist/types/actions/signEvmMessage.d.ts +2 -0
  757. package/dist/types/actions/signEvmTransaction.d.ts +2 -0
  758. package/dist/types/actions/signEvmTypedData.d.ts +2 -0
  759. package/dist/types/actions/signInWithEmail.d.ts +2 -0
  760. package/dist/types/actions/signInWithOAuth.d.ts +4 -0
  761. package/dist/types/actions/signInWithSms.d.ts +2 -0
  762. package/dist/types/actions/signOut.d.ts +1 -0
  763. package/dist/types/actions/signSolanaMessage.d.ts +2 -0
  764. package/dist/types/actions/signSolanaTransaction.d.ts +2 -0
  765. package/dist/types/actions/submitMfaEnrollment.d.ts +1 -0
  766. package/dist/types/actions/submitMfaVerification.d.ts +1 -0
  767. package/dist/types/actions/verifyEmailOTP.d.ts +2 -0
  768. package/dist/types/actions/verifyOAuth.d.ts +2 -0
  769. package/dist/types/actions/verifySmsOTP.d.ts +2 -0
  770. package/dist/types/core.d.ts +27 -31
  771. package/dist/types/index.d.ts +2 -2
  772. package/dist/types/shared/createEvmAccountIfNeeded.d.ts +2 -0
  773. package/dist/types/shared/createSolanaAccountIfNeeded.d.ts +2 -0
  774. package/dist/types/shared/initiateSignIn.d.ts +21 -0
  775. package/dist/types/shared/verifyOTP.d.ts +3 -0
  776. package/dist/types/types.d.ts +16 -0
  777. package/dist/types/version.d.ts +1 -1
  778. package/dist/web/index.web.js +166 -140
  779. package/dist/web/index.web10.js +12 -36
  780. package/dist/web/index.web100.js +20 -127
  781. package/dist/web/index.web101.js +149 -20
  782. package/dist/web/index.web102.js +14 -10
  783. package/dist/web/index.web103.js +20 -102
  784. package/dist/web/index.web104.js +50 -6
  785. package/dist/web/index.web105.js +377 -3
  786. package/dist/web/index.web106.js +28 -14
  787. package/dist/web/index.web107.js +28 -34
  788. package/dist/web/index.web108.js +2 -81
  789. package/dist/web/index.web109.js +66 -2
  790. package/dist/web/index.web11.js +11 -40
  791. package/dist/web/index.web110.js +365 -2
  792. package/dist/web/index.web111.js +949 -11
  793. package/dist/web/index.web112.js +2 -38
  794. package/dist/web/index.web113.js +48 -5
  795. package/dist/web/index.web114.js +27 -34
  796. package/dist/web/index.web115.js +12 -8
  797. package/dist/web/index.web116.js +11 -10
  798. package/dist/web/index.web117.js +54 -11
  799. package/dist/web/index.web118.js +10 -13
  800. package/dist/web/index.web119.js +2 -19
  801. package/dist/web/index.web12.js +21 -19
  802. package/dist/web/index.web120.js +45 -6
  803. package/dist/web/index.web121.js +13 -4
  804. package/dist/web/index.web122.js +4 -10
  805. package/dist/web/index.web123.js +7 -2
  806. package/dist/web/index.web124.js +44 -62
  807. package/dist/web/index.web125.js +14 -364
  808. package/dist/web/index.web126.js +27 -53
  809. package/dist/web/index.web127.js +7 -10
  810. package/dist/web/index.web128.js +4 -2
  811. package/dist/web/index.web129.js +28 -44
  812. package/dist/web/index.web13.js +13 -5
  813. package/dist/web/index.web130.js +8 -13
  814. package/dist/web/index.web131.js +8 -2
  815. package/dist/web/index.web132.js +80 -4
  816. package/dist/web/index.web133.js +21 -11
  817. package/dist/web/index.web134.js +3 -7
  818. package/dist/web/index.web135.js +15 -3
  819. package/dist/web/index.web136.js +4 -19
  820. package/dist/web/index.web137.js +14 -8
  821. package/dist/web/index.web138.js +19 -7
  822. package/dist/web/index.web139.js +56 -66
  823. package/dist/web/index.web14.js +11 -44
  824. package/dist/web/index.web140.js +17 -18
  825. package/dist/web/index.web141.js +23 -3
  826. package/dist/web/index.web142.js +8 -4
  827. package/dist/web/index.web143.js +42 -4
  828. package/dist/web/index.web144.js +7 -4
  829. package/dist/web/index.web145.js +11 -10
  830. package/dist/web/index.web146.js +2 -53
  831. package/dist/web/index.web147.js +2 -18
  832. package/dist/web/index.web148.js +16 -22
  833. package/dist/web/index.web149.js +45 -8
  834. package/dist/web/index.web15.js +10 -16
  835. package/dist/web/index.web150.js +13 -33
  836. package/dist/web/index.web151.js +55 -7
  837. package/dist/web/index.web152.js +6 -20
  838. package/dist/web/index.web153.js +18 -17
  839. package/dist/web/index.web154.js +4 -5
  840. package/dist/web/index.web155.js +3 -47
  841. package/dist/web/index.web156.js +32 -17
  842. package/dist/web/index.web157.js +11 -78
  843. package/dist/web/index.web158.js +4 -103
  844. package/dist/web/index.web159.js +27 -31
  845. package/dist/web/index.web16.js +52 -15
  846. package/dist/web/index.web160.js +6 -6
  847. package/dist/web/index.web161.js +42 -4
  848. package/dist/web/index.web162.js +53 -76
  849. package/dist/web/index.web163.js +126 -19
  850. package/dist/web/index.web164.js +24 -10
  851. package/dist/web/index.web165.js +12 -19
  852. package/dist/web/index.web166.js +99 -88
  853. package/dist/web/index.web167.js +7 -21
  854. package/dist/web/index.web168.js +3 -118
  855. package/dist/web/index.web169.js +14 -3
  856. package/dist/web/index.web17.js +6 -16
  857. package/dist/web/index.web170.js +29 -41
  858. package/dist/web/index.web171.js +78 -38
  859. package/dist/web/index.web172.js +2 -2
  860. package/dist/web/index.web173.js +2 -70
  861. package/dist/web/index.web174.js +37 -34
  862. package/dist/web/index.web175.js +5 -19
  863. package/dist/web/index.web176.js +34 -7
  864. package/dist/web/index.web177.js +9 -2
  865. package/dist/web/index.web178.js +10 -377
  866. package/dist/web/index.web179.js +11 -835
  867. package/dist/web/index.web18.js +4 -16
  868. package/dist/web/index.web180.js +14 -5
  869. package/dist/web/index.web181.js +19 -2
  870. package/dist/web/index.web182.js +5 -108
  871. package/dist/web/index.web183.js +5 -2
  872. package/dist/web/index.web184.js +10 -17
  873. package/dist/web/index.web185.js +103 -27
  874. package/dist/web/index.web186.js +78 -7
  875. package/dist/web/index.web187.js +80 -11
  876. package/dist/web/index.web188.js +19 -11
  877. package/dist/web/index.web189.js +10 -10
  878. package/dist/web/index.web19.js +12 -16
  879. package/dist/web/index.web190.js +20 -17
  880. package/dist/web/index.web191.js +89 -76
  881. package/dist/web/index.web192.js +21 -15
  882. package/dist/web/index.web193.js +118 -2
  883. package/dist/web/index.web194.js +2 -2
  884. package/dist/web/index.web195.js +109 -2
  885. package/dist/web/index.web196.js +2 -79
  886. package/dist/web/index.web197.js +10 -0
  887. package/dist/web/index.web198.js +4 -0
  888. package/dist/web/index.web199.js +380 -0
  889. package/dist/web/index.web2.js +2 -2
  890. package/dist/web/index.web20.js +4 -26
  891. package/dist/web/index.web200.js +838 -0
  892. package/dist/web/index.web201.js +41 -0
  893. package/dist/web/index.web202.js +4 -0
  894. package/dist/web/index.web203.js +72 -0
  895. package/dist/web/index.web204.js +37 -0
  896. package/dist/web/index.web205.js +23 -0
  897. package/dist/web/index.web206.js +49 -0
  898. package/dist/web/index.web207.js +4 -0
  899. package/dist/web/index.web208.js +23 -0
  900. package/dist/web/index.web209.js +22 -0
  901. package/dist/web/index.web21.js +4 -57
  902. package/dist/web/index.web210.js +35 -0
  903. package/dist/web/index.web211.js +9 -0
  904. package/dist/web/index.web212.js +20 -0
  905. package/dist/web/index.web213.js +30 -0
  906. package/dist/web/index.web214.js +10 -0
  907. package/dist/web/index.web215.js +13 -0
  908. package/dist/web/index.web216.js +15 -0
  909. package/dist/web/index.web217.js +12 -0
  910. package/dist/web/index.web218.js +19 -0
  911. package/dist/web/index.web219.js +83 -0
  912. package/dist/web/index.web22.js +7 -29
  913. package/dist/web/index.web220.js +4 -0
  914. package/dist/web/index.web221.js +4 -0
  915. package/dist/web/index.web222.js +4 -0
  916. package/dist/web/index.web223.js +6 -0
  917. package/dist/web/index.web224.js +17 -0
  918. package/dist/web/index.web225.js +7 -0
  919. package/dist/web/index.web226.js +81 -0
  920. package/dist/web/index.web23.js +7 -27
  921. package/dist/web/index.web24.js +27 -28
  922. package/dist/web/index.web25.js +31 -28
  923. package/dist/web/index.web26.js +27 -113
  924. package/dist/web/index.web27.js +27 -19
  925. package/dist/web/index.web28.js +27 -26
  926. package/dist/web/index.web29.js +26 -61
  927. package/dist/web/index.web3.js +1 -1
  928. package/dist/web/index.web30.js +35 -17
  929. package/dist/web/index.web31.js +28 -11
  930. package/dist/web/index.web32.js +37 -17
  931. package/dist/web/index.web33.js +25 -7
  932. package/dist/web/index.web34.js +41 -47
  933. package/dist/web/index.web35.js +47 -12
  934. package/dist/web/index.web36.js +37 -48
  935. package/dist/web/index.web37.js +42 -23
  936. package/dist/web/index.web38.js +23 -277
  937. package/dist/web/index.web39.js +6 -18
  938. package/dist/web/index.web40.js +41 -119
  939. package/dist/web/index.web41.js +16 -70
  940. package/dist/web/index.web42.js +20 -6
  941. package/dist/web/index.web43.js +18 -45
  942. package/dist/web/index.web44.js +20 -148
  943. package/dist/web/index.web45.js +20 -67
  944. package/dist/web/index.web46.js +32 -35
  945. package/dist/web/index.web47.js +56 -79
  946. package/dist/web/index.web48.js +34 -28
  947. package/dist/web/index.web49.js +28 -32
  948. package/dist/web/index.web5.js +1 -1
  949. package/dist/web/index.web50.js +30 -3
  950. package/dist/web/index.web51.js +30 -9
  951. package/dist/web/index.web52.js +113 -61
  952. package/dist/web/index.web53.js +20 -88
  953. package/dist/web/index.web54.js +30 -23
  954. package/dist/web/index.web55.js +64 -17
  955. package/dist/web/index.web56.js +25 -137
  956. package/dist/web/index.web57.js +16 -60
  957. package/dist/web/index.web58.js +22 -27
  958. package/dist/web/index.web59.js +8 -42
  959. package/dist/web/index.web60.js +47 -152
  960. package/dist/web/index.web61.js +12 -42
  961. package/dist/web/index.web62.js +47 -31
  962. package/dist/web/index.web63.js +38 -8
  963. package/dist/web/index.web64.js +266 -30
  964. package/dist/web/index.web65.js +18 -48
  965. package/dist/web/index.web66.js +128 -68
  966. package/dist/web/index.web67.js +69 -24
  967. package/dist/web/index.web68.js +6 -159
  968. package/dist/web/index.web69.js +55 -47
  969. package/dist/web/index.web70.js +154 -22
  970. package/dist/web/index.web71.js +67 -72
  971. package/dist/web/index.web72.js +35 -951
  972. package/dist/web/index.web73.js +90 -2
  973. package/dist/web/index.web74.js +28 -50
  974. package/dist/web/index.web75.js +31 -27
  975. package/dist/web/index.web76.js +17 -16
  976. package/dist/web/index.web77.js +42 -21
  977. package/dist/web/index.web78.js +42 -50
  978. package/dist/web/index.web79.js +22 -375
  979. package/dist/web/index.web8.js +1 -1
  980. package/dist/web/index.web80.js +8 -28
  981. package/dist/web/index.web81.js +29 -29
  982. package/dist/web/index.web82.js +41 -2
  983. package/dist/web/index.web83.js +42 -2
  984. package/dist/web/index.web84.js +3 -18
  985. package/dist/web/index.web85.js +48 -45
  986. package/dist/web/index.web86.js +81 -13
  987. package/dist/web/index.web87.js +24 -54
  988. package/dist/web/index.web88.js +159 -6
  989. package/dist/web/index.web89.js +44 -18
  990. package/dist/web/index.web9.js +40 -460
  991. package/dist/web/index.web90.js +25 -12
  992. package/dist/web/index.web91.js +72 -3
  993. package/dist/web/index.web92.js +8 -3
  994. package/dist/web/index.web93.js +94 -33
  995. package/dist/web/index.web94.js +134 -10
  996. package/dist/web/index.web95.js +68 -4
  997. package/dist/web/index.web96.js +27 -29
  998. package/dist/web/index.web97.js +42 -7
  999. package/dist/web/index.web98.js +63 -41
  1000. package/dist/web/index.web99.js +46 -55
  1001. package/dist/web-types/actions/authenticateWithJWT.d.ts +4 -0
  1002. package/dist/web-types/actions/createEvmEoaAccount.d.ts +4 -1
  1003. package/dist/web-types/actions/createEvmSmartAccount.d.ts +1 -0
  1004. package/dist/web-types/actions/createSolanaAccount.d.ts +4 -1
  1005. package/dist/web-types/actions/createSpendPermission.d.ts +1 -0
  1006. package/dist/web-types/actions/exportEvmAccount.d.ts +2 -0
  1007. package/dist/web-types/actions/exportSolanaAccount.d.ts +2 -0
  1008. package/dist/web-types/actions/getAccessToken.d.ts +3 -0
  1009. package/dist/web-types/actions/getAccessTokenExpiration.d.ts +1 -0
  1010. package/dist/web-types/actions/getCurrentUser.d.ts +2 -0
  1011. package/dist/web-types/actions/getUserOperation.d.ts +2 -0
  1012. package/dist/web-types/actions/initialize.d.ts +2 -0
  1013. package/dist/web-types/actions/initiateMfaEnrollment.d.ts +2 -0
  1014. package/dist/web-types/actions/initiateMfaVerification.d.ts +1 -0
  1015. package/dist/web-types/actions/isSignedIn.d.ts +1 -0
  1016. package/dist/web-types/actions/linkApple.d.ts +3 -1
  1017. package/dist/web-types/actions/linkEmail.d.ts +3 -1
  1018. package/dist/web-types/actions/linkOAuth.d.ts +3 -1
  1019. package/dist/web-types/actions/linkSms.d.ts +3 -1
  1020. package/dist/web-types/actions/onAuthStateChange.d.ts +2 -0
  1021. package/dist/web-types/actions/onOAuthStateChange.d.ts +2 -0
  1022. package/dist/web-types/actions/recordMfaEnrollmentPrompted.d.ts +3 -1
  1023. package/dist/web-types/actions/revokeSpendPermission.d.ts +1 -0
  1024. package/dist/web-types/actions/sendEvmEoaUsdc.d.ts +1 -0
  1025. package/dist/web-types/actions/sendEvmSmartAccountUsdc.d.ts +1 -0
  1026. package/dist/web-types/actions/sendEvmTransaction.d.ts +2 -0
  1027. package/dist/web-types/actions/sendSolanaTransaction.d.ts +2 -0
  1028. package/dist/web-types/actions/sendSolanaUsdc.d.ts +1 -0
  1029. package/dist/web-types/actions/sendUsdc.d.ts +4 -0
  1030. package/dist/web-types/actions/sendUserOperation.d.ts +2 -0
  1031. package/dist/web-types/actions/signEvmHash.d.ts +2 -0
  1032. package/dist/web-types/actions/signEvmMessage.d.ts +2 -0
  1033. package/dist/web-types/actions/signEvmTransaction.d.ts +2 -0
  1034. package/dist/web-types/actions/signEvmTypedData.d.ts +2 -0
  1035. package/dist/web-types/actions/signInWithEmail.d.ts +2 -0
  1036. package/dist/web-types/actions/signInWithOAuth.d.ts +4 -0
  1037. package/dist/web-types/actions/signInWithSms.d.ts +2 -0
  1038. package/dist/web-types/actions/signOut.d.ts +1 -0
  1039. package/dist/web-types/actions/signSolanaMessage.d.ts +2 -0
  1040. package/dist/web-types/actions/signSolanaTransaction.d.ts +2 -0
  1041. package/dist/web-types/actions/submitMfaEnrollment.d.ts +1 -0
  1042. package/dist/web-types/actions/submitMfaVerification.d.ts +1 -0
  1043. package/dist/web-types/actions/verifyEmailOTP.d.ts +2 -0
  1044. package/dist/web-types/actions/verifyOAuth.d.ts +2 -0
  1045. package/dist/web-types/actions/verifySmsOTP.d.ts +2 -0
  1046. package/dist/web-types/core.d.ts +27 -31
  1047. package/dist/web-types/index.d.ts +2 -2
  1048. package/dist/web-types/shared/createEvmAccountIfNeeded.d.ts +2 -0
  1049. package/dist/web-types/shared/createSolanaAccountIfNeeded.d.ts +2 -0
  1050. package/dist/web-types/shared/initiateSignIn.d.ts +21 -0
  1051. package/dist/web-types/shared/verifyOTP.d.ts +3 -0
  1052. package/dist/web-types/types.d.ts +16 -0
  1053. package/dist/web-types/version.d.ts +1 -1
  1054. package/package.json +2 -2
@@ -1,953 +1,57 @@
1
- import { __exports as N } from "./index.native71.js";
2
- import { __require as Fr } from "./index.native72.js";
3
- import { __require as Ur } from "./index.native73.js";
4
- /*!
5
- * The buffer module from node.js, for the browser.
6
- *
7
- * @author Feross Aboukhadijeh <https://feross.org>
8
- * @license MIT
9
- */
10
- var Z;
11
- function Sr() {
12
- return Z ? N : (Z = 1, function(d) {
13
- const R = Fr(), m = Ur(), k = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
14
- d.Buffer = u, d.SlowBuffer = nr, d.INSPECT_MAX_BYTES = 50;
15
- const U = 2147483647;
16
- d.kMaxLength = U, u.TYPED_ARRAY_SUPPORT = Q(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
17
- "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
18
- );
19
- function Q() {
20
- try {
21
- const i = new Uint8Array(1), r = { foo: function() {
22
- return 42;
23
- } };
24
- return Object.setPrototypeOf(r, Uint8Array.prototype), Object.setPrototypeOf(i, r), i.foo() === 42;
25
- } catch {
26
- return !1;
27
- }
28
- }
29
- Object.defineProperty(u.prototype, "parent", {
30
- enumerable: !0,
31
- get: function() {
32
- if (u.isBuffer(this))
33
- return this.buffer;
34
- }
35
- }), Object.defineProperty(u.prototype, "offset", {
36
- enumerable: !0,
37
- get: function() {
38
- if (u.isBuffer(this))
39
- return this.byteOffset;
40
- }
41
- });
42
- function B(i) {
43
- if (i > U)
44
- throw new RangeError('The value "' + i + '" is invalid for option "size"');
45
- const r = new Uint8Array(i);
46
- return Object.setPrototypeOf(r, u.prototype), r;
47
- }
48
- function u(i, r, t) {
49
- if (typeof i == "number") {
50
- if (typeof r == "string")
51
- throw new TypeError(
52
- 'The "string" argument must be of type string. Received type number'
53
- );
54
- return T(i);
55
- }
56
- return P(i, r, t);
57
- }
58
- u.poolSize = 8192;
59
- function P(i, r, t) {
60
- if (typeof i == "string")
61
- return rr(i, r);
62
- if (ArrayBuffer.isView(i))
63
- return tr(i);
64
- if (i == null)
65
- throw new TypeError(
66
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
67
- );
68
- if (w(i, ArrayBuffer) || i && w(i.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (w(i, SharedArrayBuffer) || i && w(i.buffer, SharedArrayBuffer)))
69
- return S(i, r, t);
70
- if (typeof i == "number")
71
- throw new TypeError(
72
- 'The "value" argument must not be of type number. Received type number'
73
- );
74
- const n = i.valueOf && i.valueOf();
75
- if (n != null && n !== i)
76
- return u.from(n, r, t);
77
- const e = ir(i);
78
- if (e) return e;
79
- if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
80
- return u.from(i[Symbol.toPrimitive]("string"), r, t);
81
- throw new TypeError(
82
- "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
83
- );
84
- }
85
- u.from = function(i, r, t) {
86
- return P(i, r, t);
87
- }, Object.setPrototypeOf(u.prototype, Uint8Array.prototype), Object.setPrototypeOf(u, Uint8Array);
88
- function $(i) {
89
- if (typeof i != "number")
90
- throw new TypeError('"size" argument must be of type number');
91
- if (i < 0)
92
- throw new RangeError('The value "' + i + '" is invalid for option "size"');
93
- }
94
- function v(i, r, t) {
95
- return $(i), i <= 0 ? B(i) : r !== void 0 ? typeof t == "string" ? B(i).fill(r, t) : B(i).fill(r) : B(i);
96
- }
97
- u.alloc = function(i, r, t) {
98
- return v(i, r, t);
99
- };
100
- function T(i) {
101
- return $(i), B(i < 0 ? 0 : C(i) | 0);
102
- }
103
- u.allocUnsafe = function(i) {
104
- return T(i);
105
- }, u.allocUnsafeSlow = function(i) {
106
- return T(i);
107
- };
108
- function rr(i, r) {
109
- if ((typeof r != "string" || r === "") && (r = "utf8"), !u.isEncoding(r))
110
- throw new TypeError("Unknown encoding: " + r);
111
- const t = M(i, r) | 0;
112
- let n = B(t);
113
- const e = n.write(i, r);
114
- return e !== t && (n = n.slice(0, e)), n;
115
- }
116
- function _(i) {
117
- const r = i.length < 0 ? 0 : C(i.length) | 0, t = B(r);
118
- for (let n = 0; n < r; n += 1)
119
- t[n] = i[n] & 255;
120
- return t;
121
- }
122
- function tr(i) {
123
- if (w(i, Uint8Array)) {
124
- const r = new Uint8Array(i);
125
- return S(r.buffer, r.byteOffset, r.byteLength);
126
- }
127
- return _(i);
128
- }
129
- function S(i, r, t) {
130
- if (r < 0 || i.byteLength < r)
131
- throw new RangeError('"offset" is outside of buffer bounds');
132
- if (i.byteLength < r + (t || 0))
133
- throw new RangeError('"length" is outside of buffer bounds');
134
- let n;
135
- return r === void 0 && t === void 0 ? n = new Uint8Array(i) : t === void 0 ? n = new Uint8Array(i, r) : n = new Uint8Array(i, r, t), Object.setPrototypeOf(n, u.prototype), n;
136
- }
137
- function ir(i) {
138
- if (u.isBuffer(i)) {
139
- const r = C(i.length) | 0, t = B(r);
140
- return t.length === 0 || i.copy(t, 0, 0, r), t;
141
- }
142
- if (i.length !== void 0)
143
- return typeof i.length != "number" || D(i.length) ? B(0) : _(i);
144
- if (i.type === "Buffer" && Array.isArray(i.data))
145
- return _(i.data);
146
- }
147
- function C(i) {
148
- if (i >= U)
149
- throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + U.toString(16) + " bytes");
150
- return i | 0;
151
- }
152
- function nr(i) {
153
- return +i != i && (i = 0), u.alloc(+i);
154
- }
155
- u.isBuffer = function(r) {
156
- return r != null && r._isBuffer === !0 && r !== u.prototype;
157
- }, u.compare = function(r, t) {
158
- if (w(r, Uint8Array) && (r = u.from(r, r.offset, r.byteLength)), w(t, Uint8Array) && (t = u.from(t, t.offset, t.byteLength)), !u.isBuffer(r) || !u.isBuffer(t))
159
- throw new TypeError(
160
- 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
161
- );
162
- if (r === t) return 0;
163
- let n = r.length, e = t.length;
164
- for (let o = 0, h = Math.min(n, e); o < h; ++o)
165
- if (r[o] !== t[o]) {
166
- n = r[o], e = t[o];
167
- break;
168
- }
169
- return n < e ? -1 : e < n ? 1 : 0;
170
- }, u.isEncoding = function(r) {
171
- switch (String(r).toLowerCase()) {
172
- case "hex":
173
- case "utf8":
174
- case "utf-8":
175
- case "ascii":
176
- case "latin1":
177
- case "binary":
178
- case "base64":
179
- case "ucs2":
180
- case "ucs-2":
181
- case "utf16le":
182
- case "utf-16le":
183
- return !0;
184
- default:
185
- return !1;
186
- }
187
- }, u.concat = function(r, t) {
188
- if (!Array.isArray(r))
189
- throw new TypeError('"list" argument must be an Array of Buffers');
190
- if (r.length === 0)
191
- return u.alloc(0);
192
- let n;
193
- if (t === void 0)
194
- for (t = 0, n = 0; n < r.length; ++n)
195
- t += r[n].length;
196
- const e = u.allocUnsafe(t);
197
- let o = 0;
198
- for (n = 0; n < r.length; ++n) {
199
- let h = r[n];
200
- if (w(h, Uint8Array))
201
- o + h.length > e.length ? (u.isBuffer(h) || (h = u.from(h)), h.copy(e, o)) : Uint8Array.prototype.set.call(
202
- e,
203
- h,
204
- o
205
- );
206
- else if (u.isBuffer(h))
207
- h.copy(e, o);
208
- else
209
- throw new TypeError('"list" argument must be an Array of Buffers');
210
- o += h.length;
211
- }
212
- return e;
213
- };
214
- function M(i, r) {
215
- if (u.isBuffer(i))
216
- return i.length;
217
- if (ArrayBuffer.isView(i) || w(i, ArrayBuffer))
218
- return i.byteLength;
219
- if (typeof i != "string")
220
- throw new TypeError(
221
- 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof i
222
- );
223
- const t = i.length, n = arguments.length > 2 && arguments[2] === !0;
224
- if (!n && t === 0) return 0;
225
- let e = !1;
226
- for (; ; )
227
- switch (r) {
228
- case "ascii":
229
- case "latin1":
230
- case "binary":
231
- return t;
232
- case "utf8":
233
- case "utf-8":
234
- return L(i).length;
235
- case "ucs2":
236
- case "ucs-2":
237
- case "utf16le":
238
- case "utf-16le":
239
- return t * 2;
240
- case "hex":
241
- return t >>> 1;
242
- case "base64":
243
- return K(i).length;
244
- default:
245
- if (e)
246
- return n ? -1 : L(i).length;
247
- r = ("" + r).toLowerCase(), e = !0;
248
- }
249
- }
250
- u.byteLength = M;
251
- function er(i, r, t) {
252
- let n = !1;
253
- if ((r === void 0 || r < 0) && (r = 0), r > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, r >>>= 0, t <= r))
254
- return "";
255
- for (i || (i = "utf8"); ; )
256
- switch (i) {
257
- case "hex":
258
- return ar(this, r, t);
259
- case "utf8":
260
- case "utf-8":
261
- return G(this, r, t);
262
- case "ascii":
263
- return sr(this, r, t);
264
- case "latin1":
265
- case "binary":
266
- return yr(this, r, t);
267
- case "base64":
268
- return pr(this, r, t);
269
- case "ucs2":
270
- case "ucs-2":
271
- case "utf16le":
272
- case "utf-16le":
273
- return wr(this, r, t);
274
- default:
275
- if (n) throw new TypeError("Unknown encoding: " + i);
276
- i = (i + "").toLowerCase(), n = !0;
277
- }
278
- }
279
- u.prototype._isBuffer = !0;
280
- function E(i, r, t) {
281
- const n = i[r];
282
- i[r] = i[t], i[t] = n;
283
- }
284
- u.prototype.swap16 = function() {
285
- const r = this.length;
286
- if (r % 2 !== 0)
287
- throw new RangeError("Buffer size must be a multiple of 16-bits");
288
- for (let t = 0; t < r; t += 2)
289
- E(this, t, t + 1);
290
- return this;
291
- }, u.prototype.swap32 = function() {
292
- const r = this.length;
293
- if (r % 4 !== 0)
294
- throw new RangeError("Buffer size must be a multiple of 32-bits");
295
- for (let t = 0; t < r; t += 4)
296
- E(this, t, t + 3), E(this, t + 1, t + 2);
297
- return this;
298
- }, u.prototype.swap64 = function() {
299
- const r = this.length;
300
- if (r % 8 !== 0)
301
- throw new RangeError("Buffer size must be a multiple of 64-bits");
302
- for (let t = 0; t < r; t += 8)
303
- E(this, t, t + 7), E(this, t + 1, t + 6), E(this, t + 2, t + 5), E(this, t + 3, t + 4);
304
- return this;
305
- }, u.prototype.toString = function() {
306
- const r = this.length;
307
- return r === 0 ? "" : arguments.length === 0 ? G(this, 0, r) : er.apply(this, arguments);
308
- }, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(r) {
309
- if (!u.isBuffer(r)) throw new TypeError("Argument must be a Buffer");
310
- return this === r ? !0 : u.compare(this, r) === 0;
311
- }, u.prototype.inspect = function() {
312
- let r = "";
313
- const t = d.INSPECT_MAX_BYTES;
314
- return r = this.toString("hex", 0, t).replace(/(.{2})/g, "$1 ").trim(), this.length > t && (r += " ... "), "<Buffer " + r + ">";
315
- }, k && (u.prototype[k] = u.prototype.inspect), u.prototype.compare = function(r, t, n, e, o) {
316
- if (w(r, Uint8Array) && (r = u.from(r, r.offset, r.byteLength)), !u.isBuffer(r))
317
- throw new TypeError(
318
- 'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof r
319
- );
320
- if (t === void 0 && (t = 0), n === void 0 && (n = r ? r.length : 0), e === void 0 && (e = 0), o === void 0 && (o = this.length), t < 0 || n > r.length || e < 0 || o > this.length)
321
- throw new RangeError("out of range index");
322
- if (e >= o && t >= n)
323
- return 0;
324
- if (e >= o)
325
- return -1;
326
- if (t >= n)
327
- return 1;
328
- if (t >>>= 0, n >>>= 0, e >>>= 0, o >>>= 0, this === r) return 0;
329
- let h = o - e, f = n - t;
330
- const l = Math.min(h, f), p = this.slice(e, o), s = r.slice(t, n);
331
- for (let c = 0; c < l; ++c)
332
- if (p[c] !== s[c]) {
333
- h = p[c], f = s[c];
334
- break;
335
- }
336
- return h < f ? -1 : f < h ? 1 : 0;
337
- };
338
- function O(i, r, t, n, e) {
339
- if (i.length === 0) return -1;
340
- if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, D(t) && (t = e ? 0 : i.length - 1), t < 0 && (t = i.length + t), t >= i.length) {
341
- if (e) return -1;
342
- t = i.length - 1;
343
- } else if (t < 0)
344
- if (e) t = 0;
345
- else return -1;
346
- if (typeof r == "string" && (r = u.from(r, n)), u.isBuffer(r))
347
- return r.length === 0 ? -1 : q(i, r, t, n, e);
348
- if (typeof r == "number")
349
- return r = r & 255, typeof Uint8Array.prototype.indexOf == "function" ? e ? Uint8Array.prototype.indexOf.call(i, r, t) : Uint8Array.prototype.lastIndexOf.call(i, r, t) : q(i, [r], t, n, e);
350
- throw new TypeError("val must be string, number or Buffer");
351
- }
352
- function q(i, r, t, n, e) {
353
- let o = 1, h = i.length, f = r.length;
354
- if (n !== void 0 && (n = String(n).toLowerCase(), n === "ucs2" || n === "ucs-2" || n === "utf16le" || n === "utf-16le")) {
355
- if (i.length < 2 || r.length < 2)
356
- return -1;
357
- o = 2, h /= 2, f /= 2, t /= 2;
358
- }
359
- function l(s, c) {
360
- return o === 1 ? s[c] : s.readUInt16BE(c * o);
361
- }
362
- let p;
363
- if (e) {
364
- let s = -1;
365
- for (p = t; p < h; p++)
366
- if (l(i, p) === l(r, s === -1 ? 0 : p - s)) {
367
- if (s === -1 && (s = p), p - s + 1 === f) return s * o;
368
- } else
369
- s !== -1 && (p -= p - s), s = -1;
370
- } else
371
- for (t + f > h && (t = h - f), p = t; p >= 0; p--) {
372
- let s = !0;
373
- for (let c = 0; c < f; c++)
374
- if (l(i, p + c) !== l(r, c)) {
375
- s = !1;
376
- break;
377
- }
378
- if (s) return p;
379
- }
380
- return -1;
381
- }
382
- u.prototype.includes = function(r, t, n) {
383
- return this.indexOf(r, t, n) !== -1;
384
- }, u.prototype.indexOf = function(r, t, n) {
385
- return O(this, r, t, n, !0);
386
- }, u.prototype.lastIndexOf = function(r, t, n) {
387
- return O(this, r, t, n, !1);
388
- };
389
- function or(i, r, t, n) {
390
- t = Number(t) || 0;
391
- const e = i.length - t;
392
- n ? (n = Number(n), n > e && (n = e)) : n = e;
393
- const o = r.length;
394
- n > o / 2 && (n = o / 2);
395
- let h;
396
- for (h = 0; h < n; ++h) {
397
- const f = parseInt(r.substr(h * 2, 2), 16);
398
- if (D(f)) return h;
399
- i[t + h] = f;
400
- }
401
- return h;
402
- }
403
- function ur(i, r, t, n) {
404
- return A(L(r, i.length - t), i, t, n);
405
- }
406
- function hr(i, r, t, n) {
407
- return A(mr(r), i, t, n);
408
- }
409
- function fr(i, r, t, n) {
410
- return A(K(r), i, t, n);
411
- }
412
- function cr(i, r, t, n) {
413
- return A(gr(r, i.length - t), i, t, n);
414
- }
415
- u.prototype.write = function(r, t, n, e) {
416
- if (t === void 0)
417
- e = "utf8", n = this.length, t = 0;
418
- else if (n === void 0 && typeof t == "string")
419
- e = t, n = this.length, t = 0;
420
- else if (isFinite(t))
421
- t = t >>> 0, isFinite(n) ? (n = n >>> 0, e === void 0 && (e = "utf8")) : (e = n, n = void 0);
422
- else
423
- throw new Error(
424
- "Buffer.write(string, encoding, offset[, length]) is no longer supported"
425
- );
426
- const o = this.length - t;
427
- if ((n === void 0 || n > o) && (n = o), r.length > 0 && (n < 0 || t < 0) || t > this.length)
428
- throw new RangeError("Attempt to write outside buffer bounds");
429
- e || (e = "utf8");
430
- let h = !1;
431
- for (; ; )
432
- switch (e) {
433
- case "hex":
434
- return or(this, r, t, n);
435
- case "utf8":
436
- case "utf-8":
437
- return ur(this, r, t, n);
438
- case "ascii":
439
- case "latin1":
440
- case "binary":
441
- return hr(this, r, t, n);
442
- case "base64":
443
- return fr(this, r, t, n);
444
- case "ucs2":
445
- case "ucs-2":
446
- case "utf16le":
447
- case "utf-16le":
448
- return cr(this, r, t, n);
449
- default:
450
- if (h) throw new TypeError("Unknown encoding: " + e);
451
- e = ("" + e).toLowerCase(), h = !0;
452
- }
453
- }, u.prototype.toJSON = function() {
454
- return {
455
- type: "Buffer",
456
- data: Array.prototype.slice.call(this._arr || this, 0)
457
- };
458
- };
459
- function pr(i, r, t) {
460
- return r === 0 && t === i.length ? R.fromByteArray(i) : R.fromByteArray(i.slice(r, t));
461
- }
462
- function G(i, r, t) {
463
- t = Math.min(i.length, t);
464
- const n = [];
465
- let e = r;
466
- for (; e < t; ) {
467
- const o = i[e];
468
- let h = null, f = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
469
- if (e + f <= t) {
470
- let l, p, s, c;
471
- switch (f) {
472
- case 1:
473
- o < 128 && (h = o);
474
- break;
475
- case 2:
476
- l = i[e + 1], (l & 192) === 128 && (c = (o & 31) << 6 | l & 63, c > 127 && (h = c));
477
- break;
478
- case 3:
479
- l = i[e + 1], p = i[e + 2], (l & 192) === 128 && (p & 192) === 128 && (c = (o & 15) << 12 | (l & 63) << 6 | p & 63, c > 2047 && (c < 55296 || c > 57343) && (h = c));
480
- break;
481
- case 4:
482
- l = i[e + 1], p = i[e + 2], s = i[e + 3], (l & 192) === 128 && (p & 192) === 128 && (s & 192) === 128 && (c = (o & 15) << 18 | (l & 63) << 12 | (p & 63) << 6 | s & 63, c > 65535 && c < 1114112 && (h = c));
483
- }
484
- }
485
- h === null ? (h = 65533, f = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), e += f;
486
- }
487
- return lr(n);
488
- }
489
- const Y = 4096;
490
- function lr(i) {
491
- const r = i.length;
492
- if (r <= Y)
493
- return String.fromCharCode.apply(String, i);
494
- let t = "", n = 0;
495
- for (; n < r; )
496
- t += String.fromCharCode.apply(
497
- String,
498
- i.slice(n, n += Y)
499
- );
500
- return t;
501
- }
502
- function sr(i, r, t) {
503
- let n = "";
504
- t = Math.min(i.length, t);
505
- for (let e = r; e < t; ++e)
506
- n += String.fromCharCode(i[e] & 127);
507
- return n;
508
- }
509
- function yr(i, r, t) {
510
- let n = "";
511
- t = Math.min(i.length, t);
512
- for (let e = r; e < t; ++e)
513
- n += String.fromCharCode(i[e]);
514
- return n;
515
- }
516
- function ar(i, r, t) {
517
- const n = i.length;
518
- (!r || r < 0) && (r = 0), (!t || t < 0 || t > n) && (t = n);
519
- let e = "";
520
- for (let o = r; o < t; ++o)
521
- e += Ir[i[o]];
522
- return e;
523
- }
524
- function wr(i, r, t) {
525
- const n = i.slice(r, t);
526
- let e = "";
527
- for (let o = 0; o < n.length - 1; o += 2)
528
- e += String.fromCharCode(n[o] + n[o + 1] * 256);
529
- return e;
530
- }
531
- u.prototype.slice = function(r, t) {
532
- const n = this.length;
533
- r = ~~r, t = t === void 0 ? n : ~~t, r < 0 ? (r += n, r < 0 && (r = 0)) : r > n && (r = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < r && (t = r);
534
- const e = this.subarray(r, t);
535
- return Object.setPrototypeOf(e, u.prototype), e;
536
- };
537
- function y(i, r, t) {
538
- if (i % 1 !== 0 || i < 0) throw new RangeError("offset is not uint");
539
- if (i + r > t) throw new RangeError("Trying to access beyond buffer length");
540
- }
541
- u.prototype.readUintLE = u.prototype.readUIntLE = function(r, t, n) {
542
- r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
543
- let e = this[r], o = 1, h = 0;
544
- for (; ++h < t && (o *= 256); )
545
- e += this[r + h] * o;
546
- return e;
547
- }, u.prototype.readUintBE = u.prototype.readUIntBE = function(r, t, n) {
548
- r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
549
- let e = this[r + --t], o = 1;
550
- for (; t > 0 && (o *= 256); )
551
- e += this[r + --t] * o;
552
- return e;
553
- }, u.prototype.readUint8 = u.prototype.readUInt8 = function(r, t) {
554
- return r = r >>> 0, t || y(r, 1, this.length), this[r];
555
- }, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(r, t) {
556
- return r = r >>> 0, t || y(r, 2, this.length), this[r] | this[r + 1] << 8;
557
- }, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(r, t) {
558
- return r = r >>> 0, t || y(r, 2, this.length), this[r] << 8 | this[r + 1];
559
- }, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(r, t) {
560
- return r = r >>> 0, t || y(r, 4, this.length), (this[r] | this[r + 1] << 8 | this[r + 2] << 16) + this[r + 3] * 16777216;
561
- }, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(r, t) {
562
- return r = r >>> 0, t || y(r, 4, this.length), this[r] * 16777216 + (this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3]);
563
- }, u.prototype.readBigUInt64LE = x(function(r) {
564
- r = r >>> 0, I(r, "offset");
565
- const t = this[r], n = this[r + 7];
566
- (t === void 0 || n === void 0) && F(r, this.length - 8);
567
- const e = t + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + this[++r] * 2 ** 24, o = this[++r] + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + n * 2 ** 24;
568
- return BigInt(e) + (BigInt(o) << BigInt(32));
569
- }), u.prototype.readBigUInt64BE = x(function(r) {
570
- r = r >>> 0, I(r, "offset");
571
- const t = this[r], n = this[r + 7];
572
- (t === void 0 || n === void 0) && F(r, this.length - 8);
573
- const e = t * 2 ** 24 + this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + this[++r], o = this[++r] * 2 ** 24 + this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + n;
574
- return (BigInt(e) << BigInt(32)) + BigInt(o);
575
- }), u.prototype.readIntLE = function(r, t, n) {
576
- r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
577
- let e = this[r], o = 1, h = 0;
578
- for (; ++h < t && (o *= 256); )
579
- e += this[r + h] * o;
580
- return o *= 128, e >= o && (e -= Math.pow(2, 8 * t)), e;
581
- }, u.prototype.readIntBE = function(r, t, n) {
582
- r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
583
- let e = t, o = 1, h = this[r + --e];
584
- for (; e > 0 && (o *= 256); )
585
- h += this[r + --e] * o;
586
- return o *= 128, h >= o && (h -= Math.pow(2, 8 * t)), h;
587
- }, u.prototype.readInt8 = function(r, t) {
588
- return r = r >>> 0, t || y(r, 1, this.length), this[r] & 128 ? (255 - this[r] + 1) * -1 : this[r];
589
- }, u.prototype.readInt16LE = function(r, t) {
590
- r = r >>> 0, t || y(r, 2, this.length);
591
- const n = this[r] | this[r + 1] << 8;
592
- return n & 32768 ? n | 4294901760 : n;
593
- }, u.prototype.readInt16BE = function(r, t) {
594
- r = r >>> 0, t || y(r, 2, this.length);
595
- const n = this[r + 1] | this[r] << 8;
596
- return n & 32768 ? n | 4294901760 : n;
597
- }, u.prototype.readInt32LE = function(r, t) {
598
- return r = r >>> 0, t || y(r, 4, this.length), this[r] | this[r + 1] << 8 | this[r + 2] << 16 | this[r + 3] << 24;
599
- }, u.prototype.readInt32BE = function(r, t) {
600
- return r = r >>> 0, t || y(r, 4, this.length), this[r] << 24 | this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3];
601
- }, u.prototype.readBigInt64LE = x(function(r) {
602
- r = r >>> 0, I(r, "offset");
603
- const t = this[r], n = this[r + 7];
604
- (t === void 0 || n === void 0) && F(r, this.length - 8);
605
- const e = this[r + 4] + this[r + 5] * 2 ** 8 + this[r + 6] * 2 ** 16 + (n << 24);
606
- return (BigInt(e) << BigInt(32)) + BigInt(t + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + this[++r] * 2 ** 24);
607
- }), u.prototype.readBigInt64BE = x(function(r) {
608
- r = r >>> 0, I(r, "offset");
609
- const t = this[r], n = this[r + 7];
610
- (t === void 0 || n === void 0) && F(r, this.length - 8);
611
- const e = (t << 24) + // Overflow
612
- this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + this[++r];
613
- return (BigInt(e) << BigInt(32)) + BigInt(this[++r] * 2 ** 24 + this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + n);
614
- }), u.prototype.readFloatLE = function(r, t) {
615
- return r = r >>> 0, t || y(r, 4, this.length), m.read(this, r, !0, 23, 4);
616
- }, u.prototype.readFloatBE = function(r, t) {
617
- return r = r >>> 0, t || y(r, 4, this.length), m.read(this, r, !1, 23, 4);
618
- }, u.prototype.readDoubleLE = function(r, t) {
619
- return r = r >>> 0, t || y(r, 8, this.length), m.read(this, r, !0, 52, 8);
620
- }, u.prototype.readDoubleBE = function(r, t) {
621
- return r = r >>> 0, t || y(r, 8, this.length), m.read(this, r, !1, 52, 8);
622
- };
623
- function a(i, r, t, n, e, o) {
624
- if (!u.isBuffer(i)) throw new TypeError('"buffer" argument must be a Buffer instance');
625
- if (r > e || r < o) throw new RangeError('"value" argument is out of bounds');
626
- if (t + n > i.length) throw new RangeError("Index out of range");
627
- }
628
- u.prototype.writeUintLE = u.prototype.writeUIntLE = function(r, t, n, e) {
629
- if (r = +r, t = t >>> 0, n = n >>> 0, !e) {
630
- const f = Math.pow(2, 8 * n) - 1;
631
- a(this, r, t, n, f, 0);
632
- }
633
- let o = 1, h = 0;
634
- for (this[t] = r & 255; ++h < n && (o *= 256); )
635
- this[t + h] = r / o & 255;
636
- return t + n;
637
- }, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(r, t, n, e) {
638
- if (r = +r, t = t >>> 0, n = n >>> 0, !e) {
639
- const f = Math.pow(2, 8 * n) - 1;
640
- a(this, r, t, n, f, 0);
641
- }
642
- let o = n - 1, h = 1;
643
- for (this[t + o] = r & 255; --o >= 0 && (h *= 256); )
644
- this[t + o] = r / h & 255;
645
- return t + n;
646
- }, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(r, t, n) {
647
- return r = +r, t = t >>> 0, n || a(this, r, t, 1, 255, 0), this[t] = r & 255, t + 1;
648
- }, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(r, t, n) {
649
- return r = +r, t = t >>> 0, n || a(this, r, t, 2, 65535, 0), this[t] = r & 255, this[t + 1] = r >>> 8, t + 2;
650
- }, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(r, t, n) {
651
- return r = +r, t = t >>> 0, n || a(this, r, t, 2, 65535, 0), this[t] = r >>> 8, this[t + 1] = r & 255, t + 2;
652
- }, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(r, t, n) {
653
- return r = +r, t = t >>> 0, n || a(this, r, t, 4, 4294967295, 0), this[t + 3] = r >>> 24, this[t + 2] = r >>> 16, this[t + 1] = r >>> 8, this[t] = r & 255, t + 4;
654
- }, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(r, t, n) {
655
- return r = +r, t = t >>> 0, n || a(this, r, t, 4, 4294967295, 0), this[t] = r >>> 24, this[t + 1] = r >>> 16, this[t + 2] = r >>> 8, this[t + 3] = r & 255, t + 4;
656
- };
657
- function W(i, r, t, n, e) {
658
- H(r, n, e, i, t, 7);
659
- let o = Number(r & BigInt(4294967295));
660
- i[t++] = o, o = o >> 8, i[t++] = o, o = o >> 8, i[t++] = o, o = o >> 8, i[t++] = o;
661
- let h = Number(r >> BigInt(32) & BigInt(4294967295));
662
- return i[t++] = h, h = h >> 8, i[t++] = h, h = h >> 8, i[t++] = h, h = h >> 8, i[t++] = h, t;
663
- }
664
- function V(i, r, t, n, e) {
665
- H(r, n, e, i, t, 7);
666
- let o = Number(r & BigInt(4294967295));
667
- i[t + 7] = o, o = o >> 8, i[t + 6] = o, o = o >> 8, i[t + 5] = o, o = o >> 8, i[t + 4] = o;
668
- let h = Number(r >> BigInt(32) & BigInt(4294967295));
669
- return i[t + 3] = h, h = h >> 8, i[t + 2] = h, h = h >> 8, i[t + 1] = h, h = h >> 8, i[t] = h, t + 8;
670
- }
671
- u.prototype.writeBigUInt64LE = x(function(r, t = 0) {
672
- return W(this, r, t, BigInt(0), BigInt("0xffffffffffffffff"));
673
- }), u.prototype.writeBigUInt64BE = x(function(r, t = 0) {
674
- return V(this, r, t, BigInt(0), BigInt("0xffffffffffffffff"));
675
- }), u.prototype.writeIntLE = function(r, t, n, e) {
676
- if (r = +r, t = t >>> 0, !e) {
677
- const l = Math.pow(2, 8 * n - 1);
678
- a(this, r, t, n, l - 1, -l);
679
- }
680
- let o = 0, h = 1, f = 0;
681
- for (this[t] = r & 255; ++o < n && (h *= 256); )
682
- r < 0 && f === 0 && this[t + o - 1] !== 0 && (f = 1), this[t + o] = (r / h >> 0) - f & 255;
683
- return t + n;
684
- }, u.prototype.writeIntBE = function(r, t, n, e) {
685
- if (r = +r, t = t >>> 0, !e) {
686
- const l = Math.pow(2, 8 * n - 1);
687
- a(this, r, t, n, l - 1, -l);
688
- }
689
- let o = n - 1, h = 1, f = 0;
690
- for (this[t + o] = r & 255; --o >= 0 && (h *= 256); )
691
- r < 0 && f === 0 && this[t + o + 1] !== 0 && (f = 1), this[t + o] = (r / h >> 0) - f & 255;
692
- return t + n;
693
- }, u.prototype.writeInt8 = function(r, t, n) {
694
- return r = +r, t = t >>> 0, n || a(this, r, t, 1, 127, -128), r < 0 && (r = 255 + r + 1), this[t] = r & 255, t + 1;
695
- }, u.prototype.writeInt16LE = function(r, t, n) {
696
- return r = +r, t = t >>> 0, n || a(this, r, t, 2, 32767, -32768), this[t] = r & 255, this[t + 1] = r >>> 8, t + 2;
697
- }, u.prototype.writeInt16BE = function(r, t, n) {
698
- return r = +r, t = t >>> 0, n || a(this, r, t, 2, 32767, -32768), this[t] = r >>> 8, this[t + 1] = r & 255, t + 2;
699
- }, u.prototype.writeInt32LE = function(r, t, n) {
700
- return r = +r, t = t >>> 0, n || a(this, r, t, 4, 2147483647, -2147483648), this[t] = r & 255, this[t + 1] = r >>> 8, this[t + 2] = r >>> 16, this[t + 3] = r >>> 24, t + 4;
701
- }, u.prototype.writeInt32BE = function(r, t, n) {
702
- return r = +r, t = t >>> 0, n || a(this, r, t, 4, 2147483647, -2147483648), r < 0 && (r = 4294967295 + r + 1), this[t] = r >>> 24, this[t + 1] = r >>> 16, this[t + 2] = r >>> 8, this[t + 3] = r & 255, t + 4;
703
- }, u.prototype.writeBigInt64LE = x(function(r, t = 0) {
704
- return W(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
705
- }), u.prototype.writeBigInt64BE = x(function(r, t = 0) {
706
- return V(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
707
- });
708
- function X(i, r, t, n, e, o) {
709
- if (t + n > i.length) throw new RangeError("Index out of range");
710
- if (t < 0) throw new RangeError("Index out of range");
711
- }
712
- function j(i, r, t, n, e) {
713
- return r = +r, t = t >>> 0, e || X(i, r, t, 4), m.write(i, r, t, n, 23, 4), t + 4;
714
- }
715
- u.prototype.writeFloatLE = function(r, t, n) {
716
- return j(this, r, t, !0, n);
717
- }, u.prototype.writeFloatBE = function(r, t, n) {
718
- return j(this, r, t, !1, n);
719
- };
720
- function J(i, r, t, n, e) {
721
- return r = +r, t = t >>> 0, e || X(i, r, t, 8), m.write(i, r, t, n, 52, 8), t + 8;
722
- }
723
- u.prototype.writeDoubleLE = function(r, t, n) {
724
- return J(this, r, t, !0, n);
725
- }, u.prototype.writeDoubleBE = function(r, t, n) {
726
- return J(this, r, t, !1, n);
727
- }, u.prototype.copy = function(r, t, n, e) {
728
- if (!u.isBuffer(r)) throw new TypeError("argument should be a Buffer");
729
- if (n || (n = 0), !e && e !== 0 && (e = this.length), t >= r.length && (t = r.length), t || (t = 0), e > 0 && e < n && (e = n), e === n || r.length === 0 || this.length === 0) return 0;
730
- if (t < 0)
731
- throw new RangeError("targetStart out of bounds");
732
- if (n < 0 || n >= this.length) throw new RangeError("Index out of range");
733
- if (e < 0) throw new RangeError("sourceEnd out of bounds");
734
- e > this.length && (e = this.length), r.length - t < e - n && (e = r.length - t + n);
735
- const o = e - n;
736
- return this === r && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(t, n, e) : Uint8Array.prototype.set.call(
737
- r,
738
- this.subarray(n, e),
739
- t
740
- ), o;
741
- }, u.prototype.fill = function(r, t, n, e) {
742
- if (typeof r == "string") {
743
- if (typeof t == "string" ? (e = t, t = 0, n = this.length) : typeof n == "string" && (e = n, n = this.length), e !== void 0 && typeof e != "string")
744
- throw new TypeError("encoding must be a string");
745
- if (typeof e == "string" && !u.isEncoding(e))
746
- throw new TypeError("Unknown encoding: " + e);
747
- if (r.length === 1) {
748
- const h = r.charCodeAt(0);
749
- (e === "utf8" && h < 128 || e === "latin1") && (r = h);
750
- }
751
- } else typeof r == "number" ? r = r & 255 : typeof r == "boolean" && (r = Number(r));
752
- if (t < 0 || this.length < t || this.length < n)
753
- throw new RangeError("Out of range index");
754
- if (n <= t)
755
- return this;
756
- t = t >>> 0, n = n === void 0 ? this.length : n >>> 0, r || (r = 0);
757
- let o;
758
- if (typeof r == "number")
759
- for (o = t; o < n; ++o)
760
- this[o] = r;
761
- else {
762
- const h = u.isBuffer(r) ? r : u.from(r, e), f = h.length;
763
- if (f === 0)
764
- throw new TypeError('The value "' + r + '" is invalid for argument "value"');
765
- for (o = 0; o < n - t; ++o)
766
- this[o + t] = h[o % f];
767
- }
768
- return this;
769
- };
770
- const g = {};
771
- function b(i, r, t) {
772
- g[i] = class extends t {
773
- constructor() {
774
- super(), Object.defineProperty(this, "message", {
775
- value: r.apply(this, arguments),
776
- writable: !0,
777
- configurable: !0
778
- }), this.name = `${this.name} [${i}]`, this.stack, delete this.name;
779
- }
780
- get code() {
781
- return i;
782
- }
783
- set code(e) {
784
- Object.defineProperty(this, "code", {
785
- configurable: !0,
786
- enumerable: !0,
787
- value: e,
788
- writable: !0
789
- });
790
- }
791
- toString() {
792
- return `${this.name} [${i}]: ${this.message}`;
793
- }
794
- };
795
- }
796
- b(
797
- "ERR_BUFFER_OUT_OF_BOUNDS",
798
- function(i) {
799
- return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
800
- },
801
- RangeError
802
- ), b(
803
- "ERR_INVALID_ARG_TYPE",
804
- function(i, r) {
805
- return `The "${i}" argument must be of type number. Received type ${typeof r}`;
806
- },
807
- TypeError
808
- ), b(
809
- "ERR_OUT_OF_RANGE",
810
- function(i, r, t) {
811
- let n = `The value of "${i}" is out of range.`, e = t;
812
- return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? e = z(String(t)) : typeof t == "bigint" && (e = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (e = z(e)), e += "n"), n += ` It must be ${r}. Received ${e}`, n;
813
- },
814
- RangeError
815
- );
816
- function z(i) {
817
- let r = "", t = i.length;
818
- const n = i[0] === "-" ? 1 : 0;
819
- for (; t >= n + 4; t -= 3)
820
- r = `_${i.slice(t - 3, t)}${r}`;
821
- return `${i.slice(0, t)}${r}`;
822
- }
823
- function Br(i, r, t) {
824
- I(r, "offset"), (i[r] === void 0 || i[r + t] === void 0) && F(r, i.length - (t + 1));
825
- }
826
- function H(i, r, t, n, e, o) {
827
- if (i > t || i < r) {
828
- const h = typeof r == "bigint" ? "n" : "";
829
- let f;
830
- throw r === 0 || r === BigInt(0) ? f = `>= 0${h} and < 2${h} ** ${(o + 1) * 8}${h}` : f = `>= -(2${h} ** ${(o + 1) * 8 - 1}${h}) and < 2 ** ${(o + 1) * 8 - 1}${h}`, new g.ERR_OUT_OF_RANGE("value", f, i);
831
- }
832
- Br(n, e, o);
833
- }
834
- function I(i, r) {
835
- if (typeof i != "number")
836
- throw new g.ERR_INVALID_ARG_TYPE(r, "number", i);
837
- }
838
- function F(i, r, t) {
839
- throw Math.floor(i) !== i ? (I(i, t), new g.ERR_OUT_OF_RANGE("offset", "an integer", i)) : r < 0 ? new g.ERR_BUFFER_OUT_OF_BOUNDS() : new g.ERR_OUT_OF_RANGE(
840
- "offset",
841
- `>= 0 and <= ${r}`,
842
- i
843
- );
844
- }
845
- const xr = /[^+/0-9A-Za-z-_]/g;
846
- function Er(i) {
847
- if (i = i.split("=")[0], i = i.trim().replace(xr, ""), i.length < 2) return "";
848
- for (; i.length % 4 !== 0; )
849
- i = i + "=";
850
- return i;
851
- }
852
- function L(i, r) {
853
- r = r || 1 / 0;
854
- let t;
855
- const n = i.length;
856
- let e = null;
857
- const o = [];
858
- for (let h = 0; h < n; ++h) {
859
- if (t = i.charCodeAt(h), t > 55295 && t < 57344) {
860
- if (!e) {
861
- if (t > 56319) {
862
- (r -= 3) > -1 && o.push(239, 191, 189);
863
- continue;
864
- } else if (h + 1 === n) {
865
- (r -= 3) > -1 && o.push(239, 191, 189);
866
- continue;
867
- }
868
- e = t;
869
- continue;
870
- }
871
- if (t < 56320) {
872
- (r -= 3) > -1 && o.push(239, 191, 189), e = t;
873
- continue;
874
- }
875
- t = (e - 55296 << 10 | t - 56320) + 65536;
876
- } else e && (r -= 3) > -1 && o.push(239, 191, 189);
877
- if (e = null, t < 128) {
878
- if ((r -= 1) < 0) break;
879
- o.push(t);
880
- } else if (t < 2048) {
881
- if ((r -= 2) < 0) break;
882
- o.push(
883
- t >> 6 | 192,
884
- t & 63 | 128
885
- );
886
- } else if (t < 65536) {
887
- if ((r -= 3) < 0) break;
888
- o.push(
889
- t >> 12 | 224,
890
- t >> 6 & 63 | 128,
891
- t & 63 | 128
892
- );
893
- } else if (t < 1114112) {
894
- if ((r -= 4) < 0) break;
895
- o.push(
896
- t >> 18 | 240,
897
- t >> 12 & 63 | 128,
898
- t >> 6 & 63 | 128,
899
- t & 63 | 128
900
- );
901
- } else
902
- throw new Error("Invalid code point");
903
- }
904
- return o;
905
- }
906
- function mr(i) {
907
- const r = [];
908
- for (let t = 0; t < i.length; ++t)
909
- r.push(i.charCodeAt(t) & 255);
910
- return r;
911
- }
912
- function gr(i, r) {
913
- let t, n, e;
914
- const o = [];
915
- for (let h = 0; h < i.length && !((r -= 2) < 0); ++h)
916
- t = i.charCodeAt(h), n = t >> 8, e = t % 256, o.push(e), o.push(n);
917
- return o;
918
- }
919
- function K(i) {
920
- return R.toByteArray(Er(i));
921
- }
922
- function A(i, r, t, n) {
923
- let e;
924
- for (e = 0; e < n && !(e + t >= r.length || e >= i.length); ++e)
925
- r[e + t] = i[e];
926
- return e;
927
- }
928
- function w(i, r) {
929
- return i instanceof r || i != null && i.constructor != null && i.constructor.name != null && i.constructor.name === r.name;
930
- }
931
- function D(i) {
932
- return i !== i;
933
- }
934
- const Ir = function() {
935
- const i = "0123456789abcdef", r = new Array(256);
936
- for (let t = 0; t < 16; ++t) {
937
- const n = t * 16;
938
- for (let e = 0; e < 16; ++e)
939
- r[n + e] = i[t] + i[e];
940
- }
941
- return r;
942
- }();
943
- function x(i) {
944
- return typeof BigInt > "u" ? dr : i;
945
- }
946
- function dr() {
947
- throw new Error("BigInt not supported");
948
- }
949
- }(N), N);
1
+ import { createStore as p } from "zustand";
2
+ import { subscribeWithSelector as c, persist as d, createJSONStorage as h } from "./index.native86.js";
3
+ import { EventEmitter as f } from "./index.native87.js";
4
+ import "./index.native88.js";
5
+ import "viem";
6
+ import "@coinbase/cdp-api-client";
7
+ import { getPlatformStorage as u } from "./index.native8.js";
8
+ import { createProvider as g } from "./index.native89.js";
9
+ import { onAuthStateChange as l } from "./index.native23.js";
10
+ import "./index.native2.js";
11
+ import "./index.native3.js";
12
+ import "jose";
13
+ import "./index.native81.js";
14
+ import "./index.native82.js";
15
+ import "@solana/web3.js";
16
+ import "bs58";
17
+ function T(e) {
18
+ if (e.chains.length === 0)
19
+ throw new Error("At least one chain must be configured");
20
+ if (!e.transports)
21
+ throw new Error("Transports must be provided");
22
+ const o = e.chains, s = e.transports;
23
+ if (o.length === 0)
24
+ throw new Error("No chains found in configuration");
25
+ const m = new f(), i = u(), a = {
26
+ getItem: (t) => i.getItem(t),
27
+ setItem: (t, r) => i.setItem(t, r),
28
+ removeItem: (t) => i.removeItem(t)
29
+ }, n = p()(
30
+ c(
31
+ d(
32
+ (t) => ({
33
+ chainId: o[0].id,
34
+ setChainId: (r) => t({ chainId: r }),
35
+ chains: o,
36
+ user: null,
37
+ setUser: (r) => t({ user: r })
38
+ }),
39
+ {
40
+ name: "cdp-provider-store",
41
+ storage: h(() => a)
42
+ }
43
+ )
44
+ )
45
+ );
46
+ return n.persist.rehydrate(), l((t) => {
47
+ n.getState().setUser(t);
48
+ }), {
49
+ provider: g(m, n, {
50
+ chains: o,
51
+ transports: s
52
+ })
53
+ };
950
54
  }
951
55
  export {
952
- Sr as __require
56
+ T as createCDPEmbeddedWallet
953
57
  };