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

be-api-client

Package Overview
Dependencies
Maintainers
11
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

be-api-client - npm Package Compare versions

Comparing version 0.0.25 to 0.0.26

24

index.js

@@ -171,15 +171,14 @@ const rp = require('request-promise-native')

async function injectFundUnitPrice(fundId, unitPrice){
async function setFundUnitPrice(id, unitPrice){
const form = {
fundId,
unitPrice
}
return await doPost('/funds/'+fundId+'/unitPrice', form)
return await doPost('/funds/'+id+'/unitPrice', form)
}
async function getFundProcessStatus(fundId, processId){
async function getFundProcessStatus(id, processId){
const query = {
processId
}
return await doGet('/funds/'+fundId+'/processStatus', query)
return await doGet('/funds/'+id+'/processStatus', query)
}

@@ -208,13 +207,2 @@

async function addUser(id){
const form = {
id
}
return await doPost('/users', form)
}
async function getUsers(){
return await doGet('/users')
}
async function entityId(){

@@ -243,3 +231,3 @@ return await doGet('/entities/entityId')

addFundSellOrders,
injectFundUnitPrice,
setFundUnitPrice,
getFundProcessStatus,

@@ -249,4 +237,2 @@ getFundUnitBalances,

getFundSellOrdersByDate,
addUser,
getUsers,
entityId,

@@ -253,0 +239,0 @@ contractIds

{
"name": "be-api-client",
"version": "0.0.25",
"version": "0.0.26",
"description": "A node.js client for the be-api.",

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

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