New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jupiter-node-sdk

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jupiter-node-sdk - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

2

package.json
{
"name": "jupiter-node-sdk",
"version": "0.0.9",
"version": "0.1.0",
"description": "A thin wrapper around the Jupiter blockchain APIs.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -23,2 +23,3 @@ import assert from 'assert'

headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'User-Agent': 'jupiter-node-sdk',

@@ -294,10 +295,14 @@ },

switch (verb) {
case 'post':
return await this.client.post(
path,
undefined, // opts && opts.body
{
params: opts && opts.params,
}
)
case 'post': {
const requestType =
(opts && opts.params && opts.params.requestType) ||
(opts && opts.body && opts.body.requestType)
let body = opts && { ...opts.body, ...opts.params }
delete body.requestType
return await this.client.post(path, body, {
params: {
requestType,
},
})
}

@@ -331,3 +336,3 @@ default:

params?: any
// body?: any
body?: any
dontTest?: boolean

@@ -334,0 +339,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc