@strkfarm/sdk 1.1.45 → 1.1.46
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.
|
@@ -61533,7 +61533,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
61533
61533
|
let vesuPositions = [];
|
|
61534
61534
|
try {
|
|
61535
61535
|
const data2 = await getAPIUsingHeadlessBrowser(
|
|
61536
|
-
|
|
61536
|
+
`https://staging.api.vesu.xyz/positions?walletAddress=${this.address.address}`
|
|
61537
61537
|
);
|
|
61538
61538
|
vesuPositions = data2.data;
|
|
61539
61539
|
} catch (e) {
|
package/dist/index.browser.mjs
CHANGED
|
@@ -9935,7 +9935,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9935
9935
|
let vesuPositions = [];
|
|
9936
9936
|
try {
|
|
9937
9937
|
const data2 = await getAPIUsingHeadlessBrowser(
|
|
9938
|
-
|
|
9938
|
+
`https://staging.api.vesu.xyz/positions?walletAddress=${this.address.address}`
|
|
9939
9939
|
);
|
|
9940
9940
|
vesuPositions = data2.data;
|
|
9941
9941
|
} catch (e) {
|
package/dist/index.js
CHANGED
|
@@ -9939,7 +9939,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9939
9939
|
let vesuPositions = [];
|
|
9940
9940
|
try {
|
|
9941
9941
|
const data2 = await getAPIUsingHeadlessBrowser(
|
|
9942
|
-
|
|
9942
|
+
`https://staging.api.vesu.xyz/positions?walletAddress=${this.address.address}`
|
|
9943
9943
|
);
|
|
9944
9944
|
vesuPositions = data2.data;
|
|
9945
9945
|
} catch (e) {
|
package/dist/index.mjs
CHANGED
|
@@ -9833,7 +9833,7 @@ var VesuRebalance = class _VesuRebalance extends BaseStrategy {
|
|
|
9833
9833
|
let vesuPositions = [];
|
|
9834
9834
|
try {
|
|
9835
9835
|
const data2 = await getAPIUsingHeadlessBrowser(
|
|
9836
|
-
|
|
9836
|
+
`https://staging.api.vesu.xyz/positions?walletAddress=${this.address.address}`
|
|
9837
9837
|
);
|
|
9838
9838
|
vesuPositions = data2.data;
|
|
9839
9839
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strkfarm/sdk",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.46",
|
|
4
4
|
"description": "STRKFarm TS SDK (Meant for our internal use, but feel free to use it)",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"accountsecure": "dist/cli.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
|
+
|
|
11
12
|
".": {
|
|
12
13
|
"import": {
|
|
13
14
|
"browser": "./dist/index.browser.mjs",
|
|
@@ -448,7 +448,7 @@ export class VesuRebalance extends BaseStrategy<
|
|
|
448
448
|
let vesuPositions: any[] = [];
|
|
449
449
|
try {
|
|
450
450
|
const data = await getAPIUsingHeadlessBrowser(
|
|
451
|
-
|
|
451
|
+
`https://staging.api.vesu.xyz/positions?walletAddress=${this.address.address}`
|
|
452
452
|
);
|
|
453
453
|
vesuPositions = data.data;
|
|
454
454
|
} catch (e) {
|