Socket
Socket
Sign inDemoInstall

@moovio/node

Package Overview
Dependencies
21
Maintainers
7
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.14 to 0.1.15

lib/representatives.js

4

lib/helpers/errors.js

@@ -6,2 +6,3 @@ export const Err = {

CardID: "cardID is required",
RepresentativeID: "representativeID is required",
PublicKey: "publicKey is required",

@@ -21,3 +22,4 @@ SecretKey: "secretKey is required",

MISSING_ENRICH_ADDRESS_SEARCH_ERROR_MESSAGE: "Please provide a partial or complete address to search.",
MISSING_INSTITUTION_NAME_OR_ROUTING_ERROR_MESSAGE: "Please provide a financial institution's name or routing number to search."
MISSING_INSTITUTION_NAME_OR_ROUTING_ERROR_MESSAGE: "Please provide a financial institution's name or routing number to search.",
MISSING_REPRESENTATIVE_ERROR_MESSAGE: "Please provide representative details."
};

@@ -19,2 +19,3 @@ import got from "got";

import { PaymentMethods } from "./paymentMethods.js";
import { Representatives } from "./representatives.js";
import { Transfers } from "./transfers.js";

@@ -238,3 +239,3 @@ import { Wallets } from "./wallets.js";

* @summary
* Generates an OAuth token required by Moov API requests.
* Generates an OAuth token required by Moov API requests. For more on our authentication protocol, read our [quick start guide](/guides/quick-start/#create-an-access-token).
*

@@ -247,4 +248,4 @@ * @param {SCOPES[]} scopes - One or more permissions to request

* @description
* You only need call this function when generating tokens for Moov.js and
* Moov Drops. The other functions in this library generate tokens for you
* You only need call this function when generating tokens for [Moov.js](/moovjs) and
* [Moov Drops](/moovjs/drops). The other functions in this library generate tokens for you
* automatically.

@@ -491,2 +492,22 @@ *

/**
* Gets the Representatives API.
* @returns {Representatives}
* @tag Moov
*
* @example
* const moov = new Moov(...);
* try {
* await moov.representatives.create(...);
* } catch (err) {
* // ...
* }
*/
get representatives() {
if (!this._representatives) {
this._representatives = new Representatives(this);
}
return this._representatives;
}
/**
* Gets the Transfers API.

@@ -493,0 +514,0 @@ * @returns {Transfers}

@@ -5,2 +5,3 @@ export namespace Err {

const CardID: string;
const RepresentativeID: string;
const PublicKey: string;

@@ -21,3 +22,4 @@ const SecretKey: string;

const MISSING_INSTITUTION_NAME_OR_ROUTING_ERROR_MESSAGE: string;
const MISSING_REPRESENTATIVE_ERROR_MESSAGE: string;
}
//# sourceMappingURL=errors.d.ts.map

@@ -248,2 +248,17 @@ /**

/**
* Gets the Representatives API.
* @returns {Representatives}
* @tag Moov
*
* @example
* const moov = new Moov(...);
* try {
* await moov.representatives.create(...);
* } catch (err) {
* // ...
* }
*/
get representatives(): Representatives;
_representatives: Representatives;
/**
* Gets the Transfers API.

@@ -313,3 +328,4 @@ * @returns {Transfers}

import { Institutions } from "./institutions.js";
import { Representatives } from "./representatives.js";
import { Wallets } from "./wallets.js";
//# sourceMappingURL=moov.d.ts.map
{
"name": "@moovio/node",
"version": "0.1.14",
"version": "0.1.15",
"description": "Node SDK for the Moov API and Dashboard",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc