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

balanced-node-new

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balanced-node-new - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

lib/balanced.js

4

package.json
{
"name": "balanced-node-new",
"description": "Offical Balanced Payments API Client for node.js, https://www.balancedpayments.com/docs/api",
"version": "0.4.0",
"version": "0.4.1",
"author": "Balanced Payments / uh-sem-blee, Co. | typefoo",

@@ -20,3 +20,3 @@ "contributors": [

"license": "MIT",
"main": "./lib_new/balanced.js",
"main": "./lib/balanced.js",
"engines": {

@@ -23,0 +23,0 @@ "node": ">= 0.8.0"

@@ -15,3 +15,3 @@ Balanced Node.js library

```
npm install balanced-official
npm install balanced-node-new
```

@@ -35,3 +35,3 @@

```js
var balanced = require('balanced');
var balanced = require('balanced-node-new');

@@ -38,0 +38,0 @@ balanced.init("API_SECRET", "MARKETPLACE_URI");

@@ -48,18 +48,57 @@ module.exports = {

account_create_hold: {
module: 'account',
method: 'add_hold',
data: {
amount: "${payload['amount'] if payload else request['amount'] or '1100'}"
},
urlOptions: {
account_id: "${request['account']['id']}"
}
},
account_create_merchant: {
module: 'account',
method: 'add_bank',
data: {
card_uri: "${request['bank']['uri']}"
}
urlOptions: {
account_id: "${request['account']['id']}"
}
},
account_underwrite_business: {
module: 'account',
method: 'add_underwriter',
data: {
merchant: {}
},
urlOptions: {
account_id: "${request['account']['id']}"
}
},
account_underwrite_person: {
module: 'account',
method: 'add_underwriter',
data: {
merchant: {}
},
urlOptions: {
account_id: "${request['account']['id']}"
}
},
bank_account_create: {
module: 'bank',
method: 'create',
data: {
name: "${payload['name'] if payload else request['bank_account']['name']}",
account_number: "${payload['account_number'] if payload else request['bank_account']['account_number']}",
routing_number: "${payload['routing_number'] if payload else request['bank_account']['routing_number']}",
type: "checking"
}
},
bank_account_delete: {
module: 'bank',
method: 'delete',
urlOptions: {
bank_account_id: "${request['bank']['id']}"
}
},

@@ -66,0 +105,0 @@ bank_account_find_and_credit: {

Sorry, the diff of this file is not supported yet

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