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
12
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.72 to 0.0.73

be-api-client-0.0.64.tgz

31

index.js

@@ -133,11 +133,4 @@ const httpContext = require('express-http-context')

async function addTokenAccount(entityId, ethAddress, beneficiaryName, contractId, userId){
const form = {
entityId,
ethAddress,
beneficiaryName,
contractId,
userId
}
return await doPost('/users/'+userId+'/tokenAccounts', form)
async function addTokenAccount(userId, tokenAccount){
return await doPost('/users/'+userId+'/tokenAccounts', tokenAccount)
}

@@ -387,8 +380,16 @@

async function addPayment(paymentsProperties) {
/*
* Expects "receivingBank", "sendingBank", "reference", "originalSwiftMessage", "debtorDetails", "creditorDetails", "sendingCurrency", "receivingCurrency", "rate".
* Optionally add either "sendingAmount" or "receivingAmount".
*/
return await doPost('/payments', paymentsProperties)
async function addPayment(receivingBank, sendingBank, reference, originalSwiftMessage, debtorDetails, creditorDetails, sendingAmount, sendingCurrency, receivingCurrency, rate) {
const body = {
receivingBank,
sendingBank,
reference,
originalSwiftMessage,
debtorDetails,
creditorDetails,
sendingAmount,
sendingCurrency,
receivingCurrency,
rate
}
return await doPost('/payments', body)
}

@@ -395,0 +396,0 @@

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

@@ -5,0 +5,0 @@ "engines": {

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