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.56 to 0.0.57

55

index.js

@@ -231,7 +231,6 @@ const rp = require('request-promise-native')

async function addUser(id, role, ethAccountAddress, fullName){
async function addUser(id, role, ethAccountAddress){
const form = {
id,
role,
fullName,
ethAccountAddress

@@ -245,3 +244,3 @@ }

}
async function getUsers(){

@@ -287,2 +286,42 @@ return await doGet('/users')

async function addQuote(
baseCurrency,
termCurrency,
priceIncludingMarkup,
minAmount,
maxAmount,
holdingPeriodValue,
holdingPeriodUnits,
mode,
permission,
entityId,
contractId
){
const form = {
baseCurrency,
termCurrency,
priceIncludingMarkup,
minAmount,
maxAmount,
holdingPeriodValue,
holdingPeriodUnits,
mode,
permission,
entityId,
contractId
}
return await doPost('/quotes', form)
}
async function getQuotes() {
return await doGet('/quotes')
}
async function updateQuote(quoteId, priceIncludingMarkup){
form = {
priceIncludingMarkup
}
return await doPut(`/quotes/${quoteId}`, form)
}
async function addInstruction(country, legalEntity, currency, account, amountRequestedToTokenize, requestedBy){

@@ -345,2 +384,6 @@ const form = {

async function updatePayment(paymentId, fieldsToUpdate){
return await doPut('/payments/'+paymentId, fieldsToUpdate)
}
return {

@@ -377,2 +420,5 @@ isAPIRunning,

getInstructions,
addQuote,
getQuotes,
updateQuote,
updateIssuance,

@@ -383,3 +429,4 @@ getIssuances,

addPayment,
getPayments
getPayments,
updatePayment
}

@@ -386,0 +433,0 @@ }

8

package.json
{
"name": "be-api-client",
"version": "0.0.56",
"version": "0.0.57",
"description": "A node.js client for the be-api.",

@@ -11,3 +11,3 @@ "main": "index.js",

"type": "git",
"url": "git+https://github.com/AdharaProjects/be-api-client.git"
"url": "git+https://github.com/AdharaProjects/be-api.git"
},

@@ -17,5 +17,5 @@ "author": "Ryno Beyers",

"bugs": {
"url": "https://github.com/AdharaProjects/be-api-client/issues"
"url": "https://github.com/AdharaProjects/be-api/issues"
},
"homepage": "https://github.com/AdharaProjects/be-api-client#readme",
"homepage": "https://github.com/AdharaProjects/be-api#readme",
"dependencies": {

@@ -22,0 +22,0 @@ "ajv": "6.5.5",

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