@argent/x-shared 1.50.0 → 1.51.0
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/_virtual/semver.cjs +1 -1
- package/dist/_virtual/semver.js +5 -2
- package/dist/_virtual/semver2.cjs +1 -0
- package/dist/_virtual/semver2.js +4 -0
- package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.cjs +1 -1
- package/dist/node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js +612 -606
- package/dist/src/accountNameGenerator/x-names.json.cjs +1 -1
- package/dist/src/accountNameGenerator/x-names.json.js +1 -1920
- package/dist/src/bigdecimal/index.cjs +1 -1
- package/dist/src/bigdecimal/index.js +34 -26
- package/dist/src/bigdecimal/lib.cjs +1 -1
- package/dist/src/bigdecimal/lib.d.ts +8 -0
- package/dist/src/bigdecimal/lib.js +102 -38
- package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.cjs +1 -1
- package/dist/src/chains/starknet/services/deploymentData/getAccountClassHash.js +1 -1
- package/dist/src/http/HttpError.d.ts +2 -2
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./utils.cjs"),e=require("./lib.cjs"),r=require("./parseUnits.cjs"),s=require("./formatUnits.cjs"),i=require("./constants.cjs"),a=require("./createUnitsSchema.cjs");exports.absBigInt=t.absBigInt;exports.formatCurrency=t.formatCurrency;exports.formatEther=t.formatEther;exports.parseCurrency=t.parseCurrency;exports.parseCurrencyAbs=t.parseCurrencyAbs;exports.parseEther=t.parseEther;exports.toBigDecimal=t.toBigDecimal;exports.abs=e.abs;exports.add=e.add;exports.div=e.div;exports.eq=e.eq;exports.gt=e.gt;exports.gte=e.gte;exports.lt=e.lt;exports.lte=e.lte;exports.mod=e.mod;exports.mul=e.mul;exports.not=e.not;exports.sub=e.sub;exports.toFixedDecimals=e.toFixedDecimals;exports.toTiniestPossibleDecimal=e.toTiniestPossibleDecimal;exports.parseUnits=r.parseUnits;exports.formatUnits=s.formatUnits;exports.ONE=i.ONE;exports.createUnitsSchema=a.createUnitsSchema;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./utils.cjs"),e=require("./lib.cjs"),r=require("./parseUnits.cjs"),s=require("./formatUnits.cjs"),i=require("./constants.cjs"),a=require("./createUnitsSchema.cjs");exports.absBigInt=t.absBigInt;exports.formatCurrency=t.formatCurrency;exports.formatEther=t.formatEther;exports.parseCurrency=t.parseCurrency;exports.parseCurrencyAbs=t.parseCurrencyAbs;exports.parseEther=t.parseEther;exports.toBigDecimal=t.toBigDecimal;exports.abs=e.abs;exports.add=e.add;exports.ceil=e.ceil;exports.div=e.div;exports.eq=e.eq;exports.floor=e.floor;exports.gt=e.gt;exports.gte=e.gte;exports.lt=e.lt;exports.lte=e.lte;exports.max=e.max;exports.min=e.min;exports.mod=e.mod;exports.mul=e.mul;exports.not=e.not;exports.pow=e.pow;exports.round=e.round;exports.sign=e.sign;exports.sqrt=e.sqrt;exports.sub=e.sub;exports.toFixedDecimals=e.toFixedDecimals;exports.toTiniestPossibleDecimal=e.toTiniestPossibleDecimal;exports.parseUnits=r.parseUnits;exports.formatUnits=s.formatUnits;exports.ONE=i.ONE;exports.createUnitsSchema=a.createUnitsSchema;
|
|
@@ -1,33 +1,41 @@
|
|
|
1
|
-
import { absBigInt as t, formatCurrency as o, formatEther as
|
|
2
|
-
import { abs as
|
|
3
|
-
import { parseUnits as
|
|
4
|
-
import { formatUnits as
|
|
5
|
-
import { ONE as
|
|
6
|
-
import { createUnitsSchema as
|
|
1
|
+
import { absBigInt as t, formatCurrency as o, formatEther as m, parseCurrency as s, parseCurrencyAbs as a, parseEther as i, toBigDecimal as n } from "./utils.js";
|
|
2
|
+
import { abs as f, add as c, ceil as l, div as x, eq as d, floor as u, gt as b, gte as g, lt as h, lte as y, max as C, min as D, mod as E, mul as U, not as q, pow as B, round as v, sign as w, sqrt as A, sub as F, toFixedDecimals as I, toTiniestPossibleDecimal as N } from "./lib.js";
|
|
3
|
+
import { parseUnits as P } from "./parseUnits.js";
|
|
4
|
+
import { formatUnits as T } from "./formatUnits.js";
|
|
5
|
+
import { ONE as k } from "./constants.js";
|
|
6
|
+
import { createUnitsSchema as G } from "./createUnitsSchema.js";
|
|
7
7
|
export {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
k as ONE,
|
|
9
|
+
f as abs,
|
|
10
10
|
t as absBigInt,
|
|
11
11
|
c as add,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
x as
|
|
12
|
+
l as ceil,
|
|
13
|
+
G as createUnitsSchema,
|
|
14
|
+
x as div,
|
|
15
|
+
d as eq,
|
|
16
|
+
u as floor,
|
|
15
17
|
o as formatCurrency,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
+
m as formatEther,
|
|
19
|
+
T as formatUnits,
|
|
18
20
|
b as gt,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
g as gte,
|
|
22
|
+
h as lt,
|
|
23
|
+
y as lte,
|
|
24
|
+
C as max,
|
|
25
|
+
D as min,
|
|
26
|
+
E as mod,
|
|
27
|
+
U as mul,
|
|
28
|
+
q as not,
|
|
29
|
+
s as parseCurrency,
|
|
30
|
+
a as parseCurrencyAbs,
|
|
27
31
|
i as parseEther,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
P as parseUnits,
|
|
33
|
+
B as pow,
|
|
34
|
+
v as round,
|
|
35
|
+
w as sign,
|
|
36
|
+
A as sqrt,
|
|
37
|
+
F as sub,
|
|
38
|
+
n as toBigDecimal,
|
|
39
|
+
I as toFixedDecimals,
|
|
40
|
+
N as toTiniestPossibleDecimal
|
|
33
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=(e,t)=>({decimals:t,value:t>=e.decimals?e.value*BigInt(10)**BigInt(t-e.decimals):e.value/BigInt(10)**BigInt(e.decimals-t)}),d=e=>{if(e.value===BigInt(0))return{value:BigInt(0),decimals:0};const i=e.value.toString().replace("-","").split("").reverse();let l=0;for(const a of i){if(a!=="0")break;l++}const s=Math.max(0,e.decimals-l);return r(e,s)},v=(e,t)=>{const i=Math.max(e.decimals,t.decimals),[l,s]=[e,t].map(a=>r(a,i));return[l.value,s.value,i]},o=e=>(t,i)=>{const[l,s,a]=v(t,i);return{decimals:a,value:e(l,s,a)}},c=e=>(t,i)=>{const[l,s]=v(t,i);return e(l,s)},h=o((e,t)=>e+t),b=o((e,t)=>e-t),g=o((e,t,i)=>{if(t===BigInt(0))throw new Error("Division by zero is not allowed");return e*BigInt(10)**BigInt(i)/t}),j=(e,t)=>d({decimals:e.decimals+t.decimals,value:e.value*t.value}),p=o((e,t)=>{if(t===BigInt(0))throw new Error("Modulus by zero is not allowed");return e%t}),D=e=>({decimals:e.decimals,value:e.value>=BigInt(0)?e.value:-e.value}),m=c((e,t)=>e===t),B=c((e,t)=>e<t),q=c((e,t)=>e>t),I=c((e,t)=>e<=t),f=c((e,t)=>e>=t),A=(e,t)=>!m(e,t),w=(e,t)=>{if(!Number.isInteger(t))throw new Error("Exponent must be an integer");if(t<0)return g({value:BigInt(1),decimals:0},w(e,-t));if(t===0)return{value:BigInt(1),decimals:0};let i={value:BigInt(1),decimals:0},l={...e},s=Math.abs(t);for(;s>0;)s&1&&(i={value:i.value*l.value,decimals:i.decimals+l.decimals}),l={value:l.value*l.value,decimals:l.decimals*2},s>>=1;return i},E=e=>{if(B(e,{value:BigInt(0),decimals:0}))throw new Error("Cannot calculate square root of negative number");if(e.value===BigInt(0))return{value:BigInt(0),decimals:0};const t=e.decimals+e.decimals%2,i=r(e,t);let l=BigInt(0),s=i.value,a=s;for(;l<=s;){const n=(l+s)/BigInt(2),u=n*n;if(u===i.value){a=n;break}u<i.value?(l=n+BigInt(1),a=n):s=n-BigInt(1)}return{value:a,decimals:t/2}},M=e=>{const t=BigInt(10)**BigInt(e.decimals),i=e.value%t,l=t/BigInt(2);return{decimals:0,value:e.value/t+(i>=l?BigInt(1):BigInt(0))}},S=e=>({decimals:0,value:e.value/BigInt(10)**BigInt(e.decimals)}),y=e=>{const t=BigInt(10)**BigInt(e.decimals);return{decimals:0,value:(e.value+t-BigInt(1))/t}},z=(e,t)=>f(e,t)?e:t,F=(e,t)=>I(e,t)?e:t,O=e=>e.value===BigInt(0)?0:e.value>BigInt(0)?1:-1;exports.abs=D;exports.add=h;exports.ceil=y;exports.div=g;exports.eq=m;exports.floor=S;exports.gt=q;exports.gte=f;exports.lt=B;exports.lte=I;exports.max=z;exports.min=F;exports.mod=p;exports.mul=j;exports.not=A;exports.pow=w;exports.round=M;exports.sign=O;exports.sqrt=E;exports.sub=b;exports.toFixedDecimals=r;exports.toTiniestPossibleDecimal=d;
|
|
@@ -13,3 +13,11 @@ export declare const gt: (a: BigDecimal, b: BigDecimal) => boolean;
|
|
|
13
13
|
export declare const lte: (a: BigDecimal, b: BigDecimal) => boolean;
|
|
14
14
|
export declare const gte: (a: BigDecimal, b: BigDecimal) => boolean;
|
|
15
15
|
export declare const not: (a: BigDecimal, b: BigDecimal) => boolean;
|
|
16
|
+
export declare const pow: (base: BigDecimal, exponent: number) => BigDecimal;
|
|
17
|
+
export declare const sqrt: (x: BigDecimal) => BigDecimal;
|
|
18
|
+
export declare const round: (x: BigDecimal) => BigDecimal;
|
|
19
|
+
export declare const floor: (x: BigDecimal) => BigDecimal;
|
|
20
|
+
export declare const ceil: (x: BigDecimal) => BigDecimal;
|
|
21
|
+
export declare const max: (a: BigDecimal, b: BigDecimal) => BigDecimal;
|
|
22
|
+
export declare const min: (a: BigDecimal, b: BigDecimal) => BigDecimal;
|
|
23
|
+
export declare const sign: (x: BigDecimal) => -1 | 0 | 1;
|
|
@@ -1,53 +1,117 @@
|
|
|
1
|
-
const
|
|
1
|
+
const u = (e, t) => ({
|
|
2
2
|
decimals: t,
|
|
3
3
|
value: t >= e.decimals ? e.value * BigInt(10) ** BigInt(t - e.decimals) : e.value / BigInt(10) ** BigInt(e.decimals - t)
|
|
4
|
-
}),
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
4
|
+
}), v = (e) => {
|
|
5
|
+
if (e.value === BigInt(0))
|
|
6
|
+
return { value: BigInt(0), decimals: 0 };
|
|
7
|
+
const i = e.value.toString().replace("-", "").split("").reverse();
|
|
8
|
+
let l = 0;
|
|
9
|
+
for (const a of i) {
|
|
10
|
+
if (a !== "0")
|
|
11
|
+
break;
|
|
12
|
+
l++;
|
|
13
|
+
}
|
|
14
|
+
const s = Math.max(0, e.decimals - l);
|
|
15
|
+
return u(e, s);
|
|
16
|
+
}, d = (e, t) => {
|
|
17
|
+
const i = Math.max(e.decimals, t.decimals), [l, s] = [e, t].map((a) => u(a, i));
|
|
18
|
+
return [l.value, s.value, i];
|
|
19
|
+
}, r = (e) => (t, i) => {
|
|
20
|
+
const [l, s, a] = d(t, i);
|
|
16
21
|
return {
|
|
17
|
-
decimals:
|
|
18
|
-
value: e(l,
|
|
22
|
+
decimals: a,
|
|
23
|
+
value: e(l, s, a)
|
|
19
24
|
};
|
|
20
|
-
},
|
|
21
|
-
const [l,
|
|
22
|
-
return e(l,
|
|
23
|
-
},
|
|
25
|
+
}, c = (e) => (t, i) => {
|
|
26
|
+
const [l, s] = d(t, i);
|
|
27
|
+
return e(l, s);
|
|
28
|
+
}, h = r((e, t) => e + t), j = r((e, t) => e - t), g = r((e, t, i) => {
|
|
24
29
|
if (t === BigInt(0))
|
|
25
30
|
throw new Error("Division by zero is not allowed");
|
|
26
|
-
return e * BigInt(10) ** BigInt(
|
|
27
|
-
}),
|
|
31
|
+
return e * BigInt(10) ** BigInt(i) / t;
|
|
32
|
+
}), p = (e, t) => v({
|
|
28
33
|
decimals: e.decimals + t.decimals,
|
|
29
34
|
value: e.value * t.value
|
|
30
|
-
}),
|
|
35
|
+
}), A = r((e, t) => {
|
|
31
36
|
if (t === BigInt(0))
|
|
32
37
|
throw new Error("Modulus by zero is not allowed");
|
|
33
38
|
return e % t;
|
|
34
|
-
}),
|
|
39
|
+
}), D = (e) => ({
|
|
35
40
|
decimals: e.decimals,
|
|
36
41
|
value: e.value >= BigInt(0) ? e.value : -e.value
|
|
37
|
-
}),
|
|
42
|
+
}), m = c((e, t) => e === t), B = c((e, t) => e < t), E = c((e, t) => e > t), I = c((e, t) => e <= t), f = c((e, t) => e >= t), b = (e, t) => !m(e, t), w = (e, t) => {
|
|
43
|
+
if (!Number.isInteger(t))
|
|
44
|
+
throw new Error("Exponent must be an integer");
|
|
45
|
+
if (t < 0)
|
|
46
|
+
return g({ value: BigInt(1), decimals: 0 }, w(e, -t));
|
|
47
|
+
if (t === 0)
|
|
48
|
+
return { value: BigInt(1), decimals: 0 };
|
|
49
|
+
let i = { value: BigInt(1), decimals: 0 }, l = { ...e }, s = Math.abs(t);
|
|
50
|
+
for (; s > 0; )
|
|
51
|
+
s & 1 && (i = {
|
|
52
|
+
value: i.value * l.value,
|
|
53
|
+
decimals: i.decimals + l.decimals
|
|
54
|
+
}), l = {
|
|
55
|
+
value: l.value * l.value,
|
|
56
|
+
decimals: l.decimals * 2
|
|
57
|
+
}, s >>= 1;
|
|
58
|
+
return i;
|
|
59
|
+
}, q = (e) => {
|
|
60
|
+
if (B(e, { value: BigInt(0), decimals: 0 }))
|
|
61
|
+
throw new Error("Cannot calculate square root of negative number");
|
|
62
|
+
if (e.value === BigInt(0))
|
|
63
|
+
return { value: BigInt(0), decimals: 0 };
|
|
64
|
+
const t = e.decimals + e.decimals % 2, i = u(e, t);
|
|
65
|
+
let l = BigInt(0), s = i.value, a = s;
|
|
66
|
+
for (; l <= s; ) {
|
|
67
|
+
const n = (l + s) / BigInt(2), o = n * n;
|
|
68
|
+
if (o === i.value) {
|
|
69
|
+
a = n;
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
o < i.value ? (l = n + BigInt(1), a = n) : s = n - BigInt(1);
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
value: a,
|
|
76
|
+
decimals: t / 2
|
|
77
|
+
};
|
|
78
|
+
}, z = (e) => {
|
|
79
|
+
const t = BigInt(10) ** BigInt(e.decimals), i = e.value % t, l = t / BigInt(2);
|
|
80
|
+
return {
|
|
81
|
+
decimals: 0,
|
|
82
|
+
value: e.value / t + (i >= l ? BigInt(1) : BigInt(0))
|
|
83
|
+
};
|
|
84
|
+
}, M = (e) => ({
|
|
85
|
+
decimals: 0,
|
|
86
|
+
value: e.value / BigInt(10) ** BigInt(e.decimals)
|
|
87
|
+
}), S = (e) => {
|
|
88
|
+
const t = BigInt(10) ** BigInt(e.decimals);
|
|
89
|
+
return {
|
|
90
|
+
decimals: 0,
|
|
91
|
+
value: (e.value + t - BigInt(1)) / t
|
|
92
|
+
};
|
|
93
|
+
}, k = (e, t) => f(e, t) ? e : t, y = (e, t) => I(e, t) ? e : t, C = (e) => e.value === BigInt(0) ? 0 : e.value > BigInt(0) ? 1 : -1;
|
|
38
94
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
95
|
+
D as abs,
|
|
96
|
+
h as add,
|
|
97
|
+
S as ceil,
|
|
98
|
+
g as div,
|
|
99
|
+
m as eq,
|
|
100
|
+
M as floor,
|
|
101
|
+
E as gt,
|
|
102
|
+
f as gte,
|
|
103
|
+
B as lt,
|
|
104
|
+
I as lte,
|
|
105
|
+
k as max,
|
|
106
|
+
y as min,
|
|
107
|
+
A as mod,
|
|
108
|
+
p as mul,
|
|
109
|
+
b as not,
|
|
110
|
+
w as pow,
|
|
111
|
+
z as round,
|
|
112
|
+
C as sign,
|
|
113
|
+
q as sqrt,
|
|
114
|
+
j as sub,
|
|
115
|
+
u as toFixedDecimals,
|
|
116
|
+
v as toTiniestPossibleDecimal
|
|
53
117
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../../../../_virtual/semver.cjs"),e=require("./constants.cjs");function a(t){const A=Object.entries(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES),r=Object.entries(e.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES);switch(t){case"cairo0":return A.filter(([s])=>n.default.lt(s,"0.3.0")).map(([,s])=>s);case"cairo1":return A.filter(([s])=>n.default.gte(s,"0.3.0")).map(([,s])=>s);case"multisig":return r.map(([,s])=>s);default:return A.map(([,s])=>s)}}function c(){const t=n.default.maxSatisfying(Object.keys(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES),"*");if(!t)throw new Error(`No argent account contract found: v${t} `);return e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES[t]}function C(){const t=n.default.maxSatisfying(Object.keys(e.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES),"*");if(!t)throw new Error(`No argent multisig contract found: v${t} `);return e.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES[t]}function S(){return Object.entries(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES).filter(([t])=>n.default.gte(t,"0.4.0")).map(([,t])=>t)}function o(){const t=n.default.maxSatisfying(Object.keys(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES),"<0.3.0");if(!t)throw new Error(`No argent account contract found: v${t} `);return e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES[t]}function u(){const t=Object.entries(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES).filter(([r])=>n.default.gte(r,"0.3.1")).map(([,r])=>r),A=Object.entries(e.ARGENT_MULTISIG_CONTRACT_CLASS_HASHES).filter(([r])=>n.default.gte(r,"0.1.1")).map(([,r])=>r);return[...t,...A]}function i(){return Object.entries(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES).filter(([t])=>n.default.gte(t,"0.4.0")).map(([,t])=>t)}function T(){const t=n.default.maxSatisfying(Object.keys(e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES),">=0.4.0");if(!t)throw new Error(`No ledger account contract found: v${t}`);return e.ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES[t]}exports.getArgentAccountClassHashes=a;exports.getArgentAccountClassHashesWithTxV3Support=u;exports.getArgentAccountWithMultiSignerClassHashes=S;exports.getLastCairo0ArgentAccountClassHash=o;exports.getLatestArgentAccountClassHash=c;exports.getLatestArgentMultisigClassHash=C;exports.getLatestLedgerAccountClassHash=T;exports.getLedgerAccountClassHashes=i;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n from "../../../../../
|
|
1
|
+
import n from "../../../../../_virtual/semver.js";
|
|
2
2
|
import { ARGENT_ACCOUNT_CONTRACT_CLASS_HASHES as r, ARGENT_MULTISIG_CONTRACT_CLASS_HASHES as a } from "./constants.js";
|
|
3
3
|
function u(t) {
|
|
4
4
|
const c = Object.entries(r), s = Object.entries(a);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTTP_ERROR_MESSAGE } from './IHttpService';
|
|
2
2
|
export declare class HttpError extends Error {
|
|
3
3
|
readonly status: number;
|
|
4
|
-
readonly data?: unknown;
|
|
5
|
-
constructor(message: HTTP_ERROR_MESSAGE | string, status: number, data?: unknown);
|
|
4
|
+
readonly data?: unknown | undefined;
|
|
5
|
+
constructor(message: HTTP_ERROR_MESSAGE | string, status: number, data?: unknown | undefined);
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argent/x-shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/argentlabs/x-shared.git"
|
|
@@ -44,28 +44,28 @@
|
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@amplitude/analytics-types": "2.8.4",
|
|
47
|
-
"@commitlint/cli": "19.
|
|
48
|
-
"@commitlint/config-conventional": "19.
|
|
47
|
+
"@commitlint/cli": "19.6.0",
|
|
48
|
+
"@commitlint/config-conventional": "19.6.0",
|
|
49
49
|
"@rollup/plugin-typescript": "12.1.1",
|
|
50
50
|
"@semantic-release/git": "10.0.1",
|
|
51
51
|
"@types/async-retry": "1.4.9",
|
|
52
52
|
"@types/lodash-es": "4.17.12",
|
|
53
53
|
"@types/ua-parser-js": "0.7.39",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
55
|
-
"@typescript-eslint/parser": "8.
|
|
54
|
+
"@typescript-eslint/eslint-plugin": "8.16.0",
|
|
55
|
+
"@typescript-eslint/parser": "8.16.0",
|
|
56
56
|
"eslint": "8.57.1",
|
|
57
57
|
"eslint-config-prettier": "9.1.0",
|
|
58
58
|
"eslint-plugin-import": "2.31.0",
|
|
59
|
-
"husky": "9.1.
|
|
59
|
+
"husky": "9.1.7",
|
|
60
60
|
"lint-staged": "15.2.10",
|
|
61
|
-
"msw": "2.6.
|
|
62
|
-
"prettier": "3.
|
|
61
|
+
"msw": "2.6.6",
|
|
62
|
+
"prettier": "3.4.1",
|
|
63
63
|
"semantic-release": "24.2.0",
|
|
64
|
-
"ts-to-zod": "3.
|
|
65
|
-
"typescript": "5.
|
|
66
|
-
"vite": "
|
|
64
|
+
"ts-to-zod": "3.15.0",
|
|
65
|
+
"typescript": "5.7.2",
|
|
66
|
+
"vite": "6.0.2",
|
|
67
67
|
"vite-plugin-dts": "4.3.0",
|
|
68
|
-
"vitest": "2.1.
|
|
68
|
+
"vitest": "2.1.7"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@argent/x-multicall": "^7.1.0",
|