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.2.10 to 0.3.0

dist/api/exchanges_ticker.d.ts

0

dist/api/currencies_ticker.d.ts

@@ -0,0 +0,0 @@ import { IntervalEnum } from "../constants";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const API_BASE = "https://api.nomics.com";

@@ -0,0 +0,0 @@ "use strict";

import { CurrencyTickerInterval, ICurrenciesTickerOptions, IRawCurrencyTicker } from "./api/currencies_ticker";
import { IExchangesTickerOptions } from "./api/exchanges_ticker";
import { IntervalEnum } from "./constants";

@@ -19,3 +20,4 @@ export { IRawCurrencyTicker, CurrencyTickerInterval };

currenciesTicker(options?: ICurrenciesTickerOptions): Promise<IRawCurrencyTicker[]>;
exchangesTicker(options?: IExchangesTickerOptions): Promise<import("./api/exchanges_ticker").IRawExchangeTicker[]>;
}
export default Nomics;

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

var currencies_ticker_1 = __importDefault(require("./api/currencies_ticker"));
var exchanges_ticker_1 = __importDefault(require("./api/exchanges_ticker"));
var constants_1 = require("./constants");

@@ -34,2 +35,5 @@ exports.IntervalEnum = constants_1.IntervalEnum;

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

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

export declare const fetchJSON: (path: string) => Promise<any>;

@@ -0,0 +0,0 @@ "use strict";

export declare const isEmpty: (str?: any) => boolean;

@@ -0,0 +0,0 @@ "use strict";

export declare const objToUrlParams: (obj: any) => string;

@@ -0,0 +0,0 @@ "use strict";

{
"name": "nomics",
"version": "0.2.10",
"version": "0.3.0",
"description": "",

@@ -20,2 +20,3 @@ "main": "dist/index.js",

"devDependencies": {
"@babel/runtime-corejs2": "^7.5.5",
"@types/jest": "^24.0.0",

@@ -31,3 +32,7 @@ "jest": "^24.8.0",

"cross-fetch": "^3.0.1"
},
"repository": {
"type": "git",
"url": "https://github.com/nomics-crypto/nomics-javascript"
}
}

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

} from "./api/currencies_ticker";
import exchangesTicker, {
IExchangesTickerOptions
} from "./api/exchanges_ticker";
import { API_BASE, IntervalEnum } from "./constants";

@@ -51,4 +54,8 @@ import { isEmpty } from "./utils/str";

}
public exchangesTicker(options?: IExchangesTickerOptions) {
return exchangesTicker(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