@gardenfi/swap 0.1.3-beta.16 → 0.1.3-beta.18

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 (354) hide show
  1. package/dist/index102.cjs +1 -1
  2. package/dist/index102.js +1 -1
  3. package/dist/index106.cjs +1 -1
  4. package/dist/index106.js +1 -1
  5. package/dist/index107.cjs +1 -1
  6. package/dist/index107.js +7 -7
  7. package/dist/index109.cjs +1 -1
  8. package/dist/index109.js +4 -4
  9. package/dist/index110.cjs +1 -1
  10. package/dist/index110.js +3 -3
  11. package/dist/index116.cjs +1 -1
  12. package/dist/index116.js +1 -1
  13. package/dist/index119.cjs +1 -1
  14. package/dist/index119.js +1 -1
  15. package/dist/index120.cjs +1 -1
  16. package/dist/index120.js +1 -1
  17. package/dist/index123.cjs +1 -1
  18. package/dist/index123.js +2 -2
  19. package/dist/index124.cjs +1 -1
  20. package/dist/index124.js +7 -7
  21. package/dist/index129.cjs +1 -1
  22. package/dist/index129.js +3 -3
  23. package/dist/index130.cjs +1 -1
  24. package/dist/index130.js +1 -1
  25. package/dist/index131.cjs +1 -1
  26. package/dist/index131.js +2 -2
  27. package/dist/index132.cjs +1 -1
  28. package/dist/index132.js +1 -1
  29. package/dist/index133.cjs +1 -1
  30. package/dist/index133.js +3 -3
  31. package/dist/index134.cjs +1 -1
  32. package/dist/index134.js +2 -2
  33. package/dist/index135.cjs +1 -1
  34. package/dist/index135.js +1 -1
  35. package/dist/index136.cjs +1 -1
  36. package/dist/index136.js +1 -1
  37. package/dist/index137.cjs +1 -1
  38. package/dist/index137.js +1 -1
  39. package/dist/index138.cjs +1 -1
  40. package/dist/index138.js +1 -1
  41. package/dist/index141.cjs +1 -1
  42. package/dist/index141.js +4 -4
  43. package/dist/index142.cjs +1 -1
  44. package/dist/index142.js +1 -1
  45. package/dist/index143.cjs +1 -1
  46. package/dist/index143.js +3 -3
  47. package/dist/index146.cjs +1 -1
  48. package/dist/index146.js +1 -1
  49. package/dist/index148.cjs +1 -1
  50. package/dist/index148.js +1 -1
  51. package/dist/index149.cjs +1 -1
  52. package/dist/index149.js +1 -1
  53. package/dist/index151.cjs +1 -1
  54. package/dist/index151.js +1 -1
  55. package/dist/index152.cjs +1 -1
  56. package/dist/index152.js +1 -1
  57. package/dist/index157.cjs +1 -1
  58. package/dist/index157.js +1 -1
  59. package/dist/index159.cjs +1 -1
  60. package/dist/index159.js +1 -1
  61. package/dist/index161.cjs +1 -1
  62. package/dist/index161.js +1 -1
  63. package/dist/index162.cjs +1 -1
  64. package/dist/index162.js +1 -1
  65. package/dist/index163.cjs +1 -1
  66. package/dist/index163.js +1 -1
  67. package/dist/index164.cjs +1 -1
  68. package/dist/index164.js +4 -4
  69. package/dist/index165.cjs +1 -1
  70. package/dist/index165.js +3 -3
  71. package/dist/index170.cjs +1 -1
  72. package/dist/index170.js +2 -2
  73. package/dist/index171.cjs +1 -1
  74. package/dist/index171.js +3 -3
  75. package/dist/index172.cjs +1 -1
  76. package/dist/index172.js +2 -2
  77. package/dist/index173.cjs +1 -1
  78. package/dist/index173.js +2 -2
  79. package/dist/index174.cjs +1 -1
  80. package/dist/index174.js +2 -2
  81. package/dist/index175.cjs +1 -1
  82. package/dist/index175.js +2 -2
  83. package/dist/index176.cjs +1 -1
  84. package/dist/index176.js +2 -2
  85. package/dist/index179.cjs +1 -1
  86. package/dist/index179.js +1 -1
  87. package/dist/index18.cjs +1 -1
  88. package/dist/index18.js +3 -3
  89. package/dist/index184.cjs +1 -1
  90. package/dist/index184.js +1 -1
  91. package/dist/index19.cjs +1 -1
  92. package/dist/index19.js +18 -18
  93. package/dist/index20.cjs +1 -1
  94. package/dist/index20.js +2 -2
  95. package/dist/index21.cjs +1 -1
  96. package/dist/index21.js +4 -4
  97. package/dist/index216.cjs +1 -1
  98. package/dist/index216.js +1 -1
  99. package/dist/index217.cjs +1 -1
  100. package/dist/index217.js +1 -1
  101. package/dist/index24.cjs +1 -1
  102. package/dist/index24.js +2 -2
  103. package/dist/index245.cjs +1 -1
  104. package/dist/index245.js +1 -1
  105. package/dist/index262.cjs +1 -1
  106. package/dist/index262.js +1 -1
  107. package/dist/index265.cjs +1 -1
  108. package/dist/index265.js +1 -1
  109. package/dist/index271.cjs +1 -1
  110. package/dist/index271.js +41 -14
  111. package/dist/index272.cjs +1 -1
  112. package/dist/index272.js +12 -23
  113. package/dist/index273.cjs +1 -1
  114. package/dist/index273.js +24 -12
  115. package/dist/index274.cjs +1 -1
  116. package/dist/index274.js +12 -9
  117. package/dist/index275.cjs +1 -1
  118. package/dist/index275.js +9 -30
  119. package/dist/index276.cjs +1 -1
  120. package/dist/index276.js +31 -2
  121. package/dist/index277.cjs +1 -1
  122. package/dist/index277.js +2 -48
  123. package/dist/index278.cjs +1 -1
  124. package/dist/index278.js +46 -10
  125. package/dist/index279.cjs +1 -1
  126. package/dist/index279.js +10 -173
  127. package/dist/index280.cjs +1 -2
  128. package/dist/index280.js +154 -71
  129. package/dist/index281.cjs +2 -1
  130. package/dist/index281.js +90 -39
  131. package/dist/index282.cjs +1 -1
  132. package/dist/index282.js +40 -4
  133. package/dist/index283.cjs +1 -1
  134. package/dist/index283.js +4 -163
  135. package/dist/index284.cjs +1 -1
  136. package/dist/index284.js +164 -5
  137. package/dist/index285.cjs +1 -1
  138. package/dist/index285.js +5 -41
  139. package/dist/index302.cjs +1 -1
  140. package/dist/index302.js +7 -37
  141. package/dist/index303.cjs +1 -1
  142. package/dist/index303.js +36 -14
  143. package/dist/index304.cjs +1 -1
  144. package/dist/index304.js +15 -8
  145. package/dist/index305.cjs +1 -1
  146. package/dist/index305.js +8 -7
  147. package/dist/index306.cjs +1 -1
  148. package/dist/index306.js +10 -43
  149. package/dist/index307.cjs +1 -1
  150. package/dist/index307.js +16 -320
  151. package/dist/index308.cjs +1 -1
  152. package/dist/index308.js +21 -604
  153. package/dist/index309.cjs +1 -1
  154. package/dist/index309.js +14 -110
  155. package/dist/index310.cjs +1 -1
  156. package/dist/index310.js +13 -167
  157. package/dist/index311.cjs +1 -1
  158. package/dist/index311.js +13 -300
  159. package/dist/index312.cjs +1 -1
  160. package/dist/index312.js +9 -93
  161. package/dist/index313.cjs +1 -1
  162. package/dist/index313.js +13 -54
  163. package/dist/index314.cjs +1 -1
  164. package/dist/index314.js +23 -51
  165. package/dist/index315.cjs +1 -1
  166. package/dist/index315.js +30 -43
  167. package/dist/index316.cjs +2 -1
  168. package/dist/index316.js +18 -15
  169. package/dist/index317.cjs +1 -1
  170. package/dist/index317.js +14 -317
  171. package/dist/index318.cjs +1 -1
  172. package/dist/index318.js +41 -58
  173. package/dist/index319.cjs +1 -1
  174. package/dist/index319.js +319 -18
  175. package/dist/index320.cjs +1 -1
  176. package/dist/index320.js +602 -26
  177. package/dist/index321.cjs +1 -1
  178. package/dist/index321.js +110 -4
  179. package/dist/index322.cjs +1 -7
  180. package/dist/index322.js +166 -236
  181. package/dist/index323.cjs +1 -1
  182. package/dist/index323.js +302 -48
  183. package/dist/index324.cjs +1 -1
  184. package/dist/index324.js +92 -211
  185. package/dist/index325.cjs +1 -1
  186. package/dist/index325.js +49 -74
  187. package/dist/index326.cjs +1 -1
  188. package/dist/index326.js +51 -27
  189. package/dist/index327.cjs +1 -1
  190. package/dist/index327.js +42 -74
  191. package/dist/index328.cjs +1 -1
  192. package/dist/index328.js +15 -9
  193. package/dist/index329.cjs +1 -1
  194. package/dist/index329.js +317 -16
  195. package/dist/index330.cjs +1 -1
  196. package/dist/index330.js +57 -20
  197. package/dist/index331.cjs +1 -1
  198. package/dist/index331.js +18 -12
  199. package/dist/index332.cjs +1 -1
  200. package/dist/index332.js +29 -13
  201. package/dist/index333.cjs +1 -1
  202. package/dist/index333.js +3 -14
  203. package/dist/index334.cjs +7 -1
  204. package/dist/index334.js +237 -9
  205. package/dist/index335.cjs +1 -1
  206. package/dist/index335.js +48 -16
  207. package/dist/index336.cjs +1 -1
  208. package/dist/index336.js +209 -22
  209. package/dist/index337.cjs +1 -1
  210. package/dist/index337.js +80 -30
  211. package/dist/index338.cjs +1 -2
  212. package/dist/index338.js +29 -18
  213. package/dist/index339.cjs +1 -1
  214. package/dist/index339.js +75 -13
  215. package/dist/index350.cjs +1 -1
  216. package/dist/index350.js +1 -1
  217. package/dist/index351.cjs +1 -1
  218. package/dist/index351.js +3 -3
  219. package/dist/index352.cjs +1 -2
  220. package/dist/index352.js +4 -193
  221. package/dist/index353.cjs +2 -1
  222. package/dist/index353.js +168 -52
  223. package/dist/index354.cjs +1 -1
  224. package/dist/index354.js +65 -331
  225. package/dist/index355.cjs +1 -1
  226. package/dist/index355.js +332 -149
  227. package/dist/index356.cjs +1 -1
  228. package/dist/index356.js +161 -5
  229. package/dist/index357.cjs +1 -1
  230. package/dist/index357.js +5 -5
  231. package/dist/index358.cjs +1 -1
  232. package/dist/index358.js +1 -1
  233. package/dist/index360.cjs +1 -1
  234. package/dist/index360.js +1 -1
  235. package/dist/index364.cjs +1 -1
  236. package/dist/index364.js +3 -94
  237. package/dist/index365.cjs +1 -1
  238. package/dist/index365.js +137 -25
  239. package/dist/index366.cjs +1 -1
  240. package/dist/index366.js +129 -144
  241. package/dist/index367.cjs +1 -1
  242. package/dist/index367.js +71 -331
  243. package/dist/index368.cjs +1 -1
  244. package/dist/index368.js +28 -3
  245. package/dist/index369.cjs +1 -1
  246. package/dist/index369.js +143 -135
  247. package/dist/index370.cjs +1 -1
  248. package/dist/index370.js +343 -264
  249. package/dist/index371.cjs +1 -1
  250. package/dist/index371.js +73 -170
  251. package/dist/index372.cjs +1 -1
  252. package/dist/index372.js +32 -10
  253. package/dist/index373.cjs +1 -1
  254. package/dist/index373.js +5 -107
  255. package/dist/index374.cjs +1 -1
  256. package/dist/index374.js +275 -5
  257. package/dist/index375.cjs +1 -1
  258. package/dist/index375.js +170 -73
  259. package/dist/index376.cjs +1 -1
  260. package/dist/index376.js +10 -10
  261. package/dist/index377.cjs +1 -1
  262. package/dist/index377.js +105 -29
  263. package/dist/index378.cjs +1 -1
  264. package/dist/index378.js +9 -133
  265. package/dist/index384.cjs +1 -1
  266. package/dist/index384.js +2 -22
  267. package/dist/index385.cjs +1 -1
  268. package/dist/index385.js +22 -2
  269. package/dist/index386.cjs +1 -1
  270. package/dist/index386.js +59 -106
  271. package/dist/index387.cjs +1 -1
  272. package/dist/index387.js +110 -3
  273. package/dist/index388.cjs +1 -1
  274. package/dist/index388.js +3 -63
  275. package/dist/index41.cjs +1 -1
  276. package/dist/index41.js +1 -1
  277. package/dist/index42.cjs +1 -1
  278. package/dist/index42.js +12 -88
  279. package/dist/index43.cjs +1 -1
  280. package/dist/index43.js +58 -13
  281. package/dist/index44.cjs +1 -1
  282. package/dist/index44.js +522 -12
  283. package/dist/index45.cjs +1 -1
  284. package/dist/index45.js +30 -59
  285. package/dist/index46.cjs +1 -1
  286. package/dist/index46.js +26 -522
  287. package/dist/index47.cjs +1 -1
  288. package/dist/index47.js +12 -16
  289. package/dist/index48.cjs +1 -1
  290. package/dist/index48.js +34 -11
  291. package/dist/index49.cjs +1 -1
  292. package/dist/index49.js +16 -14
  293. package/dist/index50.cjs +1 -1
  294. package/dist/index50.js +16 -37
  295. package/dist/index51.cjs +1 -1
  296. package/dist/index51.js +17 -14
  297. package/dist/index52.cjs +1 -1
  298. package/dist/index52.js +19 -17
  299. package/dist/index53.cjs +1 -1
  300. package/dist/index53.js +42 -17
  301. package/dist/index54.cjs +1 -1
  302. package/dist/index54.js +39 -15
  303. package/dist/index55.cjs +1 -1
  304. package/dist/index55.js +29 -49
  305. package/dist/index56.cjs +1 -1
  306. package/dist/index56.js +29 -46
  307. package/dist/index57.cjs +1 -1
  308. package/dist/index57.js +19 -25
  309. package/dist/index58.cjs +1 -1
  310. package/dist/index58.js +18 -27
  311. package/dist/index59.cjs +1 -1
  312. package/dist/index59.js +14 -16
  313. package/dist/index60.cjs +1 -1
  314. package/dist/index60.js +24 -14
  315. package/dist/index61.cjs +1 -1
  316. package/dist/index61.js +34 -17
  317. package/dist/index62.cjs +1 -1
  318. package/dist/index62.js +33 -19
  319. package/dist/index63.cjs +1 -1
  320. package/dist/index63.js +15 -45
  321. package/dist/index64.cjs +1 -1
  322. package/dist/index64.js +14 -52
  323. package/dist/index65.cjs +1 -1
  324. package/dist/index65.js +86 -13
  325. package/dist/index66.cjs +1 -1
  326. package/dist/index66.js +13 -13
  327. package/dist/index68.cjs +1 -1
  328. package/dist/index68.js +3 -3
  329. package/dist/index70.cjs +1 -1
  330. package/dist/index70.js +1 -1
  331. package/dist/index71.cjs +1 -1
  332. package/dist/index71.js +12 -19
  333. package/dist/index72.cjs +1 -1
  334. package/dist/index72.js +36 -12
  335. package/dist/index73.cjs +1 -1
  336. package/dist/index73.js +41 -36
  337. package/dist/index74.cjs +1 -1
  338. package/dist/index74.js +39 -38
  339. package/dist/index75.cjs +1 -1
  340. package/dist/index75.js +24 -42
  341. package/dist/index76.cjs +1 -1
  342. package/dist/index76.js +52 -22
  343. package/dist/index77.cjs +1 -1
  344. package/dist/index77.js +25 -52
  345. package/dist/index78.cjs +1 -1
  346. package/dist/index78.js +20 -28
  347. package/dist/index80.cjs +1 -1
  348. package/dist/index80.js +13 -13
  349. package/dist/index84.cjs +1 -1
  350. package/dist/index84.js +1 -1
  351. package/dist/index95.cjs +1 -1
  352. package/dist/index95.js +2 -2
  353. package/dist/src/lib/store/swapStore.d.ts +1 -1
  354. package/package.json +5 -5
