🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@pear-protocol/core-sdk

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pear-protocol/core-sdk - npm Package Compare versions

Comparing version
0.0.17
to
0.0.18
+45
-0
dist/core/index.js

@@ -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