@gardenfi/swap 0.1.2 → 0.1.3-beta.1
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.
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +4 -4
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +1 -1
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +1 -1
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +1 -1
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +1 -1
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +1 -1
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +2 -2
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +8 -8
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +4 -4
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +2 -2
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +2 -2
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +3 -3
- package/dist/index131.cjs +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +1 -1
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +2 -2
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +2 -2
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +1 -1
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +1 -1
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +1 -1
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +1 -1
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +1 -1
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +1 -1
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +1 -1
- package/dist/index151.cjs +1 -1
- package/dist/index151.js +1 -1
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +2 -2
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +1 -1
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +1 -1
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +1 -1
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +1 -1
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +2 -2
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +3 -3
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +2 -2
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +2 -2
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +2 -2
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +3 -3
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +3 -3
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +2 -2
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +1 -1
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +3 -3
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +1 -1
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +15 -15
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +2 -2
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +4 -4
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +3 -3
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +3 -3
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +1 -1
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +6 -6
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +1 -1
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +1 -1
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +1 -1
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +1 -1
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +1 -1
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +1 -1
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +2 -2
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +2 -2
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +1 -1
- package/dist/index242.cjs +1 -1
- package/dist/index242.js +1 -1
- package/dist/index243.cjs +1 -1
- package/dist/index243.js +1 -1
- package/dist/index245.cjs +1 -1
- package/dist/index245.js +2 -2
- package/dist/index255.cjs +1 -1
- package/dist/index255.js +3 -3
- package/dist/index256.cjs +1 -1
- package/dist/index256.js +2 -2
- package/dist/index257.cjs +1 -1
- package/dist/index257.js +4 -4
- package/dist/index259.cjs +1 -1
- package/dist/index259.js +2 -2
- package/dist/index261.cjs +1 -1
- package/dist/index261.js +2 -2
- package/dist/index262.cjs +1 -1
- package/dist/index262.js +4 -4
- package/dist/index265.cjs +1 -1
- package/dist/index265.js +2 -2
- package/dist/index266.cjs +1 -1
- package/dist/index266.js +2 -2
- package/dist/index275.cjs +1 -1
- package/dist/index275.js +3 -3
- package/dist/index278.cjs +1 -1
- package/dist/index278.js +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +1 -1
- package/dist/index299.cjs +1 -1
- package/dist/index299.js +41 -36
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +2 -2
- package/dist/index300.cjs +1 -1
- package/dist/index300.js +320 -15
- package/dist/index301.cjs +1 -1
- package/dist/index301.js +604 -7
- package/dist/index302.cjs +1 -1
- package/dist/index302.js +110 -8
- package/dist/index303.cjs +1 -1
- package/dist/index303.js +167 -42
- package/dist/index304.cjs +1 -1
- package/dist/index304.js +291 -310
- package/dist/index305.cjs +1 -1
- package/dist/index305.js +94 -606
- package/dist/index306.cjs +1 -1
- package/dist/index306.js +44 -97
- package/dist/index307.cjs +1 -1
- package/dist/index307.js +52 -166
- package/dist/index308.cjs +1 -1
- package/dist/index308.js +41 -298
- package/dist/index309.cjs +1 -1
- package/dist/index309.js +15 -93
- package/dist/index310.cjs +1 -1
- package/dist/index310.js +310 -49
- package/dist/index311.cjs +1 -1
- package/dist/index311.js +57 -51
- package/dist/index312.cjs +1 -1
- package/dist/index312.js +18 -43
- package/dist/index313.cjs +1 -1
- package/dist/index313.js +28 -14
- package/dist/index314.cjs +1 -1
- package/dist/index314.js +3 -317
- package/dist/index315.cjs +7 -1
- package/dist/index315.js +232 -54
- package/dist/index316.cjs +1 -1
- package/dist/index316.js +47 -19
- package/dist/index317.cjs +1 -1
- package/dist/index317.js +208 -25
- package/dist/index318.cjs +1 -1
- package/dist/index318.js +81 -3
- package/dist/index319.cjs +1 -7
- package/dist/index319.js +27 -235
- package/dist/index320.cjs +1 -1
- package/dist/index320.js +77 -48
- package/dist/index321.cjs +1 -1
- package/dist/index321.js +34 -209
- package/dist/index322.cjs +1 -1
- package/dist/index322.js +14 -80
- package/dist/index323.cjs +1 -1
- package/dist/index323.js +8 -29
- package/dist/index324.cjs +1 -1
- package/dist/index324.js +7 -76
- package/dist/index326.cjs +1 -1
- package/dist/index326.js +1 -1
- package/dist/index327.cjs +1 -1
- package/dist/index327.js +1 -1
- package/dist/index333.cjs +1 -1
- package/dist/index333.js +1 -1
- package/dist/index334.cjs +1 -1
- package/dist/index334.js +1 -1
- package/dist/index336.cjs +1 -1
- package/dist/index336.js +1 -1
- package/dist/index349.cjs +2 -1
- package/dist/index349.js +193 -4
- package/dist/index350.cjs +1 -2
- package/dist/index350.js +52 -168
- package/dist/index351.cjs +1 -1
- package/dist/index351.js +331 -65
- package/dist/index352.cjs +1 -1
- package/dist/index352.js +149 -332
- package/dist/index353.cjs +1 -1
- package/dist/index353.js +5 -161
- package/dist/index354.cjs +1 -1
- package/dist/index354.js +5 -5
- package/dist/index356.cjs +1 -1
- package/dist/index356.js +3 -3
- package/dist/index363.cjs +1 -1
- package/dist/index363.js +1 -1
- package/dist/index364.cjs +1 -1
- package/dist/index364.js +1 -1
- package/dist/index365.cjs +1 -1
- package/dist/index365.js +1 -1
- package/dist/index366.cjs +1 -1
- package/dist/index366.js +1 -1
- package/dist/index368.cjs +1 -1
- package/dist/index368.js +275 -3
- package/dist/index369.cjs +1 -1
- package/dist/index369.js +170 -140
- package/dist/index370.cjs +1 -1
- package/dist/index370.js +10 -276
- package/dist/index371.cjs +1 -1
- package/dist/index371.js +107 -170
- package/dist/index372.cjs +1 -1
- package/dist/index372.js +10 -10
- package/dist/index373.cjs +1 -1
- package/dist/index373.js +3 -107
- package/dist/index374.cjs +1 -1
- package/dist/index374.js +140 -9
- package/dist/index381.cjs +1 -1
- package/dist/index381.js +22 -2
- package/dist/index382.cjs +1 -1
- package/dist/index382.js +2 -22
- package/dist/index385.cjs +1 -1
- package/dist/index385.js +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +24 -83
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +15 -11
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +103 -24
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +12 -18
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +58 -107
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +522 -12
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +30 -59
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +26 -522
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +12 -16
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +34 -11
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +16 -14
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +16 -37
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +17 -14
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +19 -17
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +42 -17
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +39 -15
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +29 -49
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +29 -46
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +19 -25
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +18 -27
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +14 -16
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +15 -28
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +14 -28
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +86 -13
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +13 -13
- package/dist/index70.cjs +1 -1
- package/dist/index70.js +6 -6
- package/dist/index71.cjs +1 -1
- package/dist/index71.js +3 -3
- package/dist/index72.cjs +1 -1
- package/dist/index72.js +1 -1
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +2 -2
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +728 -20
- package/dist/index76.cjs +1 -1
- package/dist/index76.js +482 -688
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +18 -520
- package/dist/index78.cjs +1 -1
- package/dist/index78.js +19 -11
- package/dist/index79.cjs +1 -1
- package/dist/index79.js +30 -11
- package/dist/index80.cjs +1 -1
- package/dist/index80.js +24 -16
- package/dist/index81.cjs +1 -1
- package/dist/index81.js +4 -45
- package/dist/index82.cjs +1 -1
- package/dist/index82.js +6 -42
- package/dist/index83.cjs +1 -1
- package/dist/index83.js +16 -171
- package/dist/index84.cjs +1 -1
- package/dist/index84.js +12 -20
- package/dist/index85.cjs +1 -1
- package/dist/index85.js +8 -26
- package/dist/index86.cjs +1 -1
- package/dist/index86.js +11 -26
- package/dist/index87.cjs +1 -1
- package/dist/index87.js +17 -3
- package/dist/index88.cjs +1 -1
- package/dist/index88.js +45 -6
- package/dist/index89.cjs +1 -1
- package/dist/index89.js +42 -16
- package/dist/index90.cjs +1 -1
- package/dist/index90.js +171 -12
- package/dist/index91.cjs +1 -1
- package/dist/index91.js +1 -1
- package/dist/index92.cjs +1 -1
- package/dist/index92.js +3 -3
- package/dist/index95.cjs +1 -1
- package/dist/index95.js +1 -1
- package/dist/index96.cjs +1 -1
- package/dist/index96.js +1 -1
- package/dist/index97.cjs +1 -1
- package/dist/index97.js +2 -2
- package/dist/index98.cjs +1 -1
- package/dist/index98.js +2 -2
- package/dist/src/lib/store/swapStore.d.ts +1 -1
- package/package.json +4 -4
package/dist/index89.js
CHANGED
|
@@ -1,19 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { BaseError as l } from "./index189.js";
|
|
2
|
+
import { createCursor as r } from "./index211.js";
|
|
3
|
+
import { hexToBytes as g } from "./index214.js";
|
|
4
|
+
import { bytesToHex as u } from "./index88.js";
|
|
5
|
+
function m(n, e = "hex") {
|
|
6
|
+
const i = s(n), h = r(new Uint8Array(i.length));
|
|
7
|
+
return i.encode(h), e === "hex" ? u(h.bytes) : h.bytes;
|
|
8
|
+
}
|
|
9
|
+
function s(n) {
|
|
10
|
+
return Array.isArray(n) ? p(n.map((e) => s(e))) : y(n);
|
|
11
|
+
}
|
|
12
|
+
function p(n) {
|
|
13
|
+
const e = n.reduce((t, f) => t + f.length, 0), i = o(e);
|
|
14
|
+
return {
|
|
15
|
+
length: e <= 55 ? 1 + e : 1 + i + e,
|
|
16
|
+
encode(t) {
|
|
17
|
+
e <= 55 ? t.pushByte(192 + e) : (t.pushByte(247 + i), i === 1 ? t.pushUint8(e) : i === 2 ? t.pushUint16(e) : i === 3 ? t.pushUint24(e) : t.pushUint32(e));
|
|
18
|
+
for (const { encode: f } of n)
|
|
19
|
+
f(t);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function y(n) {
|
|
24
|
+
const e = typeof n == "string" ? g(n) : n, i = o(e.length);
|
|
25
|
+
return {
|
|
26
|
+
length: e.length === 1 && e[0] < 128 ? 1 : e.length <= 55 ? 1 + e.length : 1 + i + e.length,
|
|
27
|
+
encode(t) {
|
|
28
|
+
e.length === 1 && e[0] < 128 ? t.pushBytes(e) : e.length <= 55 ? (t.pushByte(128 + e.length), t.pushBytes(e)) : (t.pushByte(183 + i), i === 1 ? t.pushUint8(e.length) : i === 2 ? t.pushUint16(e.length) : i === 3 ? t.pushUint24(e.length) : t.pushUint32(e.length), t.pushBytes(e));
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function o(n) {
|
|
33
|
+
if (n < 2 ** 8)
|
|
34
|
+
return 1;
|
|
35
|
+
if (n < 2 ** 16)
|
|
36
|
+
return 2;
|
|
37
|
+
if (n < 2 ** 24)
|
|
38
|
+
return 3;
|
|
39
|
+
if (n < 2 ** 32)
|
|
40
|
+
return 4;
|
|
41
|
+
throw new l("Length is too large.");
|
|
16
42
|
}
|
|
17
43
|
export {
|
|
18
|
-
|
|
44
|
+
m as toRlp
|
|
19
45
|
};
|
package/dist/index90.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(n,{
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index199.cjs"),G=require("./index266.cjs"),R=require("./index231.cjs"),S=require("./index232.cjs"),B=require("./index233.cjs"),V=require("./index236.cjs"),L=require("./index87.cjs"),h=require("./index82.cjs"),r=require("./index88.cjs"),d=require("./index89.cjs"),y=require("./index262.cjs"),C=require("./index264.cjs"),v=require("./index265.cjs");function k(e,o){const n=C.getTransactionType(e);return n==="eip1559"?_(e,o):n==="eip2930"?j(e,o):n==="eip4844"?Y(e,o):n==="eip7702"?w(e,o):M(e,o)}function w(e,o){const{authorizationList:n,chainId:s,gas:i,nonce:c,to:a,value:x,maxFeePerGas:u,maxPriorityFeePerGas:t,accessList:l,data:T}=e;y.assertTransactionEIP7702(e);const b=v.serializeAccessList(l),m=G.serializeAuthorizationList(n);return L.concatHex(["0x04",d.toRlp([r.numberToHex(s),c?r.numberToHex(c):"0x",t?r.numberToHex(t):"0x",u?r.numberToHex(u):"0x",i?r.numberToHex(i):"0x",a??"0x",x?r.numberToHex(x):"0x",T??"0x",b,m,...z(e,o)])])}function Y(e,o){const{chainId:n,gas:s,nonce:i,to:c,value:a,maxFeePerBlobGas:x,maxFeePerGas:u,maxPriorityFeePerGas:t,accessList:l,data:T}=e;y.assertTransactionEIP4844(e);let b=e.blobVersionedHashes,m=e.sidecars;if(e.blobs&&(typeof b>"u"||typeof m>"u")){const f=typeof e.blobs[0]=="string"?e.blobs:e.blobs.map(p=>r.bytesToHex(p)),P=e.kzg,H=R.blobsToCommitments({blobs:f,kzg:P});if(typeof b>"u"&&(b=B.commitmentsToVersionedHashes({commitments:H})),typeof m>"u"){const p=S.blobsToProofs({blobs:f,commitments:H,kzg:P});m=V.toBlobSidecars({blobs:f,commitments:H,proofs:p})}}const I=v.serializeAccessList(l),A=[r.numberToHex(n),i?r.numberToHex(i):"0x",t?r.numberToHex(t):"0x",u?r.numberToHex(u):"0x",s?r.numberToHex(s):"0x",c??"0x",a?r.numberToHex(a):"0x",T??"0x",I,x?r.numberToHex(x):"0x",b??[],...z(e,o)],q=[],g=[],E=[];if(m)for(let f=0;f<m.length;f++){const{blob:P,commitment:H,proof:p}=m[f];q.push(P),g.push(H),E.push(p)}return L.concatHex(["0x03",m?d.toRlp([A,q,g,E]):d.toRlp(A)])}function _(e,o){const{chainId:n,gas:s,nonce:i,to:c,value:a,maxFeePerGas:x,maxPriorityFeePerGas:u,accessList:t,data:l}=e;y.assertTransactionEIP1559(e);const T=v.serializeAccessList(t),b=[r.numberToHex(n),i?r.numberToHex(i):"0x",u?r.numberToHex(u):"0x",x?r.numberToHex(x):"0x",s?r.numberToHex(s):"0x",c??"0x",a?r.numberToHex(a):"0x",l??"0x",T,...z(e,o)];return L.concatHex(["0x02",d.toRlp(b)])}function j(e,o){const{chainId:n,gas:s,data:i,nonce:c,to:a,value:x,accessList:u,gasPrice:t}=e;y.assertTransactionEIP2930(e);const l=v.serializeAccessList(u),T=[r.numberToHex(n),c?r.numberToHex(c):"0x",t?r.numberToHex(t):"0x",s?r.numberToHex(s):"0x",a??"0x",x?r.numberToHex(x):"0x",i??"0x",l,...z(e,o)];return L.concatHex(["0x01",d.toRlp(T)])}function M(e,o){const{chainId:n=0,gas:s,data:i,nonce:c,to:a,value:x,gasPrice:u}=e;y.assertTransactionLegacy(e);let t=[c?r.numberToHex(c):"0x",u?r.numberToHex(u):"0x",s?r.numberToHex(s):"0x",a??"0x",x?r.numberToHex(x):"0x",i??"0x"];if(o){const l=(()=>{if(o.v>=35n)return(o.v-35n)/2n>0?o.v:27n+(o.v===35n?0n:1n);if(n>0)return BigInt(n*2)+BigInt(35n+o.v-27n);const m=27n+(o.v===27n?0n:1n);if(o.v!==m)throw new F.InvalidLegacyVError({v:o.v});return m})(),T=h.trim(o.r),b=h.trim(o.s);t=[...t,r.numberToHex(l),T==="0x00"?"0x":T,b==="0x00"?"0x":b]}else n>0&&(t=[...t,r.numberToHex(n),"0x","0x"]);return d.toRlp(t)}function z(e,o){const n=o??e,{v:s,yParity:i}=n;if(typeof n.r>"u")return[];if(typeof n.s>"u")return[];if(typeof s>"u"&&typeof i>"u")return[];const c=h.trim(n.r),a=h.trim(n.s);return[typeof i=="number"?i?r.numberToHex(1):"0x":s===0n?"0x":s===1n?r.numberToHex(1):s===27n?"0x":r.numberToHex(1),c==="0x00"?"0x":c,a==="0x00"?"0x":a]}exports.serializeTransaction=k;exports.toYParitySignatureArray=z;
|
package/dist/index90.js
CHANGED
|
@@ -1,15 +1,174 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { InvalidLegacyVError as H } from "./index199.js";
|
|
2
|
+
import { serializeAuthorizationList as g } from "./index266.js";
|
|
3
|
+
import { blobsToCommitments as B } from "./index231.js";
|
|
4
|
+
import { blobsToProofs as V } from "./index232.js";
|
|
5
|
+
import { commitmentsToVersionedHashes as C } from "./index233.js";
|
|
6
|
+
import { toBlobSidecars as k } from "./index236.js";
|
|
7
|
+
import { concatHex as h } from "./index87.js";
|
|
8
|
+
import { trim as T } from "./index82.js";
|
|
9
|
+
import { numberToHex as o, bytesToHex as w } from "./index88.js";
|
|
10
|
+
import { toRlp as b } from "./index89.js";
|
|
11
|
+
import { assertTransactionEIP1559 as S, assertTransactionEIP2930 as _, assertTransactionEIP4844 as R, assertTransactionEIP7702 as Y, assertTransactionLegacy as j } from "./index262.js";
|
|
12
|
+
import { getTransactionType as q } from "./index264.js";
|
|
13
|
+
import { serializeAccessList as v } from "./index265.js";
|
|
14
|
+
function te(e, r) {
|
|
15
|
+
const i = q(e);
|
|
16
|
+
return i === "eip1559" ? K(e, r) : i === "eip2930" ? M(e, r) : i === "eip4844" ? J(e, r) : i === "eip7702" ? D(e, r) : N(e, r);
|
|
17
|
+
}
|
|
18
|
+
function D(e, r) {
|
|
19
|
+
const { authorizationList: i, chainId: s, gas: n, nonce: c, to: f, value: a, maxFeePerGas: x, maxPriorityFeePerGas: t, accessList: p, data: l } = e;
|
|
20
|
+
Y(e);
|
|
21
|
+
const d = v(p), m = g(i);
|
|
22
|
+
return h([
|
|
23
|
+
"0x04",
|
|
24
|
+
b([
|
|
25
|
+
o(s),
|
|
26
|
+
c ? o(c) : "0x",
|
|
27
|
+
t ? o(t) : "0x",
|
|
28
|
+
x ? o(x) : "0x",
|
|
29
|
+
n ? o(n) : "0x",
|
|
30
|
+
f ?? "0x",
|
|
31
|
+
a ? o(a) : "0x",
|
|
32
|
+
l ?? "0x",
|
|
33
|
+
d,
|
|
34
|
+
m,
|
|
35
|
+
...I(e, r)
|
|
36
|
+
])
|
|
37
|
+
]);
|
|
38
|
+
}
|
|
39
|
+
function J(e, r) {
|
|
40
|
+
const { chainId: i, gas: s, nonce: n, to: c, value: f, maxFeePerBlobGas: a, maxFeePerGas: x, maxPriorityFeePerGas: t, accessList: p, data: l } = e;
|
|
41
|
+
R(e);
|
|
42
|
+
let d = e.blobVersionedHashes, m = e.sidecars;
|
|
43
|
+
if (e.blobs && (typeof d > "u" || typeof m > "u")) {
|
|
44
|
+
const u = typeof e.blobs[0] == "string" ? e.blobs : e.blobs.map((P) => w(P)), z = e.kzg, y = B({
|
|
45
|
+
blobs: u,
|
|
46
|
+
kzg: z
|
|
47
|
+
});
|
|
48
|
+
if (typeof d > "u" && (d = C({
|
|
49
|
+
commitments: y
|
|
50
|
+
})), typeof m > "u") {
|
|
51
|
+
const P = V({ blobs: u, commitments: y, kzg: z });
|
|
52
|
+
m = k({ blobs: u, commitments: y, proofs: P });
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
const L = v(p), E = [
|
|
56
|
+
o(i),
|
|
57
|
+
n ? o(n) : "0x",
|
|
58
|
+
t ? o(t) : "0x",
|
|
59
|
+
x ? o(x) : "0x",
|
|
60
|
+
s ? o(s) : "0x",
|
|
61
|
+
c ?? "0x",
|
|
62
|
+
f ? o(f) : "0x",
|
|
63
|
+
l ?? "0x",
|
|
64
|
+
L,
|
|
65
|
+
a ? o(a) : "0x",
|
|
66
|
+
d ?? [],
|
|
67
|
+
...I(e, r)
|
|
68
|
+
], A = [], F = [], G = [];
|
|
69
|
+
if (m)
|
|
70
|
+
for (let u = 0; u < m.length; u++) {
|
|
71
|
+
const { blob: z, commitment: y, proof: P } = m[u];
|
|
72
|
+
A.push(z), F.push(y), G.push(P);
|
|
73
|
+
}
|
|
74
|
+
return h([
|
|
75
|
+
"0x03",
|
|
76
|
+
m ? (
|
|
77
|
+
// If sidecars are enabled, envelope turns into a "wrapper":
|
|
78
|
+
b([E, A, F, G])
|
|
79
|
+
) : (
|
|
80
|
+
// If sidecars are disabled, standard envelope is used:
|
|
81
|
+
b(E)
|
|
82
|
+
)
|
|
83
|
+
]);
|
|
84
|
+
}
|
|
85
|
+
function K(e, r) {
|
|
86
|
+
const { chainId: i, gas: s, nonce: n, to: c, value: f, maxFeePerGas: a, maxPriorityFeePerGas: x, accessList: t, data: p } = e;
|
|
87
|
+
S(e);
|
|
88
|
+
const l = v(t), d = [
|
|
89
|
+
o(i),
|
|
90
|
+
n ? o(n) : "0x",
|
|
91
|
+
x ? o(x) : "0x",
|
|
92
|
+
a ? o(a) : "0x",
|
|
93
|
+
s ? o(s) : "0x",
|
|
94
|
+
c ?? "0x",
|
|
95
|
+
f ? o(f) : "0x",
|
|
96
|
+
p ?? "0x",
|
|
97
|
+
l,
|
|
98
|
+
...I(e, r)
|
|
99
|
+
];
|
|
100
|
+
return h([
|
|
101
|
+
"0x02",
|
|
102
|
+
b(d)
|
|
103
|
+
]);
|
|
104
|
+
}
|
|
105
|
+
function M(e, r) {
|
|
106
|
+
const { chainId: i, gas: s, data: n, nonce: c, to: f, value: a, accessList: x, gasPrice: t } = e;
|
|
107
|
+
_(e);
|
|
108
|
+
const p = v(x), l = [
|
|
109
|
+
o(i),
|
|
110
|
+
c ? o(c) : "0x",
|
|
111
|
+
t ? o(t) : "0x",
|
|
112
|
+
s ? o(s) : "0x",
|
|
113
|
+
f ?? "0x",
|
|
114
|
+
a ? o(a) : "0x",
|
|
115
|
+
n ?? "0x",
|
|
116
|
+
p,
|
|
117
|
+
...I(e, r)
|
|
118
|
+
];
|
|
119
|
+
return h([
|
|
120
|
+
"0x01",
|
|
121
|
+
b(l)
|
|
122
|
+
]);
|
|
123
|
+
}
|
|
124
|
+
function N(e, r) {
|
|
125
|
+
const { chainId: i = 0, gas: s, data: n, nonce: c, to: f, value: a, gasPrice: x } = e;
|
|
126
|
+
j(e);
|
|
127
|
+
let t = [
|
|
128
|
+
c ? o(c) : "0x",
|
|
129
|
+
x ? o(x) : "0x",
|
|
130
|
+
s ? o(s) : "0x",
|
|
131
|
+
f ?? "0x",
|
|
132
|
+
a ? o(a) : "0x",
|
|
133
|
+
n ?? "0x"
|
|
134
|
+
];
|
|
135
|
+
if (r) {
|
|
136
|
+
const p = (() => {
|
|
137
|
+
if (r.v >= 35n)
|
|
138
|
+
return (r.v - 35n) / 2n > 0 ? r.v : 27n + (r.v === 35n ? 0n : 1n);
|
|
139
|
+
if (i > 0)
|
|
140
|
+
return BigInt(i * 2) + BigInt(35n + r.v - 27n);
|
|
141
|
+
const m = 27n + (r.v === 27n ? 0n : 1n);
|
|
142
|
+
if (r.v !== m)
|
|
143
|
+
throw new H({ v: r.v });
|
|
144
|
+
return m;
|
|
145
|
+
})(), l = T(r.r), d = T(r.s);
|
|
146
|
+
t = [
|
|
147
|
+
...t,
|
|
148
|
+
o(p),
|
|
149
|
+
l === "0x00" ? "0x" : l,
|
|
150
|
+
d === "0x00" ? "0x" : d
|
|
151
|
+
];
|
|
152
|
+
} else i > 0 && (t = [
|
|
153
|
+
...t,
|
|
154
|
+
o(i),
|
|
155
|
+
"0x",
|
|
156
|
+
"0x"
|
|
157
|
+
]);
|
|
158
|
+
return b(t);
|
|
159
|
+
}
|
|
160
|
+
function I(e, r) {
|
|
161
|
+
const i = r ?? e, { v: s, yParity: n } = i;
|
|
162
|
+
if (typeof i.r > "u")
|
|
163
|
+
return [];
|
|
164
|
+
if (typeof i.s > "u")
|
|
165
|
+
return [];
|
|
166
|
+
if (typeof s > "u" && typeof n > "u")
|
|
167
|
+
return [];
|
|
168
|
+
const c = T(i.r), f = T(i.s);
|
|
169
|
+
return [typeof n == "number" ? n ? o(1) : "0x" : s === 0n ? "0x" : s === 1n ? o(1) : s === 27n ? "0x" : o(1), c === "0x00" ? "0x" : c, f === "0x00" ? "0x" : f];
|
|
12
170
|
}
|
|
13
171
|
export {
|
|
14
|
-
|
|
172
|
+
te as serializeTransaction,
|
|
173
|
+
I as toYParitySignatureArray
|
|
15
174
|
};
|
package/dist/index91.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index88.cjs");async function i(o,{address:d,blockNumber:e,blockTag:r="latest"}){const t=e!==void 0?u.numberToHex(e):void 0,n=await o.request({method:"eth_getCode",params:[d,t||r]},{dedupe:!!t});if(n!=="0x")return n}exports.getCode=i;
|
package/dist/index91.js
CHANGED
package/dist/index92.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index44.cjs"),x=require("./index93.cjs"),E=require("./index94.cjs"),V=require("./index95.cjs"),S=require("./index96.cjs"),N=require("./index97.cjs"),T=require("./index98.cjs"),F=require("./index99.cjs"),k=require("./index87.cjs"),B=require("./index100.cjs"),P=require("./index71.cjs"),w=require("./index88.cjs"),b=require("./index101.cjs"),j=require("./index102.cjs"),p=require("./index103.cjs"),I=require("./index104.cjs"),W=require("./index91.cjs"),D=require("./index105.cjs"),H=require("./index106.cjs"),q=require("./index107.cjs");async function L(i,a){var s,d,f,g;const{address:n,chain:r=i.chain,hash:c,erc6492VerifierAddress:u=a.universalSignatureVerifierAddress??((d=(s=r==null?void 0:r.contracts)==null?void 0:s.erc6492Verifier)==null?void 0:d.address),multicallAddress:o=a.multicallAddress??((g=(f=r==null?void 0:r.contracts)==null?void 0:f.multicall3)==null?void 0:g.address)}=a;if(r!=null&&r.verifyHash)return await r.verifyHash(i,a);const e=(()=>{const t=a.signature;return B.isHex(t)?t:typeof t=="object"&&"r"in t&&"s"in t?p.serializeSignature(t):w.bytesToHex(t)})();try{return H.validate(e)?await m(i,{...a,multicallAddress:o,signature:e}):await M(i,{...a,verifierAddress:u,signature:e})}catch(t){try{if(T.isAddressEqual(N.getAddress(n),await j.recoverAddress({hash:c,signature:e})))return!0}catch{}if(t instanceof l)return!1;throw t}}async function m(i,a){var v;const{address:n,blockNumber:r,blockTag:c,hash:u,multicallAddress:o}=a,{authorization:e,data:s,signature:d,to:f}=H.unwrap(a.signature);if(await W.getCode(i,{address:n,blockNumber:r,blockTag:c})===k.concatHex(["0xef0100",e.address]))return await z(i,{address:n,blockNumber:r,blockTag:c,hash:u,signature:d});const t={address:e.address,chainId:Number(e.chainId),nonce:Number(e.nonce),r:w.numberToHex(e.r,{size:32}),s:w.numberToHex(e.s,{size:32}),yParity:e.yParity};if(!await F.verifyAuthorization({address:n,authorization:t}))throw new l;const A=await b.getAction(i,D.readContract,"readContract")({...o?{address:o}:{code:x.multicall3Bytecode},authorizationList:[t],abi:h.multicall3Abi,blockNumber:r,blockTag:"pending",functionName:"aggregate3",args:[[...s?[{allowFailure:!0,target:f??n,callData:s}]:[],{allowFailure:!0,target:n,callData:S.encodeFunctionData({abi:h.erc1271Abi,functionName:"isValidSignature",args:[u,d]})}]]}),y=(v=A[A.length-1])==null?void 0:v.returnData;if(y!=null&&y.startsWith("0x1626ba7e"))return!0;throw new l}async function M(i,a){const{address:n,factory:r,factoryData:c,hash:u,signature:o,verifierAddress:e,...s}=a,d=await(async()=>!r&&!c||q.validate(o)?o:q.wrap({data:c,signature:o,to:r}))(),f=e?{to:e,data:S.encodeFunctionData({abi:h.erc6492SignatureValidatorAbi,functionName:"isValidSig",args:[n,u,d]}),...s}:{data:V.encodeDeployData({abi:h.erc6492SignatureValidatorAbi,args:[n,u,d],bytecode:x.erc6492SignatureValidatorByteCode}),...s},{data:g}=await b.getAction(i,I.call,"call")(f).catch(t=>{throw t instanceof E.CallExecutionError?new l:t});if(P.hexToBool(g??"0x0"))return!0;throw new l}async function z(i,a){const{address:n,blockNumber:r,blockTag:c,hash:u,signature:o}=a;if((await b.getAction(i,D.readContract,"readContract")({address:n,abi:h.erc1271Abi,args:[u,o],blockNumber:r,blockTag:c,functionName:"isValidSignature"}).catch(s=>{throw s instanceof E.ContractFunctionExecutionError?new l:s})).startsWith("0x1626ba7e"))return!0;throw new l}class l extends Error{}exports.verifyErc1271=z;exports.verifyErc8010=m;exports.verifyHash=L;
|
package/dist/index92.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { multicall3Abi as V, erc1271Abi as v, erc6492SignatureValidatorAbi as b } from "./
|
|
1
|
+
import { multicall3Abi as V, erc1271Abi as v, erc6492SignatureValidatorAbi as b } from "./index44.js";
|
|
2
2
|
import { multicall3Bytecode as z, erc6492SignatureValidatorByteCode as D } from "./index93.js";
|
|
3
3
|
import { CallExecutionError as N, ContractFunctionExecutionError as S } from "./index94.js";
|
|
4
4
|
import { encodeDeployData as C } from "./index95.js";
|
|
@@ -6,10 +6,10 @@ import { encodeFunctionData as A } from "./index96.js";
|
|
|
6
6
|
import { getAddress as H } from "./index97.js";
|
|
7
7
|
import { isAddressEqual as T } from "./index98.js";
|
|
8
8
|
import { verifyAuthorization as k } from "./index99.js";
|
|
9
|
-
import { concatHex as F } from "./
|
|
9
|
+
import { concatHex as F } from "./index87.js";
|
|
10
10
|
import { isHex as B } from "./index100.js";
|
|
11
11
|
import { hexToBool as I } from "./index71.js";
|
|
12
|
-
import { bytesToHex as P, numberToHex as p } from "./
|
|
12
|
+
import { bytesToHex as P, numberToHex as p } from "./index88.js";
|
|
13
13
|
import { getAction as h } from "./index101.js";
|
|
14
14
|
import { recoverAddress as W } from "./index102.js";
|
|
15
15
|
import { serializeSignature as j } from "./index103.js";
|
package/dist/index95.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index187.cjs"),u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index187.cjs"),u=require("./index87.cjs"),d=require("./index215.cjs"),r="/docs/contract/encodeDeployData";function b(i){const{abi:a,args:o,bytecode:n}=i;if(!o||o.length===0)return n;const t=a.find(c=>"type"in c&&c.type==="constructor");if(!t)throw new e.AbiConstructorNotFoundError({docsPath:r});if(!("inputs"in t))throw new e.AbiConstructorParamsNotFoundError({docsPath:r});if(!t.inputs||t.inputs.length===0)throw new e.AbiConstructorParamsNotFoundError({docsPath:r});const s=d.encodeAbiParameters(t.inputs,o);return u.concatHex([n,s])}exports.encodeDeployData=b;
|
package/dist/index95.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbiConstructorNotFoundError as p, AbiConstructorParamsNotFoundError as i } from "./index187.js";
|
|
2
|
-
import { concatHex as u } from "./
|
|
2
|
+
import { concatHex as u } from "./index87.js";
|
|
3
3
|
import { encodeAbiParameters as d } from "./index215.js";
|
|
4
4
|
const r = "/docs/contract/encodeDeployData";
|
|
5
5
|
function w(c) {
|
package/dist/index96.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index87.cjs"),s=require("./index215.cjs"),d=require("./index227.cjs");function b(n){const{args:c}=n,{abi:o,functionName:i}=(()=>{var e;return n.abi.length===1&&((e=n.functionName)!=null&&e.startsWith("0x"))?n:d.prepareEncodeFunctionData(n)})(),t=o[0],u=i,a="inputs"in t&&t.inputs?s.encodeAbiParameters(t.inputs,c??[]):void 0;return r.concatHex([u,a??"0x"])}exports.encodeFunctionData=b;
|
package/dist/index96.js
CHANGED
package/dist/index97.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index85.cjs"),f=require("./index214.cjs"),a=require("./index226.cjs"),l=require("./index230.cjs"),A=require("./index86.cjs"),o=new l.LruMap(8192);function u(s,t){if(o.has(`${s}.${t}`))return o.get(`${s}.${t}`);const c=s.substring(2).toLowerCase(),n=a.keccak256(f.stringToBytes(c),"bytes"),r=c.split("");for(let e=0;e<40;e+=2)n[e>>1]>>4>=8&&r[e]&&(r[e]=r[e].toUpperCase()),(n[e>>1]&15)>=8&&r[e+1]&&(r[e+1]=r[e+1].toUpperCase());const i=`0x${r.join("")}`;return o.set(`${s}.${t}`,i),i}function g(s,t){if(!A.isAddress(s,{strict:!1}))throw new d.InvalidAddressError({address:s});return u(s,t)}exports.checksumAddress=u;exports.getAddress=g;
|
package/dist/index97.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InvalidAddressError as c } from "./
|
|
1
|
+
import { InvalidAddressError as c } from "./index85.js";
|
|
2
2
|
import { stringToBytes as m } from "./index214.js";
|
|
3
3
|
import { keccak256 as p } from "./index226.js";
|
|
4
4
|
import { LruMap as u } from "./index230.js";
|
|
5
|
-
import { isAddress as $ } from "./
|
|
5
|
+
import { isAddress as $ } from "./index86.js";
|
|
6
6
|
const s = /* @__PURE__ */ new u(8192);
|
|
7
7
|
function h(t, o) {
|
|
8
8
|
if (s.has(`${t}.${o}`))
|
package/dist/index98.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index85.cjs"),d=require("./index86.cjs");function t(s,r){if(!d.isAddress(s,{strict:!1}))throw new e.InvalidAddressError({address:s});if(!d.isAddress(r,{strict:!1}))throw new e.InvalidAddressError({address:r});return s.toLowerCase()===r.toLowerCase()}exports.isAddressEqual=t;
|
package/dist/index98.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InvalidAddressError as e } from "./
|
|
2
|
-
import { isAddress as o } from "./
|
|
1
|
+
import { InvalidAddressError as e } from "./index85.js";
|
|
2
|
+
import { isAddress as o } from "./index86.js";
|
|
3
3
|
function i(r, s) {
|
|
4
4
|
if (!o(r, { strict: !1 }))
|
|
5
5
|
throw new e({ address: r });
|
|
@@ -88,7 +88,7 @@ export declare const BTC: {
|
|
|
88
88
|
address: string;
|
|
89
89
|
schema: string;
|
|
90
90
|
};
|
|
91
|
-
chain: "solana_localnet" | "arbitrum_localnet" | "ethereum_localnet" | "bitcoin_regtest" | "starknet_devnet" | "solana_testnet" | "bitcoin_testnet" | "ethereum_sepolia" | "arbitrum_sepolia" | "base_sepolia" | "bera_testnet" | "citrea" | "citrea_testnet" | "monad_testnet" | "starknet_sepolia" | "sui_testnet" | "hyperliquid_testnet" | "bnbchain_testnet" | "alpen_signet" | "litecoin_testnet" | "alpen_testnet" | "tron_shasta" | "bitcoin" | "base" | "monad" | "arbitrum" | "ethereum" | "solana" | "bera" | "starknet" | "sui" | "hyperevm" | "unichain" | "corn" | "botanix" | "bnbchain" | "core" | "tron" | "spark" | "spark_regtest" | "litecoin" | "megaeth" | "hyperliquid" | "xrpl" | "xrpl_testnet" | "hypercore" | "hypercore_testnet";
|
|
91
|
+
chain: "solana_localnet" | "arbitrum_localnet" | "ethereum_localnet" | "bitcoin_regtest" | "starknet_devnet" | "solana_testnet" | "bitcoin_testnet" | "ethereum_sepolia" | "arbitrum_sepolia" | "base_sepolia" | "bera_testnet" | "citrea" | "citrea_testnet" | "monad_testnet" | "starknet_sepolia" | "sui_testnet" | "hyperliquid_testnet" | "bnbchain_testnet" | "alpen_signet" | "litecoin_testnet" | "alpen_testnet" | "tron_shasta" | "bitcoin" | "base" | "monad" | "arbitrum" | "ethereum" | "solana" | "bera" | "starknet" | "sui" | "hyperevm" | "unichain" | "corn" | "botanix" | "bnbchain" | "core" | "tron" | "spark" | "spark_regtest" | "litecoin" | "megaeth" | "hyperevm_testnet" | "hyperliquid" | "xrpl" | "xrpl_testnet" | "hypercore" | "hypercore_testnet";
|
|
92
92
|
price: number;
|
|
93
93
|
min_amount: string;
|
|
94
94
|
max_amount: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/swap",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "vite build",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"registry": "https://registry.npmjs.org/"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@gardenfi/core": "3.1.
|
|
32
|
+
"@gardenfi/core": "3.1.3-beta.1",
|
|
33
33
|
"@gardenfi/garden-book": "0.2.2",
|
|
34
|
-
"@gardenfi/orderbook": "3.1.
|
|
35
|
-
"@gardenfi/react-hooks": "3.1.
|
|
34
|
+
"@gardenfi/orderbook": "3.1.3-beta.1",
|
|
35
|
+
"@gardenfi/react-hooks": "3.1.3-beta.1",
|
|
36
36
|
"@gardenfi/utils": "3.1.1",
|
|
37
37
|
"@mysten/sui": "^1.37.2",
|
|
38
38
|
"@number-flow/react": "^0.5.9",
|