package/dist/index216.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { InvalidBytesBooleanError as f } from "./index89.js";
2
2
  import { trim as o } from "./index91.js";
3
- import { assertSize as r, hexToNumber as s, hexToBigInt as u } from "./index75.js";
3
+ import { assertSize as r, hexToNumber as s, hexToBigInt as u } from "./index74.js";
4
4
  import { bytesToHex as t } from "./index84.js";
5
5
  function c(n, i = {}) {
6
6
  typeof i.size < "u" && r(n, { size: i.size });
package/dist/index217.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index192.cjs"),l=require("./index103.cjs"),u=require("./index225.cjs"),f=require("./index75.cjs"),m=require("./index84.cjs"),h=new TextEncoder;function A(e,n={}){return typeof e=="number"||typeof e=="bigint"?B(e,n):typeof e=="boolean"?x(e,n):l.isHex(e)?c(e,n):T(e,n)}function x(e,n={}){const t=new Uint8Array(1);return t[0]=Number(e),typeof n.size=="number"?(f.assertSize(t,{size:n.size}),u.pad(t,{size:n.size})):t}const i={zero:48,nine:57,A:65,F:70,a:97,f:102};function g(e){if(e>=i.zero&&e<=i.nine)return e-i.zero;if(e>=i.A&&e<=i.F)return e-(i.A-10);if(e>=i.a&&e<=i.f)return e-(i.a-10)}function c(e,n={}){let t=e;n.size&&(f.assertSize(t,{size:n.size}),t=u.pad(t,{dir:"right",size:n.size}));let r=t.slice(2);r.length%2&&(r=`0${r}`);const d=r.length/2,y=new Uint8Array(d);for(let s=0,o=0;s<d;s++){const b=g(r.charCodeAt(o++)),z=g(r.charCodeAt(o++));if(b===void 0||z===void 0)throw new a.BaseError(`Invalid byte sequence ("${r[o-2]}${r[o-1]}" in "${r}").`);y[s]=b*16+z}return y}function B(e,n){const t=m.numberToHex(e,n);return c(t)}function T(e,n={}){const t=h.encode(e);return typeof n.size=="number"?(f.assertSize(t,{size:n.size}),u.pad(t,{dir:"right",size:n.size})):t}exports.boolToBytes=x;exports.hexToBytes=c;exports.numberToBytes=B;exports.stringToBytes=T;exports.toBytes=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index192.cjs"),l=require("./index103.cjs"),u=require("./index225.cjs"),f=require("./index74.cjs"),m=require("./index84.cjs"),h=new TextEncoder;function A(e,n={}){return typeof e=="number"||typeof e=="bigint"?B(e,n):typeof e=="boolean"?x(e,n):l.isHex(e)?c(e,n):T(e,n)}function x(e,n={}){const t=new Uint8Array(1);return t[0]=Number(e),typeof n.size=="number"?(f.assertSize(t,{size:n.size}),u.pad(t,{size:n.size})):t}const i={zero:48,nine:57,A:65,F:70,a:97,f:102};function g(e){if(e>=i.zero&&e<=i.nine)return e-i.zero;if(e>=i.A&&e<=i.F)return e-(i.A-10);if(e>=i.a&&e<=i.f)return e-(i.a-10)}function c(e,n={}){let t=e;n.size&&(f.assertSize(t,{size:n.size}),t=u.pad(t,{dir:"right",size:n.size}));let r=t.slice(2);r.length%2&&(r=`0${r}`);const d=r.length/2,y=new Uint8Array(d);for(let s=0,o=0;s<d;s++){const b=g(r.charCodeAt(o++)),z=g(r.charCodeAt(o++));if(b===void 0||z===void 0)throw new a.BaseError(`Invalid byte sequence ("${r[o-2]}${r[o-1]}" in "${r}").`);y[s]=b*16+z}return y}function B(e,n){const t=m.numberToHex(e,n);return c(t)}function T(e,n={}){const t=h.encode(e);return typeof n.size=="number"?(f.assertSize(t,{size:n.size}),u.pad(t,{dir:"right",size:n.size})):t}exports.boolToBytes=x;exports.hexToBytes=c;exports.numberToBytes=B;exports.stringToBytes=T;exports.toBytes=A;
package/dist/index217.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { BaseError as g } from "./index192.js";
2
2
  import { isHex as x } from "./index103.js";
