@pear-protocol/core-sdk 0.0.23 → 0.0.24
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 -2
- package/package.json +3 -3
package/dist/core/index.d.ts
CHANGED
|
@@ -371,7 +371,7 @@ declare class Core {
|
|
|
371
371
|
}>;
|
|
372
372
|
};
|
|
373
373
|
instruments: {
|
|
374
|
-
list: (query: HttpTypes.
|
|
374
|
+
list: (query: HttpTypes.InstrumentListParamsInput, headers?: ClientHeaders) => Promise<{
|
|
375
375
|
instruments: {
|
|
376
376
|
id: string;
|
|
377
377
|
base: string;
|
|
@@ -395,9 +395,13 @@ declare class Core {
|
|
|
395
395
|
max?: number | null | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
};
|
|
398
|
+
tradeability: {
|
|
399
|
+
status: "tradable" | "reduce_only" | "not_tradable";
|
|
400
|
+
reason: string | null;
|
|
401
|
+
};
|
|
398
402
|
}[];
|
|
399
403
|
}>;
|
|
400
|
-
symbolToIdMap: (query: HttpTypes.
|
|
404
|
+
symbolToIdMap: (query: HttpTypes.InstrumentListParamsInput, headers?: ClientHeaders) => Promise<{
|
|
401
405
|
data: Record<string, string>;
|
|
402
406
|
}>;
|
|
403
407
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pear-protocol/core-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "Pear Protocol Core SDK",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"typecheck": "tsc --noEmit"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@pear-protocol/types": "^0.0.
|
|
29
|
-
"@pear-protocol/utils": "^0.0.
|
|
28
|
+
"@pear-protocol/types": "^0.0.21",
|
|
29
|
+
"@pear-protocol/utils": "^0.0.21",
|
|
30
30
|
"qs": "^6.14.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|