@gardenfi/orderbook 2.0.0 → 2.0.2
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/index2.cjs +1 -1
- package/dist/index2.js +14 -11
- package/dist/index4.cjs +1 -1
- package/dist/index4.js +2 -2
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +188 -2
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +2 -7
- package/dist/index8.cjs +1 -0
- package/dist/index8.js +9 -0
- package/package.json +2 -3
package/dist/index2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index6.cjs"),c=require("./index7.cjs"),d=require("@gardenfi/utils"),l=require("./index4.cjs");class u extends l.OrdersProvider{constructor(r){const e=new d.Url("/relayer",r.url??c.MAINNET_ORDERBOOK_API);if(super(e),!r.auth)throw new Error("Auth is required");this.Url=e,this.walletClient=r.walletClient,this.auth=r.auth}static async init(r){var e;return await((e=r.auth.siwe)==null?void 0:e.getToken()),new u(r)}async createOrder(r){const e=await this.auth.getAuthHeaders();if(e.error)return s.Err(e.error);try{const t=await s.Fetcher.post(this.Url.endpoint("create-order"),{body:JSON.stringify(r),headers:{...e.val,"Content-Type":"application/json"}});return t.error?s.Err(t.error):t.result?s.Ok(t.result):s.Err("CreateOrder: Unexpected error, result is undefined")}catch(t){return s.Err("CreateOrder:",String(t))}}async fetchOrders(r,e=!1,t){var n;const a=(n=this.walletClient.account)==null?void 0:n.address;return a?r?await super.getMatchedOrders(a,e,t):await super.getUnMatchedOrders(a,t):s.Err("Wallet client does not have an account")}async subscribeToOrders(r,e,t,a){var i;const n=(i=this.walletClient.account)==null?void 0:i.address;return n?await super.subscribeOrders(n,!0,r,e,a,t):()=>{}}async getUserOrdersCount(){var e;const r=(e=this.walletClient.account)==null?void 0:e.address;return r?super.getOrdersCount(r):s.Err("Wallet client does not have an account")}}exports.Orderbook=u;
|
package/dist/index2.js
CHANGED
|
@@ -1,26 +1,29 @@
|
|
|
1
|
-
import { Err as s, Fetcher as c, Ok as
|
|
2
|
-
import { MAINNET_ORDERBOOK_API as l } from "./
|
|
3
|
-
import { Url as
|
|
4
|
-
import { OrdersProvider as
|
|
5
|
-
class u extends
|
|
1
|
+
import { Err as s, Fetcher as c, Ok as d } from "./index6.js";
|
|
2
|
+
import { MAINNET_ORDERBOOK_API as l } from "./index7.js";
|
|
3
|
+
import { Url as o } from "@gardenfi/utils";
|
|
4
|
+
import { OrdersProvider as h } from "./index4.js";
|
|
5
|
+
class u extends h {
|
|
6
6
|
/**
|
|
7
7
|
* Creates an instance of Orderbook. Does not login to the orderbook.
|
|
8
8
|
* @constructor
|
|
9
9
|
* @param {OrderbookConfig} orderbookConfig - The configuration object for the orderbook.
|
|
10
10
|
*/
|
|
11
11
|
constructor(r) {
|
|
12
|
-
const e = new
|
|
12
|
+
const e = new o(
|
|
13
13
|
"/relayer",
|
|
14
14
|
r.url ?? l
|
|
15
15
|
);
|
|
16
|
-
super(e),
|
|
16
|
+
if (super(e), !r.auth)
|
|
17
|
+
throw new Error("Auth is required");
|
|
18
|
+
this.Url = e, this.walletClient = r.walletClient, this.auth = r.auth;
|
|
17
19
|
}
|
|
18
20
|
/**
|
|
19
21
|
* Initializes the orderbook as well as logs in the orderbook (fetches the auth token).
|
|
20
22
|
* @param {OrderbookConfig} orderbookConfig - The configuration object for the orderbook.
|
|
21
23
|
*/
|
|
22
24
|
static async init(r) {
|
|
23
|
-
|
|
25
|
+
var e;
|
|
26
|
+
return await ((e = r.auth.siwe) == null ? void 0 : e.getToken()), new u(r);
|
|
24
27
|
}
|
|
25
28
|
/**
|
|
26
29
|
* Creates an order
|
|
@@ -28,7 +31,7 @@ class u extends O {
|
|
|
28
31
|
* @returns {string} The create order ID.
|
|
29
32
|
*/
|
|
30
33
|
async createOrder(r) {
|
|
31
|
-
const e = await this.auth.
|
|
34
|
+
const e = await this.auth.getAuthHeaders();
|
|
32
35
|
if (e.error) return s(e.error);
|
|
33
36
|
try {
|
|
34
37
|
const t = await c.post(
|
|
@@ -36,12 +39,12 @@ class u extends O {
|
|
|
36
39
|
{
|
|
37
40
|
body: JSON.stringify(r),
|
|
38
41
|
headers: {
|
|
39
|
-
|
|
42
|
+
...e.val,
|
|
40
43
|
"Content-Type": "application/json"
|
|
41
44
|
}
|
|
42
45
|
}
|
|
43
46
|
);
|
|
44
|
-
return t.error ? s(t.error) : t.result ?
|
|
47
|
+
return t.error ? s(t.error) : t.result ? d(t.result) : s("CreateOrder: Unexpected error, result is undefined");
|
|
45
48
|
} catch (t) {
|
|
46
49
|
return s("CreateOrder:", String(t));
|
|
47
50
|
}
|
package/dist/index4.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("./index6.cjs"),l=require("@gardenfi/utils"),d=require("./index8.cjs");class O{constructor(s){this.url=new l.Url("/orders",s)}async getOrder(s,c){const t=c?`/id/matched/${s}`:`/id/unmatched/${s}`,n=this.url.endpoint(t);try{const e=await r.Fetcher.get(n);return e.error?r.Err(e.error):e.result?r.Ok(e.result):r.Err("GetOrder: Unexpected error, result is undefined")}catch(e){return r.Err("GetOrder:",String(e))}}async getMatchedOrders(s,c,t){const n=d.ConstructUrl(this.url,`/user/matched/${s}`,{...t,pending:c});try{const e=await r.Fetcher.get(n);return e.error?r.Err(e.error):e.result?r.Ok(e.result):r.Err("GetMatchedOrders: Unexpected error, result is undefined")}catch(e){return r.Err("GetMatchedOrders:",String(e))}}async getUnMatchedOrders(s,c){const t=d.ConstructUrl(this.url,`/user/unmatched/${s}`,c);try{const n=await r.Fetcher.get(t);return n.error?r.Err(n.error):n.result?r.Ok(n.result):r.Err("GetUnMatchedOrders: Unexpected error, result is undefined")}catch(n){return r.Err("GetUnMatchedOrders:",String(n))}}async getOrders(s,c){const t=s?"/matched":"/unmatched",n=d.ConstructUrl(this.url,t,c);try{const e=await r.Fetcher.get(n);return e.error?r.Err(e.error):e.result?r.Ok(e.result):r.Err("GetAllOrders: Unexpected error, result is undefined")}catch(e){return r.Err("GetAllOrders:",String(e))}}async subscribeOrders(s,c,t,n,e=!1,i){let o=!1;const a=async()=>{if(!o){o=!0;try{const u=c?await this.getMatchedOrders(s,e,i):await this.getUnMatchedOrders(s,i);u.ok?await n(u.val):console.error("Error fetching orders:",u.error)}catch(u){console.error("Error fetching orders:",u)}finally{o=!1}}};await a();const h=setInterval(a,t);return()=>{clearInterval(h)}}async getOrdersCount(s){const c=this.url.endpoint(`/user/count/${s}`);try{const t=await r.Fetcher.get(c);return t.error?r.Err(t.error):t.status===l.ApiStatus.Ok&&t.result!==void 0?r.Ok(t.result):r.Err("GetOrdersCount: Unexpected error, result is undefined")}catch(t){return r.Err("GetOrdersCount:",String(t))}}}exports.OrdersProvider=O;
|
package/dist/index4.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Fetcher as u, Err as s, Ok as d } from "
|
|
1
|
+
import { Fetcher as u, Err as s, Ok as d } from "./index6.js";
|
|
2
2
|
import { Url as f, ApiStatus as g } from "@gardenfi/utils";
|
|
3
|
-
import { ConstructUrl as i } from "./
|
|
3
|
+
import { ConstructUrl as i } from "./index8.js";
|
|
4
4
|
class w {
|
|
5
5
|
constructor(t) {
|
|
6
6
|
this.url = new f("/orders", t);
|
package/dist/index6.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var p=(a,t,e)=>{if(!t.has(a))throw TypeError("Cannot "+e)},u=(a,t,e)=>(p(a,t,"read from private field"),e?e.call(a):t.get(a)),w=(a,t,e)=>{if(t.has(a))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(a):t.set(a,e)},f=(a,t,e,r)=>(p(a,t,"write to private field"),t.set(a,e),e);const d=a=>new Promise(t=>setTimeout(t,a));class g{constructor(t,e){this.maxRetries=Math.max(t,0),this.delay=e}async retry(t){let e=0,r;for(;e<this.maxRetries+1;)try{return await t()}catch(s){e++,r=s,await d(this.delay*e)}throw r}}const v=a=>{try{return JSON.parse(a)}catch{return a}};class m{static async _postWithFallback(t,e){let r="";for(const s of t)try{const i=await fetch(s,{method:"POST",...e});if(i.status>=500){r=await(i.text()||i.json());continue}return await this.parse(i)}catch(i){r=y(i);continue}throw new Error(r||"All APIs failed")}static async postWithFallback(t,e){return await n(e).retry(()=>this._postWithFallback(t,e))}static async _getWithFallback(t,e){let r="";for(const s of t)try{const i=await fetch(s,e);if(i.status>=500){r=await(i.text()||i.json());continue}return await this.parse(i)}catch(i){r=y(i);continue}throw new Error(r||"All APIs failed")}static async getWithFallback(t,e){return await n(e).retry(()=>this._getWithFallback(t,e))}static async _get(t,e){return await this.parse(await fetch(t,e))}static async get(t,e){return await n(e).retry(()=>this._get(t,e))}static async _post(t,e){return await this.parse(await fetch(t,{method:"POST",...e}))}static async post(t,e){return await n(e).retry(()=>this._post(t,e))}static async parse(t){const e=await t.text();if(t.status>=200&&t.status<300)return v(e);throw new Error(e)}}function y(a){return(a==null?void 0:a.message)||(a==null?void 0:a.toString())||"unknown error"}const n=a=>new g((a==null?void 0:a.retryCount)??2,(a==null?void 0:a.retryDelay)??1e3);var o,c,l;class h{constructor(t,e,r=void 0){w(this,o,void 0),w(this,c,void 0),w(this,l,void 0),f(this,o,t),f(this,l,r),f(this,c,e)}get ok(){return u(this,o)}get error(){return u(this,l)}get val(){return u(this,c)}}o=new WeakMap,c=new WeakMap,l=new WeakMap;const k=a=>new h(!0,a),W=(a,...t)=>{if(typeof a=="string"&&t&&t.length>0){let e=[a,...t].map(r=>{if(r){if(r instanceof Error)return r.message;if(typeof r=="string")return r;if(r!=null&&r.toString)return r.toString()}});return new h(!1,null,e.filter(r=>r!==void 0).join(" "))}return new h(!1,null,a)};exports.Err=W;exports.Fetcher=m;exports.Ok=k;exports.Result=h;exports.Retry=g;exports.safeParseJson=v;exports.sleep=d;
|
package/dist/index6.js
CHANGED
|
@@ -1,4 +1,190 @@
|
|
|
1
|
-
|
|
1
|
+
var p = (e, t, a) => {
|
|
2
|
+
if (!t.has(e))
|
|
3
|
+
throw TypeError("Cannot " + a);
|
|
4
|
+
}, h = (e, t, a) => (p(e, t, "read from private field"), a ? a.call(e) : t.get(e)), u = (e, t, a) => {
|
|
5
|
+
if (t.has(e))
|
|
6
|
+
throw TypeError("Cannot add the same private member more than once");
|
|
7
|
+
t instanceof WeakSet ? t.add(e) : t.set(e, a);
|
|
8
|
+
}, w = (e, t, a, r) => (p(e, t, "write to private field"), t.set(e, a), a);
|
|
9
|
+
const d = (e) => new Promise((t) => setTimeout(t, e));
|
|
10
|
+
class g {
|
|
11
|
+
/**
|
|
12
|
+
* @param {number} maxRetries - The maximum number of retries, if less < 0 then it is set to 0
|
|
13
|
+
* @param {number} delay - The delay between retries
|
|
14
|
+
*/
|
|
15
|
+
constructor(t, a) {
|
|
16
|
+
this.maxRetries = Math.max(t, 0), this.delay = a;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Retries a function until it succeeds or the max number of retries is reached
|
|
20
|
+
*
|
|
21
|
+
* @param {() => Promise<T>} fn - The function to retry
|
|
22
|
+
* @return {Promise<T>} a Promise that resolves to the result of the function
|
|
23
|
+
*/
|
|
24
|
+
async retry(t) {
|
|
25
|
+
let a = 0, r;
|
|
26
|
+
for (; a < this.maxRetries + 1; )
|
|
27
|
+
try {
|
|
28
|
+
return await t();
|
|
29
|
+
} catch (i) {
|
|
30
|
+
a++, r = i, await d(this.delay * a);
|
|
31
|
+
}
|
|
32
|
+
throw r;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
const v = (e) => {
|
|
36
|
+
try {
|
|
37
|
+
return JSON.parse(e);
|
|
38
|
+
} catch {
|
|
39
|
+
return e;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
class m {
|
|
43
|
+
static async _postWithFallback(t, a) {
|
|
44
|
+
let r = "";
|
|
45
|
+
for (const i of t)
|
|
46
|
+
try {
|
|
47
|
+
const s = await fetch(i, {
|
|
48
|
+
method: "POST",
|
|
49
|
+
...a
|
|
50
|
+
});
|
|
51
|
+
if (s.status >= 500) {
|
|
52
|
+
r = await (s.text() || s.json());
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
return await this.parse(s);
|
|
56
|
+
} catch (s) {
|
|
57
|
+
r = y(s);
|
|
58
|
+
continue;
|
|
59
|
+
}
|
|
60
|
+
throw new Error(r || "All APIs failed");
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Asynchronously sends a POST request to multiple URLs with fallback logic.
|
|
64
|
+
*
|
|
65
|
+
* @param {string[]} input - array of URLs to send the POST request to
|
|
66
|
+
* @param {RequestInit} [init] - optional request initialization options
|
|
67
|
+
* @return {Promise<T>} a Promise that resolves to the parsed response data
|
|
68
|
+
*/
|
|
69
|
+
static async postWithFallback(t, a) {
|
|
70
|
+
return await n(a).retry(
|
|
71
|
+
() => this._postWithFallback(t, a)
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
static async _getWithFallback(t, a) {
|
|
75
|
+
let r = "";
|
|
76
|
+
for (const i of t)
|
|
77
|
+
try {
|
|
78
|
+
const s = await fetch(i, a);
|
|
79
|
+
if (s.status >= 500) {
|
|
80
|
+
r = await (s.text() || s.json());
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
return await this.parse(s);
|
|
84
|
+
} catch (s) {
|
|
85
|
+
r = y(s);
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
throw new Error(r || "All APIs failed");
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Asynchronously sends a POST request to multiple URLs with fallback mechanism.
|
|
92
|
+
*
|
|
93
|
+
* @param {string[]} input - An array of URLs to retrieve data from.
|
|
94
|
+
* @param {RequestInit} [init] - Optional request options.
|
|
95
|
+
* @return {Promise<T>} A promise that resolves to the retrieved data.
|
|
96
|
+
*/
|
|
97
|
+
static async getWithFallback(t, a) {
|
|
98
|
+
return await n(a).retry(
|
|
99
|
+
() => this._getWithFallback(t, a)
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
static async _get(t, a) {
|
|
103
|
+
return await this.parse(await fetch(t, a));
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Asynchronously retrieves data of type T from the specified URL or RequestInfo, with optional initialization options.
|
|
107
|
+
*
|
|
108
|
+
* @param {RequestInfo | URL} input - The URL or RequestInfo to fetch data from
|
|
109
|
+
* @param {RequestInit} init - Optional initialization options for the fetch request
|
|
110
|
+
* @return {Promise<T>} The retrieved data of type T
|
|
111
|
+
*/
|
|
112
|
+
static async get(t, a) {
|
|
113
|
+
return await n(a).retry(() => this._get(t, a));
|
|
114
|
+
}
|
|
115
|
+
static async _post(t, a) {
|
|
116
|
+
return await this.parse(
|
|
117
|
+
await fetch(t, {
|
|
118
|
+
method: "POST",
|
|
119
|
+
...a
|
|
120
|
+
})
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Asynchronously sends a POST request to the specified URL or RequestInfo, with optional initialization options.
|
|
125
|
+
*/
|
|
126
|
+
static async post(t, a) {
|
|
127
|
+
return await n(a).retry(() => this._post(t, a));
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Parses the response and returns the result as the specified type.
|
|
131
|
+
*
|
|
132
|
+
* @param {Response} res - the response object to be parsed
|
|
133
|
+
* @return {Promise<T>} the parsed result of type T
|
|
134
|
+
*/
|
|
135
|
+
static async parse(t) {
|
|
136
|
+
const a = await t.text();
|
|
137
|
+
if (t.status >= 200 && t.status < 300)
|
|
138
|
+
return v(a);
|
|
139
|
+
throw new Error(a);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function y(e) {
|
|
143
|
+
return (e == null ? void 0 : e.message) || (e == null ? void 0 : e.toString()) || "unknown error";
|
|
144
|
+
}
|
|
145
|
+
const n = (e) => new g((e == null ? void 0 : e.retryCount) ?? 2, (e == null ? void 0 : e.retryDelay) ?? 1e3);
|
|
146
|
+
var o, c, l;
|
|
147
|
+
class f {
|
|
148
|
+
constructor(t, a, r = void 0) {
|
|
149
|
+
u(this, o, void 0), u(this, c, void 0), u(this, l, void 0), w(this, o, t), w(this, l, r), w(this, c, a);
|
|
150
|
+
}
|
|
151
|
+
get ok() {
|
|
152
|
+
return h(this, o);
|
|
153
|
+
}
|
|
154
|
+
get error() {
|
|
155
|
+
return h(this, l);
|
|
156
|
+
}
|
|
157
|
+
get val() {
|
|
158
|
+
return h(this, c);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
o = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap();
|
|
162
|
+
const k = (e) => new f(!0, e), W = (e, ...t) => {
|
|
163
|
+
if (typeof e == "string" && t && t.length > 0) {
|
|
164
|
+
let a = [e, ...t].map((r) => {
|
|
165
|
+
if (r) {
|
|
166
|
+
if (r instanceof Error)
|
|
167
|
+
return r.message;
|
|
168
|
+
if (typeof r == "string")
|
|
169
|
+
return r;
|
|
170
|
+
if (r != null && r.toString)
|
|
171
|
+
return r.toString();
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
return new f(
|
|
175
|
+
!1,
|
|
176
|
+
null,
|
|
177
|
+
a.filter((r) => r !== void 0).join(" ")
|
|
178
|
+
);
|
|
179
|
+
}
|
|
180
|
+
return new f(!1, null, e);
|
|
181
|
+
};
|
|
2
182
|
export {
|
|
3
|
-
|
|
183
|
+
W as Err,
|
|
184
|
+
m as Fetcher,
|
|
185
|
+
k as Ok,
|
|
186
|
+
f as Result,
|
|
187
|
+
g as Retry,
|
|
188
|
+
v as safeParseJson,
|
|
189
|
+
d as sleep
|
|
4
190
|
};
|
package/dist/index7.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://api.garden.finance";exports.MAINNET_ORDERBOOK_API=e;
|
package/dist/index7.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const r = o.endpoint(e);
|
|
3
|
-
return t && Object.entries(t).forEach(([c, n]) => {
|
|
4
|
-
n !== void 0 && r.searchParams.append(c, n.toString());
|
|
5
|
-
}), r;
|
|
6
|
-
};
|
|
1
|
+
const n = "https://api.garden.finance";
|
|
7
2
|
export {
|
|
8
|
-
|
|
3
|
+
n as MAINNET_ORDERBOOK_API
|
|
9
4
|
};
|
package/dist/index8.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=(n,o,t)=>{const r=n.endpoint(o);return t&&Object.entries(t).forEach(([c,e])=>{e!==void 0&&r.searchParams.append(c,e.toString())}),r};exports.ConstructUrl=i;
|
package/dist/index8.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gardenfi/orderbook",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"registry": "https://registry.npmjs.org/"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@
|
|
30
|
-
"@gardenfi/utils": "^2.0.0",
|
|
29
|
+
"@gardenfi/utils": "^2.0.1",
|
|
31
30
|
"bufferutil": "^4.0.8",
|
|
32
31
|
"siwe": "^2.1.4",
|
|
33
32
|
"utf-8-validate": "^6.0.3",
|