3
3
  import { pad as s } from "./index225.js";
4
- import { assertSize as u } from "./index75.js";
4
+ import { assertSize as u } from "./index74.js";
5
5
  import { numberToHex as h } from "./index84.js";
6
6
  const A = /* @__PURE__ */ new TextEncoder();
7
7
  function F(e, n = {}) {
package/dist/index24.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),f=require("./index7.cjs"),w=require("./index23.cjs"),a=require("./index34.cjs"),p=require("@gardenfi/react-hooks"),S=require("@gardenfi/garden-book"),g=require("./index42.cjs"),d=require("./index43.cjs"),u=require("framer-motion"),T=()=>{const{transactions:c,isLoading:m}=w.transactionHistoryStore(),{allAssets:s}=f.assetInfoStore(),{pendingOrders:o}=p.useGarden(),i=t.useMemo(()=>c.filter(e=>a.getAssetFromSwap(e.source_swap,s)&&a.getAssetFromSwap(e.destination_swap,s)),[c,s]),l=t.useMemo(()=>(o==null?void 0:o.filter(e=>a.getAssetFromSwap(e.source_swap,s)&&a.getAssetFromSwap(e.destination_swap,s)))??[],[o,s]),n=t.useMemo(()=>[...l,...i],[l,i]);return t.createElement(u.AnimatePresence,{mode:"wait"},t.createElement(u.motion.div,{className:"flex w-full flex-col overflow-y-auto scrollbar-hide h-full"},m?t.createElement(d.TransactionsSkeleton,null):n.length===0?t.createElement(S.Typography,{size:"h5",className:"py-4 text-center"},"No transactions found."):n.map((e,r)=>t.createElement("div",{key:e.order_id||r,className:"w-full"},t.createElement(g.TransactionRow,{order:e,status:e.status,isLast:r===n.length-1,isFirst:r===0})))))};exports.Transactions=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),f=require("./index7.cjs"),w=require("./index23.cjs"),a=require("./index34.cjs"),p=require("@gardenfi/react-hooks"),S=require("@gardenfi/garden-book"),g=require("./index65.cjs"),d=require("./index66.cjs"),u=require("framer-motion"),T=()=>{const{transactions:c,isLoading:m}=w.transactionHistoryStore(),{allAssets:s}=f.assetInfoStore(),{pendingOrders:o}=p.useGarden(),i=t.useMemo(()=>c.filter(e=>a.getAssetFromSwap(e.source_swap,s)&&a.getAssetFromSwap(e.destination_swap,s)),[c,s]),l=t.useMemo(()=>(o==null?void 0:o.filter(e=>a.getAssetFromSwap(e.source_swap,s)&&a.getAssetFromSwap(e.destination_swap,s)))??[],[o,s]),n=t.useMemo(()=>[...l,...i],[l,i]);return t.createElement(u.AnimatePresence,{mode:"wait"},t.createElement(u.motion.div,{className:"flex w-full flex-col overflow-y-auto scrollbar-hide h-full"},m?t.createElement(d.TransactionsSkeleton,null):n.length===0?t.createElement(S.Typography,{size:"h5",className:"py-4 text-center"},"No transactions found."):n.map((e,r)=>t.createElement("div",{key:e.order_id||r,className:"w-full"},t.createElement(g.TransactionRow,{order:e,status:e.status,isLast:r===n.length-1,isFirst:r===0})))))};exports.Transactions=T;
package/dist/index24.js CHANGED
@@ -4,8 +4,8 @@ import { transactionHistoryStore as u } from "./index23.js";
4
4
  import { getAssetFromSwap as a } from "./index34.js";
5
5
  import { useGarden as w } from "@gardenfi/react-hooks";
6
6
  import { Typography as d } from "@gardenfi/garden-book";
7
- import { TransactionRow as h } from "./index42.js";
8
- import { TransactionsSkeleton as y } from "./index43.js";
7
+ import { TransactionRow as h } from "./index65.js";
8
+ import { TransactionsSkeleton as y } from "./index66.js";
9
9
  import { AnimatePresence as E, motion as T } from "framer-motion";
