@pear-protocol/core-sdk
Advanced tools
+28
-0
@@ -256,2 +256,30 @@ class Core { | ||
| }; | ||
| savedBaskets = { | ||
| list: async (headers) => { | ||
| return await this.client.fetch(`/saved-baskets`, { | ||
| method: "GET", | ||
| headers | ||
| }); | ||
| }, | ||
| create: async (body, headers) => { | ||
| return await this.client.fetch(`/saved-baskets`, { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| }); | ||
| }, | ||
| update: async (id, body, headers) => { | ||
| return await this.client.fetch(`/saved-baskets/${id}`, { | ||
| method: "PATCH", | ||
| headers, | ||
| body | ||
| }); | ||
| }, | ||
| delete: async (id, headers) => { | ||
| return await this.client.fetch(`/saved-baskets/${id}`, { | ||
| method: "DELETE", | ||
| headers | ||
| }); | ||
| } | ||
| }; | ||
| schedules = { | ||
@@ -258,0 +286,0 @@ list: async (query, headers) => { |
+1
-1
| { | ||
| "name": "@pear-protocol/core-sdk", | ||
| "version": "1.3.0", | ||
| "version": "1.4.0", | ||
| "description": "Pear Protocol Core SDK", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is too big to display
238474
1.04%6081
1.37%97
4.3%