@banked/node
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -5,2 +5,6 @@ # Changelog | ||
### [0.0.14](https://github.com/banked/banked-node/compare/v0.0.12...v0.0.14) (2020-06-30) | ||
### [0.0.12](https://github.com/banked/banked-node/compare/v0.0.12...v0.0.13) (2020-06-17) | ||
@@ -7,0 +11,0 @@ |
@@ -19,4 +19,12 @@ "use strict"; | ||
var _read3 = _interopRequireDefault(require("./providers/read")); | ||
var _create3 = _interopRequireDefault(require("./webhooks/create")); | ||
var _list = _interopRequireDefault(require("./webhooks/list")); | ||
var _delete2 = _interopRequireDefault(require("./webhooks/delete")); | ||
var _list2 = _interopRequireDefault(require("./providers/list")); | ||
var _list3 = _interopRequireDefault(require("./bank_accounts/list")); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -29,2 +37,3 @@ | ||
// Providers | ||
// Bank Accounts | ||
class Banked { | ||
@@ -49,7 +58,14 @@ constructor(keys = {}) { | ||
this.webhooks = { | ||
create: _create3.default, | ||
delete: _delete2.default, | ||
list: _list.default, | ||
validate: _validate.default | ||
}; | ||
this.providers = { | ||
read: _read3.default | ||
read: _list2.default, | ||
list: _list2.default | ||
}; | ||
this.bankAccounts = { | ||
list: _list3.default | ||
}; | ||
} | ||
@@ -56,0 +72,0 @@ |
@@ -16,3 +16,3 @@ "use strict"; | ||
instance = _axios.default.create({ | ||
baseURL: "https://banked.me/api/v2", | ||
baseURL: "https://api.banked.com/v2", | ||
timeout: 3000 | ||
@@ -19,0 +19,0 @@ }); |
{ | ||
"name": "@banked/node", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "Node.js library for the Banked API", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -13,2 +13,6 @@ // Setup | ||
import validate from "./webhooks/validate"; | ||
import createWebhook from "./webhooks/create"; | ||
import listWebhooks from "./webhooks/list"; | ||
import deleteWebhook from "./webhooks/delete"; | ||
// Providers | ||
@@ -36,2 +40,5 @@ import listProviders from "./providers/list"; | ||
this.webhooks = { | ||
create: createWebhook, | ||
delete: deleteWebhook, | ||
list: listWebhooks, | ||
validate | ||
@@ -38,0 +45,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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
35
21826
468
1