10
10
  const L = () => {
11
11
  const { transactions: l, isLoading: f } = u(), { allAssets: e } = p(), { pendingOrders: o } = w(), m = i(
package/dist/index245.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index46.cjs"),y=require("./index195.cjs"),h=require("./index223.cjs"),n=require("./index227.cjs"),w=require("./index231.cjs"),u="x-batch-gateway:true";async function i(t){const{data:l,ccipRequest:o}=t,{args:[d]}=h.decodeFunctionData({abi:c.batchGatewayAbi,data:l}),a=[],s=[];return await Promise.all(d.map(async(r,e)=>{try{s[e]=r.urls.includes(u)?await i({data:r.data,ccipRequest:o}):await o(r),a[e]=!1}catch(b){a[e]=!0,s[e]=g(b)}})),w.encodeFunctionResult({abi:c.batchGatewayAbi,functionName:"query",result:[a,s]})}function g(t){return t.name==="HttpRequestError"&&t.status?n.encodeErrorResult({abi:c.batchGatewayAbi,errorName:"HttpError",args:[t.status,t.shortMessage]}):n.encodeErrorResult({abi:[y.solidityError],errorName:"Error",args:["shortMessage"in t?t.shortMessage:t.message]})}exports.localBatchGatewayRequest=i;exports.localBatchGatewayUrl=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index44.cjs"),y=require("./index195.cjs"),h=require("./index223.cjs"),n=require("./index227.cjs"),w=require("./index231.cjs"),u="x-batch-gateway:true";async function i(t){const{data:l,ccipRequest:o}=t,{args:[d]}=h.decodeFunctionData({abi:c.batchGatewayAbi,data:l}),a=[],s=[];return await Promise.all(d.map(async(r,e)=>{try{s[e]=r.urls.includes(u)?await i({data:r.data,ccipRequest:o}):await o(r),a[e]=!1}catch(b){a[e]=!0,s[e]=g(b)}})),w.encodeFunctionResult({abi:c.batchGatewayAbi,functionName:"query",result:[a,s]})}function g(t){return t.name==="HttpRequestError"&&t.status?n.encodeErrorResult({abi:c.batchGatewayAbi,errorName:"HttpError",args:[t.status,t.shortMessage]}):n.encodeErrorResult({abi:[y.solidityError],errorName:"Error",args:["shortMessage"in t?t.shortMessage:t.message]})}exports.localBatchGatewayRequest=i;exports.localBatchGatewayUrl=u;
package/dist/index245.js CHANGED
@@ -1,4 +1,4 @@
1
- import { batchGatewayAbi as o } from "./index46.js";
1
+ import { batchGatewayAbi as o } from "./index44.js";
2
2
  import { solidityError as l } from "./index195.js";
3
3
  import { decodeFunctionData as f } from "./index223.js";
4
4
  import { encodeErrorResult as n } from "./index227.js";
package/dist/index262.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index103.cjs"),d=require("./index90.cjs"),o=require("./index75.cjs"),c=require("./index84.cjs");async function g({hash:e,signature:r}){const u=n.isHex(e)?e:c.toHex(e),{secp256k1:i}=await Promise.resolve().then(()=>require("./index263.cjs"));return`0x${(()=>{if(typeof r=="object"&&"r"in r&&"s"in r){const{r:v,s:y,v:b,yParity:f}=r,a=Number(f??b),H=s(a);return new i.Signature(o.hexToBigInt(v),o.hexToBigInt(y)).addRecoveryBit(H)}const t=n.isHex(r)?r:c.toHex(r);if(d.size(t)!==65)throw new Error("invalid signature length");const l=o.hexToNumber(`0x${t.slice(130)}`),x=s(l);return i.Signature.fromCompact(t.substring(2,130)).addRecoveryBit(x)})().recoverPublicKey(u.substring(2)).toHex(!1)}`}function s(e){if(e===0||e===1)return e;if(e===27)return 0;if(e===28)return 1;throw new Error("Invalid yParityOrV value")}exports.recoverPublicKey=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index103.cjs"),d=require("./index90.cjs"),o=require("./index74.cjs"),c=require("./index84.cjs");async function g({hash:e,signature:r}){const u=n.isHex(e)?e:c.toHex(e),{secp256k1:i}=await Promise.resolve().then(()=>require("./index263.cjs"));return`0x${(()=>{if(typeof r=="object"&&"r"in r&&"s"in r){const{r:v,s:y,v:b,yParity:f}=r,a=Number(f??b),H=s(a);return new i.Signature(o.hexToBigInt(v),o.hexToBigInt(y)).addRecoveryBit(H)}const t=n.isHex(r)?r:c.toHex(r);if(d.size(t)!==65)throw new Error("invalid signature length");const l=o.hexToNumber(`0x${t.slice(130)}`),x=s(l);return i.Signature.fromCompact(t.substring(2,130)).addRecoveryBit(x)})().recoverPublicKey(u.substring(2)).toHex(!1)}`}function s(e){if(e===0||e===1)return e;if(e===27)return 0;if(e===28)return 1;throw new Error("Invalid yParityOrV value")}exports.recoverPublicKey=g;
package/dist/index262.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { isHex as i } from "./index103.js";
2
2
  import { size as b } from "./index90.js";
3
- import { hexToBigInt as n, hexToNumber as d } from "./index75.js";
3
+ import { hexToBigInt as n, hexToNumber as d } from "./index74.js";
4
4
  import { toHex as c } from "./index84.js";
