@coinbase/cdp-core 0.0.104 → 0.0.105

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 (438) hide show
  1. package/dist/esm/index.native.js +29 -29
  2. package/dist/esm/index.native108.js +2 -2
  3. package/dist/esm/index.native11.js +1 -1
  4. package/dist/esm/index.native112.js +3 -3
  5. package/dist/esm/index.native123.js +12 -12
  6. package/dist/esm/index.native124.js +371 -84
  7. package/dist/esm/index.native125.js +26 -374
  8. package/dist/esm/index.native126.js +26 -26
  9. package/dist/esm/index.native127.js +88 -27
  10. package/dist/esm/index.native128.js +1 -1
  11. package/dist/esm/index.native130.js +4 -4
  12. package/dist/esm/index.native131.js +1 -1
  13. package/dist/esm/index.native136.js +1 -1
  14. package/dist/esm/index.native137.js +1 -1
  15. package/dist/esm/index.native138.js +1 -1
  16. package/dist/esm/index.native140.js +35 -13
  17. package/dist/esm/index.native141.js +67 -11
  18. package/dist/esm/index.native142.js +13 -54
  19. package/dist/esm/index.native143.js +27 -10
  20. package/dist/esm/index.native144.js +8 -2
  21. package/dist/esm/index.native145.js +4 -45
  22. package/dist/esm/index.native146.js +27 -13
  23. package/dist/esm/index.native147.js +9 -35
  24. package/dist/esm/index.native148.js +7 -67
  25. package/dist/esm/index.native149.js +72 -6
  26. package/dist/esm/index.native150.js +10 -10
  27. package/dist/esm/index.native151.js +3 -7
  28. package/dist/esm/index.native152.js +14 -3
  29. package/dist/esm/index.native153.js +4 -27
  30. package/dist/esm/index.native154.js +13 -8
  31. package/dist/esm/index.native155.js +19 -7
  32. package/dist/esm/index.native156.js +48 -67
  33. package/dist/esm/index.native157.js +16 -26
  34. package/dist/esm/index.native158.js +23 -3
  35. package/dist/esm/index.native159.js +8 -14
  36. package/dist/esm/index.native160.js +41 -4
  37. package/dist/esm/index.native161.js +7 -13
  38. package/dist/esm/index.native162.js +11 -10
  39. package/dist/esm/index.native163.js +52 -58
  40. package/dist/esm/index.native164.js +10 -17
  41. package/dist/esm/index.native165.js +2 -24
  42. package/dist/esm/index.native166.js +45 -9
  43. package/dist/esm/index.native167.js +13 -41
  44. package/dist/esm/index.native168.js +12 -7
  45. package/dist/esm/index.native169.js +11 -20
  46. package/dist/esm/index.native170.js +1 -1
  47. package/dist/esm/index.native171.js +14 -2
  48. package/dist/esm/index.native172.js +56 -2
  49. package/dist/esm/index.native173.js +6 -13
  50. package/dist/esm/index.native174.js +20 -54
  51. package/dist/esm/index.native175.js +17 -6
  52. package/dist/esm/index.native176.js +44 -20
  53. package/dist/esm/index.native177.js +3 -17
  54. package/dist/esm/index.native178.js +3 -45
  55. package/dist/esm/index.native179.js +34 -3
  56. package/dist/esm/index.native180.js +12 -3
  57. package/dist/esm/index.native181.js +4 -34
  58. package/dist/esm/index.native182.js +27 -11
  59. package/dist/esm/index.native183.js +6 -4
  60. package/dist/esm/index.native184.js +29 -25
  61. package/dist/esm/index.native185.js +12 -6
  62. package/dist/esm/index.native186.js +54 -31
  63. package/dist/esm/index.native187.js +41 -11
  64. package/dist/esm/index.native188.js +126 -54
  65. package/dist/esm/index.native189.js +100 -38
  66. package/dist/esm/index.native190.js +6 -127
  67. package/dist/esm/index.native191.js +3 -105
  68. package/dist/esm/index.native192.js +78 -6
  69. package/dist/esm/index.native193.js +2 -3
  70. package/dist/esm/index.native194.js +2 -79
  71. package/dist/esm/index.native195.js +38 -2
  72. package/dist/esm/index.native196.js +7 -2
  73. package/dist/esm/index.native197.js +29 -32
  74. package/dist/esm/index.native198.js +14 -6
  75. package/dist/esm/index.native199.js +30 -30
  76. package/dist/esm/index.native200.js +18 -14
  77. package/dist/esm/index.native201.js +8 -34
  78. package/dist/esm/index.native202.js +9 -17
  79. package/dist/esm/index.native203.js +11 -8
  80. package/dist/esm/index.native204.js +13 -10
  81. package/dist/esm/index.native205.js +5 -11
  82. package/dist/esm/index.native206.js +5 -14
  83. package/dist/esm/index.native207.js +10 -5
  84. package/dist/esm/index.native208.js +2 -5
  85. package/dist/esm/index.native209.js +2 -11
  86. package/dist/esm/index.native210.js +20 -38
  87. package/dist/esm/index.native211.js +10 -2
  88. package/dist/esm/index.native212.js +20 -70
  89. package/dist/esm/index.native213.js +93 -34
  90. package/dist/esm/index.native214.js +20 -14
  91. package/dist/esm/index.native215.js +118 -8
  92. package/dist/esm/index.native216.js +104 -2
  93. package/dist/esm/index.native217.js +71 -361
  94. package/dist/esm/index.native218.js +78 -826
  95. package/dist/esm/index.native219.js +2 -104
  96. package/dist/esm/index.native220.js +107 -77
  97. package/dist/esm/index.native221.js +2 -79
  98. package/dist/esm/index.native222.js +38 -20
  99. package/dist/esm/index.native223.js +2 -10
  100. package/dist/esm/index.native224.js +70 -20
  101. package/dist/esm/index.native225.js +34 -93
  102. package/dist/esm/index.native226.js +14 -20
  103. package/dist/esm/index.native227.js +8 -118
  104. package/dist/esm/index.native228.js +2 -2
  105. package/dist/esm/index.native229.js +363 -103
  106. package/dist/esm/index.native230.js +827 -2
  107. package/dist/esm/index.native231.js +1 -1
  108. package/dist/esm/index.native234.js +5 -5
  109. package/dist/esm/index.native235.js +2 -2
  110. package/dist/esm/index.native236.js +47 -2
  111. package/dist/esm/index.native237.js +2 -2
  112. package/dist/esm/index.native238.js +2 -2
  113. package/dist/esm/index.native239.js +2 -47
  114. package/dist/esm/index.native247.js +1 -1
  115. package/dist/esm/index.native251.js +1 -1
  116. package/dist/esm/index.native3.js +1 -1
  117. package/dist/esm/index.native60.js +12 -12
  118. package/dist/esm/index.native61.js +7 -7
  119. package/dist/esm/index.native62.js +9 -9
  120. package/dist/esm/index.native82.js +1 -1
  121. package/dist/esm/index.web.js +26 -26
  122. package/dist/esm/index.web102.js +3 -3
  123. package/dist/esm/index.web109.js +2 -2
  124. package/dist/esm/index.web120.js +12 -12
  125. package/dist/esm/index.web121.js +3 -3
  126. package/dist/esm/index.web122.js +31 -2
  127. package/dist/esm/index.web123.js +28 -65
  128. package/dist/esm/index.web124.js +2 -367
  129. package/dist/esm/index.web125.js +63 -14
  130. package/dist/esm/index.web126.js +360 -18
  131. package/dist/esm/index.web127.js +13 -47
  132. package/dist/esm/index.web128.js +22 -28
  133. package/dist/esm/index.web129.js +50 -28
  134. package/dist/esm/index.web132.js +1 -1
  135. package/dist/esm/index.web133.js +1 -1
  136. package/dist/esm/index.web134.js +1 -1
  137. package/dist/esm/index.web135.js +1 -1
  138. package/dist/esm/index.web136.js +2 -2
  139. package/dist/esm/index.web137.js +1 -1
  140. package/dist/esm/index.web142.js +2 -2
  141. package/dist/esm/index.web149.js +1 -1
  142. package/dist/esm/index.web161.js +1 -1
  143. package/dist/esm/index.web165.js +14 -2
  144. package/dist/esm/index.web166.js +56 -2
  145. package/dist/esm/index.web167.js +6 -13
  146. package/dist/esm/index.web168.js +20 -54
  147. package/dist/esm/index.web169.js +17 -6
  148. package/dist/esm/index.web170.js +44 -20
  149. package/dist/esm/index.web171.js +3 -17
  150. package/dist/esm/index.web172.js +3 -45
  151. package/dist/esm/index.web173.js +34 -3
  152. package/dist/esm/index.web174.js +12 -3
  153. package/dist/esm/index.web175.js +4 -34
  154. package/dist/esm/index.web176.js +27 -11
  155. package/dist/esm/index.web177.js +6 -4
  156. package/dist/esm/index.web178.js +29 -25
  157. package/dist/esm/index.web179.js +12 -6
  158. package/dist/esm/index.web180.js +54 -31
  159. package/dist/esm/index.web181.js +41 -11
  160. package/dist/esm/index.web182.js +126 -54
  161. package/dist/esm/index.web183.js +100 -38
  162. package/dist/esm/index.web184.js +6 -127
  163. package/dist/esm/index.web185.js +3 -105
  164. package/dist/esm/index.web186.js +78 -6
  165. package/dist/esm/index.web187.js +2 -3
  166. package/dist/esm/index.web188.js +2 -79
  167. package/dist/esm/index.web189.js +38 -2
  168. package/dist/esm/index.web190.js +7 -2
  169. package/dist/esm/index.web191.js +29 -32
  170. package/dist/esm/index.web192.js +14 -6
  171. package/dist/esm/index.web193.js +30 -30
  172. package/dist/esm/index.web194.js +18 -14
  173. package/dist/esm/index.web195.js +8 -34
  174. package/dist/esm/index.web196.js +9 -17
  175. package/dist/esm/index.web197.js +11 -8
  176. package/dist/esm/index.web198.js +13 -10
  177. package/dist/esm/index.web199.js +5 -11
  178. package/dist/esm/index.web200.js +5 -14
  179. package/dist/esm/index.web201.js +10 -5
  180. package/dist/esm/index.web202.js +2 -5
  181. package/dist/esm/index.web203.js +2 -11
  182. package/dist/esm/index.web204.js +109 -2
  183. package/dist/esm/index.web205.js +2 -109
  184. package/dist/esm/index.web206.js +2 -2
  185. package/dist/esm/index.web214.js +1 -1
  186. package/dist/esm/index.web216.js +38 -7
  187. package/dist/esm/index.web218.js +67 -366
  188. package/dist/esm/index.web219.js +34 -826
  189. package/dist/esm/index.web220.js +14 -38
  190. package/dist/esm/index.web221.js +8 -2
  191. package/dist/esm/index.web222.js +2 -70
  192. package/dist/esm/index.web223.js +364 -30
  193. package/dist/esm/index.web224.js +826 -14
  194. package/dist/esm/index.web225.js +1 -1
  195. package/dist/esm/index.web228.js +32 -3
  196. package/dist/esm/index.web229.js +6 -46
  197. package/dist/esm/index.web230.js +44 -30
  198. package/dist/esm/index.web231.js +3 -6
  199. package/dist/esm/index.web233.js +1 -1
  200. package/dist/esm/index.web235.js +1 -1
  201. package/dist/esm/index.web239.js +1 -1
  202. package/dist/esm/index.web244.js +14 -78
  203. package/dist/esm/index.web245.js +78 -14
  204. package/dist/esm/index.web3.js +1 -1
  205. package/dist/esm/index.web57.js +12 -12
  206. package/dist/esm/index.web58.js +7 -7
  207. package/dist/esm/index.web59.js +9 -9
  208. package/dist/esm/index.web8.js +1 -1
  209. package/dist/native/index.native.js +29 -29
  210. package/dist/native/index.native108.js +2 -2
  211. package/dist/native/index.native11.js +1 -1
  212. package/dist/native/index.native112.js +3 -3
  213. package/dist/native/index.native123.js +12 -12
  214. package/dist/native/index.native124.js +371 -84
  215. package/dist/native/index.native125.js +26 -374
  216. package/dist/native/index.native126.js +26 -26
  217. package/dist/native/index.native127.js +88 -27
  218. package/dist/native/index.native128.js +1 -1
  219. package/dist/native/index.native130.js +4 -4
  220. package/dist/native/index.native131.js +1 -1
  221. package/dist/native/index.native136.js +1 -1
  222. package/dist/native/index.native137.js +1 -1
  223. package/dist/native/index.native138.js +1 -1
  224. package/dist/native/index.native140.js +35 -13
  225. package/dist/native/index.native141.js +67 -11
  226. package/dist/native/index.native142.js +13 -54
  227. package/dist/native/index.native143.js +27 -10
  228. package/dist/native/index.native144.js +8 -2
  229. package/dist/native/index.native145.js +4 -45
  230. package/dist/native/index.native146.js +27 -13
  231. package/dist/native/index.native147.js +9 -35
  232. package/dist/native/index.native148.js +7 -67
  233. package/dist/native/index.native149.js +72 -6
  234. package/dist/native/index.native150.js +10 -10
  235. package/dist/native/index.native151.js +3 -7
  236. package/dist/native/index.native152.js +14 -3
  237. package/dist/native/index.native153.js +4 -27
  238. package/dist/native/index.native154.js +13 -8
  239. package/dist/native/index.native155.js +19 -7
  240. package/dist/native/index.native156.js +48 -67
  241. package/dist/native/index.native157.js +16 -26
  242. package/dist/native/index.native158.js +23 -3
  243. package/dist/native/index.native159.js +8 -14
  244. package/dist/native/index.native160.js +41 -4
  245. package/dist/native/index.native161.js +7 -13
  246. package/dist/native/index.native162.js +11 -10
  247. package/dist/native/index.native163.js +52 -58
  248. package/dist/native/index.native164.js +10 -17
  249. package/dist/native/index.native165.js +2 -24
  250. package/dist/native/index.native166.js +45 -9
  251. package/dist/native/index.native167.js +13 -41
  252. package/dist/native/index.native168.js +12 -7
  253. package/dist/native/index.native169.js +11 -20
  254. package/dist/native/index.native170.js +1 -1
  255. package/dist/native/index.native171.js +14 -2
  256. package/dist/native/index.native172.js +56 -2
  257. package/dist/native/index.native173.js +6 -13
  258. package/dist/native/index.native174.js +20 -54
  259. package/dist/native/index.native175.js +17 -6
  260. package/dist/native/index.native176.js +44 -20
  261. package/dist/native/index.native177.js +3 -17
  262. package/dist/native/index.native178.js +3 -45
  263. package/dist/native/index.native179.js +34 -3
  264. package/dist/native/index.native180.js +12 -3
  265. package/dist/native/index.native181.js +4 -34
  266. package/dist/native/index.native182.js +27 -11
  267. package/dist/native/index.native183.js +6 -4
  268. package/dist/native/index.native184.js +29 -25
  269. package/dist/native/index.native185.js +12 -6
  270. package/dist/native/index.native186.js +54 -31
  271. package/dist/native/index.native187.js +41 -11
  272. package/dist/native/index.native188.js +126 -54
  273. package/dist/native/index.native189.js +100 -38
  274. package/dist/native/index.native190.js +6 -127
  275. package/dist/native/index.native191.js +3 -105
  276. package/dist/native/index.native192.js +78 -6
  277. package/dist/native/index.native193.js +2 -3
  278. package/dist/native/index.native194.js +2 -79
  279. package/dist/native/index.native195.js +38 -2
  280. package/dist/native/index.native196.js +7 -2
  281. package/dist/native/index.native197.js +29 -32
  282. package/dist/native/index.native198.js +14 -6
  283. package/dist/native/index.native199.js +30 -30
  284. package/dist/native/index.native200.js +18 -14
  285. package/dist/native/index.native201.js +8 -34
  286. package/dist/native/index.native202.js +9 -17
  287. package/dist/native/index.native203.js +11 -8
  288. package/dist/native/index.native204.js +13 -10
  289. package/dist/native/index.native205.js +5 -11
  290. package/dist/native/index.native206.js +5 -14
  291. package/dist/native/index.native207.js +10 -5
  292. package/dist/native/index.native208.js +2 -5
  293. package/dist/native/index.native209.js +2 -11
  294. package/dist/native/index.native210.js +20 -38
  295. package/dist/native/index.native211.js +10 -2
  296. package/dist/native/index.native212.js +20 -70
  297. package/dist/native/index.native213.js +93 -34
  298. package/dist/native/index.native214.js +20 -14
  299. package/dist/native/index.native215.js +118 -8
  300. package/dist/native/index.native216.js +104 -2
  301. package/dist/native/index.native217.js +71 -361
  302. package/dist/native/index.native218.js +78 -826
  303. package/dist/native/index.native219.js +2 -104
  304. package/dist/native/index.native220.js +107 -77
  305. package/dist/native/index.native221.js +2 -79
  306. package/dist/native/index.native222.js +38 -20
  307. package/dist/native/index.native223.js +2 -10
  308. package/dist/native/index.native224.js +70 -20
  309. package/dist/native/index.native225.js +34 -93
  310. package/dist/native/index.native226.js +14 -20
  311. package/dist/native/index.native227.js +8 -118
  312. package/dist/native/index.native228.js +2 -2
  313. package/dist/native/index.native229.js +363 -103
  314. package/dist/native/index.native230.js +827 -2
  315. package/dist/native/index.native231.js +1 -1
  316. package/dist/native/index.native234.js +5 -5
  317. package/dist/native/index.native235.js +2 -2
  318. package/dist/native/index.native236.js +47 -2
  319. package/dist/native/index.native237.js +2 -2
  320. package/dist/native/index.native238.js +2 -2
  321. package/dist/native/index.native239.js +2 -47
  322. package/dist/native/index.native247.js +1 -1
  323. package/dist/native/index.native251.js +1 -1
  324. package/dist/native/index.native3.js +1 -1
  325. package/dist/native/index.native60.js +12 -12
  326. package/dist/native/index.native61.js +7 -7
  327. package/dist/native/index.native62.js +9 -9
  328. package/dist/native/index.native82.js +1 -1
  329. package/dist/native-types/actions/{createDelegationForAddress.d.ts → createDelegationForAccount.d.ts} +4 -4
  330. package/dist/{types/actions/getDelegationForAddress.d.ts → native-types/actions/getDelegationForAccount.d.ts} +5 -5
  331. package/dist/{web-types/actions/revokeDelegationForAddress.d.ts → native-types/actions/revokeDelegationForAccount.d.ts} +4 -4
  332. package/dist/native-types/index.d.ts +3 -3
  333. package/dist/native-types/index.native.d.ts +3 -3
  334. package/dist/native-types/index.web.d.ts +3 -3
  335. package/dist/native-types/version.d.ts +1 -1
  336. package/dist/{web-types/actions/createDelegationForAddress.d.ts → types/actions/createDelegationForAccount.d.ts} +4 -4
  337. package/dist/{native-types/actions/getDelegationForAddress.d.ts → types/actions/getDelegationForAccount.d.ts} +5 -5
  338. package/dist/{native-types/actions/revokeDelegationForAddress.d.ts → types/actions/revokeDelegationForAccount.d.ts} +4 -4
  339. package/dist/types/index.d.ts +3 -3
  340. package/dist/types/index.native.d.ts +3 -3
  341. package/dist/types/index.web.d.ts +3 -3
  342. package/dist/types/version.d.ts +1 -1
  343. package/dist/web/index.web.js +26 -26
  344. package/dist/web/index.web102.js +3 -3
  345. package/dist/web/index.web109.js +2 -2
  346. package/dist/web/index.web120.js +12 -12
  347. package/dist/web/index.web121.js +3 -3
  348. package/dist/web/index.web122.js +31 -2
  349. package/dist/web/index.web123.js +28 -65
  350. package/dist/web/index.web124.js +2 -367
  351. package/dist/web/index.web125.js +63 -14
  352. package/dist/web/index.web126.js +360 -18
  353. package/dist/web/index.web127.js +13 -47
  354. package/dist/web/index.web128.js +22 -28
  355. package/dist/web/index.web129.js +50 -28
  356. package/dist/web/index.web132.js +1 -1
  357. package/dist/web/index.web133.js +1 -1
  358. package/dist/web/index.web134.js +1 -1
  359. package/dist/web/index.web135.js +1 -1
  360. package/dist/web/index.web136.js +2 -2
  361. package/dist/web/index.web137.js +1 -1
  362. package/dist/web/index.web142.js +2 -2
  363. package/dist/web/index.web149.js +1 -1
  364. package/dist/web/index.web161.js +1 -1
  365. package/dist/web/index.web165.js +14 -2
  366. package/dist/web/index.web166.js +56 -2
  367. package/dist/web/index.web167.js +6 -13
  368. package/dist/web/index.web168.js +20 -54
  369. package/dist/web/index.web169.js +17 -6
  370. package/dist/web/index.web170.js +44 -20
  371. package/dist/web/index.web171.js +3 -17
  372. package/dist/web/index.web172.js +3 -45
  373. package/dist/web/index.web173.js +34 -3
  374. package/dist/web/index.web174.js +12 -3
  375. package/dist/web/index.web175.js +4 -34
  376. package/dist/web/index.web176.js +27 -11
  377. package/dist/web/index.web177.js +6 -4
  378. package/dist/web/index.web178.js +29 -25
  379. package/dist/web/index.web179.js +12 -6
  380. package/dist/web/index.web180.js +54 -31
  381. package/dist/web/index.web181.js +41 -11
  382. package/dist/web/index.web182.js +126 -54
  383. package/dist/web/index.web183.js +100 -38
  384. package/dist/web/index.web184.js +6 -127
  385. package/dist/web/index.web185.js +3 -105
  386. package/dist/web/index.web186.js +78 -6
  387. package/dist/web/index.web187.js +2 -3
  388. package/dist/web/index.web188.js +2 -79
  389. package/dist/web/index.web189.js +38 -2
  390. package/dist/web/index.web190.js +7 -2
  391. package/dist/web/index.web191.js +29 -32
  392. package/dist/web/index.web192.js +14 -6
  393. package/dist/web/index.web193.js +30 -30
  394. package/dist/web/index.web194.js +18 -14
  395. package/dist/web/index.web195.js +8 -34
  396. package/dist/web/index.web196.js +9 -17
  397. package/dist/web/index.web197.js +11 -8
  398. package/dist/web/index.web198.js +13 -10
  399. package/dist/web/index.web199.js +5 -11
  400. package/dist/web/index.web200.js +5 -14
  401. package/dist/web/index.web201.js +10 -5
  402. package/dist/web/index.web202.js +2 -5
  403. package/dist/web/index.web203.js +2 -11
  404. package/dist/web/index.web204.js +109 -2
  405. package/dist/web/index.web205.js +2 -109
  406. package/dist/web/index.web206.js +2 -2
  407. package/dist/web/index.web214.js +1 -1
  408. package/dist/web/index.web216.js +38 -7
  409. package/dist/web/index.web218.js +67 -366
  410. package/dist/web/index.web219.js +34 -826
  411. package/dist/web/index.web220.js +14 -38
  412. package/dist/web/index.web221.js +8 -2
  413. package/dist/web/index.web222.js +2 -70
  414. package/dist/web/index.web223.js +364 -30
  415. package/dist/web/index.web224.js +826 -14
  416. package/dist/web/index.web225.js +1 -1
  417. package/dist/web/index.web228.js +32 -3
  418. package/dist/web/index.web229.js +6 -46
  419. package/dist/web/index.web230.js +44 -30
  420. package/dist/web/index.web231.js +3 -6
  421. package/dist/web/index.web233.js +1 -1
  422. package/dist/web/index.web235.js +1 -1
  423. package/dist/web/index.web239.js +1 -1
  424. package/dist/web/index.web244.js +14 -78
  425. package/dist/web/index.web245.js +78 -14
  426. package/dist/web/index.web3.js +1 -1
  427. package/dist/web/index.web57.js +12 -12
  428. package/dist/web/index.web58.js +7 -7
  429. package/dist/web/index.web59.js +9 -9
  430. package/dist/web/index.web8.js +1 -1
  431. package/dist/{types/actions/createDelegationForAddress.d.ts → web-types/actions/createDelegationForAccount.d.ts} +4 -4
  432. package/dist/web-types/actions/{getDelegationForAddress.d.ts → getDelegationForAccount.d.ts} +5 -5
  433. package/dist/{types/actions/revokeDelegationForAddress.d.ts → web-types/actions/revokeDelegationForAccount.d.ts} +4 -4
  434. package/dist/web-types/index.d.ts +3 -3
  435. package/dist/web-types/index.native.d.ts +3 -3
  436. package/dist/web-types/index.web.d.ts +3 -3
  437. package/dist/web-types/version.d.ts +1 -1
  438. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { BaseError as o } from "./index.web182.js";
