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

connect-react-native

Package Overview
Dependencies
Maintainers
3
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-react-native - npm Package Compare versions

Comparing version 2.35.0 to 2.36.0

android/.idea/libraries/Gradle__androidx_tracing_tracing_1_1_0_aar.xml

245

lib/commonjs/index.js

@@ -8,2 +8,3 @@ "use strict";

DapiConfigurations: true,
DapiThemeConfigurations: true,
DapiConnection: true,

@@ -18,8 +19,5 @@ DapiPair: true,

};
exports.default = exports.DapiWireBeneficiary = exports.DapiPair = exports.DapiLineAddress = exports.DapiConnection = exports.DapiConfigurations = exports.DapiCardBalance = exports.DapiCard = exports.DapiBeneficiary = exports.DapiAccount = void 0;
exports.default = exports.DapiWireBeneficiary = exports.DapiThemeConfigurations = exports.DapiPair = exports.DapiLineAddress = exports.DapiConnection = exports.DapiConfigurations = exports.DapiCardBalance = exports.DapiCard = exports.DapiBeneficiary = exports.DapiAccount = void 0;
var _nativeInterface = _interopRequireDefault(require("./internal/nativeInterface"));
var _types = require("./internal/types");
Object.keys(_types).forEach(function (key) {

@@ -36,58 +34,34 @@ if (key === "default" || key === "__esModule") return;

});
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
class DapiConfigurations {
constructor(countries) {
let environment = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _types.DapiEnvironment.production;
_defineProperty(this, "environment", void 0);
_defineProperty(this, "countries", void 0);
_defineProperty(this, "endpoints", void 0);
_defineProperty(this, "endPointExtraQueryItems", void 0);
_defineProperty(this, "endPointExtraHeaderFields", void 0);
_defineProperty(this, "endPointExtraBody", void 0);
_defineProperty(this, "showLogos", void 0);
_defineProperty(this, "showCloseButton", void 0);
_defineProperty(this, "showAddButton", void 0);
_defineProperty(this, "showTransferSuccessfulResult", void 0);
_defineProperty(this, "showTransferErrorResult", void 0);
_defineProperty(this, "showExperimentalBanks", void 0);
_defineProperty(this, "postSuccessfulConnectionLoadingText", void 0);
_defineProperty(this, "theme", void 0);
this.environment = environment;
this.countries = countries;
}
}
exports.DapiConfigurations = DapiConfigurations;
class TransferResponse {
constructor(amount, operationID, account, remark, reference) {
_defineProperty(this, "account", void 0);
constructor(amount, operationID, accountID, remark, reference) {
_defineProperty(this, "accountID", void 0);
_defineProperty(this, "amount", void 0);
_defineProperty(this, "operationID", void 0);
_defineProperty(this, "remark", void 0);
_defineProperty(this, "reference", void 0);
this.account = account;
this.accountID = accountID;
this.amount = amount;

@@ -98,5 +72,12 @@ this.operationID = operationID;

}
}
class DapiThemeConfigurations {
constructor(enforceTheme, primaryColor) {
_defineProperty(this, "enforceTheme", void 0);
_defineProperty(this, "primaryColor", void 0);
this.enforceTheme = enforceTheme;
this.primaryColor = primaryColor;
}
}
exports.DapiThemeConfigurations = DapiThemeConfigurations;
class DapiConnection {

@@ -106,51 +87,32 @@ get clientUserID() {

}
get userID() {
return this._userID;
}
get bankID() {
return this._bankID;
}
get swiftCode() {
return this._swiftCode;
}
get country() {
return this._country;
}
get bankShortName() {
return this._bankShortName;
}
get bankFullName() {
return this._bankFullName;
}
get accounts() {
return this._accounts;
}
get cards() {
return this._cards;
}
get fullLogo() {
return this._fullLogo;
}
get halfLogo() {
return this._halfLogo;
}
get miniLogo() {
return this._miniLogo;
}
static async create(jsonConnectionDetails) {
var promise = new Promise(async (resolve, reject) => {
const isStarted = await Dapi.instance.isStarted();
if (!isStarted) {

@@ -160,10 +122,7 @@ reject("Dapi SDK is not started yet. It's not permitted to call create() (or any other method) on Dapi SDK unless started.");

}
_nativeInterface.default.createConnection(jsonConnectionDetails).then(newJSONConnection => {
Dapi.instance.getConnections().then(connections => {
let isResolved = false;
for (let index = 0; index < connections.length; index++) {
const element = connections[index];
if (element.userID === newJSONConnection.userID) {

@@ -175,3 +134,2 @@ isResolved = true;

}
if (!isResolved) {

@@ -189,28 +147,13 @@ reject('matchingConnection is undefined');

}
constructor(clientUserID, userID, bankID, swiftCode, country, bankShortName, bankFullName, accounts, cards, fullLogo, halfLogo, miniLogo) {
constructor(clientUserID, userID, bankID, swiftCode, country, bankShortName, bankFullName, fullLogo, halfLogo, miniLogo) {
_defineProperty(this, "_clientUserID", void 0);
_defineProperty(this, "_userID", void 0);
_defineProperty(this, "_bankID", void 0);
_defineProperty(this, "_swiftCode", void 0);
_defineProperty(this, "_country", void 0);
_defineProperty(this, "_bankShortName", void 0);
_defineProperty(this, "_bankFullName", void 0);
_defineProperty(this, "_accounts", void 0);
_defineProperty(this, "_cards", void 0);
_defineProperty(this, "_fullLogo", void 0);
_defineProperty(this, "_halfLogo", void 0);
_defineProperty(this, "_miniLogo", void 0);
this._clientUserID = clientUserID;

@@ -223,4 +166,2 @@ this._userID = userID;

this._bankFullName = bankFullName;
this._accounts = accounts;
this._cards = cards;
this._fullLogo = fullLogo;

@@ -230,48 +171,35 @@ this._halfLogo = halfLogo;

}
async presentAccountSelection() {
let response = await _nativeInterface.default.presentAccountSelection(this.userID);
return this.getAccount(response);
return _nativeInterface.default.presentAccountSelection(this.userID);
}
getParameters() {
return _nativeInterface.default.getConnectionParameters(this.userID);
}
getIdentity() {
return _nativeInterface.default.getIdentity(this.userID);
}
getAccounts() {
return _nativeInterface.default.getAccounts(this.userID);
}
getCards() {
return _nativeInterface.default.getCards(this.userID);
}
getTransactionsForAccount(account, startDate, endDate, type) {
return _nativeInterface.default.getTransactionsForAccount(this.userID, account.id, startDate.getTime(), endDate.getTime(), type);
}
getTransactionsForCard(card, startDate, endDate, type) {
return _nativeInterface.default.getTransactionsForCard(this.userID, card.id, startDate.getTime(), endDate.getTime(), type);
}
getAccountsMetadata() {
return _nativeInterface.default.getAccountsMetadata(this.userID);
}
delete() {
return _nativeInterface.default.delete(this.userID);
}
createBeneficiary(beneficiary) {
return _nativeInterface.default.createBeneficiary(this.userID, beneficiary);
}
getBeneficiaries() {
return _nativeInterface.default.getBeneficiaries(this.userID);
}
async createTransfer(fromAccount, toBeneficiary, amount, remark) {

@@ -284,6 +212,4 @@ let transferResponse = await _nativeInterface.default.createTransfer(this.userID, fromAccount ? fromAccount.id : null, toBeneficiary, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
async createTransferToExistingBeneficiary(fromAccount, toBeneficiaryID, amount, remark) {

@@ -296,14 +222,10 @@ let transferResponse = await _nativeInterface.default.createTransferToExistingBeneficiary(this.userID, fromAccount.id, toBeneficiaryID, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
createWireBeneficiary(beneficiary) {
return _nativeInterface.default.createWireBeneficiary(this.userID, beneficiary);
}
getWireBeneficiaries() {
return _nativeInterface.default.getWireBeneficiaries(this.userID);
}
async createWireTransfer(toBeneficiary, fromAccount, amount, remark) {

@@ -316,6 +238,4 @@ let transferResponse = await _nativeInterface.default.createWireTransfer(this.userID, toBeneficiary, fromAccount ? fromAccount.id : null, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
async createWireTransferToExistingBeneficiary(fromAccount, toBeneficiaryID, amount, remark) {

@@ -328,44 +248,20 @@ let transferResponse = await _nativeInterface.default.createWireTransferToExistingBeneficiary(this.userID, fromAccount.id, toBeneficiaryID, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
getAccount(accountID) {
var account = undefined;
this._accounts.find((acc, i, accs) => {
if (acc.id == accountID) {
account = acc;
}
});
return account;
}
}
exports.DapiConnection = DapiConnection;
class DapiPair {
constructor(code, name) {
_defineProperty(this, "code", void 0);
_defineProperty(this, "name", void 0);
this.code = code;
this.name = name;
}
}
exports.DapiPair = DapiPair;
class DapiLineAddress {
constructor(line1, line2, line3) {
_defineProperty(this, "line1", void 0);
_defineProperty(this, "line2", void 0);
_defineProperty(this, "line3", void 0);
this.line1 = line1;

@@ -375,31 +271,17 @@ this.line2 = line2;

}
}
exports.DapiLineAddress = DapiLineAddress;
class DapiBeneficiary {
constructor(linesAddress, accountNumber, name, bankName, swiftCode, iban, phoneNumber, country, branchAddress, branchName, nickname) {
_defineProperty(this, "linesAddress", void 0);
_defineProperty(this, "accountNumber", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "bankName", void 0);
_defineProperty(this, "swiftCode", void 0);
_defineProperty(this, "iban", void 0);
_defineProperty(this, "phoneNumber", void 0);
_defineProperty(this, "country", void 0);
_defineProperty(this, "branchAddress", void 0);
_defineProperty(this, "branchName", void 0);
_defineProperty(this, "nickname", void 0);
this.linesAddress = linesAddress;

@@ -417,35 +299,19 @@ this.accountNumber = accountNumber;

}
}
exports.DapiBeneficiary = DapiBeneficiary;
class DapiWireBeneficiary {
constructor(linesAddress, name, firstName, lastName, nickname, city, state, country, zipCode, receiverType, receiverAccountType, routingNumber, accountNumber) {
_defineProperty(this, "linesAddress", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "firstName", void 0);
_defineProperty(this, "lastName", void 0);
_defineProperty(this, "nickname", void 0);
_defineProperty(this, "city", void 0);
_defineProperty(this, "state", void 0);
_defineProperty(this, "country", void 0);
_defineProperty(this, "zipCode", void 0);
_defineProperty(this, "receiverType", void 0);
_defineProperty(this, "receiverAccountType", void 0);
_defineProperty(this, "routingNumber", void 0);
_defineProperty(this, "accountNumber", void 0);
this.linesAddress = linesAddress;

@@ -465,23 +331,13 @@ this.name = name;

}
}
exports.DapiWireBeneficiary = DapiWireBeneficiary;
class DapiAccount {
constructor(balance, iban, number, currency, type, id, name) {
_defineProperty(this, "balance", void 0);
_defineProperty(this, "iban", void 0);
_defineProperty(this, "number", void 0);
_defineProperty(this, "currency", void 0);
_defineProperty(this, "type", void 0);
_defineProperty(this, "id", void 0);
_defineProperty(this, "name", void 0);
this.balance = balance;

@@ -495,17 +351,10 @@ this.iban = iban;

}
}
exports.DapiAccount = DapiAccount;
class DapiCardBalance {
constructor(amountDue, availableBalance, outstandingBalance, dueDate) {
_defineProperty(this, "amountDue", void 0);
_defineProperty(this, "availableBalance", void 0);
_defineProperty(this, "outstandingBalance", void 0);
_defineProperty(this, "dueDate", void 0);
this.amountDue = amountDue;

@@ -516,27 +365,15 @@ this.availableBalance = availableBalance;

}
}
exports.DapiCardBalance = DapiCardBalance;
class DapiCard {
constructor(balance, cardNumber, creditLimit, currency, expiryDate, id, name, status, type) {
_defineProperty(this, "balance", void 0);
_defineProperty(this, "cardNumber", void 0);
_defineProperty(this, "creditLimit", void 0);
_defineProperty(this, "currency", void 0);
_defineProperty(this, "expiryDate", void 0);
_defineProperty(this, "id", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "status", void 0);
_defineProperty(this, "type", void 0);
this.balance = balance;

@@ -552,7 +389,4 @@ this.cardNumber = cardNumber;

}
}
exports.DapiCard = DapiCard;
class Dapi {

@@ -562,73 +396,40 @@ static get instance() {

}
constructor() {}
start(appKey, clientUserID, configurations) {
return _nativeInterface.default.start(appKey, clientUserID, configurations);
}
isStarted() {
return _nativeInterface.default.isStarted();
}
presentConnect(bankID) {
_nativeInterface.default.presentConnect(bankID);
}
setClientUserID(clientUserID) {
_nativeInterface.default.setClientUserID(clientUserID);
}
clientUserID() {
return _nativeInterface.default.clientUserID();
}
setConfigurations(configurations) {
_nativeInterface.default.setConfigurations(configurations);
}
configurations() {
return _nativeInterface.default.configurations();
}
dismissConnect() {
_nativeInterface.default.dismissConnect();
}
async getConnections() {
let jsonConnections = await _nativeInterface.default.getConnections();
let connections = [];
for (let i = 0; i < jsonConnections.length; i++) {
let currentConnection = jsonConnections[i]; // convert json accounts array to IAccount array.
let accounts = [];
for (let j = 0; j < currentConnection.accounts.length; j++) {
let currentAccount = currentConnection.accounts[j];
let account = new DapiAccount(currentAccount.balance, currentAccount.iban, currentAccount.number, new DapiPair(currentAccount.currency.code, currentAccount.currency.name), currentAccount.type, currentAccount.id, currentAccount.name);
accounts.push(account);
} // convert json cards array to DapiCard array.
let cards = [];
for (let j = 0; j < currentConnection.cards.length; j++) {
let currentCard = currentConnection.cards[j];
let card = new DapiCard(new DapiCardBalance(currentCard.balance.amountDue, currentCard.balance.availableBalance, currentCard.balance.outstandingBalance, currentCard.balance.dueDate), currentCard.cardNumber, currentCard.creditLimit, new DapiPair(currentCard.currency.code, currentCard.currency.name), currentCard.expiryDate, currentCard.id, currentCard.name, currentCard.status, currentCard.type);
cards.push(card);
}
let connection = new DapiConnection(currentConnection.clientUserID, currentConnection.userID, currentConnection.bankID, currentConnection.swiftCode, currentConnection.country, currentConnection.bankShortName, currentConnection.bankFullName, accounts, cards, currentConnection.fullLogo, currentConnection.halfLogo, currentConnection.miniLogo);
let currentConnection = jsonConnections[i];
let connection = new DapiConnection(currentConnection.clientUserID, currentConnection.userID, currentConnection.bankID, currentConnection.swiftCode, currentConnection.country, currentConnection.bankShortName, currentConnection.bankFullName, currentConnection.fullLogo, currentConnection.halfLogo, currentConnection.miniLogo);
connections.push(connection);
}
return connections;
}
}
exports.default = Dapi;
_defineProperty(Dapi, "_instance", new Dapi());
//# sourceMappingURL=index.js.map

@@ -7,5 +7,3 @@ "use strict";

exports.default = void 0;
var _reactNative = require("react-native");
/**

@@ -19,4 +17,6 @@ * Copyright (c) Facebook, Inc. and its affiliates.

*/
const DapiConnectManager = _reactNative.NativeModules.DapiConnectManager; // Produce an error if we don't have the native module
const DapiConnectManager = _reactNative.NativeModules.DapiConnectManager;
// Produce an error if we don't have the native module
if (!DapiConnectManager) {

@@ -31,2 +31,3 @@ throw new Error(`DapiConnect-ReactNative: NativeModule.DapiConnectManager is null. To fix this issue try these steps:

}
/**

@@ -36,6 +37,4 @@ * We export the native interface in this way to give easy shared access to it between the

*/
var _default = DapiConnectManager;
exports.default = _default;
//# sourceMappingURL=nativeInterface.js.map

@@ -6,6 +6,12 @@ "use strict";

});
exports.DapiTransactionsType = exports.DapiEnvironment = exports.DapiEndpoint = exports.BeneficiaryType = void 0;
exports.DapiTransactionsType = exports.DapiTheme = exports.DapiEnvironment = exports.DapiEndpoint = exports.BeneficiaryType = void 0;
let DapiTheme;
exports.DapiTheme = DapiTheme;
(function (DapiTheme) {
DapiTheme["light"] = "light";
DapiTheme["dark"] = "dark";
DapiTheme["dynamic"] = "dynamic";
})(DapiTheme || (exports.DapiTheme = DapiTheme = {}));
let DapiEnvironment;
exports.DapiEnvironment = DapiEnvironment;
(function (DapiEnvironment) {

@@ -15,3 +21,2 @@ DapiEnvironment["sandbox"] = "sandbox";

})(DapiEnvironment || (exports.DapiEnvironment = DapiEnvironment = {}));
let DapiTransactionsType;

@@ -21,5 +26,3 @@ /**

*/
exports.DapiTransactionsType = DapiTransactionsType;
(function (DapiTransactionsType) {

@@ -30,6 +33,4 @@ DapiTransactionsType["enriched"] = "enriched";

})(DapiTransactionsType || (exports.DapiTransactionsType = DapiTransactionsType = {}));
let DapiEndpoint;
exports.DapiEndpoint = DapiEndpoint;
(function (DapiEndpoint) {

@@ -51,5 +52,3 @@ DapiEndpoint["exchangeToken"] = "auth/ExchangeToken";

})(DapiEndpoint || (exports.DapiEndpoint = DapiEndpoint = {}));
var TransactionType;
(function (TransactionType) {

@@ -59,6 +58,4 @@ TransactionType["CREDIT"] = "credit";

})(TransactionType || (TransactionType = {}));
let BeneficiaryType;
exports.BeneficiaryType = BeneficiaryType;
(function (BeneficiaryType) {

@@ -65,0 +62,0 @@ BeneficiaryType["SAME"] = "same";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import NativeInterface from './internal/nativeInterface';

@@ -8,48 +7,28 @@ import { DapiEnvironment } from './internal/types';

let environment = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : DapiEnvironment.production;
_defineProperty(this, "environment", void 0);
_defineProperty(this, "countries", void 0);
_defineProperty(this, "endpoints", void 0);
_defineProperty(this, "endPointExtraQueryItems", void 0);
_defineProperty(this, "endPointExtraHeaderFields", void 0);
_defineProperty(this, "endPointExtraBody", void 0);
_defineProperty(this, "showLogos", void 0);
_defineProperty(this, "showCloseButton", void 0);
_defineProperty(this, "showAddButton", void 0);
_defineProperty(this, "showTransferSuccessfulResult", void 0);
_defineProperty(this, "showTransferErrorResult", void 0);
_defineProperty(this, "showExperimentalBanks", void 0);
_defineProperty(this, "postSuccessfulConnectionLoadingText", void 0);
_defineProperty(this, "theme", void 0);
this.environment = environment;
this.countries = countries;
}
}
class TransferResponse {
constructor(amount, operationID, account, remark, reference) {
_defineProperty(this, "account", void 0);
constructor(amount, operationID, accountID, remark, reference) {
_defineProperty(this, "accountID", void 0);
_defineProperty(this, "amount", void 0);
_defineProperty(this, "operationID", void 0);
_defineProperty(this, "remark", void 0);
_defineProperty(this, "reference", void 0);
this.account = account;
this.accountID = accountID;
this.amount = amount;

@@ -60,5 +39,11 @@ this.operationID = operationID;

}
}
export class DapiThemeConfigurations {
constructor(enforceTheme, primaryColor) {
_defineProperty(this, "enforceTheme", void 0);
_defineProperty(this, "primaryColor", void 0);
this.enforceTheme = enforceTheme;
this.primaryColor = primaryColor;
}
}
export class DapiConnection {

@@ -68,51 +53,32 @@ get clientUserID() {

}
get userID() {
return this._userID;
}
get bankID() {
return this._bankID;
}
get swiftCode() {
return this._swiftCode;
}
get country() {
return this._country;
}
get bankShortName() {
return this._bankShortName;
}
get bankFullName() {
return this._bankFullName;
}
get accounts() {
return this._accounts;
}
get cards() {
return this._cards;
}
get fullLogo() {
return this._fullLogo;
}
get halfLogo() {
return this._halfLogo;
}
get miniLogo() {
return this._miniLogo;
}
static async create(jsonConnectionDetails) {
var promise = new Promise(async (resolve, reject) => {
const isStarted = await Dapi.instance.isStarted();
if (!isStarted) {

@@ -122,10 +88,7 @@ reject("Dapi SDK is not started yet. It's not permitted to call create() (or any other method) on Dapi SDK unless started.");

}
NativeInterface.createConnection(jsonConnectionDetails).then(newJSONConnection => {
Dapi.instance.getConnections().then(connections => {
let isResolved = false;
for (let index = 0; index < connections.length; index++) {
const element = connections[index];
if (element.userID === newJSONConnection.userID) {

@@ -137,3 +100,2 @@ isResolved = true;

}
if (!isResolved) {

@@ -151,28 +113,13 @@ reject('matchingConnection is undefined');

}
constructor(clientUserID, userID, bankID, swiftCode, country, bankShortName, bankFullName, accounts, cards, fullLogo, halfLogo, miniLogo) {
constructor(clientUserID, userID, bankID, swiftCode, country, bankShortName, bankFullName, fullLogo, halfLogo, miniLogo) {
_defineProperty(this, "_clientUserID", void 0);
_defineProperty(this, "_userID", void 0);
_defineProperty(this, "_bankID", void 0);
_defineProperty(this, "_swiftCode", void 0);
_defineProperty(this, "_country", void 0);
_defineProperty(this, "_bankShortName", void 0);
_defineProperty(this, "_bankFullName", void 0);
_defineProperty(this, "_accounts", void 0);
_defineProperty(this, "_cards", void 0);
_defineProperty(this, "_fullLogo", void 0);
_defineProperty(this, "_halfLogo", void 0);
_defineProperty(this, "_miniLogo", void 0);
this._clientUserID = clientUserID;

@@ -185,4 +132,2 @@ this._userID = userID;

this._bankFullName = bankFullName;
this._accounts = accounts;
this._cards = cards;
this._fullLogo = fullLogo;

@@ -192,48 +137,35 @@ this._halfLogo = halfLogo;

}
async presentAccountSelection() {
let response = await NativeInterface.presentAccountSelection(this.userID);
return this.getAccount(response);
return NativeInterface.presentAccountSelection(this.userID);
}
getParameters() {
return NativeInterface.getConnectionParameters(this.userID);
}
getIdentity() {
return NativeInterface.getIdentity(this.userID);
}
getAccounts() {
return NativeInterface.getAccounts(this.userID);
}
getCards() {
return NativeInterface.getCards(this.userID);
}
getTransactionsForAccount(account, startDate, endDate, type) {
return NativeInterface.getTransactionsForAccount(this.userID, account.id, startDate.getTime(), endDate.getTime(), type);
}
getTransactionsForCard(card, startDate, endDate, type) {
return NativeInterface.getTransactionsForCard(this.userID, card.id, startDate.getTime(), endDate.getTime(), type);
}
getAccountsMetadata() {
return NativeInterface.getAccountsMetadata(this.userID);
}
delete() {
return NativeInterface.delete(this.userID);
}
createBeneficiary(beneficiary) {
return NativeInterface.createBeneficiary(this.userID, beneficiary);
}
getBeneficiaries() {
return NativeInterface.getBeneficiaries(this.userID);
}
async createTransfer(fromAccount, toBeneficiary, amount, remark) {

@@ -246,6 +178,4 @@ let transferResponse = await NativeInterface.createTransfer(this.userID, fromAccount ? fromAccount.id : null, toBeneficiary, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
async createTransferToExistingBeneficiary(fromAccount, toBeneficiaryID, amount, remark) {

@@ -258,14 +188,10 @@ let transferResponse = await NativeInterface.createTransferToExistingBeneficiary(this.userID, fromAccount.id, toBeneficiaryID, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
createWireBeneficiary(beneficiary) {
return NativeInterface.createWireBeneficiary(this.userID, beneficiary);
}
getWireBeneficiaries() {
return NativeInterface.getWireBeneficiaries(this.userID);
}
async createWireTransfer(toBeneficiary, fromAccount, amount, remark) {

@@ -278,6 +204,4 @@ let transferResponse = await NativeInterface.createWireTransfer(this.userID, toBeneficiary, fromAccount ? fromAccount.id : null, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
async createWireTransferToExistingBeneficiary(fromAccount, toBeneficiaryID, amount, remark) {

@@ -290,18 +214,4 @@ let transferResponse = await NativeInterface.createWireTransferToExistingBeneficiary(this.userID, fromAccount.id, toBeneficiaryID, amount, remark);

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
getAccount(accountID) {
var account = undefined;
this._accounts.find((acc, i, accs) => {
if (acc.id == accountID) {
account = acc;
}
});
return account;
}
}

@@ -311,9 +221,6 @@ export class DapiPair {

_defineProperty(this, "code", void 0);
_defineProperty(this, "name", void 0);
this.code = code;
this.name = name;
}
}

@@ -323,7 +230,4 @@ export class DapiLineAddress {

_defineProperty(this, "line1", void 0);
_defineProperty(this, "line2", void 0);
_defineProperty(this, "line3", void 0);
this.line1 = line1;

@@ -333,3 +237,2 @@ this.line2 = line2;

}
}

@@ -339,23 +242,12 @@ export class DapiBeneficiary {

_defineProperty(this, "linesAddress", void 0);
_defineProperty(this, "accountNumber", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "bankName", void 0);
_defineProperty(this, "swiftCode", void 0);
_defineProperty(this, "iban", void 0);
_defineProperty(this, "phoneNumber", void 0);
_defineProperty(this, "country", void 0);
_defineProperty(this, "branchAddress", void 0);
_defineProperty(this, "branchName", void 0);
_defineProperty(this, "nickname", void 0);
this.linesAddress = linesAddress;

@@ -373,3 +265,2 @@ this.accountNumber = accountNumber;

}
}

@@ -379,27 +270,14 @@ export class DapiWireBeneficiary {

_defineProperty(this, "linesAddress", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "firstName", void 0);
_defineProperty(this, "lastName", void 0);
_defineProperty(this, "nickname", void 0);
_defineProperty(this, "city", void 0);
_defineProperty(this, "state", void 0);
_defineProperty(this, "country", void 0);
_defineProperty(this, "zipCode", void 0);
_defineProperty(this, "receiverType", void 0);
_defineProperty(this, "receiverAccountType", void 0);
_defineProperty(this, "routingNumber", void 0);
_defineProperty(this, "accountNumber", void 0);
this.linesAddress = linesAddress;

@@ -419,3 +297,2 @@ this.name = name;

}
}

@@ -425,15 +302,8 @@ export class DapiAccount {

_defineProperty(this, "balance", void 0);
_defineProperty(this, "iban", void 0);
_defineProperty(this, "number", void 0);
_defineProperty(this, "currency", void 0);
_defineProperty(this, "type", void 0);
_defineProperty(this, "id", void 0);
_defineProperty(this, "name", void 0);
this.balance = balance;

@@ -447,3 +317,2 @@ this.iban = iban;

}
}

@@ -453,9 +322,5 @@ export class DapiCardBalance {

_defineProperty(this, "amountDue", void 0);
_defineProperty(this, "availableBalance", void 0);
_defineProperty(this, "outstandingBalance", void 0);
_defineProperty(this, "dueDate", void 0);
this.amountDue = amountDue;

@@ -466,3 +331,2 @@ this.availableBalance = availableBalance;

}
}

@@ -472,19 +336,10 @@ export class DapiCard {

_defineProperty(this, "balance", void 0);
_defineProperty(this, "cardNumber", void 0);
_defineProperty(this, "creditLimit", void 0);
_defineProperty(this, "currency", void 0);
_defineProperty(this, "expiryDate", void 0);
_defineProperty(this, "id", void 0);
_defineProperty(this, "name", void 0);
_defineProperty(this, "status", void 0);
_defineProperty(this, "type", void 0);
this.balance = balance;

@@ -500,3 +355,2 @@ this.cardNumber = cardNumber;

}
}

@@ -507,73 +361,40 @@ export default class Dapi {

}
constructor() {}
start(appKey, clientUserID, configurations) {
return NativeInterface.start(appKey, clientUserID, configurations);
}
isStarted() {
return NativeInterface.isStarted();
}
presentConnect(bankID) {
NativeInterface.presentConnect(bankID);
}
setClientUserID(clientUserID) {
NativeInterface.setClientUserID(clientUserID);
}
clientUserID() {
return NativeInterface.clientUserID();
}
setConfigurations(configurations) {
NativeInterface.setConfigurations(configurations);
}
configurations() {
return NativeInterface.configurations();
}
dismissConnect() {
NativeInterface.dismissConnect();
}
async getConnections() {
let jsonConnections = await NativeInterface.getConnections();
let connections = [];
for (let i = 0; i < jsonConnections.length; i++) {
let currentConnection = jsonConnections[i]; // convert json accounts array to IAccount array.
let accounts = [];
for (let j = 0; j < currentConnection.accounts.length; j++) {
let currentAccount = currentConnection.accounts[j];
let account = new DapiAccount(currentAccount.balance, currentAccount.iban, currentAccount.number, new DapiPair(currentAccount.currency.code, currentAccount.currency.name), currentAccount.type, currentAccount.id, currentAccount.name);
accounts.push(account);
} // convert json cards array to DapiCard array.
let cards = [];
for (let j = 0; j < currentConnection.cards.length; j++) {
let currentCard = currentConnection.cards[j];
let card = new DapiCard(new DapiCardBalance(currentCard.balance.amountDue, currentCard.balance.availableBalance, currentCard.balance.outstandingBalance, currentCard.balance.dueDate), currentCard.cardNumber, currentCard.creditLimit, new DapiPair(currentCard.currency.code, currentCard.currency.name), currentCard.expiryDate, currentCard.id, currentCard.name, currentCard.status, currentCard.type);
cards.push(card);
}
let connection = new DapiConnection(currentConnection.clientUserID, currentConnection.userID, currentConnection.bankID, currentConnection.swiftCode, currentConnection.country, currentConnection.bankShortName, currentConnection.bankFullName, accounts, cards, currentConnection.fullLogo, currentConnection.halfLogo, currentConnection.miniLogo);
let currentConnection = jsonConnections[i];
let connection = new DapiConnection(currentConnection.clientUserID, currentConnection.userID, currentConnection.bankID, currentConnection.swiftCode, currentConnection.country, currentConnection.bankShortName, currentConnection.bankFullName, currentConnection.fullLogo, currentConnection.halfLogo, currentConnection.miniLogo);
connections.push(connection);
}
return connections;
}
}
_defineProperty(Dapi, "_instance", new Dapi());
export * from './internal/types';
//# sourceMappingURL=index.js.map

@@ -9,5 +9,7 @@ /**

*/
import { NativeModules } from 'react-native';
const DapiConnectManager = NativeModules.DapiConnectManager; // Produce an error if we don't have the native module
const DapiConnectManager = NativeModules.DapiConnectManager;
// Produce an error if we don't have the native module
if (!DapiConnectManager) {

@@ -22,2 +24,3 @@ throw new Error(`DapiConnect-ReactNative: NativeModule.DapiConnectManager is null. To fix this issue try these steps:

}
/**

@@ -27,5 +30,3 @@ * We export the native interface in this way to give easy shared access to it between the

*/
export default DapiConnectManager;
//# sourceMappingURL=nativeInterface.js.map

@@ -0,3 +1,8 @@

export let DapiTheme;
(function (DapiTheme) {
DapiTheme["light"] = "light";
DapiTheme["dark"] = "dark";
DapiTheme["dynamic"] = "dynamic";
})(DapiTheme || (DapiTheme = {}));
export let DapiEnvironment;
(function (DapiEnvironment) {

@@ -7,8 +12,7 @@ DapiEnvironment["sandbox"] = "sandbox";

})(DapiEnvironment || (DapiEnvironment = {}));
export let DapiTransactionsType;
export let DapiTransactionsType;
/**
* @deprecated Not usable anymore because Dapi backend accepts the default endpoints paths only now
*/
(function (DapiTransactionsType) {

@@ -19,5 +23,3 @@ DapiTransactionsType["enriched"] = "enriched";

})(DapiTransactionsType || (DapiTransactionsType = {}));
export let DapiEndpoint;
(function (DapiEndpoint) {

@@ -39,5 +41,3 @@ DapiEndpoint["exchangeToken"] = "auth/ExchangeToken";

})(DapiEndpoint || (DapiEndpoint = {}));
var TransactionType;
(function (TransactionType) {

@@ -47,5 +47,3 @@ TransactionType["CREDIT"] = "credit";

})(TransactionType || (TransactionType = {}));
export let BeneficiaryType;
(function (BeneficiaryType) {

@@ -52,0 +50,0 @@ BeneficiaryType["SAME"] = "same";

@@ -1,2 +0,2 @@

import { IDapiConfigurations, IAccount, ICard, IBeneficiary, IWireBeneficiary, IDapiConnection, IPair, IAccountResponse, IIdentityResponse, ITransactionResponse, IAccountsMetadataResponse, DapiEnvironment, IBankBeneficiaryResponse, IBankWireBeneficiaryResponse, IDapiResult, DapiEndpoint, ITransferResponse, ICardResponse, ICardBalance, ILineAddress, IAccountBalance, DapiTransactionsType } from './internal/types';
import { IDapiConfigurations, IAccount, ICard, IBeneficiary, IWireBeneficiary, IDapiConnection, IPair, IAccountResponse, IIdentityResponse, ITransactionResponse, IAccountsMetadataResponse, DapiEnvironment, IBankBeneficiaryResponse, IBankWireBeneficiaryResponse, IDapiResult, DapiEndpoint, ITransferResponse, ICardResponse, ICardBalance, ILineAddress, IAccountBalance, DapiTransactionsType, IDapiThemeConfigurations, DapiTheme } from './internal/types';
export declare class DapiConfigurations implements IDapiConfigurations {

@@ -16,4 +16,10 @@ environment?: DapiEnvironment;

postSuccessfulConnectionLoadingText?: string;
theme: IDapiThemeConfigurations | undefined;
constructor(countries: string[], environment?: DapiEnvironment);
}
export declare class DapiThemeConfigurations implements IDapiThemeConfigurations {
enforceTheme?: DapiTheme;
primaryColor?: Map<string, string>;
constructor(enforceTheme: DapiTheme, primaryColor: Map<string, string>);
}
export declare class DapiConnection implements IDapiConnection {

@@ -27,4 +33,2 @@ private _clientUserID;

private _bankFullName;
private _accounts;
private _cards;
private _fullLogo;

@@ -40,4 +44,2 @@ private _halfLogo;

get bankFullName(): string;
get accounts(): IAccount[];
get cards(): ICard[];
get fullLogo(): string;

@@ -47,4 +49,4 @@ get halfLogo(): string;

static create(jsonConnectionDetails: string): Promise<IDapiConnection>;
constructor(clientUserID: string, userID: string, bankID: string, swiftCode: string, country: string, bankShortName: string, bankFullName: string, accounts: IAccount[], cards: ICard[], fullLogo: string, halfLogo: string, miniLogo: string);
presentAccountSelection(): Promise<IAccount | undefined>;
constructor(clientUserID: string, userID: string, bankID: string, swiftCode: string, country: string, bankShortName: string, bankFullName: string, fullLogo: string, halfLogo: string, miniLogo: string);
presentAccountSelection(): Promise<string | undefined>;
getParameters(): Promise<string>;

@@ -66,3 +68,2 @@ getIdentity(): Promise<IIdentityResponse>;

createWireTransferToExistingBeneficiary(fromAccount: IAccount, toBeneficiaryID: string, amount: number, remark: string | null): Promise<ITransferResponse>;
private getAccount;
}

@@ -154,1 +155,2 @@ export declare class DapiPair implements IPair {

export * from './internal/types';
//# sourceMappingURL=index.d.ts.map

@@ -16,1 +16,2 @@ /**

export default _default;
//# sourceMappingURL=nativeInterface.d.ts.map

@@ -32,1 +32,2 @@ import { DapiConnection } from '..';

}
//# sourceMappingURL=privateTypes.d.ts.map

@@ -40,3 +40,13 @@ export interface IDapiConfigurations {

postSuccessfulConnectionLoadingText?: string;
theme?: IDapiThemeConfigurations;
}
export interface IDapiThemeConfigurations {
enforceTheme?: DapiTheme;
primaryColor?: Map<string, string>;
}
export declare enum DapiTheme {
light = "light",
dark = "dark",
dynamic = "dynamic"
}
export declare enum DapiEnvironment {

@@ -122,3 +132,3 @@ sandbox = "sandbox",

export interface ITransferResponse {
readonly account?: IAccount;
readonly accountID?: string;
readonly amount: number;

@@ -298,4 +308,2 @@ readonly operationID: string;

readonly bankFullName: string;
readonly accounts: IAccount[];
readonly cards: ICard[];
readonly fullLogo: string;

@@ -320,5 +328,6 @@ readonly halfLogo: string;

getParameters(): Promise<string>;
presentAccountSelection(): Promise<IAccount | undefined>;
presentAccountSelection(): Promise<string | undefined>;
}
export declare type IAddress = IAddressGeneral;
export type IAddress = IAddressGeneral;
export {};
//# sourceMappingURL=types.d.ts.map
{
"name": "connect-react-native",
"version": "2.35.0",
"version": "2.36.0",
"description": "Financial APIs to connect users' bank accounts",

@@ -46,32 +46,32 @@ "react-native": "src/index.ts",

"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/runtime": "^7.18.9",
"@react-native-community/eslint-config": "^3.1.0",
"@babel/core": "^7.20.2",
"@babel/runtime": "^7.20.1",
"@react-native-community/eslint-config": "^3.2.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "10.0.1",
"@types/jest": "^28.1.8",
"@types/react": "^18.0.17",
"@types/react-native": "^0.69.5",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
"babel-jest": "^28.1.3",
"eslint": "8.22.0",
"@types/jest": "^29.2.3",
"@types/react": "^18.0.25",
"@types/react-native": "^0.70.6",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"babel-jest": "^29.3.1",
"eslint": "8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "^8.0.1",
"jest": "^28.1.3",
"husky": "^8.0.2",
"jest": "^29.3.1",
"lint-staged": "^13.0.3",
"metro-react-native-babel-preset": "^0.72.1",
"metro-react-native-babel-preset": "^0.73.3",
"prettier": "^2.7.1",
"react": "18.2.0",
"react-native": "0.69.4",
"react-native-builder-bob": "^0.18.3",
"react-native": "0.70.6",
"react-native-builder-bob": "^0.20.1",
"react-test-renderer": "18.2.0",
"rimraf": "^3.0.2",
"semantic-release": "19.0.5",
"ts-jest": "^28.0.8",
"typescript": "^4.7.4"
"ts-jest": "^29.0.3",
"typescript": "^4.9.3"
},
"resolutions": {
"@types/react": "^18.0.17"
"@types/react": "^18.0.25"
},

@@ -78,0 +78,0 @@ "repository": {

@@ -25,2 +25,4 @@ import NativeInterface from './internal/nativeInterface';

DapiTransactionsType,
IDapiThemeConfigurations,
DapiTheme,
} from './internal/types';

@@ -42,2 +44,3 @@

postSuccessfulConnectionLoadingText?: string
theme: IDapiThemeConfigurations | undefined

@@ -51,3 +54,3 @@ constructor(countries: string[], environment: DapiEnvironment = DapiEnvironment.production) {

class TransferResponse implements ITransferResponse {
account?: IAccount;
accountID?: string;
amount: number;

@@ -58,4 +61,4 @@ operationID: string;

constructor(amount: number, operationID: string, account?: IAccount, remark?: string, reference?: string) {
this.account = account;
constructor(amount: number, operationID: string, accountID?: string, remark?: string, reference?: string) {
this.accountID = accountID;
this.amount = amount;

@@ -69,2 +72,12 @@ this.operationID = operationID;

export class DapiThemeConfigurations implements IDapiThemeConfigurations {
enforceTheme?: DapiTheme
primaryColor?: Map<string, string>
constructor(enforceTheme: DapiTheme, primaryColor: Map<string, string>) {
this.enforceTheme = enforceTheme;
this.primaryColor = primaryColor;
}
}
export class DapiConnection implements IDapiConnection {

@@ -78,4 +91,2 @@ private _clientUserID: string;

private _bankFullName: string;
private _accounts: IAccount[];
private _cards: ICard[];
private _fullLogo: string;

@@ -106,8 +117,2 @@ private _halfLogo: string;

}
public get accounts(): IAccount[] {
return this._accounts;
}
public get cards(): ICard[] {
return this._cards;
}
public get fullLogo(): string {

@@ -170,4 +175,2 @@ return this._fullLogo;

bankFullName: string,
accounts: IAccount[],
cards: ICard[],
fullLogo: string,

@@ -185,4 +188,2 @@ halfLogo: string,

this._bankFullName = bankFullName;
this._accounts = accounts;
this._cards = cards;
this._fullLogo = fullLogo;

@@ -193,5 +194,4 @@ this._halfLogo = halfLogo;

}
async presentAccountSelection(): Promise<IAccount | undefined> {
let response = await NativeInterface.presentAccountSelection(this.userID);
return this.getAccount(response);
async presentAccountSelection(): Promise<string | undefined> {
return NativeInterface.presentAccountSelection(this.userID);
}

@@ -275,4 +275,3 @@

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}

@@ -298,4 +297,3 @@

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}

@@ -324,4 +322,3 @@

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}

@@ -347,17 +344,4 @@

let reference = transferResponse.reference;
let sendingAccount = this.getAccount(accountID);
return new TransferResponse(amnt, operationID, sendingAccount, resultRemark, reference);
return new TransferResponse(amnt, operationID, accountID, resultRemark, reference);
}
private getAccount(accountID: string): IAccount | undefined {
var account: IAccount | undefined = undefined;
this._accounts.find((acc, i, accs) => {
if (acc.id == accountID) {
account = acc;
}
});
return account;
}
}

@@ -596,48 +580,2 @@

let currentConnection = jsonConnections[i];
// convert json accounts array to IAccount array.
let accounts: IAccount[] = [];
for (let j = 0; j < currentConnection.accounts.length; j++) {
let currentAccount = currentConnection.accounts[j];
let account = new DapiAccount(
currentAccount.balance,
currentAccount.iban,
currentAccount.number,
new DapiPair(
currentAccount.currency.code,
currentAccount.currency.name,
),
currentAccount.type,
currentAccount.id,
currentAccount.name,
);
accounts.push(account);
}
// convert json cards array to DapiCard array.
let cards: ICard[] = [];
for (let j = 0; j < currentConnection.cards.length; j++) {
let currentCard = currentConnection.cards[j];
let card = new DapiCard(
new DapiCardBalance(
currentCard.balance.amountDue,
currentCard.balance.availableBalance,
currentCard.balance.outstandingBalance,
currentCard.balance.dueDate,
),
currentCard.cardNumber,
currentCard.creditLimit,
new DapiPair(
currentCard.currency.code,
currentCard.currency.name
),
currentCard.expiryDate,
currentCard.id,
currentCard.name,
currentCard.status,
currentCard.type
);
cards.push(card);
}
let connection = new DapiConnection(

@@ -651,4 +589,2 @@ currentConnection.clientUserID,

currentConnection.bankFullName,
accounts,
cards,
currentConnection.fullLogo,

@@ -655,0 +591,0 @@ currentConnection.halfLogo,

@@ -16,3 +16,2 @@ import { DapiConnection } from '..';

DapiTransactionsType,
IAccount,
} from './types';

@@ -19,0 +18,0 @@

@@ -50,4 +50,17 @@ export interface IDapiConfigurations {

postSuccessfulConnectionLoadingText?: string
theme?: IDapiThemeConfigurations
}
export interface IDapiThemeConfigurations {
enforceTheme?: DapiTheme
primaryColor?: Map<string, string>
}
export enum DapiTheme {
light = "light",
dark = "dark",
dynamic = "dynamic"
}
export enum DapiEnvironment {

@@ -143,3 +156,3 @@ sandbox = 'sandbox',

export interface ITransferResponse {
readonly account?: IAccount;
readonly accountID?: string;
readonly amount: number;

@@ -343,4 +356,2 @@ readonly operationID: string;

readonly bankFullName: string;
readonly accounts: IAccount[];
readonly cards: ICard[];
readonly fullLogo: string;

@@ -413,5 +424,5 @@ readonly halfLogo: string;

presentAccountSelection() : Promise<IAccount | undefined>
presentAccountSelection() : Promise<string | undefined>
}
export type IAddress = IAddressGeneral;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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