5
5
  async function R({ hash: r, signature: e }) {
6
6
  const u = i(r) ? r : c(r), { secp256k1: t } = await import("./index263.js");
package/dist/index265.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index266.cjs"),w=require("./index187.cjs"),t=require("./index81.cjs"),P=require("./index192.cjs"),h=require("./index242.cjs"),d=require("./index88.cjs"),n=require("./index209.cjs"),c=require("./index82.cjs"),I=require("./index90.cjs"),u=require("./index215.cjs"),l=require("./index75.cjs");function m(o){const{authorizationList:e}=o;if(e)for(const s of e){const{chainId:r}=s,i=s.address;if(!c.isAddress(i))throw new t.InvalidAddressError({address:i});if(r<0)throw new d.InvalidChainIdError({chainId:r})}f(o)}function T(o){const{blobVersionedHashes:e}=o;if(e){if(e.length===0)throw new h.EmptyBlobError;for(const s of e){const r=I.size(s),i=l.hexToNumber(u.slice(s,0,1));if(r!==32)throw new h.InvalidVersionedHashSizeError({hash:s,size:r});if(i!==E.versionedHashVersionKzg)throw new h.InvalidVersionedHashVersionError({hash:s,version:i})}}f(o)}function f(o){const{chainId:e,maxPriorityFeePerGas:s,maxFeePerGas:r,to:i}=o;if(e<=0)throw new d.InvalidChainIdError({chainId:e});if(i&&!c.isAddress(i))throw new t.InvalidAddressError({address:i});if(r&&r>w.maxUint256)throw new n.FeeCapTooHighError({maxFeePerGas:r});if(s&&r&&s>r)throw new n.TipAboveFeeCapError({maxFeePerGas:r,maxPriorityFeePerGas:s})}function x(o){const{chainId:e,maxPriorityFeePerGas:s,gasPrice:r,maxFeePerGas:i,to:a}=o;if(e<=0)throw new d.InvalidChainIdError({chainId:e});if(a&&!c.isAddress(a))throw new t.InvalidAddressError({address:a});if(s||i)throw new P.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(r&&r>w.maxUint256)throw new n.FeeCapTooHighError({maxFeePerGas:r})}function v(o){const{chainId:e,maxPriorityFeePerGas:s,gasPrice:r,maxFeePerGas:i,to:a}=o;if(a&&!c.isAddress(a))throw new t.InvalidAddressError({address:a});if(typeof e<"u"&&e<=0)throw new d.InvalidChainIdError({chainId:e});if(s||i)throw new P.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(r&&r>w.maxUint256)throw new n.FeeCapTooHighError({maxFeePerGas:r})}exports.assertTransactionEIP1559=f;exports.assertTransactionEIP2930=x;exports.assertTransactionEIP4844=T;exports.assertTransactionEIP7702=m;exports.assertTransactionLegacy=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index266.cjs"),w=require("./index187.cjs"),t=require("./index81.cjs"),P=require("./index192.cjs"),h=require("./index242.cjs"),d=require("./index88.cjs"),n=require("./index209.cjs"),c=require("./index82.cjs"),I=require("./index90.cjs"),u=require("./index215.cjs"),l=require("./index74.cjs");function m(o){const{authorizationList:e}=o;if(e)for(const s of e){const{chainId:r}=s,i=s.address;if(!c.isAddress(i))throw new t.InvalidAddressError({address:i});if(r<0)throw new d.InvalidChainIdError({chainId:r})}f(o)}function T(o){const{blobVersionedHashes:e}=o;if(e){if(e.length===0)throw new h.EmptyBlobError;for(const s of e){const r=I.size(s),i=l.hexToNumber(u.slice(s,0,1));if(r!==32)throw new h.InvalidVersionedHashSizeError({hash:s,size:r});if(i!==E.versionedHashVersionKzg)throw new h.InvalidVersionedHashVersionError({hash:s,version:i})}}f(o)}function f(o){const{chainId:e,maxPriorityFeePerGas:s,maxFeePerGas:r,to:i}=o;if(e<=0)throw new d.InvalidChainIdError({chainId:e});if(i&&!c.isAddress(i))throw new t.InvalidAddressError({address:i});if(r&&r>w.maxUint256)throw new n.FeeCapTooHighError({maxFeePerGas:r});if(s&&r&&s>r)throw new n.TipAboveFeeCapError({maxFeePerGas:r,maxPriorityFeePerGas:s})}function x(o){const{chainId:e,maxPriorityFeePerGas:s,gasPrice:r,maxFeePerGas:i,to:a}=o;if(e<=0)throw new d.InvalidChainIdError({chainId:e});if(a&&!c.isAddress(a))throw new t.InvalidAddressError({address:a});if(s||i)throw new P.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid EIP-2930 Transaction attribute.");if(r&&r>w.maxUint256)throw new n.FeeCapTooHighError({maxFeePerGas:r})}function v(o){const{chainId:e,maxPriorityFeePerGas:s,gasPrice:r,maxFeePerGas:i,to:a}=o;if(a&&!c.isAddress(a))throw new t.InvalidAddressError({address:a});if(typeof e<"u"&&e<=0)throw new d.InvalidChainIdError({chainId:e});if(s||i)throw new P.BaseError("`maxFeePerGas`/`maxPriorityFeePerGas` is not a valid Legacy Transaction attribute.");if(r&&r>w.maxUint256)throw new n.FeeCapTooHighError({maxFeePerGas:r})}exports.assertTransactionEIP1559=f;exports.assertTransactionEIP2930=x;exports.assertTransactionEIP4844=T;exports.assertTransactionEIP7702=m;exports.assertTransactionLegacy=v;
package/dist/index265.js CHANGED
@@ -8,7 +8,7 @@ import { FeeCapTooHighError as w, TipAboveFeeCapError as E } from "./index209.js
8
8
  import { isAddress as f } from "./index82.js";
9
9
  import { size as F } from "./index90.js";
10
10
  import { slice as I } from "./index215.js";
11
- import { hexToNumber as G } from "./index75.js";
11
+ import { hexToNumber as G } from "./index74.js";
12
12
  function C(t) {
13
13
  const { authorizationList: e } = t;
14
14
  if (e)
package/dist/index271.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index97.cjs"),u=require("./index209.cjs"),i=require("./index272.cjs");function l(r,{docsPath:t,...e}){const n=(()=>{const o=i.getNodeError(r,e);return o instanceof u.UnknownNodeError?r:o})();return new c.CallExecutionError(n,{docsPath:t,...e})}exports.getCallError=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),c=require("@gardenfi/orderbook"),a=require("@gardenfi/garden-book"),p=require("./index6.cjs"),m=require("./index34.cjs"),u=({isRefund:r,address:n})=>{const l=e.useId(),{inputAsset:o,outputAsset:i}=p.swapStore(),t=e.useMemo(()=>r?o&&o.chain:i&&i.chain,[o,i,r]);return e.createElement(e.Fragment,null,n&&t&&e.createElement("div",{className:`flex cursor-pointer items-center justify-between px-4 transition-all duration-200 ease-in-out hover:bg-white ${t&&!c.isBitcoin(t)?"pointer-events-auto max-h-7 py-1 opacity-100":"pointer-events-none max-h-0 py-0 opacity-0"}`,onClick:s=>{s.stopPropagation()}},e.createElement(a.Typography,{"data-tooltip-id":r?l:"",size:"h5",weight:"regular",className:"!text-mid-grey"},r?"Refund":"Receive"," address"),e.createElement("div",{className:"flex items-center gap-2"},e.createElement(a.Typography,{size:"h5",weight:"regular"},m.getTrimmedAddress(n)),e.createElement("div",{className:"flex gap-1"},e.createElement(a.EditIcon,{className:`cursor-pointer p-0.5 transition-all duration-500 ease-in-out ${t&&c.isBitcoin(t)?"max-h-4 max-w-4 opacity-100":"-mr-3.5 max-h-0 max-w-0 opacity-0"}`,onClick:s=>{s.stopPropagation()}}),e.createElement(a.ArrowNorthEastIcon,{className:"h-4 w-4 cursor-pointer p-[3px]"})))))};exports.AddressDetails=u;
package/dist/index271.js CHANGED
@@ -1,16 +1,43 @@
1
- import { CallExecutionError as c } from "./index97.js";
2
- import { UnknownNodeError as i } from "./index209.js";
3
- import { getNodeError as u } from "./index272.js";
4
- function a(r, { docsPath: t, ...o }) {
5
- const e = (() => {
6
- const n = u(r, o);
7
- return n instanceof i ? r : n;
8
- })();
9
- return new c(e, {
10
- docsPath: t,
11
- ...o
12
- });
13
- }
1
+ import e, { useId as p, useMemo as l } from "react";
2
+ import { isBitcoin as s } from "@gardenfi/orderbook";
3
+ import { Typography as m, EditIcon as u, ArrowNorthEastIcon as h } from "@gardenfi/garden-book";
4
+ import { swapStore as d } from "./index6.js";
5
+ import { getTrimmedAddress as g } from "./index34.js";
6
+ const v = ({
7
+ isRefund: a,
8
+ address: n
9
+ }) => {
10
+ const c = p(), { inputAsset: r, outputAsset: o } = d(), t = l(() => a ? r && r.chain : o && o.chain, [r, o, a]);
11
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, n && t && /* @__PURE__ */ e.createElement(
12
+ "div",
13
+ {
14
+ className: `flex cursor-pointer items-center justify-between px-4 transition-all duration-200 ease-in-out hover:bg-white ${t && !s(t) ? "pointer-events-auto max-h-7 py-1 opacity-100" : "pointer-events-none max-h-0 py-0 opacity-0"}`,
15
+ onClick: (i) => {
16
+ i.stopPropagation();
17
+ }
18
+ },
19
+ /* @__PURE__ */ e.createElement(
20
+ m,
21
+ {
22
+ "data-tooltip-id": a ? c : "",
23
+ size: "h5",
24
+ weight: "regular",
25
+ className: "!text-mid-grey"
26
+ },
27
+ a ? "Refund" : "Receive",
28
+ " address"
29
+ ),
30
+ /* @__PURE__ */ e.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ e.createElement(m, { size: "h5", weight: "regular" }, g(n)), /* @__PURE__ */ e.createElement("div", { className: "flex gap-1" }, /* @__PURE__ */ e.createElement(
31
+ u,
32
+ {
33
+ className: `cursor-pointer p-0.5 transition-all duration-500 ease-in-out ${t && s(t) ? "max-h-4 max-w-4 opacity-100" : "-mr-3.5 max-h-0 max-w-0 opacity-0"}`,
34
+ onClick: (i) => {
35
+ i.stopPropagation();
36
+ }
37
+ }
38
+ ), /* @__PURE__ */ e.createElement(h, { className: "h-4 w-4 cursor-pointer p-[3px]" })))
39
+ ));
40
+ };
14
41
  export {
15
- a as getCallError
42
+ v as AddressDetails
16
43
  };
