@coinbase/cdp-core 0.0.70 → 0.0.71

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 (410) hide show
  1. package/README.md +86 -29
  2. package/dist/esm/index.native10.js +69 -67
  3. package/dist/esm/index.native106.js +1 -1
  4. package/dist/esm/index.native107.js +1 -1
  5. package/dist/esm/index.native112.js +1 -1
  6. package/dist/esm/index.native113.js +7 -7
  7. package/dist/esm/index.native119.js +3 -3
  8. package/dist/esm/index.native124.js +8 -8
  9. package/dist/esm/index.native131.js +4 -4
  10. package/dist/esm/index.native133.js +4 -4
  11. package/dist/esm/index.native136.js +7 -7
  12. package/dist/esm/index.native140.js +2 -2
  13. package/dist/esm/index.native145.js +1 -1
  14. package/dist/esm/index.native146.js +6 -32
  15. package/dist/esm/index.native147.js +32 -6
  16. package/dist/esm/index.native148.js +2 -79
  17. package/dist/esm/index.native149.js +108 -3
  18. package/dist/esm/index.native15.js +18 -18
  19. package/dist/esm/index.native150.js +2 -2
  20. package/dist/esm/index.native151.js +20 -108
  21. package/dist/esm/index.native152.js +10 -2
  22. package/dist/esm/index.native153.js +19 -20
  23. package/dist/esm/index.native154.js +93 -9
  24. package/dist/esm/index.native155.js +19 -18
  25. package/dist/esm/index.native156.js +105 -81
  26. package/dist/esm/index.native157.js +78 -20
  27. package/dist/esm/index.native158.js +4 -118
  28. package/dist/esm/index.native159.js +7 -38
  29. package/dist/esm/index.native161.js +375 -67
  30. package/dist/esm/index.native162.js +835 -34
  31. package/dist/esm/index.native163.js +38 -20
  32. package/dist/esm/index.native164.js +2 -8
  33. package/dist/esm/index.native165.js +70 -2
  34. package/dist/esm/index.native166.js +30 -373
  35. package/dist/esm/index.native167.js +20 -832
  36. package/dist/esm/index.native168.js +1 -1
  37. package/dist/esm/index.native171.js +1 -1
  38. package/dist/esm/index.native177.js +1 -1
  39. package/dist/esm/index.native179.js +2 -2
  40. package/dist/esm/index.native180.js +2 -2
  41. package/dist/esm/index.native181.js +2 -2
  42. package/dist/esm/index.native21.js +17 -18
  43. package/dist/esm/index.native22.js +26 -23
  44. package/dist/esm/index.native23.js +18 -17
  45. package/dist/esm/index.native3.js +1 -1
  46. package/dist/esm/index.native30.js +24 -24
  47. package/dist/esm/index.native33.js +1 -1
  48. package/dist/esm/index.native40.js +19 -14
  49. package/dist/esm/index.native44.js +13 -0
  50. package/dist/esm/index.native48.js +7 -7
  51. package/dist/esm/index.native49.js +8 -30
  52. package/dist/esm/index.native50.js +3 -3
  53. package/dist/esm/index.native57.js +2 -2
  54. package/dist/esm/index.native64.js +3 -3
  55. package/dist/esm/index.native65.js +2 -31
  56. package/dist/esm/index.native66.js +65 -28
  57. package/dist/esm/index.native67.js +367 -2
  58. package/dist/esm/index.native68.js +14 -63
  59. package/dist/esm/index.native69.js +18 -360
  60. package/dist/esm/index.native70.js +47 -13
  61. package/dist/esm/index.native71.js +28 -22
  62. package/dist/esm/index.native72.js +28 -50
  63. package/dist/esm/index.native9.js +1 -1
  64. package/dist/esm/index.web100.js +38 -5
  65. package/dist/esm/index.web101.js +6 -10
  66. package/dist/esm/index.web102.js +32 -14
  67. package/dist/esm/index.web103.js +8 -22
  68. package/dist/esm/index.web104.js +10 -50
  69. package/dist/esm/index.web105.js +11 -376
  70. package/dist/esm/index.web106.js +13 -28
  71. package/dist/esm/index.web107.js +18 -28
  72. package/dist/esm/index.web108.js +8 -2
  73. package/dist/esm/index.web109.js +5 -66
  74. package/dist/esm/index.web110.js +10 -364
  75. package/dist/esm/index.web111.js +55 -2
  76. package/dist/esm/index.web112.js +10 -20
  77. package/dist/esm/index.web113.js +2 -5
  78. package/dist/esm/index.web114.js +44 -47
  79. package/dist/esm/index.web115.js +13 -19
  80. package/dist/esm/index.web116.js +4 -79
  81. package/dist/esm/index.web117.js +2 -104
  82. package/dist/esm/index.web118.js +4 -32
  83. package/dist/esm/index.web119.js +18 -6
  84. package/dist/esm/index.web120.js +7 -54
  85. package/dist/esm/index.web121.js +3 -10
  86. package/dist/esm/index.web122.js +24 -2
  87. package/dist/esm/index.web123.js +9 -45
  88. package/dist/esm/index.web124.js +7 -13
  89. package/dist/esm/index.web125.js +71 -4
  90. package/dist/esm/index.web126.js +18 -3
  91. package/dist/esm/index.web127.js +3 -4
  92. package/dist/esm/index.web128.js +4 -18
  93. package/dist/esm/index.web129.js +4 -7
  94. package/dist/esm/index.web130.js +4 -3
  95. package/dist/esm/index.web131.js +15 -19
  96. package/dist/esm/index.web132.js +52 -8
  97. package/dist/esm/index.web133.js +16 -6
  98. package/dist/esm/index.web134.js +21 -69
  99. package/dist/esm/index.web135.js +8 -18
  100. package/dist/esm/index.web136.js +30 -3
  101. package/dist/esm/index.web137.js +7 -4
  102. package/dist/esm/index.web138.js +20 -4
  103. package/dist/esm/index.web139.js +5 -5
  104. package/dist/esm/index.web14.js +18 -18
  105. package/dist/esm/index.web140.js +44 -16
  106. package/dist/esm/index.web141.js +15 -47
  107. package/dist/esm/index.web142.js +19 -17
  108. package/dist/esm/index.web143.js +79 -23
  109. package/dist/esm/index.web144.js +103 -8
  110. package/dist/esm/index.web145.js +31 -29
  111. package/dist/esm/index.web146.js +6 -7
  112. package/dist/esm/index.web147.js +18 -18
  113. package/dist/esm/index.web148.js +10 -39
  114. package/dist/esm/index.web149.js +20 -2
  115. package/dist/esm/index.web150.js +94 -70
  116. package/dist/esm/index.web151.js +21 -35
  117. package/dist/esm/index.web152.js +116 -19
  118. package/dist/esm/index.web153.js +2 -8
  119. package/dist/esm/index.web154.js +109 -2
  120. package/dist/esm/index.web155.js +2 -378
  121. package/dist/esm/index.web156.js +78 -832
  122. package/dist/esm/index.web157.js +3 -78
  123. package/dist/esm/index.web158.js +39 -5
  124. package/dist/esm/index.web159.js +2 -21
  125. package/dist/esm/index.web160.js +70 -10
  126. package/dist/esm/index.web161.js +34 -19
  127. package/dist/esm/index.web162.js +19 -92
  128. package/dist/esm/index.web163.js +8 -21
  129. package/dist/esm/index.web164.js +2 -118
  130. package/dist/esm/index.web165.js +378 -2
  131. package/dist/esm/index.web166.js +836 -2
  132. package/dist/esm/index.web167.js +47 -2
  133. package/dist/esm/index.web168.js +5 -2
  134. package/dist/esm/index.web169.js +17 -108
  135. package/dist/esm/index.web170.js +28 -2
  136. package/dist/esm/index.web171.js +7 -46
  137. package/dist/esm/index.web172.js +11 -15
  138. package/dist/esm/index.web173.js +11 -16
  139. package/dist/esm/index.web174.js +10 -28
  140. package/dist/esm/index.web175.js +17 -8
  141. package/dist/esm/index.web176.js +79 -9
  142. package/dist/esm/index.web177.js +14 -12
  143. package/dist/esm/index.web178.js +2 -10
  144. package/dist/esm/index.web179.js +2 -17
  145. package/dist/esm/index.web180.js +2 -81
  146. package/dist/esm/index.web2.js +2 -2
  147. package/dist/esm/index.web20.js +17 -18
  148. package/dist/esm/index.web21.js +26 -23
  149. package/dist/esm/index.web22.js +18 -17
  150. package/dist/esm/index.web29.js +24 -24
  151. package/dist/esm/index.web3.js +1 -1
  152. package/dist/esm/index.web32.js +1 -1
  153. package/dist/esm/index.web38.js +19 -14
  154. package/dist/esm/index.web42.js +13 -0
  155. package/dist/esm/index.web45.js +12 -12
  156. package/dist/esm/index.web47.js +7 -7
  157. package/dist/esm/index.web48.js +8 -30
  158. package/dist/esm/index.web49.js +3 -3
  159. package/dist/esm/index.web52.js +2 -2
  160. package/dist/esm/index.web56.js +3 -3
  161. package/dist/esm/index.web63.js +15 -16
  162. package/dist/esm/index.web64.js +19 -42
  163. package/dist/esm/index.web65.js +50 -13
  164. package/dist/esm/index.web66.js +376 -55
  165. package/dist/esm/index.web67.js +28 -6
  166. package/dist/esm/index.web68.js +28 -21
  167. package/dist/esm/index.web69.js +2 -14
  168. package/dist/esm/index.web70.js +65 -3
  169. package/dist/esm/index.web71.js +364 -3
  170. package/dist/esm/index.web72.js +16 -33
  171. package/dist/esm/index.web73.js +43 -10
  172. package/dist/esm/index.web74.js +13 -4
  173. package/dist/esm/index.web75.js +52 -25
  174. package/dist/esm/index.web76.js +6 -6
  175. package/dist/esm/index.web77.js +20 -41
  176. package/dist/esm/index.web78.js +11 -55
  177. package/dist/esm/index.web79.js +3 -127
  178. package/dist/esm/index.web8.js +1 -1
  179. package/dist/esm/index.web80.js +3 -23
  180. package/dist/esm/index.web81.js +32 -10
  181. package/dist/esm/index.web82.js +9 -101
  182. package/dist/esm/index.web83.js +4 -6
  183. package/dist/esm/index.web84.js +29 -3
  184. package/dist/esm/index.web85.js +6 -14
  185. package/dist/esm/index.web86.js +40 -32
  186. package/dist/esm/index.web87.js +53 -76
  187. package/dist/esm/index.web88.js +128 -2
  188. package/dist/esm/index.web89.js +24 -2
  189. package/dist/esm/index.web9.js +69 -67
  190. package/dist/esm/index.web90.js +11 -11
  191. package/dist/esm/index.web91.js +99 -32
  192. package/dist/esm/index.web92.js +6 -6
  193. package/dist/esm/index.web93.js +3 -35
  194. package/dist/esm/index.web94.js +14 -8
  195. package/dist/esm/index.web95.js +33 -9
  196. package/dist/esm/index.web96.js +78 -11
  197. package/dist/esm/index.web97.js +2 -14
  198. package/dist/esm/index.web98.js +2 -19
  199. package/dist/esm/index.web99.js +12 -5
  200. package/dist/native/index.native10.js +69 -67
  201. package/dist/native/index.native106.js +1 -1
  202. package/dist/native/index.native107.js +1 -1
  203. package/dist/native/index.native112.js +1 -1
  204. package/dist/native/index.native113.js +7 -7
  205. package/dist/native/index.native119.js +3 -3
  206. package/dist/native/index.native124.js +8 -8
  207. package/dist/native/index.native131.js +4 -4
  208. package/dist/native/index.native133.js +4 -4
  209. package/dist/native/index.native136.js +7 -7
  210. package/dist/native/index.native140.js +2 -2
  211. package/dist/native/index.native145.js +1 -1
  212. package/dist/native/index.native146.js +6 -32
  213. package/dist/native/index.native147.js +32 -6
  214. package/dist/native/index.native148.js +2 -79
  215. package/dist/native/index.native149.js +108 -3
  216. package/dist/native/index.native15.js +18 -18
  217. package/dist/native/index.native150.js +2 -2
  218. package/dist/native/index.native151.js +20 -108
  219. package/dist/native/index.native152.js +10 -2
  220. package/dist/native/index.native153.js +19 -20
  221. package/dist/native/index.native154.js +93 -9
  222. package/dist/native/index.native155.js +19 -18
  223. package/dist/native/index.native156.js +105 -81
  224. package/dist/native/index.native157.js +78 -20
  225. package/dist/native/index.native158.js +4 -118
  226. package/dist/native/index.native159.js +7 -38
  227. package/dist/native/index.native161.js +375 -67
  228. package/dist/native/index.native162.js +835 -34
  229. package/dist/native/index.native163.js +38 -20
  230. package/dist/native/index.native164.js +2 -8
  231. package/dist/native/index.native165.js +70 -2
  232. package/dist/native/index.native166.js +30 -373
  233. package/dist/native/index.native167.js +20 -832
  234. package/dist/native/index.native168.js +1 -1
  235. package/dist/native/index.native171.js +1 -1
  236. package/dist/native/index.native177.js +1 -1
  237. package/dist/native/index.native179.js +2 -2
  238. package/dist/native/index.native180.js +2 -2
  239. package/dist/native/index.native181.js +2 -2
  240. package/dist/native/index.native21.js +17 -18
  241. package/dist/native/index.native22.js +26 -23
  242. package/dist/native/index.native23.js +18 -17
  243. package/dist/native/index.native3.js +1 -1
  244. package/dist/native/index.native30.js +24 -24
  245. package/dist/native/index.native33.js +1 -1
  246. package/dist/native/index.native40.js +19 -14
  247. package/dist/native/index.native44.js +13 -0
  248. package/dist/native/index.native48.js +7 -7
  249. package/dist/native/index.native49.js +8 -30
  250. package/dist/native/index.native50.js +3 -3
  251. package/dist/native/index.native57.js +2 -2
  252. package/dist/native/index.native64.js +3 -3
  253. package/dist/native/index.native65.js +2 -31
  254. package/dist/native/index.native66.js +65 -28
  255. package/dist/native/index.native67.js +367 -2
  256. package/dist/native/index.native68.js +14 -63
  257. package/dist/native/index.native69.js +18 -360
  258. package/dist/native/index.native70.js +47 -13
  259. package/dist/native/index.native71.js +28 -22
  260. package/dist/native/index.native72.js +28 -50
  261. package/dist/native/index.native9.js +1 -1
  262. package/dist/native-types/auth/toAuthState.d.ts +4 -1
  263. package/dist/native-types/shared/validators.d.ts +0 -4
  264. package/dist/native-types/types.d.ts +5 -2
  265. package/dist/native-types/version.d.ts +1 -1
  266. package/dist/types/auth/toAuthState.d.ts +4 -1
  267. package/dist/types/shared/validators.d.ts +0 -4
  268. package/dist/types/types.d.ts +5 -2
  269. package/dist/types/version.d.ts +1 -1
  270. package/dist/web/index.web100.js +38 -5
  271. package/dist/web/index.web101.js +6 -10
  272. package/dist/web/index.web102.js +32 -14
  273. package/dist/web/index.web103.js +8 -22
  274. package/dist/web/index.web104.js +10 -50
  275. package/dist/web/index.web105.js +11 -376
  276. package/dist/web/index.web106.js +13 -28
  277. package/dist/web/index.web107.js +18 -28
  278. package/dist/web/index.web108.js +8 -2
  279. package/dist/web/index.web109.js +5 -66
  280. package/dist/web/index.web110.js +10 -364
  281. package/dist/web/index.web111.js +55 -2
  282. package/dist/web/index.web112.js +10 -20
  283. package/dist/web/index.web113.js +2 -5
  284. package/dist/web/index.web114.js +44 -47
  285. package/dist/web/index.web115.js +13 -19
  286. package/dist/web/index.web116.js +4 -79
  287. package/dist/web/index.web117.js +2 -104
  288. package/dist/web/index.web118.js +4 -32
  289. package/dist/web/index.web119.js +18 -6
  290. package/dist/web/index.web120.js +7 -54
  291. package/dist/web/index.web121.js +3 -10
  292. package/dist/web/index.web122.js +24 -2
  293. package/dist/web/index.web123.js +9 -45
  294. package/dist/web/index.web124.js +7 -13
  295. package/dist/web/index.web125.js +71 -4
  296. package/dist/web/index.web126.js +18 -3
  297. package/dist/web/index.web127.js +3 -4
  298. package/dist/web/index.web128.js +4 -18
  299. package/dist/web/index.web129.js +4 -7
  300. package/dist/web/index.web130.js +4 -3
  301. package/dist/web/index.web131.js +15 -19
  302. package/dist/web/index.web132.js +52 -8
  303. package/dist/web/index.web133.js +16 -6
  304. package/dist/web/index.web134.js +21 -69
  305. package/dist/web/index.web135.js +8 -18
  306. package/dist/web/index.web136.js +30 -3
  307. package/dist/web/index.web137.js +7 -4
  308. package/dist/web/index.web138.js +20 -4
  309. package/dist/web/index.web139.js +5 -5
  310. package/dist/web/index.web14.js +18 -18
  311. package/dist/web/index.web140.js +44 -16
  312. package/dist/web/index.web141.js +15 -47
  313. package/dist/web/index.web142.js +19 -17
  314. package/dist/web/index.web143.js +79 -23
  315. package/dist/web/index.web144.js +103 -8
  316. package/dist/web/index.web145.js +31 -29
  317. package/dist/web/index.web146.js +6 -7
  318. package/dist/web/index.web147.js +18 -18
  319. package/dist/web/index.web148.js +10 -39
  320. package/dist/web/index.web149.js +20 -2
  321. package/dist/web/index.web150.js +94 -70
  322. package/dist/web/index.web151.js +21 -35
  323. package/dist/web/index.web152.js +116 -19
  324. package/dist/web/index.web153.js +2 -8
  325. package/dist/web/index.web154.js +109 -2
  326. package/dist/web/index.web155.js +2 -378
  327. package/dist/web/index.web156.js +78 -832
  328. package/dist/web/index.web157.js +3 -78
  329. package/dist/web/index.web158.js +39 -5
  330. package/dist/web/index.web159.js +2 -21
  331. package/dist/web/index.web160.js +70 -10
  332. package/dist/web/index.web161.js +34 -19
  333. package/dist/web/index.web162.js +19 -92
  334. package/dist/web/index.web163.js +8 -21
  335. package/dist/web/index.web164.js +2 -118
  336. package/dist/web/index.web165.js +378 -2
  337. package/dist/web/index.web166.js +836 -2
  338. package/dist/web/index.web167.js +47 -2
  339. package/dist/web/index.web168.js +5 -2
  340. package/dist/web/index.web169.js +17 -108
  341. package/dist/web/index.web170.js +28 -2
  342. package/dist/web/index.web171.js +7 -46
  343. package/dist/web/index.web172.js +11 -15
  344. package/dist/web/index.web173.js +11 -16
  345. package/dist/web/index.web174.js +10 -28
  346. package/dist/web/index.web175.js +17 -8
  347. package/dist/web/index.web176.js +79 -9
  348. package/dist/web/index.web177.js +14 -12
  349. package/dist/web/index.web178.js +2 -10
  350. package/dist/web/index.web179.js +2 -17
  351. package/dist/web/index.web180.js +2 -81
  352. package/dist/web/index.web2.js +2 -2
  353. package/dist/web/index.web20.js +17 -18
  354. package/dist/web/index.web21.js +26 -23
  355. package/dist/web/index.web22.js +18 -17
  356. package/dist/web/index.web29.js +24 -24
  357. package/dist/web/index.web3.js +1 -1
  358. package/dist/web/index.web32.js +1 -1
  359. package/dist/web/index.web38.js +19 -14
  360. package/dist/web/index.web42.js +13 -0
  361. package/dist/web/index.web45.js +12 -12
  362. package/dist/web/index.web47.js +7 -7
  363. package/dist/web/index.web48.js +8 -30
  364. package/dist/web/index.web49.js +3 -3
  365. package/dist/web/index.web52.js +2 -2
  366. package/dist/web/index.web56.js +3 -3
  367. package/dist/web/index.web63.js +15 -16
  368. package/dist/web/index.web64.js +19 -42
  369. package/dist/web/index.web65.js +50 -13
  370. package/dist/web/index.web66.js +376 -55
  371. package/dist/web/index.web67.js +28 -6
  372. package/dist/web/index.web68.js +28 -21
  373. package/dist/web/index.web69.js +2 -14
  374. package/dist/web/index.web70.js +65 -3
  375. package/dist/web/index.web71.js +364 -3
  376. package/dist/web/index.web72.js +16 -33
  377. package/dist/web/index.web73.js +43 -10
  378. package/dist/web/index.web74.js +13 -4
  379. package/dist/web/index.web75.js +52 -25
  380. package/dist/web/index.web76.js +6 -6
  381. package/dist/web/index.web77.js +20 -41
  382. package/dist/web/index.web78.js +11 -55
  383. package/dist/web/index.web79.js +3 -127
  384. package/dist/web/index.web8.js +1 -1
  385. package/dist/web/index.web80.js +3 -23
  386. package/dist/web/index.web81.js +32 -10
  387. package/dist/web/index.web82.js +9 -101
  388. package/dist/web/index.web83.js +4 -6
  389. package/dist/web/index.web84.js +29 -3
  390. package/dist/web/index.web85.js +6 -14
  391. package/dist/web/index.web86.js +40 -32
  392. package/dist/web/index.web87.js +53 -76
  393. package/dist/web/index.web88.js +128 -2
  394. package/dist/web/index.web89.js +24 -2
  395. package/dist/web/index.web9.js +69 -67
  396. package/dist/web/index.web90.js +11 -11
  397. package/dist/web/index.web91.js +99 -32
  398. package/dist/web/index.web92.js +6 -6
  399. package/dist/web/index.web93.js +3 -35
  400. package/dist/web/index.web94.js +14 -8
  401. package/dist/web/index.web95.js +33 -9
  402. package/dist/web/index.web96.js +78 -11
  403. package/dist/web/index.web97.js +2 -14
  404. package/dist/web/index.web98.js +2 -19
  405. package/dist/web/index.web99.js +12 -5
  406. package/dist/web-types/auth/toAuthState.d.ts +4 -1
  407. package/dist/web-types/shared/validators.d.ts +0 -4
  408. package/dist/web-types/types.d.ts +5 -2
  409. package/dist/web-types/version.d.ts +1 -1
  410. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { BaseError as f } from "./index.native68.js";
1
+ import { BaseError as f } from "./index.native66.js";
2
2
  import { pad as g } from "./index.native178.js";
3
3
  function m(t, i = {}) {
4
4
  const { signed: r, size: e } = i, o = BigInt(t);
@@ -1,4 +1,4 @@
1
- import { JOSENotSupported as r } from "./index.native71.js";
1
+ import { JOSENotSupported as r } from "./index.native69.js";
2
2
  const S = (e, s) => {
3
3
  const a = `SHA-${e.slice(-3)}`;
4
4
  switch (e) {
@@ -1,4 +1,4 @@
1
- import { JOSENotSupported as s } from "./index.native71.js";
1
+ import { JOSENotSupported as s } from "./index.native69.js";
2
2
  function n(e) {
3
3
  let a, r;
4
4
  switch (e.kty) {
@@ -1,4 +1,4 @@
1
- var r = { exports: {} };
1
+ var r = {};
2
2
  export {
3
- r as __module
3
+ r as __exports
4
4
  };
@@ -1,4 +1,4 @@
1
- var r = {};
1
+ var e = { exports: {} };
2
2
  export {
3
- r as __exports
3
+ e as __module
4
4
  };
@@ -1,4 +1,4 @@
1
- var e = { exports: {} };
1
+ var r = { exports: {} };
2
2
  export {
3
- e as __module
3
+ r as __module
4
4
  };
@@ -1,30 +1,29 @@
1
- import { createEndUserEvmAccount as c } from "@coinbase/cdp-api-client";
2
- import { Analytics as s } from "./index.native2.js";
1
+ import { createEndUserEvmAccount as u } from "@coinbase/cdp-api-client";
2
+ import { Analytics as i } from "./index.native2.js";
3
3
  import "./index.native3.js";
4
4
  import { toAuthStateUser as m } from "./index.native40.js";
5
- import { InternalError as u } from "./index.native31.js";
6
- import { validateUserCanCreateAccount as i } from "./index.native49.js";
7
- import { getCoreAuthManager as A, getConfig as l } from "./index.native35.js";
8
- async function S() {
9
- s.sendActionCallEvent({ name: "create_evm_eoa_account" });
10
- const t = A(), { user: o, authState: a } = i(
5
+ import { InternalError as A } from "./index.native31.js";
6
+ import { validateUserAuthState as d } from "./index.native49.js";
7
+ import { getCoreAuthManager as h, getConfig as f } from "./index.native35.js";
8
+ async function U() {
9
+ i.sendActionCallEvent({ name: "create_evm_eoa_account" });
10
+ const t = h(), { user: e, authState: a } = d(
11
11
  t.getUser(),
12
- t.getAuthState(),
13
- "eoa"
14
- ), n = await c(l().projectId, o.userId, {
12
+ t.getAuthState()
13
+ ), n = await u(f().projectId, e.userId, {
15
14
  walletSecretId: await t.getWalletSecretId()
16
- }), e = m(n);
15
+ }), r = m(n);
17
16
  await t.setAuthState({
18
17
  ...a,
19
- user: e
18
+ user: r
20
19
  });
21
- const r = e.evmAccounts?.[0];
22
- if (!r)
23
- throw new u(
20
+ const c = new Set(e.evmAccounts || []), o = r.evmAccounts?.find((s) => !c.has(s));
21
+ if (!o)
22
+ throw new A(
24
23
  "EVM EOA account was not created. Check the network log for more details."
25
24
  );
26
- return r;
25
+ return o;
27
26
  }
28
27
  export {
29
- S as createEvmEoaAccount
28
+ U as createEvmEoaAccount
30
29
  };
@@ -1,36 +1,39 @@
1
- import { createEndUserEvmSmartAccount as m } from "@coinbase/cdp-api-client";
2
- import { Analytics as i } from "./index.native2.js";
1
+ import { createEndUserEvmSmartAccount as u } from "@coinbase/cdp-api-client";
2
+ import { Analytics as d } from "./index.native2.js";
3
3
  import "./index.native3.js";
4
- import { toAuthStateUser as u } from "./index.native40.js";
5
- import { getCoreAuthManager as A, getConfig as f } from "./index.native35.js";
6
- import { createEvmEoaAccount as p } from "./index.native21.js";
7
- import { InternalError as S } from "./index.native31.js";
8
- import { validateUserCanCreateAccount as h } from "./index.native49.js";
9
- async function y(n) {
10
- i.sendActionCallEvent({ name: "create_evm_smart_account" });
11
- const t = A(), { user: e, authState: a } = h(
12
- t.getUser(),
13
- t.getAuthState(),
14
- "smart"
15
- ), c = await (async () => e.evmAccounts?.[0] ?? p())(), s = await m(
4
+ import { toAuthStateUser as A } from "./index.native40.js";
5
+ import { getCoreAuthManager as S, getConfig as f } from "./index.native35.js";
6
+ import { createEvmEoaAccount as h } from "./index.native21.js";
7
+ import { InternalError as p } from "./index.native31.js";
8
+ import { validateUserAuthState as g } from "./index.native49.js";
9
+ async function C(a) {
10
+ d.sendActionCallEvent({ name: "create_evm_smart_account" });
11
+ const e = S(), { user: r, authState: s } = g(
12
+ e.getUser(),
13
+ e.getAuthState()
14
+ ), c = await (async () => r.evmAccountObjects?.[0]?.address ?? h())(), m = await u(
16
15
  f().projectId,
17
- e.userId,
16
+ r.userId,
18
17
  {
19
18
  owner: c,
20
- enableSpendPermissions: n?.enableSpendPermissions ?? !1
19
+ enableSpendPermissions: a?.enableSpendPermissions ?? !1
21
20
  }
22
- ), r = u(s);
23
- await t.setAuthState({
24
- ...a,
25
- user: r
21
+ ), n = A(m);
22
+ await e.setAuthState({
23
+ ...s,
24
+ user: n
26
25
  });
27
- const o = r.evmSmartAccounts?.[0];
26
+ const i = new Set(
27
+ r.evmSmartAccountObjects?.map((t) => t.address) || []
28
+ ), o = n.evmSmartAccountObjects?.find(
29
+ (t) => !i.has(t.address)
30
+ )?.address;
28
31
  if (!o)
29
- throw new S(
32
+ throw new p(
30
33
  "EVM Smart Account was not created. Check the network log for more details."
31
34
  );
32
35
  return o;
33
36
  }
34
37
  export {
35
- y as createEvmSmartAccount
38
+ C as createEvmSmartAccount
36
39
  };
@@ -1,29 +1,30 @@
1
- import { createEndUserSolanaAccount as c } from "@coinbase/cdp-api-client";
2
- import { Analytics as s } from "./index.native2.js";
1
+ import { createEndUserSolanaAccount as u } from "@coinbase/cdp-api-client";
2
+ import { Analytics as i } from "./index.native2.js";
3
3
  import "./index.native3.js";
4
- import { toAuthStateUser as u } from "./index.native40.js";
5
- import { InternalError as i } from "./index.native31.js";
6
- import { validateUserCanCreateAccount as l } from "./index.native49.js";
7
- import { getCoreAuthManager as m, getConfig as A } from "./index.native35.js";
4
+ import { toAuthStateUser as l } from "./index.native40.js";
5
+ import { InternalError as m } from "./index.native31.js";
6
+ import { validateUserAuthState as A } from "./index.native49.js";
7
+ import { getCoreAuthManager as d, getConfig as h } from "./index.native35.js";
8
8
  async function C() {
9
- s.sendActionCallEvent({ name: "create_solana_account" });
10
- const t = m(), { user: o, authState: r } = l(
9
+ i.sendActionCallEvent({ name: "create_solana_account" });
10
+ const t = d(), { user: e, authState: r } = A(
11
11
  t.getUser(),
12
- t.getAuthState(),
13
- "solana"
14
- ), n = await c(A().projectId, o.userId, {
12
+ t.getAuthState()
13
+ ), n = await u(h().projectId, e.userId, {
15
14
  walletSecretId: await t.getWalletSecretId()
16
- }), e = u(n);
15
+ }), a = l(n);
17
16
  await t.setAuthState({
18
17
  ...r,
19
- user: e
18
+ user: a
20
19
  });
21
- const a = e.solanaAccounts?.[0];
22
- if (!a)
23
- throw new i(
20
+ const c = new Set(e.solanaAccounts || []), o = a.solanaAccounts?.find(
21
+ (s) => !c.has(s)
22
+ );
23
+ if (!o)
24
+ throw new m(
24
25
  "Solana account was not created. Check the network log for more details."
25
26
  );
26
- return a;
27
+ return o;
27
28
  }
28
29
  export {
29
30
  C as createSolanaAccount
@@ -1,2 +1,2 @@
1
- import { __require as r } from "./index.native164.js";
1
+ import { __require as r } from "./index.native159.js";
2
2
  r();
@@ -1,21 +1,21 @@
1
- import { hashTypedData as s, serializeErc6492Signature as c, encodeFunctionData as u, pad as m, getTypesForEIP712Domain as g } from "viem";
2
- import { getCurrentUserSync as A } from "./index.native14.js";
3
- import { signEvmHash as l, signEvmTypedData as d, signEvmTransaction as f, signEvmMessage as h } from "./index.native10.js";
1
+ import { hashTypedData as c, serializeErc6492Signature as i, encodeFunctionData as u, pad as m, getTypesForEIP712Domain as d } from "viem";
2
+ import { getCurrentUserSync as g } from "./index.native14.js";
3
+ import { signEvmHash as A, signEvmTypedData as l, signEvmTransaction as f, signEvmMessage as h } from "./index.native10.js";
4
4
  import "@coinbase/cdp-api-client";
5
5
  import { COINBASE_SMART_WALLET_FACTORY_ADDRESS as y, COINBASE_SMART_WALLET_FACTORY_ABI as p } from "./index.native51.js";
6
6
  import { signAndWrapTypedDataForSmartAccount as v } from "./index.native52.js";
7
7
  import { toAccount as T } from "./index.native53.js";
8
- function x(n) {
9
- const r = A();
10
- if (!r || !r.evmAccounts?.length && !r.evmSmartAccounts?.length)
8
+ function b(r) {
9
+ const n = g();
10
+ if (!n || !n.evmAccountObjects?.length && !n.evmSmartAccountObjects?.length)
11
11
  throw new Error(
12
12
  "No accounts found - user must be authenticated and have at least one EVM account or smart account"
13
13
  );
14
- const i = r.evmAccounts?.includes(n) ?? !1, a = r.evmSmartAccounts?.includes(n) ?? !1;
15
- if (!i && !a)
16
- throw new Error(`Cannot sign for address ${n} - not authorized for this account`);
14
+ const s = n.evmAccountObjects?.some((e) => e.address === r) ?? !1, o = n.evmSmartAccountObjects?.some((e) => e.address === r) ?? !1;
15
+ if (!s && !o)
16
+ throw new Error(`Cannot sign for address ${r} - not authorized for this account`);
17
17
  return T({
18
- address: n,
18
+ address: r,
19
19
  /**
20
20
  * Signs a message using CDP's message signing functionality.
21
21
  * Supports string messages, hex strings, and byte arrays.
@@ -33,7 +33,7 @@ function x(n) {
33
33
  else
34
34
  throw new Error("Unsupported message format");
35
35
  return (await h({
36
- evmAccount: n,
36
+ evmAccount: r,
37
37
  message: t
38
38
  })).signature;
39
39
  },
@@ -54,7 +54,7 @@ function x(n) {
54
54
  chainId: e.chainId ?? 1
55
55
  };
56
56
  return e.gasPrice !== void 0 ? (t.maxFeePerGas = e.gasPrice, t.maxPriorityFeePerGas = e.gasPrice) : (t.maxFeePerGas = e.maxFeePerGas, t.maxPriorityFeePerGas = e.maxPriorityFeePerGas), (await f({
57
- evmAccount: n,
57
+ evmAccount: r,
58
58
  transaction: t
59
59
  })).signedTransaction;
60
60
  },
@@ -67,19 +67,19 @@ function x(n) {
67
67
  * @returns The signature as a hex string
68
68
  */
69
69
  async signTypedData(e) {
70
- if (a) {
70
+ if (o) {
71
71
  const t = await v({
72
- smartAccount: n,
73
- ownerAddress: r.evmAccounts?.[0],
74
- hash: s(e),
72
+ smartAccount: r,
73
+ ownerAddress: n.evmAccountObjects?.[0]?.address,
74
+ hash: c(e),
75
75
  chainId: Number(e.domain.chainId)
76
76
  });
77
- return c({
77
+ return i({
78
78
  address: y,
79
79
  data: u({
80
80
  abi: p,
81
81
  functionName: "createAccount",
82
- args: [[m(r.evmAccounts?.[0])], 0n]
82
+ args: [[m(n.evmAccountObjects?.[0]?.address)], 0n]
83
83
  }),
84
84
  signature: t.signature
85
85
  });
@@ -87,7 +87,7 @@ function x(n) {
87
87
  const t = {
88
88
  domain: e.domain,
89
89
  types: {
90
- EIP712Domain: g({
90
+ EIP712Domain: d({
91
91
  domain: e.domain
92
92
  }),
93
93
  ...e.types
@@ -95,8 +95,8 @@ function x(n) {
95
95
  primaryType: e.primaryType,
96
96
  message: e.message
97
97
  };
98
- return (await d({
99
- evmAccount: n,
98
+ return (await l({
99
+ evmAccount: r,
100
100
  typedData: t
101
101
  })).signature;
102
102
  }
@@ -108,13 +108,13 @@ function x(n) {
108
108
  * @returns The signature as a hex string
109
109
  */
110
110
  async sign(e) {
111
- return (await l({
112
- evmAccount: n,
111
+ return (await A({
112
+ evmAccount: r,
113
113
  hash: e.hash
114
114
  })).signature;
115
115
  }
116
116
  });
117
117
  }
118
118
  export {
119
- x as toViemAccount
119
+ b as toViemAccount
120
120
  };
@@ -131,7 +131,7 @@ async function _(e) {
131
131
  }
132
132
  async function y() {
133
133
  const e = await s();
134
- if (!e.evmSmartAccounts?.[0])
134
+ if (!e.evmSmartAccountObjects?.[0])
135
135
  throw new o(
136
136
  r.provider.unauthorized,
137
137
  "No EVM smart accounts available"
@@ -1,20 +1,25 @@
1
1
  import "@coinbase/cdp-api-client";
2
- const s = (e) => ({
3
- userId: e.userId,
4
- evmAccounts: e.evmAccounts?.map((t) => t) ?? [],
5
- evmSmartAccounts: e.evmSmartAccounts?.map((t) => t) ?? [],
6
- solanaAccounts: e.solanaAccounts?.map((t) => t) ?? [],
7
- authenticationMethods: e.authenticationMethods.reduce((t, o) => (t[o.type] = o, t), {}),
8
- mfaMethods: e.mfaMethods
9
- }), c = (e, t, o) => {
10
- const a = new Date(t).getTime();
2
+ const a = (t) => ({
3
+ userId: t.userId,
4
+ // Deprecated fields - keep for backward compatibility
5
+ evmAccounts: t.evmAccounts?.map((c) => c) ?? [],
6
+ evmSmartAccounts: t.evmSmartAccounts?.map((c) => c) ?? [],
7
+ solanaAccounts: t.solanaAccounts?.map((c) => c) ?? [],
8
+ // New account object fields
9
+ evmAccountObjects: t.evmAccountObjects,
10
+ evmSmartAccountObjects: t.evmSmartAccountObjects,
11
+ solanaAccountObjects: t.solanaAccountObjects,
12
+ authenticationMethods: t.authenticationMethods.reduce((c, o) => (c[o.type] = o, c), {}),
13
+ mfaMethods: t.mfaMethods
14
+ }), s = (t, c, o) => {
15
+ const e = new Date(c).getTime();
11
16
  return {
12
- accessToken: e,
13
- expiresAt: a,
14
- user: s(o)
17
+ accessToken: t,
18
+ expiresAt: e,
19
+ user: a(o)
15
20
  };
16
21
  };
17
22
  export {
18
- c as toAuthState,
19
- s as toAuthStateUser
23
+ s as toAuthState,
24
+ a as toAuthStateUser
20
25
  };
@@ -5,6 +5,19 @@ const t = "0x0000000000000000000000000000000000000000", s = {
5
5
  evmAccounts: [t],
6
6
  evmSmartAccounts: [],
7
7
  solanaAccounts: ["5fNfvyp5f3BB9T24s6bC8QjDXuJqvU8WjziJpEQi9PWT"],
8
+ evmAccountObjects: [
9
+ {
10
+ address: t,
11
+ createdAt: "2024-01-01T00:00:00Z"
12
+ }
13
+ ],
14
+ evmSmartAccountObjects: [],
15
+ solanaAccountObjects: [
16
+ {
17
+ address: "5fNfvyp5f3BB9T24s6bC8QjDXuJqvU8WjziJpEQi9PWT",
18
+ createdAt: "2024-01-01T00:00:00Z"
19
+ }
20
+ ],
8
21
  authenticationMethods: {
9
22
  email: {
10
23
  type: "email",
@@ -2,9 +2,9 @@ import { getTransactionEncoder as u, getTransactionDecoder as f, address as g }
2
2
  import { getCurrentUserSync as l } from "./index.native14.js";
3
3
  import { signSolanaTransaction as m } from "./index.native10.js";
4
4
  import { encodeBase64 as T, decodeBase64 as h } from "./index.native34.js";
5
- function E(n) {
6
- const o = l();
7
- if (!o || !o.solanaAccounts?.length)
5
+ function A(n) {
6
+ const t = l();
7
+ if (!t || !t.solanaAccountObjects?.length)
8
8
  throw new Error(
9
9
  "No accounts found. User must be authenticated and have at least one Solana account"
10
10
  );
@@ -12,7 +12,7 @@ function E(n) {
12
12
  return {
13
13
  address: g(n),
14
14
  signTransactions: async (c) => {
15
- const t = [];
15
+ const o = [];
16
16
  for (const s of c) {
17
17
  const i = new Uint8Array(r.encode(s)), { signedTransaction: d } = await m({
18
18
  solanaAccount: n,
@@ -20,16 +20,16 @@ function E(n) {
20
20
  }), e = a.decode(h(d)).signatures[n];
21
21
  if (!e)
22
22
  throw new Error("Wallet did not return a signature for the selected account.");
23
- t.push(
23
+ o.push(
24
24
  Object.freeze({
25
25
  [n]: e
26
26
  })
27
27
  );
28
28
  }
29
- return t;
29
+ return o;
30
30
  }
31
31
  };
32
32
  }
33
33
  export {
34
- E as toTransactionSigner
34
+ A as toTransactionSigner
35
35
  };
@@ -1,33 +1,11 @@
1
- import { ValidationError as t, InternalError as e } from "./index.native31.js";
2
- function c(a, n, o) {
3
- if (!a)
4
- throw new t("User must be signed in");
5
- if (!n)
6
- throw new e("No auth state found");
7
- switch (o) {
8
- case "eoa":
9
- if (a.evmAccounts && a.evmAccounts.length > 0)
10
- throw new t("User already has an EVM EOA account");
11
- break;
12
- case "smart":
13
- if (a.evmSmartAccounts && a.evmSmartAccounts.length > 0)
14
- throw new t("User already has an EVM Smart Account");
15
- break;
16
- case "solana":
17
- if (a.solanaAccounts && a.solanaAccounts.length > 0)
18
- throw new t("User already has a Solana account");
19
- break;
20
- }
21
- return { user: a, authState: n };
22
- }
23
- function s(a, n) {
24
- if (!a)
25
- throw new t("User must be signed in");
26
- if (!n)
27
- throw new e("No auth state found");
28
- return { user: a, authState: n };
1
+ import { ValidationError as n, InternalError as o } from "./index.native31.js";
2
+ function i(r, t) {
3
+ if (!r)
4
+ throw new n("User must be signed in");
5
+ if (!t)
6
+ throw new o("No auth state found");
7
+ return { user: r, authState: t };
29
8
  }
30
9
  export {
31
- s as validateUserAuthState,
32
- c as validateUserCanCreateAccount
10
+ i as validateUserAuthState
33
11
  };
@@ -1,6 +1,6 @@
1
- import { CompactSign as i } from "./index.native70.js";
2
- import { JWTInvalid as r } from "./index.native71.js";
3
- import { JWTClaimsBuilder as n } from "./index.native72.js";
1
+ import { CompactSign as i } from "./index.native68.js";
2
+ import { JWTInvalid as r } from "./index.native69.js";
3
+ import { JWTClaimsBuilder as n } from "./index.native70.js";
4
4
  class d {
5
5
  #s;
6
6
  #t;
@@ -1,7 +1,7 @@
1
1
  import { DisconnectedError as l, from as d } from "./index.native64.js";
2
2
  import { validateRequest as h, EIP1193ProviderError as m, STANDARD_ERROR_CODES as _ } from "./index.native33.js";
3
- import { createEOAHandlers as p } from "./index.native65.js";
4
- import { createSmartAccountHandlers as g } from "./index.native66.js";
3
+ import { createEOAHandlers as p } from "./index.native71.js";
4
+ import { createSmartAccountHandlers as g } from "./index.native72.js";
5
5
  import "viem";
6
6
  import "zustand";
7
7
  import "@coinbase/cdp-api-client";
@@ -1,6 +1,6 @@
1
- import "./index.native67.js";
2
- import { BaseError as P } from "./index.native68.js";
3
- import { parse as y, parseError as j, InternalError as g } from "./index.native69.js";
1
+ import "./index.native65.js";
2
+ import { BaseError as P } from "./index.native66.js";
3
+ import { parse as y, parseError as j, InternalError as g } from "./index.native67.js";
4
4
  class u extends Error {
5
5
  constructor(e, t) {
6
6
  super(t), Object.defineProperty(this, "name", {
@@ -1,31 +1,2 @@
1
- import { handleAccounts as t } from "./index.native119.js";
2
- import { handleEthSign as e } from "./index.native120.js";
3
- import { handleGetCallsStatus as a } from "./index.native121.js";
4
- import { handleGetCapabilities as n } from "./index.native122.js";
5
- import { handlePersonalSign as o } from "./index.native123.js";
6
- import { handleRequestAccounts as r } from "./index.native124.js";
7
- import { handleSendCalls as i } from "./index.native125.js";
8
- import { handleSendTransaction as l } from "./index.native126.js";
9
- import { handleSignTypedData as h } from "./index.native127.js";
10
- import { handleChainId as s } from "./index.native128.js";
11
- import { handleDisconnect as m } from "./index.native129.js";
12
- import { handleSwitchEthereumChain as d } from "./index.native130.js";
13
- function D() {
14
- return {
15
- eth_accounts: t,
16
- eth_requestAccounts: r,
17
- personal_sign: o,
18
- eth_sendTransaction: l,
19
- eth_signTypedData_v4: h,
20
- wallet_disconnect: m,
21
- wallet_switchEthereumChain: d,
22
- eth_sign: e,
23
- eth_chainId: s,
24
- wallet_sendCalls: i,
25
- wallet_getCallsStatus: a,
26
- wallet_getCapabilities: n
27
- };
28
- }
29
- export {
30
- D as createEOAHandlers
31
- };
1
+ import { __require as e } from "./index.native149.js";
2
+ e();
@@ -1,31 +1,68 @@
1
- import { handleChainId as t } from "./index.native128.js";
2
- import { handleDisconnect as e } from "./index.native129.js";
3
- import { handleSwitchEthereumChain as a } from "./index.native130.js";
4
- import { handleAccounts as n } from "./index.native131.js";
5
- import { handleEthSign as o } from "./index.native132.js";
6
- import { handleGetCallsStatus as r } from "./index.native133.js";
7
- import { handleGetCapabilities as i } from "./index.native134.js";
8
- import { handlePersonalSign as l } from "./index.native135.js";
9
- import { handleRequestAccounts as h } from "./index.native136.js";
10
- import { handleSendCalls as m } from "./index.native137.js";
11
- import { handleSendTransaction as s } from "./index.native138.js";
12
- import { handleSignTypedData as d } from "./index.native139.js";
13
- function E() {
14
- return {
15
- eth_accounts: n,
16
- eth_requestAccounts: h,
17
- personal_sign: l,
18
- eth_sendTransaction: s,
19
- eth_signTypedData_v4: d,
20
- wallet_disconnect: e,
21
- wallet_switchEthereumChain: a,
22
- eth_sign: o,
23
- eth_chainId: t,
24
- wallet_sendCalls: m,
25
- wallet_getCallsStatus: r,
26
- wallet_getCapabilities: i
27
- };
1
+ import { getVersion as n } from "./index.native112.js";
2
+ class s extends Error {
3
+ constructor(r, e = {}) {
4
+ const a = (() => {
5
+ if (e.cause instanceof s) {
6
+ if (e.cause.details)
7
+ return e.cause.details;
8
+ if (e.cause.shortMessage)
9
+ return e.cause.shortMessage;
10
+ }
11
+ return e.cause && "details" in e.cause && typeof e.cause.details == "string" ? e.cause.details : e.cause?.message ? e.cause.message : e.details;
12
+ })(), u = e.cause instanceof s && e.cause.docsPath || e.docsPath, c = `https://oxlib.sh${u ?? ""}`, l = [
13
+ r || "An error occurred.",
14
+ ...e.metaMessages ? ["", ...e.metaMessages] : [],
15
+ ...a || u ? [
16
+ "",
17
+ a ? `Details: ${a}` : void 0,
18
+ u ? `See: ${c}` : void 0
19
+ ] : []
20
+ ].filter((d) => typeof d == "string").join(`
21
+ `);
22
+ super(l, e.cause ? { cause: e.cause } : void 0), Object.defineProperty(this, "details", {
23
+ enumerable: !0,
24
+ configurable: !0,
25
+ writable: !0,
26
+ value: void 0
27
+ }), Object.defineProperty(this, "docs", {
28
+ enumerable: !0,
29
+ configurable: !0,
30
+ writable: !0,
31
+ value: void 0
32
+ }), Object.defineProperty(this, "docsPath", {
33
+ enumerable: !0,
34
+ configurable: !0,
35
+ writable: !0,
36
+ value: void 0
37
+ }), Object.defineProperty(this, "shortMessage", {
38
+ enumerable: !0,
39
+ configurable: !0,
40
+ writable: !0,
41
+ value: void 0
42
+ }), Object.defineProperty(this, "cause", {
43
+ enumerable: !0,
44
+ configurable: !0,
45
+ writable: !0,
46
+ value: void 0
47
+ }), Object.defineProperty(this, "name", {
48
+ enumerable: !0,
49
+ configurable: !0,
50
+ writable: !0,
51
+ value: "BaseError"
52
+ }), Object.defineProperty(this, "version", {
53
+ enumerable: !0,
54
+ configurable: !0,
55
+ writable: !0,
56
+ value: `ox@${n()}`
57
+ }), this.cause = e.cause, this.details = a, this.docs = c, this.docsPath = u, this.shortMessage = r;
58
+ }
59
+ walk(r) {
60
+ return i(this, r);
61
+ }
62
+ }
63
+ function i(t, r) {
64
+ return r?.(t) ? t : t && typeof t == "object" && "cause" in t && t.cause ? i(t.cause, r) : r ? null : t;
28
65
  }
29
66
  export {
30
- E as createSmartAccountHandlers
67
+ s as BaseError
31
68
  };