@elevenyellow.com/switchain-api-client
Advanced tools
Comparing version 3.3.0 to 3.4.0
{ | ||
"name": "@elevenyellow.com/switchain-api-client", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "client module to access switchains's api", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -11,3 +11,10 @@ const fetch = require('isomorphic-unfetch') | ||
getOffer({ pair, amount, apiKey, apiUrl: finalApiUrl }), | ||
postOrder: ({ toAddress, refundAddress, pair, fromAmount, signature }) => | ||
postOrder: ({ | ||
toAddress, | ||
refundAddress, | ||
pair, | ||
fromAmount, | ||
toAmount, | ||
signature | ||
}) => | ||
postOrder({ | ||
@@ -18,2 +25,3 @@ toAddress, | ||
fromAmount, | ||
toAmount, | ||
signature, | ||
@@ -67,2 +75,3 @@ apiKey, | ||
fromAmount, | ||
toAmount, | ||
signature, | ||
@@ -78,3 +87,4 @@ apiKey, | ||
pair, | ||
fromAmount | ||
fromAmount, | ||
toAmount | ||
} | ||
@@ -81,0 +91,0 @@ if (signature) body.signature = signature |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6227
138
5