@pear-protocol/core-sdk
Advanced tools
+45
-0
@@ -229,2 +229,47 @@ class Core { | ||
| }; | ||
| misc = { | ||
| lighter: { | ||
| createApiKey: async (body, headers) => { | ||
| return await this.client.fetch(`/misc/lighter/create-api-key`, { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| }); | ||
| }, | ||
| changePubKey: async (body, headers) => { | ||
| return await this.client.fetch(`/misc/lighter/change-pub-key`, { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| }); | ||
| }, | ||
| prepareApproveIntegrator: async (body, headers) => { | ||
| return await this.client.fetch( | ||
| `/misc/lighter/prepare-approve-integrator`, | ||
| { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| } | ||
| ); | ||
| }, | ||
| submitApproveIntegrator: async (body, headers) => { | ||
| return await this.client.fetch( | ||
| `/misc/lighter/submit-approve-integrator`, | ||
| { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| } | ||
| ); | ||
| }, | ||
| createAuthToken: async (body, headers) => { | ||
| return await this.client.fetch(`/misc/lighter/create-auth-token`, { | ||
| method: "POST", | ||
| headers, | ||
| body | ||
| }); | ||
| } | ||
| } | ||
| }; | ||
| statistics = { | ||
@@ -231,0 +276,0 @@ daily: async (query, headers) => { |
+3
-3
| { | ||
| "name": "@pear-protocol/core-sdk", | ||
| "version": "0.0.17", | ||
| "version": "0.0.18", | ||
| "description": "Pear Protocol Core SDK", | ||
@@ -28,4 +28,4 @@ "private": false, | ||
| "dependencies": { | ||
| "@pear-protocol/types": "0.0.15", | ||
| "@pear-protocol/utils": "0.0.15", | ||
| "@pear-protocol/types": "0.0.16", | ||
| "@pear-protocol/utils": "0.0.16", | ||
| "qs": "^6.14.0" | ||
@@ -32,0 +32,0 @@ }, |
Sorry, the diff of this file is too big to display
101543
2.6%2739
3.05%55
10%+ Added
+ Added
- Removed
- Removed
Updated
Updated