package/dist/index272.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index192.cjs"),o=require("./index209.cjs");function s(n,e){const t=(n.details||"").toLowerCase(),i=n instanceof c.BaseError?n.walk(r=>(r==null?void 0:r.code)===o.ExecutionRevertedError.code):n;return i instanceof c.BaseError?new o.ExecutionRevertedError({cause:n,message:i.details}):o.ExecutionRevertedError.nodeMessage.test(t)?new o.ExecutionRevertedError({cause:n,message:n.details}):o.FeeCapTooHighError.nodeMessage.test(t)?new o.FeeCapTooHighError({cause:n,maxFeePerGas:e==null?void 0:e.maxFeePerGas}):o.FeeCapTooLowError.nodeMessage.test(t)?new o.FeeCapTooLowError({cause:n,maxFeePerGas:e==null?void 0:e.maxFeePerGas}):o.NonceTooHighError.nodeMessage.test(t)?new o.NonceTooHighError({cause:n,nonce:e==null?void 0:e.nonce}):o.NonceTooLowError.nodeMessage.test(t)?new o.NonceTooLowError({cause:n,nonce:e==null?void 0:e.nonce}):o.NonceMaxValueError.nodeMessage.test(t)?new o.NonceMaxValueError({cause:n,nonce:e==null?void 0:e.nonce}):o.InsufficientFundsError.nodeMessage.test(t)?new o.InsufficientFundsError({cause:n}):o.IntrinsicGasTooHighError.nodeMessage.test(t)?new o.IntrinsicGasTooHighError({cause:n,gas:e==null?void 0:e.gas}):o.IntrinsicGasTooLowError.nodeMessage.test(t)?new o.IntrinsicGasTooLowError({cause:n,gas:e==null?void 0:e.gas}):o.TransactionTypeNotSupportedError.nodeMessage.test(t)?new o.TransactionTypeNotSupportedError({cause:n}):o.TipAboveFeeCapError.nodeMessage.test(t)?new o.TipAboveFeeCapError({cause:n,maxFeePerGas:e==null?void 0:e.maxFeePerGas,maxPriorityFeePerGas:e==null?void 0:e.maxPriorityFeePerGas}):new o.UnknownNodeError({cause:n})}exports.getNodeError=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index97.cjs"),u=require("./index209.cjs"),i=require("./index273.cjs");function l(r,{docsPath:t,...e}){const n=(()=>{const o=i.getNodeError(r,e);return o instanceof u.UnknownNodeError?r:o})();return new c.CallExecutionError(n,{docsPath:t,...e})}exports.getCallError=l;
package/dist/index272.js CHANGED
@@ -1,27 +1,16 @@
1
- import { BaseError as c } from "./index192.js";
2
- import { ExecutionRevertedError as t, FeeCapTooHighError as u, FeeCapTooLowError as d, NonceTooHighError as a, NonceTooLowError as f, NonceMaxValueError as w, InsufficientFundsError as r, IntrinsicGasTooHighError as E, IntrinsicGasTooLowError as m, TransactionTypeNotSupportedError as x, TipAboveFeeCapError as F, UnknownNodeError as M } from "./index209.js";
3
- function P(o, e) {
4
- const n = (o.details || "").toLowerCase(), s = o instanceof c ? o.walk((i) => (i == null ? void 0 : i.code) === t.code) : o;
5
- return s instanceof c ? new t({
6
- cause: o,
7
- message: s.details
8
- }) : t.nodeMessage.test(n) ? new t({
9
- cause: o,
10
- message: o.details
11
- }) : u.nodeMessage.test(n) ? new u({
12
- cause: o,
13
- maxFeePerGas: e == null ? void 0 : e.maxFeePerGas
14
- }) : d.nodeMessage.test(n) ? new d({
15
- cause: o,
16
- maxFeePerGas: e == null ? void 0 : e.maxFeePerGas
17
- }) : a.nodeMessage.test(n) ? new a({ cause: o, nonce: e == null ? void 0 : e.nonce }) : f.nodeMessage.test(n) ? new f({ cause: o, nonce: e == null ? void 0 : e.nonce }) : w.nodeMessage.test(n) ? new w({ cause: o, nonce: e == null ? void 0 : e.nonce }) : r.nodeMessage.test(n) ? new r({ cause: o }) : E.nodeMessage.test(n) ? new E({ cause: o, gas: e == null ? void 0 : e.gas }) : m.nodeMessage.test(n) ? new m({ cause: o, gas: e == null ? void 0 : e.gas }) : x.nodeMessage.test(n) ? new x({ cause: o }) : F.nodeMessage.test(n) ? new F({
18
- cause: o,
19
- maxFeePerGas: e == null ? void 0 : e.maxFeePerGas,
20
- maxPriorityFeePerGas: e == null ? void 0 : e.maxPriorityFeePerGas
21
- }) : new M({
22
- cause: o
1
+ import { CallExecutionError as c } from "./index97.js";
2
+ import { UnknownNodeError as i } from "./index209.js";
3
+ import { getNodeError as u } from "./index273.js";
4
+ function a(r, { docsPath: t, ...o }) {
5
+ const e = (() => {
6
+ const n = u(r, o);
7
+ return n instanceof i ? r : n;
8
+ })();
9
+ return new c(e, {
10
+ docsPath: t,
11
+ ...o
23
12
  });
24
13
  }
25
14
  export {
26
- P as getNodeError
15
+ a as getCallError
27
16
  };
package/dist/index273.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function y(c,{format:n}){if(!n)return{};const r={};function i(e){const s=Object.keys(e);for(const t of s)t in c&&(r[t]=c[t]),e[t]&&typeof e[t]=="object"&&!Array.isArray(e[t])&&i(e[t])}const o=n(c||{});return i(o),r}exports.extract=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index192.cjs"),o=require("./index209.cjs");function s(n,e){const t=(n.details||"").toLowerCase(),i=n instanceof c.BaseError?n.walk(r=>(r==null?void 0:r.code)===o.ExecutionRevertedError.code):n;return i instanceof c.BaseError?new o.ExecutionRevertedError({cause:n,message:i.details}):o.ExecutionRevertedError.nodeMessage.test(t)?new o.ExecutionRevertedError({cause:n,message:n.details}):o.FeeCapTooHighError.nodeMessage.test(t)?new o.FeeCapTooHighError({cause:n,maxFeePerGas:e==null?void 0:e.maxFeePerGas}):o.FeeCapTooLowError.nodeMessage.test(t)?new o.FeeCapTooLowError({cause:n,maxFeePerGas:e==null?void 0:e.maxFeePerGas}):o.NonceTooHighError.nodeMessage.test(t)?new o.NonceTooHighError({cause:n,nonce:e==null?void 0:e.nonce}):o.NonceTooLowError.nodeMessage.test(t)?new o.NonceTooLowError({cause:n,nonce:e==null?void 0:e.nonce}):o.NonceMaxValueError.nodeMessage.test(t)?new o.NonceMaxValueError({cause:n,nonce:e==null?void 0:e.nonce}):o.InsufficientFundsError.nodeMessage.test(t)?new o.InsufficientFundsError({cause:n}):o.IntrinsicGasTooHighError.nodeMessage.test(t)?new o.IntrinsicGasTooHighError({cause:n,gas:e==null?void 0:e.gas}):o.IntrinsicGasTooLowError.nodeMessage.test(t)?new o.IntrinsicGasTooLowError({cause:n,gas:e==null?void 0:e.gas}):o.TransactionTypeNotSupportedError.nodeMessage.test(t)?new o.TransactionTypeNotSupportedError({cause:n}):o.TipAboveFeeCapError.nodeMessage.test(t)?new o.TipAboveFeeCapError({cause:n,maxFeePerGas:e==null?void 0:e.maxFeePerGas,maxPriorityFeePerGas:e==null?void 0:e.maxPriorityFeePerGas}):new o.UnknownNodeError({cause:n})}exports.getNodeError=s;
package/dist/index273.js CHANGED
@@ -1,15 +1,27 @@
1
- function y(t, { format: r }) {
2
- if (!r)
3
- return {};
4
- const e = {};
5
- function i(c) {
6
- const s = Object.keys(c);
7
- for (const n of s)
8
- n in t && (e[n] = t[n]), c[n] && typeof c[n] == "object" && !Array.isArray(c[n]) && i(c[n]);
9
- }
10
- const o = r(t || {});
11
- return i(o), e;
1
+ import { BaseError as c } from "./index192.js";
2
+ import { ExecutionRevertedError as t, FeeCapTooHighError as u, FeeCapTooLowError as d, NonceTooHighError as a, NonceTooLowError as f, NonceMaxValueError as w, InsufficientFundsError as r, IntrinsicGasTooHighError as E, IntrinsicGasTooLowError as m, TransactionTypeNotSupportedError as x, TipAboveFeeCapError as F, UnknownNodeError as M } from "./index209.js";
3
+ function P(o, e) {
4
+ const n = (o.details || "").toLowerCase(), s = o instanceof c ? o.walk((i) => (i == null ? void 0 : i.code) === t.code) : o;
5
+ return s instanceof c ? new t({
6
+ cause: o,
7
+ message: s.details
8
+ }) : t.nodeMessage.test(n) ? new t({
9
+ cause: o,
10
+ message: o.details
11
+ }) : u.nodeMessage.test(n) ? new u({
12
+ cause: o,
13
+ maxFeePerGas: e == null ? void 0 : e.maxFeePerGas
14
+ }) : d.nodeMessage.test(n) ? new d({
15
+ cause: o,
16
+ maxFeePerGas: e == null ? void 0 : e.maxFeePerGas
17
+ }) : a.nodeMessage.test(n) ? new a({ cause: o, nonce: e == null ? void 0 : e.nonce }) : f.nodeMessage.test(n) ? new f({ cause: o, nonce: e == null ? void 0 : e.nonce }) : w.nodeMessage.test(n) ? new w({ cause: o, nonce: e == null ? void 0 : e.nonce }) : r.nodeMessage.test(n) ? new r({ cause: o }) : E.nodeMessage.test(n) ? new E({ cause: o, gas: e == null ? void 0 : e.gas }) : m.nodeMessage.test(n) ? new m({ cause: o, gas: e == null ? void 0 : e.gas }) : x.nodeMessage.test(n) ? new x({ cause: o }) : F.nodeMessage.test(n) ? new F({
18
+ cause: o,
19
+ maxFeePerGas: e == null ? void 0 : e.maxFeePerGas,
20
+ maxPriorityFeePerGas: e == null ? void 0 : e.maxPriorityFeePerGas
21
+ }) : new M({
22
+ cause: o
23
+ });
12
24
  }
13
25
  export {
14
- y as extract
26
+ P as getNodeError
15
27
  };
package/dist/index274.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index105.cjs"),s=require("./index359.cjs");async function i(e){const{authorization:r,signature:t}=e;return o.recoverAddress({hash:s.hashAuthorization(r),signature:t??r})}exports.recoverAuthorizationAddress=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function y(c,{format:n}){if(!n)return{};const r={};function i(e){const s=Object.keys(e);for(const t of s)t in c&&(r[t]=c[t]),e[t]&&typeof e[t]=="object"&&!Array.isArray(e[t])&&i(e[t])}const o=n(c||{});return i(o),r}exports.extract=y;
package/dist/index274.js CHANGED
@@ -1,12 +1,15 @@
1
- import { recoverAddress as i } from "./index105.js";
2
- import { hashAuthorization as e } from "./index359.js";
3
- async function a(o) {
4
- const { authorization: r, signature: t } = o;
5
- return i({
6
- hash: e(r),
7
- signature: t ?? r
8
- });
1
+ function y(t, { format: r }) {
2
+ if (!r)
3
+ return {};
4
+ const e = {};
5
+ function i(c) {
6
+ const s = Object.keys(c);
7
+ for (const n of s)
8
+ n in t && (e[n] = t[n]), c[n] && typeof c[n] == "object" && !Array.isArray(c[n]) && i(c[n]);
9
+ }
10
+ const o = r(t || {});
11
+ return i(o), e;
9
12
  }
10
13
  export {
11
- a as recoverAuthorizationAddress
14
+ y as extract
12
15
  };
package/dist/index275.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index279.cjs"),a=require("./index360.cjs");function i(t){return{...typeof t.baseFeePerGas=="bigint"&&{baseFeePerGas:e.fromNumber(t.baseFeePerGas)},...typeof t.blobBaseFee=="bigint"&&{blobBaseFee:e.fromNumber(t.blobBaseFee)},...typeof t.feeRecipient=="string"&&{feeRecipient:t.feeRecipient},...typeof t.gasLimit=="bigint"&&{gasLimit:e.fromNumber(t.gasLimit)},...typeof t.number=="bigint"&&{number:e.fromNumber(t.number)},...typeof t.prevRandao=="bigint"&&{prevRandao:e.fromNumber(t.prevRandao)},...typeof t.time=="bigint"&&{time:e.fromNumber(t.time)},...t.withdrawals&&{withdrawals:t.withdrawals.map(a.toRpc)}}}exports.toRpc=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index105.cjs"),s=require("./index359.cjs");async function i(e){const{authorization:r,signature:t}=e;return o.recoverAddress({hash:s.hashAuthorization(r),signature:t??r})}exports.recoverAuthorizationAddress=i;
package/dist/index275.js CHANGED
@@ -1,33 +1,12 @@
1
- import { fromNumber as a } from "./index279.js";
2
- import { toRpc as e } from "./index360.js";
3
- function n(t) {
4
- return {
5
- ...typeof t.baseFeePerGas == "bigint" && {
6
- baseFeePerGas: a(t.baseFeePerGas)
7
- },
8
- ...typeof t.blobBaseFee == "bigint" && {
9
- blobBaseFee: a(t.blobBaseFee)
10
- },
11
- ...typeof t.feeRecipient == "string" && {
12
- feeRecipient: t.feeRecipient
13
- },
14
- ...typeof t.gasLimit == "bigint" && {
15
- gasLimit: a(t.gasLimit)
16
- },
17
- ...typeof t.number == "bigint" && {
18
- number: a(t.number)
19
- },
20
- ...typeof t.prevRandao == "bigint" && {
21
- prevRandao: a(t.prevRandao)
22
- },
23
- ...typeof t.time == "bigint" && {
24
- time: a(t.time)
25
- },
26
- ...t.withdrawals && {
27
- withdrawals: t.withdrawals.map(e)
28
- }
29
- };
1
+ import { recoverAddress as i } from "./index105.js";
2
+ import { hashAuthorization as e } from "./index359.js";
3
+ async function a(o) {
4
+ const { authorization: r, signature: t } = o;
5
+ return i({
6
+ hash: e(r),
7
+ signature: t ?? r
8
+ });
30
9
  }
31
10
  export {
32
- n as toRpc
11
+ a as recoverAuthorizationAddress
33
12
  };
package/dist/index276.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0x82ad56cb";exports.aggregate3Signature=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index280.cjs"),a=require("./index360.cjs");function i(t){return{...typeof t.baseFeePerGas=="bigint"&&{baseFeePerGas:e.fromNumber(t.baseFeePerGas)},...typeof t.blobBaseFee=="bigint"&&{blobBaseFee:e.fromNumber(t.blobBaseFee)},...typeof t.feeRecipient=="string"&&{feeRecipient:t.feeRecipient},...typeof t.gasLimit=="bigint"&&{gasLimit:e.fromNumber(t.gasLimit)},...typeof t.number=="bigint"&&{number:e.fromNumber(t.number)},...typeof t.prevRandao=="bigint"&&{prevRandao:e.fromNumber(t.prevRandao)},...typeof t.time=="bigint"&&{time:e.fromNumber(t.time)},...t.withdrawals&&{withdrawals:t.withdrawals.map(a.toRpc)}}}exports.toRpc=i;
package/dist/index276.js CHANGED
@@ -1,4 +1,33 @@
1
- const a = "0x82ad56cb";
1
+ import { fromNumber as a } from "./index280.js";
2
+ import { toRpc as e } from "./index360.js";
3
+ function n(t) {
4
+ return {
5
+ ...typeof t.baseFeePerGas == "bigint" && {
6
+ baseFeePerGas: a(t.baseFeePerGas)
7
+ },
8
+ ...typeof t.blobBaseFee == "bigint" && {
9
+ blobBaseFee: a(t.blobBaseFee)
10
+ },
11
+ ...typeof t.feeRecipient == "string" && {
12
+ feeRecipient: t.feeRecipient
13
+ },
14
+ ...typeof t.gasLimit == "bigint" && {
15
+ gasLimit: a(t.gasLimit)
16
+ },
17
+ ...typeof t.number == "bigint" && {
18
+ number: a(t.number)
19
+ },
20
+ ...typeof t.prevRandao == "bigint" && {
21
+ prevRandao: a(t.prevRandao)
22
+ },
23
+ ...typeof t.time == "bigint" && {
24
+ time: a(t.time)
25
+ },
26
+ ...t.withdrawals && {
27
+ withdrawals: t.withdrawals.map(e)
28
+ }
29
+ };
30
+ }
2
31
  export {
3
- a as aggregate3Signature
32
+ n as toRpc
4
33
  };
package/dist/index277.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index81.cjs"),a=require("./index204.cjs"),f=require("./index201.cjs"),S=require("./index82.cjs"),c=require("./index84.cjs");function d(r){if(!(!r||r.length===0))return r.reduce((t,{slot:e,value:n})=>{if(e.length!==66)throw new a.InvalidBytesLengthError({size:e.length,targetSize:66,type:"hex"});if(n.length!==66)throw new a.InvalidBytesLengthError({size:n.length,targetSize:66,type:"hex"});return t[e]=n,t},{})}function u(r){const{balance:t,nonce:e,state:n,stateDiff:s,code:o}=r,i={};if(o!==void 0&&(i.code=o),t!==void 0&&(i.balance=c.numberToHex(t)),e!==void 0&&(i.nonce=c.numberToHex(e)),n!==void 0&&(i.state=d(n)),s!==void 0){if(i.state)throw new f.StateAssignmentConflictError;i.stateDiff=d(s)}return i}function h(r){if(!r)return;const t={};for(const{address:e,...n}of r){if(!S.isAddress(e,{strict:!1}))throw new l.InvalidAddressError({address:e});if(t[e])throw new f.AccountStateConflictError({address:e});t[e]=u(n)}return t}exports.serializeAccountStateOverride=u;exports.serializeStateMapping=d;exports.serializeStateOverride=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0x82ad56cb";exports.aggregate3Signature=e;
package/dist/index277.js CHANGED
@@ -1,50 +1,4 @@
1
- import { InvalidAddressError as a } from "./index81.js";
2
- import { InvalidBytesLengthError as d } from "./index204.js";
3
- import { AccountStateConflictError as u, StateAssignmentConflictError as h } from "./index201.js";
4
- import { isAddress as l } from "./index82.js";
5
- import { numberToHex as c } from "./index84.js";
6
- function s(r) {
7
- if (!(!r || r.length === 0))
8
- return r.reduce((t, { slot: e, value: n }) => {
9
- if (e.length !== 66)
10
- throw new d({
11
- size: e.length,
12
- targetSize: 66,
13
- type: "hex"
14
- });
15
- if (n.length !== 66)
16
- throw new d({
17
- size: n.length,
18
- targetSize: 66,
19
- type: "hex"
20
- });
21
- return t[e] = n, t;
22
- }, {});
23
- }
24
- function m(r) {
25
- const { balance: t, nonce: e, state: n, stateDiff: o, code: f } = r, i = {};
26
- if (f !== void 0 && (i.code = f), t !== void 0 && (i.balance = c(t)), e !== void 0 && (i.nonce = c(e)), n !== void 0 && (i.state = s(n)), o !== void 0) {
27
- if (i.state)
28
- throw new h();
29
- i.stateDiff = s(o);
30
- }
31
- return i;
32
- }
33
- function A(r) {
34
- if (!r)
35
- return;
36
- const t = {};
37
- for (const { address: e, ...n } of r) {
38
- if (!l(e, { strict: !1 }))
39
- throw new a({ address: e });
40
- if (t[e])
41
- throw new u({ address: e });
42
- t[e] = m(n);
43
- }
44
- return t;
45
- }
1
+ const a = "0x82ad56cb";
46
2
  export {
47
- m as serializeAccountStateOverride,
48
- s as serializeStateMapping,
49
- A as serializeStateOverride
3
+ a as aggregate3Signature
50
4
  };
package/dist/index278.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index292.cjs"),c=require("./index293.cjs"),o=require("./index294.cjs");function a(t){const n=c.parseStructs(t),r=[],i=t.length;for(let e=0;e<i;e++){const s=t[e];u.isStructSignature(s)||r.push(o.parseSignature(s,n))}return r}exports.parseAbi=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index81.cjs"),a=require("./index204.cjs"),f=require("./index201.cjs"),S=require("./index82.cjs"),c=require("./index84.cjs");function d(r){if(!(!r||r.length===0))return r.reduce((t,{slot:e,value:n})=>{if(e.length!==66)throw new a.InvalidBytesLengthError({size:e.length,targetSize:66,type:"hex"});if(n.length!==66)throw new a.InvalidBytesLengthError({size:n.length,targetSize:66,type:"hex"});return t[e]=n,t},{})}function u(r){const{balance:t,nonce:e,state:n,stateDiff:s,code:o}=r,i={};if(o!==void 0&&(i.code=o),t!==void 0&&(i.balance=c.numberToHex(t)),e!==void 0&&(i.nonce=c.numberToHex(e)),n!==void 0&&(i.state=d(n)),s!==void 0){if(i.state)throw new f.StateAssignmentConflictError;i.stateDiff=d(s)}return i}function h(r){if(!r)return;const t={};for(const{address:e,...n}of r){if(!S.isAddress(e,{strict:!1}))throw new l.InvalidAddressError({address:e});if(t[e])throw new f.AccountStateConflictError({address:e});t[e]=u(n)}return t}exports.serializeAccountStateOverride=u;exports.serializeStateMapping=d;exports.serializeStateOverride=h;
package/dist/index278.js CHANGED
@@ -1,14 +1,50 @@
1
- import { isStructSignature as c } from "./index292.js";
2
- import { parseStructs as s } from "./index293.js";
3
- import { parseSignature as p } from "./index294.js";
4
- function a(t) {
5
- const i = s(t), o = [], e = t.length;
6
- for (let r = 0; r < e; r++) {
7
- const n = t[r];
8
- c(n) || o.push(p(n, i));
1
+ import { InvalidAddressError as a } from "./index81.js";
2
+ import { InvalidBytesLengthError as d } from "./index204.js";
3
+ import { AccountStateConflictError as u, StateAssignmentConflictError as h } from "./index201.js";
4
+ import { isAddress as l } from "./index82.js";
5
+ import { numberToHex as c } from "./index84.js";
6
+ function s(r) {
7
+ if (!(!r || r.length === 0))
8
+ return r.reduce((t, { slot: e, value: n }) => {
9
+ if (e.length !== 66)
10
+ throw new d({
11
+ size: e.length,
12
+ targetSize: 66,
13
+ type: "hex"
14
+ });
15
+ if (n.length !== 66)
16
+ throw new d({
17
+ size: n.length,
18
+ targetSize: 66,
19
+ type: "hex"
20
+ });
21
+ return t[e] = n, t;
22
+ }, {});
23
+ }
24
+ function m(r) {
25
+ const { balance: t, nonce: e, state: n, stateDiff: o, code: f } = r, i = {};
26
+ if (f !== void 0 && (i.code = f), t !== void 0 && (i.balance = c(t)), e !== void 0 && (i.nonce = c(e)), n !== void 0 && (i.state = s(n)), o !== void 0) {
27
+ if (i.state)
28
+ throw new h();
29
+ i.stateDiff = s(o);
30
+ }
31
+ return i;
32
+ }
33
+ function A(r) {
34
+ if (!r)
35
+ return;
36
+ const t = {};
37
+ for (const { address: e, ...n } of r) {
38
+ if (!l(e, { strict: !1 }))
39
+ throw new a({ address: e });
40
+ if (t[e])
41
+ throw new u({ address: e });
42
+ t[e] = m(n);
9
43
  }
10
- return o;
44
+ return t;
11
45
  }
12
46
  export {
13
- a as parseAbi
47
+ m as serializeAccountStateOverride,
48
+ s as serializeStateMapping,
49
+ A as serializeStateOverride
14
50
  };
package/dist/index279.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index280.cjs"),o=require("./index281.cjs"),$=require("./index282.cjs"),p=new TextEncoder,h=Array.from({length:256},(e,r)=>r.toString(16).padStart(2,"0"));function x(e,r={}){const{strict:t=!1}=r;if(!e)throw new l(e);if(typeof e!="string")throw new l(e);if(t&&!/^0x[0-9a-fA-F]*$/.test(e))throw new d(e);if(!e.startsWith("0x"))throw new d(e)}function z(...e){return`0x${e.reduce((r,t)=>r+t.replace("0x",""),"")}`}function O(e){return e instanceof Uint8Array?c(e):Array.isArray(e)?c(new Uint8Array(e)):e}function S(e,r={}){const t=`0x${Number(e)}`;return typeof r.size=="number"?(o.assertSize(t,r.size),g(t,r.size)):t}function c(e,r={}){let t="";for(let s=0;s<e.length;s++)t+=h[e[s]];const n=`0x${t}`;return typeof r.size=="number"?(o.assertSize(n,r.size),m(n,r.size)):n}function w(e,r={}){const{signed:t,size:n}=r,s=BigInt(e);let i;n?t?i=(1n<<BigInt(n)*8n-1n)-1n:i=2n**(BigInt(n)*8n)-1n:typeof e=="number"&&(i=BigInt(Number.MAX_SAFE_INTEGER));const u=typeof i=="bigint"&&t?-i-1n:0;if(i&&s>i||s<u){const f=typeof e=="bigint"?"n":"";throw new E({max:i?`${i}${f}`:void 0,min:`${u}${f}`,signed:t,size:n,value:`${e}${f}`})}const b=`0x${(t&&s<0?BigInt.asUintN(n*8,BigInt(s)):s).toString(16)}`;return n?g(b,n):b}function B(e,r={}){return c(p.encode(e),r)}function g(e,r){return o.pad(e,{dir:"left",size:r})}function m(e,r){return o.pad(e,{dir:"right",size:r})}function I(e,r,t,n={}){const{strict:s}=n;o.assertStartOffset(e,r);const i=`0x${e.replace("0x","").slice((r??0)*2,(t??e.length)*2)}`;return s&&o.assertEndOffset(i,r,t),i}function H(e){return Math.ceil((e.length-2)/2)}function y(e,r={}){const{signed:t}=r;r.size&&o.assertSize(e,r.size);const n=BigInt(e);if(!t)return n;const s=(e.length-2)/2,i=(1n<<BigInt(s)*8n)-1n,u=i>>1n;return n<=u?n:n-i-1n}function N(e,r={}){const{signed:t,size:n}=r;return Number(!t&&!n?e:y(e,r))}function A(e,r={}){const{strict:t=!1}=r;try{return x(e,{strict:t}),!0}catch{return!1}}class E extends a.BaseError{constructor({max:r,min:t,signed:n,size:s,value:i}){super(`Number \`${i}\` is not in safe${s?` ${s*8}-bit`:""}${n?" signed":" unsigned"} integer range ${r?`(\`${t}\` to \`${r}\`)`:`(above \`${t}\`)`}`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.IntegerOutOfRangeError"})}}class l extends a.BaseError{constructor(r){super(`Value \`${typeof r=="object"?$.stringify(r):r}\` of type \`${typeof r}\` is an invalid hex type.`,{metaMessages:['Hex types must be represented as `"0x${string}"`.']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexTypeError"})}}class d extends a.BaseError{constructor(r){super(`Value \`${r}\` is an invalid hex value.`,{metaMessages:['Hex values must start with `"0x"` and contain only hexadecimal characters (0-9, a-f, A-F).']}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.InvalidHexValueError"})}}class P extends a.BaseError{constructor({givenSize:r,maxSize:t}){super(`Size cannot exceed \`${t}\` bytes. Given size: \`${r}\` bytes.`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeOverflowError"})}}class v extends a.BaseError{constructor({offset:r,position:t,size:n}){super(`Slice ${t==="start"?"starting":"ending"} at offset \`${r}\` is out-of-bounds (size: \`${n}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SliceOffsetOutOfBoundsError"})}}class V extends a.BaseError{constructor({size:r,targetSize:t,type:n}){super(`${n.charAt(0).toUpperCase()}${n.slice(1).toLowerCase()} size (\`${r}\`) exceeds padding size (\`${t}\`).`),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"Hex.SizeExceedsPaddingSizeError"})}}exports.IntegerOutOfRangeError=E;exports.InvalidHexTypeError=l;exports.InvalidHexValueError=d;exports.SizeExceedsPaddingSizeError=V;exports.SizeOverflowError=P;exports.SliceOffsetOutOfBoundsError=v;exports.assert=x;exports.concat=z;exports.from=O;exports.fromBoolean=S;exports.fromBytes=c;exports.fromNumber=w;exports.fromString=B;exports.padLeft=g;exports.padRight=m;exports.size=H;exports.slice=I;exports.toBigInt=y;exports.toNumber=N;exports.validate=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index292.cjs"),c=require("./index293.cjs"),o=require("./index294.cjs");function a(t){const n=c.parseStructs(t),r=[],i=t.length;for(let e=0;e<i;e++){const s=t[e];u.isStructSignature(s)||r.push(o.parseSignature(s,n))}return r}exports.parseAbi=a;