@banked/node
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -5,2 +5,5 @@ # Changelog | ||
### [0.0.12](https://github.com/banked/banked-node/compare/v0.0.12...v0.0.13) (2020-06-17) | ||
### [0.0.12](https://github.com/banked/banked-node/compare/v0.0.11...v0.0.12) (2020-03-18) | ||
@@ -7,0 +10,0 @@ |
{ | ||
"name": "@banked/node", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "Node.js library for the Banked API", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -102,2 +102,8 @@ # banked-node | ||
### Bank Accounts | ||
```javascript | ||
const bankAccounts = await banked.bankAccounts.list(); | ||
```` | ||
## Development | ||
@@ -126,2 +132,2 @@ | ||
MIT | ||
MIT |
@@ -14,3 +14,5 @@ // Setup | ||
// Providers | ||
import readProviders from "./providers/read"; | ||
import listProviders from "./providers/list"; | ||
// Bank Accounts | ||
import listBankAccounts from "./bank_accounts/list"; | ||
@@ -37,4 +39,8 @@ class Banked { | ||
this.providers = { | ||
read: readProviders | ||
read: listProviders, | ||
list: listProviders | ||
}; | ||
this.bankAccounts = { | ||
list: listBankAccounts | ||
}; | ||
} | ||
@@ -41,0 +47,0 @@ } |
@@ -7,3 +7,3 @@ import axios from "axios"; | ||
instance = axios.create({ | ||
baseURL: "https://banked.me/api/v2", | ||
baseURL: "https://api.banked.com/v2", | ||
timeout: 3000 | ||
@@ -10,0 +10,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23186
32
499
132