@pear-protocol/exchanges-sdk 0.1.5 → 0.1.7
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.
|
@@ -9,7 +9,6 @@ async function fetchApiKeys(accountIndex) {
|
|
|
9
9
|
}
|
|
10
10
|
async function fetchAccountsByL1Address(l1Address) {
|
|
11
11
|
const res = await fetch(`${LIGHTER_BASE_URL}/api/v1/accountsByL1Address?l1_address=${l1Address}`);
|
|
12
|
-
if (!res.ok) throw new Error(`Lighter /accountsByL1Address returned ${res.status}`);
|
|
13
12
|
return res.json();
|
|
14
13
|
}
|
|
15
14
|
async function fetchAccount(accountIndex) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pear-protocol/exchanges-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "Pear Protocol Exchanges SDK",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"typecheck": "tsc --noEmit"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@pear-protocol/core-sdk": "^0.0.
|
|
29
|
-
"@pear-protocol/types": "^0.0.
|
|
30
|
-
"@pear-protocol/utils": "^0.0.
|
|
28
|
+
"@pear-protocol/core-sdk": "^0.0.22",
|
|
29
|
+
"@pear-protocol/types": "^0.0.19",
|
|
30
|
+
"@pear-protocol/utils": "^0.0.19",
|
|
31
31
|
"bignumber.js": "^11.1.1",
|
|
32
32
|
"partysocket": "^1.0.3",
|
|
33
33
|
"viem": "^2.48.8"
|