@pear-protocol/core-sdk
Advanced tools
@@ -308,2 +308,9 @@ class Core { | ||
| }, | ||
| reverse: async (positionId, body, headers) => { | ||
| return await this.client.fetch(`/trade/${positionId}/reverse`, { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| }); | ||
| }, | ||
| closeAll: async (body, headers) => { | ||
@@ -310,0 +317,0 @@ return await this.client.fetch(`/trade/close-all`, { |
+2
-2
| { | ||
| "name": "@pear-protocol/core-sdk", | ||
| "version": "1.1.0", | ||
| "version": "1.2.0", | ||
| "description": "Pear Protocol Core SDK", | ||
@@ -28,3 +28,3 @@ "private": false, | ||
| "dependencies": { | ||
| "@pear-protocol/types": "^1.1.0", | ||
| "@pear-protocol/types": "^1.3.0", | ||
| "@pear-protocol/utils": "^0.0.23", | ||
@@ -31,0 +31,0 @@ "qs": "^6.14.0" |
Sorry, the diff of this file is too big to display
176966
9.3%4653
7.91%89
1.14%Updated