be-api-client
Advanced tools
Comparing version 0.0.17 to 0.0.18
16
index.js
@@ -138,3 +138,3 @@ const rp = require('request-promise-native') | ||
async function addFund(id, name, mancoName, contractAddress){ | ||
async function addFund(id, name, mancoName, unitTokenContractId, currencyTokenContractId, buyMarketMakerContractId, sellMarketMakerContractId, unitPrice){ | ||
const form = { | ||
@@ -144,3 +144,7 @@ id, | ||
mancoName, | ||
contractAddress | ||
unitTokenContractId, | ||
currencyTokenContractId, | ||
buyMarketMakerContractId, | ||
sellMarketMakerContractId, | ||
unitPrice | ||
} | ||
@@ -191,4 +195,4 @@ return await doPost('/funds', form) | ||
const query = { | ||
endDate, | ||
startDate | ||
startDate, | ||
endDate | ||
} | ||
@@ -200,4 +204,4 @@ return await doGet('/funds/'+fundId+'/buyOrders', query) | ||
const query = { | ||
endDate, | ||
startDate | ||
startDate, | ||
endDate | ||
} | ||
@@ -204,0 +208,0 @@ return await doGet('/funds/'+fundId+'/sellOrders', query) |
{ | ||
"name": "be-api-client", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "A node.js client for the be-api.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
6965
206
1