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

nomics

Package Overview
Dependencies
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nomics - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

dist/api/exchange_markets_ticker.d.ts

4

dist/index.d.ts
import { CurrencyTickerInterval, ICurrenciesTickerOptions, IRawCurrencyTicker } from "./api/currencies_ticker";
import { ExchangeMarketTickerInterval, IExchangeMarketsTickerOptions, IRawExchangeMarketTicker } from "./api/exchange_markets_ticker";
import { ExchangeTickerInterval, IExchangesTickerOptions, IRawExchangeTicker } from "./api/exchanges_ticker";
import { IntervalEnum } from "./constants";
export { IRawCurrencyTicker, IRawExchangeTicker, CurrencyTickerInterval, ExchangeTickerInterval };
export { IRawCurrencyTicker, IRawExchangeTicker, IRawExchangeMarketTicker, CurrencyTickerInterval, ExchangeTickerInterval, ExchangeMarketTickerInterval };
export { IntervalEnum };

@@ -21,3 +22,4 @@ export interface INomics {

exchangesTicker(options?: IExchangesTickerOptions): Promise<IRawExchangeTicker[]>;
exchangeMarketsTicker(options?: IExchangeMarketsTickerOptions): Promise<IRawExchangeMarketTicker[]>;
}
export default Nomics;

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

var currencies_ticker_1 = __importDefault(require("./api/currencies_ticker"));
var exchange_markets_ticker_1 = __importDefault(require("./api/exchange_markets_ticker"));
var exchanges_ticker_1 = __importDefault(require("./api/exchanges_ticker"));

@@ -38,2 +39,5 @@ var constants_1 = require("./constants");

};
Nomics.prototype.exchangeMarketsTicker = function (options) {
return exchange_markets_ticker_1.default(this.apiKey, options);
};
Nomics.baseUrl = constants_1.API_BASE;

@@ -40,0 +44,0 @@ return Nomics;

{
"name": "nomics",
"version": "0.3.3",
"version": "0.4.0",
"description": "",

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

@@ -6,2 +6,7 @@ import currenciesTicker, {

} from "./api/currencies_ticker";
import exchangeMarketsTicker, {
ExchangeMarketTickerInterval,
IExchangeMarketsTickerOptions,
IRawExchangeMarketTicker
} from "./api/exchange_markets_ticker";
import exchangesTicker, {

@@ -18,4 +23,6 @@ ExchangeTickerInterval,

IRawExchangeTicker,
IRawExchangeMarketTicker,
CurrencyTickerInterval,
ExchangeTickerInterval
ExchangeTickerInterval,
ExchangeMarketTickerInterval
};

@@ -66,4 +73,8 @@ export { IntervalEnum };

}
public exchangeMarketsTicker(options?: IExchangeMarketsTickerOptions) {
return exchangeMarketsTicker(this.apiKey, options);
}
}
export default Nomics;

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