@pear-protocol/core-sdk 2.5.1 → 2.6.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/core/index.d.ts +6 -1
- package/package.json +2 -2
package/dist/core/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare class Core {
|
|
|
37
37
|
/** Read the latest 20 open positions and active automation records per section without account authentication. */
|
|
38
38
|
public: (tradeAccountId: string, headers?: ClientHeaders) => Promise<{
|
|
39
39
|
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
40
|
-
|
|
40
|
+
copyingEnabled: boolean;
|
|
41
41
|
followers: {
|
|
42
42
|
tradeAccountId: string;
|
|
43
43
|
status: "ACTIVE";
|
|
@@ -1441,6 +1441,10 @@ declare class Core {
|
|
|
1441
1441
|
};
|
|
1442
1442
|
})[] | undefined;
|
|
1443
1443
|
}[];
|
|
1444
|
+
xHandle?: string | undefined;
|
|
1445
|
+
xName?: string | undefined;
|
|
1446
|
+
xAvatarUrl?: string | undefined;
|
|
1447
|
+
xUserId?: string | undefined;
|
|
1444
1448
|
}>;
|
|
1445
1449
|
};
|
|
1446
1450
|
accounts: {
|
|
@@ -10350,6 +10354,7 @@ declare class Core {
|
|
|
10350
10354
|
tradeAccountId: string;
|
|
10351
10355
|
userId: string;
|
|
10352
10356
|
connector: "hyperliquid" | "binance" | "bybit" | "okx" | "lighter" | "lighter_rhc";
|
|
10357
|
+
copyingEnabled: boolean;
|
|
10353
10358
|
followers: {
|
|
10354
10359
|
tradeAccountId: string;
|
|
10355
10360
|
status: "ACTIVE";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pear-protocol/core-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "Pear Protocol Core SDK",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsc --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@pear-protocol/types": "^2.
|
|
29
|
+
"@pear-protocol/types": "^2.13.0",
|
|
30
30
|
"@pear-protocol/utils": "^1.3.0",
|
|
31
31
|
"qs": "^6.14.0"
|
|
32
32
|
},
|