Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lunch-money/binance-to-lunch-money

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunch-money/binance-to-lunch-money - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

4

dist/cjs/main.d.ts

@@ -0,4 +1,4 @@

import { default as Binance } from 'binance-api-node';
import { LunchMoneyCryptoConnection, LunchMoneyCryptoConnectionContext, LunchMoneyCryptoConnectionConfig } from './types.js';
export { LunchMoneyCryptoConnection } from './types.js';
import { BinanceClient } from './client.js';
interface LunchMoneyBinanceConnectionConfig extends LunchMoneyCryptoConnectionConfig {

@@ -9,4 +9,4 @@ apiKey: string;

interface LunchMoneyBinanceConnectionContext extends LunchMoneyCryptoConnectionContext {
binanceClientConstructor?: typeof BinanceClient;
binanceClientConstructor?: typeof Binance;
}
export declare const LunchMoneyBinanceConnection: LunchMoneyCryptoConnection<LunchMoneyBinanceConnectionConfig, LunchMoneyBinanceConnectionContext>;

@@ -11,5 +11,8 @@ "use strict";

};
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LunchMoneyBinanceConnection = void 0;
const client_js_1 = require("./client.js");
const binance_api_node_1 = __importDefault(require("binance-api-node"));
exports.LunchMoneyBinanceConnection = {

@@ -21,3 +24,3 @@ initiate(config, context) {

},
getBalances(config, { binanceClientConstructor = client_js_1.BinanceClient }) {
getBalances(config, { binanceClientConstructor = binance_api_node_1.default }) {
return __awaiter(this, void 0, void 0, function* () {

@@ -24,0 +27,0 @@ const client = binanceClientConstructor(Object.assign({}, config));

@@ -0,4 +1,4 @@

import { default as Binance } from 'binance-api-node';
import { LunchMoneyCryptoConnection, LunchMoneyCryptoConnectionContext, LunchMoneyCryptoConnectionConfig } from './types.js';
export { LunchMoneyCryptoConnection } from './types.js';
import { BinanceClient } from './client.js';
interface LunchMoneyBinanceConnectionConfig extends LunchMoneyCryptoConnectionConfig {

@@ -9,4 +9,4 @@ apiKey: string;

interface LunchMoneyBinanceConnectionContext extends LunchMoneyCryptoConnectionContext {
binanceClientConstructor?: typeof BinanceClient;
binanceClientConstructor?: typeof Binance;
}
export declare const LunchMoneyBinanceConnection: LunchMoneyCryptoConnection<LunchMoneyBinanceConnectionConfig, LunchMoneyBinanceConnectionContext>;

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

import { BinanceClient } from './client.js';
import { default as Binance } from 'binance-api-node';
export const LunchMoneyBinanceConnection = {

@@ -6,3 +6,3 @@ async initiate(config, context) {

},
async getBalances(config, { binanceClientConstructor = BinanceClient }) {
async getBalances(config, { binanceClientConstructor = Binance }) {
const client = binanceClientConstructor({ ...config });

@@ -9,0 +9,0 @@ const snapshot = await client.accountSnapshot({

@@ -10,3 +10,3 @@ {

"homepage": "https://github.com/lunch-money/binance-to-lunch-money#README",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",

@@ -13,0 +13,0 @@ "keywords": [

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