1
+ import { BaseError as o } from "./index.web180.js";
2
2
  class i extends o {
3
3
  constructor({ offset: e }) {
4
4
  super(`Offset \`${e}\` cannot be negative.`, {
@@ -1,6 +1,35 @@
1
- function e(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1
+ import { maxBytesPerTransaction as y, bytesPerBlob as a, fieldElementsPerBlob as f, bytesPerFieldElement as p } from "./index.web243.js";
2
+ import { EmptyBlobError as c, BlobSizeTooLargeError as h } from "./index.web189.js";
3
+ import { createCursor as B } from "./index.web182.js";
4
+ import { size as u } from "./index.web175.js";
5
+ import { hexToBytes as x } from "./index.web166.js";
6
+ import { bytesToHex as d } from "./index.web170.js";
7
+ function S(e) {
8
+ const m = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), i = typeof e.data == "string" ? x(e.data) : e.data, o = u(i);
9
+ if (!o)
10
+ throw new c();
11
+ if (o > y)
12
+ throw new h({
13
+ maxSize: y,
14
+ size: o
15
+ });
16
+ const s = [];
17
+ let n = !0, r = 0;
18
+ for (; n; ) {
19
+ const t = B(new Uint8Array(a));
20
+ let l = 0;
21
+ for (; l < f; ) {
22
+ const b = i.slice(r, r + (p - 1));
23
+ if (t.pushByte(0), t.pushBytes(b), b.length < 31) {
24
+ t.pushByte(128), n = !1;
25
+ break;
26
+ }
27
+ l++, r += 31;
28
+ }
29
+ s.push(t);
30
+ }
31
+ return m === "bytes" ? s.map((t) => t.bytes) : s.map((t) => d(t.bytes));
3
32
  }
4
33
  export {
5
- e as getDefaultExportFromCjs
34
+ S as toBlobs
6
35
  };
@@ -1,49 +1,9 @@
1
- import { BaseError as f } from "./index.web123.js";
2
- import { pad as g } from "./index.web245.js";
3
- function m(t, i = {}) {
4
- const { signed: r, size: e } = i, o = BigInt(t);
5
- let n;
6
- e ? r ? n = (1n << BigInt(e) * 8n - 1n) - 1n : n = 2n ** (BigInt(e) * 8n) - 1n : typeof t == "number" && (n = BigInt(Number.MAX_SAFE_INTEGER));
7
- const u = typeof n == "bigint" && r ? -n - 1n : 0;
8
- if (n && o > n || o < u) {
9
- const s = typeof t == "bigint" ? "n" : "";
10
- throw new d({
11
- max: n ? `${n}${s}` : void 0,
12
- min: `${u}${s}`,
13
- signed: r,
14
- size: e,
15
- value: `${t}${s}`
16
- });
17
- }
18
- const a = `0x${(r && o < 0 ? (1n << BigInt(e * 8)) + BigInt(o) : o).toString(16)}`;
19
- return e ? c(a, e) : a;
20
- }
21
- function c(t, i) {
22
- return g(t, { dir: "left", size: i });
23
- }
24
- class d extends f {
25
- constructor({ max: i, min: r, signed: e, size: o, value: n }) {
26
- super(`Number \`${n}\` is not in safe${o ? ` ${o * 8}-bit` : ""}${e ? " signed" : " unsigned"} integer range ${i ? `(\`${r}\` to \`${i}\`)` : `(above \`${r}\`)`}`), Object.defineProperty(this, "name", {
27
- enumerable: !0,
28
- configurable: !0,
29
- writable: !0,
30
- value: "Hex.IntegerOutOfRangeError"
31
- });
32
- }
33
- }
34
- class p extends f {
35
- constructor({ size: i, targetSize: r, type: e }) {
36
- super(`${e.charAt(0).toUpperCase()}${e.slice(1).toLowerCase()} size (\`${i}\`) exceeds padding size (\`${r}\`).`), Object.defineProperty(this, "name", {
37
- enumerable: !0,
38
- configurable: !0,
39
- writable: !0,
40
- value: "Hex.SizeExceedsPaddingSizeError"
41
- });
42
- }
1
+ import { bytesToHex as i } from "./index.web170.js";
2
+ import { sha256 as m } from "./index.web184.js";
3
+ function f(t) {
4
+ const { commitment: e, version: s = 1 } = t, n = t.to ?? (typeof e == "string" ? "hex" : "bytes"), o = m(e);
5
+ return o.set([s], 0), n === "bytes" ? o : i(o);
43
6
  }
44
7
  export {
45
- d as IntegerOutOfRangeError,
46
- p as SizeExceedsPaddingSizeError,
47
- m as fromNumber,
48
- c as padLeft
8
+ f as commitmentToVersionedHash
49
9
  };
@@ -1,35 +1,49 @@
1
- import { maxBytesPerTransaction as y, bytesPerBlob as a, fieldElementsPerBlob as f, bytesPerFieldElement as p } from "./index.web243.js";
2
- import { EmptyBlobError as c, BlobSizeTooLargeError as h } from "./index.web191.js";
3
- import { createCursor as B } from "./index.web184.js";
4
- import { size as u } from "./index.web177.js";
5
- import { hexToBytes as x } from "./index.web168.js";
6
- import { bytesToHex as d } from "./index.web172.js";
7
- function S(e) {
8
- const m = e.to ?? (typeof e.data == "string" ? "hex" : "bytes"), i = typeof e.data == "string" ? x(e.data) : e.data, o = u(i);
9
- if (!o)
10
- throw new c();
11
- if (o > y)
12
- throw new h({
13
- maxSize: y,
14
- size: o
1
+ import { BaseError as f } from "./index.web125.js";
2
+ import { pad as g } from "./index.web244.js";
3
+ function m(t, i = {}) {
4
+ const { signed: r, size: e } = i, o = BigInt(t);
5
+ let n;
6
+ e ? r ? n = (1n << BigInt(e) * 8n - 1n) - 1n : n = 2n ** (BigInt(e) * 8n) - 1n : typeof t == "number" && (n = BigInt(Number.MAX_SAFE_INTEGER));
7
+ const u = typeof n == "bigint" && r ? -n - 1n : 0;
8
+ if (n && o > n || o < u) {
9
+ const s = typeof t == "bigint" ? "n" : "";
10
+ throw new d({
11
+ max: n ? `${n}${s}` : void 0,
12
+ min: `${u}${s}`,
13
+ signed: r,
14
+ size: e,
15
+ value: `${t}${s}`
16
+ });
17
+ }
18
+ const a = `0x${(r && o < 0 ? (1n << BigInt(e * 8)) + BigInt(o) : o).toString(16)}`;
19
+ return e ? c(a, e) : a;
20
+ }
21
+ function c(t, i) {
22
+ return g(t, { dir: "left", size: i });
23
+ }
24
+ class d extends f {
25
+ constructor({ max: i, min: r, signed: e, size: o, value: n }) {
26
+ super(`Number \`${n}\` is not in safe${o ? ` ${o * 8}-bit` : ""}${e ? " signed" : " unsigned"} integer range ${i ? `(\`${r}\` to \`${i}\`)` : `(above \`${r}\`)`}`), Object.defineProperty(this, "name", {
27
+ enumerable: !0,
28
+ configurable: !0,
29
+ writable: !0,
30
+ value: "Hex.IntegerOutOfRangeError"
31
+ });
32
+ }
33
+ }
34
+ class p extends f {
35
+ constructor({ size: i, targetSize: r, type: e }) {
36
+ super(`${e.charAt(0).toUpperCase()}${e.slice(1).toLowerCase()} size (\`${i}\`) exceeds padding size (\`${r}\`).`), Object.defineProperty(this, "name", {
37
+ enumerable: !0,
38
+ configurable: !0,
39
+ writable: !0,
40
+ value: "Hex.SizeExceedsPaddingSizeError"
15
41
  });
16
- const s = [];
17
- let n = !0, r = 0;
18
- for (; n; ) {
19
- const t = B(new Uint8Array(a));
20
- let l = 0;
21
- for (; l < f; ) {
22
- const b = i.slice(r, r + (p - 1));
23
- if (t.pushByte(0), t.pushBytes(b), b.length < 31) {
24
- t.pushByte(128), n = !1;
25
- break;
26
- }
27
- l++, r += 31;
28
- }
29
- s.push(t);
30
42
  }
31
- return m === "bytes" ? s.map((t) => t.bytes) : s.map((t) => d(t.bytes));
32
43
  }
33
44
  export {
34
- S as toBlobs
45
+ d as IntegerOutOfRangeError,
46
+ p as SizeExceedsPaddingSizeError,
47
+ m as fromNumber,
48
+ c as padLeft
35
49
  };
@@ -1,9 +1,6 @@
1
- import { bytesToHex as i } from "./index.web172.js";
2
- import { sha256 as m } from "./index.web186.js";
3
- function f(t) {
4
- const { commitment: e, version: s = 1 } = t, n = t.to ?? (typeof e == "string" ? "hex" : "bytes"), o = m(e);
5
- return o.set([s], 0), n === "bytes" ? o : i(o);
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
6
3
  }
7
4
  export {
8
- f as commitmentToVersionedHash
5
+ e as getDefaultExportFromCjs
9
6
  };
@@ -1,4 +1,4 @@
1
- import { JOSENotSupported as r } from "./index.web126.js";
1
+ import { JOSENotSupported as r } from "./index.web128.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 { checkSigCryptoKey as i } from "./index.web244.js";
1
+ import { checkSigCryptoKey as i } from "./index.web245.js";
2
2
  import o from "./index.web236.js";
3
3
  const s = async (t, r, e) => {
4
4
  if (r instanceof Uint8Array) {
@@ -1,4 +1,4 @@
1
- import { JOSENotSupported as s } from "./index.web126.js";
1
+ import { JOSENotSupported as s } from "./index.web128.js";
2
2
  function n(e) {
3
3
  let a, r;
4
4
  switch (e.kty) {
@@ -1,81 +1,17 @@
1
- function r(t, e = "algorithm.name") {
2
- return new TypeError(`CryptoKey does not support this operation, its ${e} must be ${t}`);
3
- }
4
- function o(t, e) {
5
- return t.name === e;
6
- }
7
- function c(t) {
8
- return parseInt(t.name.slice(4), 10);
9
- }
10
- function h(t) {
11
- switch (t) {
12
- case "ES256":
13
- return "P-256";
14
- case "ES384":
15
- return "P-384";
16
- case "ES512":
17
- return "P-521";
18
- default:
19
- throw new Error("unreachable");
20
- }
21
- }
22
- function i(t, e) {
23
- if (!t.usages.includes(e))
24
- throw new TypeError(`CryptoKey does not support this operation, its usages must include ${e}.`);
25
- }
26
- function u(t, e, n) {
27
- switch (e) {
28
- case "HS256":
29
- case "HS384":
30
- case "HS512": {
31
- if (!o(t.algorithm, "HMAC"))
32
- throw r("HMAC");
33
- const a = parseInt(e.slice(2), 10);
34
- if (c(t.algorithm.hash) !== a)
35
- throw r(`SHA-${a}`, "algorithm.hash");
36
- break;
37
- }
38
- case "RS256":
39
- case "RS384":
40
- case "RS512": {
41
- if (!o(t.algorithm, "RSASSA-PKCS1-v1_5"))
42
- throw r("RSASSA-PKCS1-v1_5");
43
- const a = parseInt(e.slice(2), 10);
44
- if (c(t.algorithm.hash) !== a)
45
- throw r(`SHA-${a}`, "algorithm.hash");
46
- break;
47
- }
48
- case "PS256":
49
- case "PS384":
50
- case "PS512": {
51
- if (!o(t.algorithm, "RSA-PSS"))
52
- throw r("RSA-PSS");
53
- const a = parseInt(e.slice(2), 10);
54
- if (c(t.algorithm.hash) !== a)
55
- throw r(`SHA-${a}`, "algorithm.hash");
56
- break;
57
- }
58
- case "Ed25519":
59
- case "EdDSA": {
60
- if (!o(t.algorithm, "Ed25519"))
61
- throw r("Ed25519");
62
- break;
63
- }
64
- case "ES256":
65
- case "ES384":
66
- case "ES512": {
67
- if (!o(t.algorithm, "ECDSA"))
68
- throw r("ECDSA");
69
- const a = h(e);
70
- if (t.algorithm.namedCurve !== a)
71
- throw r(a, "algorithm.namedCurve");
72
- break;
73
- }
74
- default:
75
- throw new TypeError("CryptoKey does not support this operation");
76
- }
77
- i(t, n);
1
+ import { SizeExceedsPaddingSizeError as a } from "./index.web230.js";
2
+ function o(r, i = {}) {
3
+ const { dir: n, size: e = 32 } = i;
4
+ if (e === 0)
5
+ return r;
6
+ const t = r.replace("0x", "");
7
+ if (t.length > e * 2)
8
+ throw new a({
9
+ size: Math.ceil(t.length / 2),
10
+ targetSize: e,
11
+ type: "Hex"
12
+ });
13
+ return `0x${t[n === "right" ? "padEnd" : "padStart"](e * 2, "0")}`;
78
14
  }
79
15
  export {
80
- u as checkSigCryptoKey
16
+ o as pad
81
17
  };
@@ -1,17 +1,81 @@
1
- import { SizeExceedsPaddingSizeError as a } from "./index.web229.js";
2
- function o(r, i = {}) {
3
- const { dir: n, size: e = 32 } = i;
4
- if (e === 0)
5
- return r;
6
- const t = r.replace("0x", "");
7
- if (t.length > e * 2)
8
- throw new a({
9
- size: Math.ceil(t.length / 2),
10
- targetSize: e,
11
- type: "Hex"
12
- });
13
- return `0x${t[n === "right" ? "padEnd" : "padStart"](e * 2, "0")}`;
1
+ function r(t, e = "algorithm.name") {
2
+ return new TypeError(`CryptoKey does not support this operation, its ${e} must be ${t}`);
3
+ }
4
+ function o(t, e) {
5
+ return t.name === e;
6
+ }
7
+ function c(t) {
8
+ return parseInt(t.name.slice(4), 10);
9
+ }
10
+ function h(t) {
11
+ switch (t) {
12
+ case "ES256":
13
+ return "P-256";
14
+ case "ES384":
15
+ return "P-384";
16
+ case "ES512":
17
+ return "P-521";
18
+ default:
19
+ throw new Error("unreachable");
20
+ }
21
+ }
22
+ function i(t, e) {
23
+ if (!t.usages.includes(e))
24
+ throw new TypeError(`CryptoKey does not support this operation, its usages must include ${e}.`);
25
+ }
26
+ function u(t, e, n) {
27
+ switch (e) {
28
+ case "HS256":
29
+ case "HS384":
30
+ case "HS512": {
31
+ if (!o(t.algorithm, "HMAC"))
32
+ throw r("HMAC");
33
+ const a = parseInt(e.slice(2), 10);
34
+ if (c(t.algorithm.hash) !== a)
35
+ throw r(`SHA-${a}`, "algorithm.hash");
36
+ break;
37
+ }
38
+ case "RS256":
39
+ case "RS384":
40
+ case "RS512": {
41
+ if (!o(t.algorithm, "RSASSA-PKCS1-v1_5"))
42
+ throw r("RSASSA-PKCS1-v1_5");
43
+ const a = parseInt(e.slice(2), 10);
44
+ if (c(t.algorithm.hash) !== a)
45
+ throw r(`SHA-${a}`, "algorithm.hash");
46
+ break;
47
+ }
48
+ case "PS256":
49
+ case "PS384":
50
+ case "PS512": {
51
+ if (!o(t.algorithm, "RSA-PSS"))
52
+ throw r("RSA-PSS");
53
+ const a = parseInt(e.slice(2), 10);
54
+ if (c(t.algorithm.hash) !== a)
55
+ throw r(`SHA-${a}`, "algorithm.hash");
56
+ break;
57
+ }
58
+ case "Ed25519":
59
+ case "EdDSA": {
60
+ if (!o(t.algorithm, "Ed25519"))
61
+ throw r("Ed25519");
62
+ break;
63
+ }
64
+ case "ES256":
65
+ case "ES384":
66
+ case "ES512": {
67
+ if (!o(t.algorithm, "ECDSA"))
68
+ throw r("ECDSA");
69
+ const a = h(e);
70
+ if (t.algorithm.namedCurve !== a)
71
+ throw r(a, "algorithm.namedCurve");
72
+ break;
73
+ }
74
+ default:
75
+ throw new TypeError("CryptoKey does not support this operation");
76
+ }
77
+ i(t, n);
14
78
  }
15
79
  export {
16
- o as pad
80
+ u as checkSigCryptoKey
17
81
  };
@@ -1,2 +1,2 @@
1
- import { __require as r } from "./index.web216.js";
1
+ import { __require as r } from "./index.web221.js";
2
2
  r();
@@ -1,26 +1,26 @@
1
1
  import { createDelegationForEndUserAccount as o } from "@coinbase/cdp-api-client";
2
- import { Analytics as s } from "./index.web2.js";
2
+ import { Analytics as n } from "./index.web2.js";
3
3
  import "./index.web3.js";
4
- import { withAuth as n } from "./index.web92.js";
4
+ import { withAuth as s } from "./index.web92.js";
5
5
  import { InputValidationError as i } from "./index.web83.js";
6
6
  import { withMfa as m } from "./index.web78.js";
7
- import { assertUserOwnsAddress as d } from "./index.web97.js";
8
- import { getCoreAuthManager as f, getConfig as p } from "./index.web69.js";
7
+ import { assertUserOwnsAddress as c } from "./index.web97.js";
8
+ import { getCoreAuthManager as d, getConfig as f } from "./index.web69.js";
9
9
  async function D(e) {
10
- const r = new Date(e.expiresAt);
11
- if (isNaN(r.getTime()))
10
+ const t = new Date(e.expiresAt);
11
+ if (isNaN(t.getTime()))
12
12
  throw new i("expiresAt must be a valid ISO 8601 date string");
13
- if (r.getTime() <= Date.now())
13
+ if (t.getTime() <= Date.now())
14
14
  throw new i("expiresAt must be in the future");
15
- return s.sendActionCallEvent({ name: "create_delegation_for_address" }), m(
16
- () => n(e, f(), async ({ user: t, walletSecretId: a }) => (d(t, e.address), await o(
17
- t.userId,
15
+ return n.sendActionCallEvent({ name: "create_delegation_for_account" }), m(
16
+ () => s(e, d(), async ({ user: r, walletSecretId: a }) => (c(r, e.address), await o(
17
+ r.userId,
18
18
  e.address,
19
19
  { walletSecretId: a, expiresAt: e.expiresAt },
20
- { projectID: p().projectId }
20
+ { projectID: f().projectId }
21
21
  )))
22
22
  );
23
23
  }
24
24
  export {
25
- D as createDelegationForAddress
25
+ D as createDelegationForAccount
26
26
  };
@@ -1,14 +1,14 @@
1
- import { getDelegationForEndUserAccount as t } from "@coinbase/cdp-api-client";
1
+ import { getDelegationForEndUserAccount as e } from "@coinbase/cdp-api-client";
2
2
  import { Analytics as o } from "./index.web2.js";
3
3
  import "./index.web3.js";
4
4
  import { withAuth as n } from "./index.web92.js";
5
- import { assertUserOwnsAddress as s } from "./index.web97.js";
6
- import { getCoreAuthManager as a, getConfig as d } from "./index.web69.js";
7
- async function A(r) {
8
- return o.sendActionCallEvent({ name: "get_delegation_for_address" }), n({}, a(), async ({ user: e }) => (s(e, r.address), await t(e.userId, r.address, {
9
- projectID: d().projectId
5
+ import { assertUserOwnsAddress as a } from "./index.web97.js";
6
+ import { getCoreAuthManager as i, getConfig as s } from "./index.web69.js";
7
+ async function u(t) {
8
+ return o.sendActionCallEvent({ name: "get_delegation_for_account" }), n({}, i(), async ({ user: r }) => (a(r, t.address), await e(r.userId, t.address, {
9
+ projectID: s().projectId
10
10
  })));
11
11
  }
12
12
  export {
13
- A as getDelegationForAddress
13
+ u as getDelegationForAccount
14
14
  };
@@ -1,20 +1,20 @@
1
1
  import { revokeDelegationForEndUserAccount as t } from "@coinbase/cdp-api-client";
2
- import { Analytics as a } from "./index.web2.js";
2
+ import { Analytics as n } from "./index.web2.js";
3
3
  import "./index.web3.js";
4
- import { withAuth as n } from "./index.web92.js";
5
- import { withMfa as s } from "./index.web78.js";
6
- import { assertUserOwnsAddress as d } from "./index.web97.js";
7
- import { getCoreAuthManager as i, getConfig as m } from "./index.web69.js";
4
+ import { withAuth as a } from "./index.web92.js";
5
+ import { withMfa as i } from "./index.web78.js";
6
+ import { assertUserOwnsAddress as m } from "./index.web97.js";
7
+ import { getCoreAuthManager as c, getConfig as s } from "./index.web69.js";
8
8
  async function h(r) {
9
- return a.sendActionCallEvent({ name: "revoke_delegation_for_address" }), s(
10
- () => n(r, i(), async ({ user: e, walletSecretId: o }) => (d(e, r.address), await t(
9
+ return n.sendActionCallEvent({ name: "revoke_delegation_for_account" }), i(
10
+ () => a(r, c(), async ({ user: e, walletSecretId: o }) => (m(e, r.address), await t(
11
11
  e.userId,
12
12
  r.address,
13
13
  { walletSecretId: o },
14
- { projectID: m().projectId }
14
+ { projectID: s().projectId }
15
15
  )))
16
16
  );
17
17
  }
18
18
  export {
19
- h as revokeDelegationForAddress
19
+ h as revokeDelegationForAccount
20
20
  };
@@ -1,4 +1,4 @@
1
- const o = "0.0.104";
1
+ const o = "0.0.105";
2
2
  export {
3
3
  o as VERSION
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { EvmAddress, SolanaAddress } from '../types.js';
2
2
  /**
3
- * Options for creating an account-scoped delegation for a specific end user account address.
3
+ * Options for creating an account-scoped delegation for a specific end user account.
4
4
  */
5
- export type CreateDelegationForAddressOptions = {
5
+ export type CreateDelegationForAccountOptions = {
6
6
  /** The blockchain address to scope the delegation to. Must belong to the current user. */
7
7
  address: EvmAddress | SolanaAddress;
8
8
  /** The date until which the delegation is valid (ISO 8601 string). */
@@ -11,7 +11,7 @@ export type CreateDelegationForAddressOptions = {
11
11
  /**
12
12
  * Result of creating an account-scoped delegation.
13
13
  */
14
- export type CreateDelegationForAddressResult = {
14
+ export type CreateDelegationForAccountResult = {
15
15
  /** The date until which the delegation is valid. */
16
16
  expiresAt: string;
17
17
  };
@@ -26,4 +26,4 @@ export type CreateDelegationForAddressResult = {
26
26
  * @throws Error if the user is not signed in.
27
27
  * @throws Error if the address does not belong to the current user.
28
28
  */
29
- export declare function createDelegationForAddress(options: CreateDelegationForAddressOptions): Promise<CreateDelegationForAddressResult>;
29
+ export declare function createDelegationForAccount(options: CreateDelegationForAccountOptions): Promise<CreateDelegationForAccountResult>;
@@ -1,23 +1,23 @@
1
1
  import { GetDelegationForEndUserAccount200 } from '@coinbase/cdp-api-client';
2
2
  import { EvmAddress, SolanaAddress } from '../types.js';
3
3
  /**
4
- * Options for getting the account-scoped delegation for an end user account address.
4
+ * Options for getting the account-scoped delegation for an end user account.
5
5
  */
6
- export type GetDelegationForAddressOptions = {
6
+ export type GetDelegationForAccountOptions = {
7
7
  /** The blockchain address to get the delegation for. Must belong to the current user. */
8
8
  address: EvmAddress | SolanaAddress;
9
9
  };
10
10
  /**
11
11
  * Result of getting the account-scoped delegation for an end user account.
12
12
  */
13
- export type GetDelegationForAddressResult = GetDelegationForEndUserAccount200;
13
+ export type GetDelegationForAccountResult = GetDelegationForEndUserAccount200;
14
14
  /**
15
15
  * Gets the active account-scoped delegation for the specified end user account address, if one exists.
16
16
  * This operation can be performed by the end user themselves or by a developer using their API key.
17
17
  *
18
- * @param options - Options specifying the address to query.
18
+ * @param options - Options specifying the account address to query.
19
19
  * @returns A promise that resolves to the delegation details including its expiry.
20
20
  * @throws Error if the user is not signed in.
21
21
  * @throws Error if the address does not belong to the current user.
22
22
  */
23
- export declare function getDelegationForAddress(options: GetDelegationForAddressOptions): Promise<GetDelegationForAddressResult>;
23
+ export declare function getDelegationForAccount(options: GetDelegationForAccountOptions): Promise<GetDelegationForAccountResult>;
@@ -1,8 +1,8 @@
1
1
  import { EvmAddress, SolanaAddress } from '../types.js';
2
2
  /**
3
- * Options for revoking the account-scoped delegation for a specific end user account address.
3
+ * Options for revoking the account-scoped delegation for a specific end user account.
4
4
  */
5
- export type RevokeDelegationForAddressOptions = {
5
+ export type RevokeDelegationForAccountOptions = {
6
6
  /** The blockchain address whose delegation should be revoked. Must belong to the current user. */
7
7
  address: EvmAddress | SolanaAddress;
8
8
  };
@@ -11,9 +11,9 @@ export type RevokeDelegationForAddressOptions = {
11
11
  * Other account-scoped delegations for the same user are unaffected.
12
12
  * This operation can be performed by the end user themselves or by a developer using their API key.
13
13
  *
14
- * @param options - Options specifying the address whose delegation to revoke.
14
+ * @param options - Options specifying the account address whose delegation to revoke.
15
15
  * @returns A promise that resolves when the delegation has been revoked.
16
16
  * @throws Error if the user is not signed in.
17
17
  * @throws Error if the address does not belong to the current user.
18
18
  */
19
- export declare function revokeDelegationForAddress(options: RevokeDelegationForAddressOptions): Promise<void>;
19
+ export declare function revokeDelegationForAccount(options: RevokeDelegationForAccountOptions): Promise<void>;
@@ -21,9 +21,9 @@ export { waitForEvmEip7702Delegation, type WaitForEvmEip7702DelegationOptions, }
21
21
  export { createDelegation, type CreateDelegationOptions, type CreateDelegationResult, } from './actions/createDelegation.js';
22
22
  export { getDelegation, type GetDelegationResult } from './actions/getDelegation.js';
23
23
  export { revokeDelegation, type RevokeDelegationOptions } from './actions/revokeDelegation.js';
24
- export { createDelegationForAddress, type CreateDelegationForAddressOptions, type CreateDelegationForAddressResult, } from './actions/createDelegationForAddress.js';
25
- export { getDelegationForAddress, type GetDelegationForAddressOptions, type GetDelegationForAddressResult, } from './actions/getDelegationForAddress.js';
26
- export { revokeDelegationForAddress, type RevokeDelegationForAddressOptions, } from './actions/revokeDelegationForAddress.js';
24
+ export { createDelegationForAccount, type CreateDelegationForAccountOptions, type CreateDelegationForAccountResult, } from './actions/createDelegationForAccount.js';
25
+ export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
26
+ export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
27
27
  export { createSolanaAccount, type CreateSolanaAccountOptions, } from './actions/createSolanaAccount.js';
28
28
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
29
29
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
@@ -25,9 +25,9 @@ export { waitForEvmEip7702Delegation, type WaitForEvmEip7702DelegationOptions, }
25
25
  export { createDelegation, type CreateDelegationOptions, type CreateDelegationResult, } from './actions/createDelegation.js';
26
26
  export { getDelegation, type GetDelegationResult } from './actions/getDelegation.js';
27
27
  export { revokeDelegation, type RevokeDelegationOptions } from './actions/revokeDelegation.js';
28
- export { createDelegationForAddress, type CreateDelegationForAddressOptions, type CreateDelegationForAddressResult, } from './actions/createDelegationForAddress.js';
29
- export { getDelegationForAddress, type GetDelegationForAddressOptions, type GetDelegationForAddressResult, } from './actions/getDelegationForAddress.js';
30
- export { revokeDelegationForAddress, type RevokeDelegationForAddressOptions, } from './actions/revokeDelegationForAddress.js';
28
+ export { createDelegationForAccount, type CreateDelegationForAccountOptions, type CreateDelegationForAccountResult, } from './actions/createDelegationForAccount.js';
29
+ export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
30
+ export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
31
31
  export { createSolanaAccount } from './actions/createSolanaAccount.js';
32
32
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
33
33
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';
@@ -25,9 +25,9 @@ export { waitForEvmEip7702Delegation, type WaitForEvmEip7702DelegationOptions, }
25
25
  export { createDelegation, type CreateDelegationOptions, type CreateDelegationResult, } from './actions/createDelegation.js';
26
26
  export { getDelegation, type GetDelegationResult } from './actions/getDelegation.js';
27
27
  export { revokeDelegation, type RevokeDelegationOptions } from './actions/revokeDelegation.js';
28
- export { createDelegationForAddress, type CreateDelegationForAddressOptions, type CreateDelegationForAddressResult, } from './actions/createDelegationForAddress.js';
29
- export { getDelegationForAddress, type GetDelegationForAddressOptions, type GetDelegationForAddressResult, } from './actions/getDelegationForAddress.js';
30
- export { revokeDelegationForAddress, type RevokeDelegationForAddressOptions, } from './actions/revokeDelegationForAddress.js';
28
+ export { createDelegationForAccount, type CreateDelegationForAccountOptions, type CreateDelegationForAccountResult, } from './actions/createDelegationForAccount.js';
29
+ export { getDelegationForAccount, type GetDelegationForAccountOptions, type GetDelegationForAccountResult, } from './actions/getDelegationForAccount.js';
30
+ export { revokeDelegationForAccount, type RevokeDelegationForAccountOptions, } from './actions/revokeDelegationForAccount.js';
31
31
  export { createSolanaAccount } from './actions/createSolanaAccount.js';
32
32
  export { sendEvmEoaUsdc, type SendEvmEoaUsdcOptions, type SendEvmEoaUsdcResult, } from './actions/sendEvmEoaUsdc.js';
33
33
  export { sendEvmSmartAccountUsdc, type SendEvmSmartAccountUsdcOptions, type SendEvmSmartAccountUsdcResult, } from './actions/sendEvmSmartAccountUsdc.js';