🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@pear-protocol/core-sdk

Package Overview
Dependencies
Maintainers
4
Versions
30
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
1.2.0
to
1.3.0
+28
-0
dist/core/index.js

@@ -116,2 +116,30 @@ class Core {

};
ladders = {
list: async (query, headers) => {
return await this.client.fetch(`/ladders`, {
method: "GET",
headers,
query
});
},
create: async (body, headers) => {
return await this.client.fetch(`/ladders`, {
method: "POST",
headers,
body
});
},
get: async (ladderId, headers) => {
return await this.client.fetch(`/ladders/${ladderId}`, {
method: "GET",
headers
});
},
cancel: async (ladderId, headers) => {
return await this.client.fetch(`/ladders/${ladderId}/cancel`, {
method: "POST",
headers
});
}
};
instruments = {

@@ -118,0 +146,0 @@ list: async (query, headers) => {

+2
-2
{
"name": "@pear-protocol/core-sdk",
"version": "1.2.0",
"version": "1.3.0",
"description": "Pear Protocol Core SDK",

@@ -28,3 +28,3 @@ "private": false,

"dependencies": {
"@pear-protocol/types": "^1.3.0",
"@pear-protocol/types": "^1.4.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