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

@cityofzion/bs-neo-legacy

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cityofzion/bs-neo-legacy - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

2

dist/BSNeoLegacy.js

@@ -51,3 +51,3 @@ "use strict";

this.blockchainDataService = new DoraBDSNeoLegacy_1.DoraBDSNeoLegacy(network, this.feeToken, this.claimToken, this.tokens);
this.exchangeDataService = new CryptoCompareEDSNeoLegacy_1.CryptoCompareEDSNeoLegacy(network, this.tokens);
this.exchangeDataService = new CryptoCompareEDSNeoLegacy_1.CryptoCompareEDSNeoLegacy(network);
this.explorerService = new NeoTubeESNeoLegacy_1.NeoTubeESNeoLegacy(network);

@@ -54,0 +54,0 @@ }

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

import { CryptoCompareEDS, Currency, ExchangeDataService, GetTokenPriceHistory, Network, Token, TokenPricesHistoryResponse, TokenPricesResponse } from '@cityofzion/blockchain-service';
import { CryptoCompareEDS, ExchangeDataService, GetTokenPriceHistoryParams, GetTokenPricesParams, Network, TokenPricesHistoryResponse, TokenPricesResponse } from '@cityofzion/blockchain-service';
import { BSNeoLegacyNetworkId } from './BSNeoLegacyHelper';
export declare class CryptoCompareEDSNeoLegacy extends CryptoCompareEDS implements ExchangeDataService {
#private;
constructor(network: Network<BSNeoLegacyNetworkId>, tokens: Token[]);
getTokenPriceHistory(params: GetTokenPriceHistory): Promise<TokenPricesHistoryResponse[]>;
getTokenPrices(currency: Currency): Promise<TokenPricesResponse[]>;
constructor(network: Network<BSNeoLegacyNetworkId>);
getTokenPriceHistory(params: GetTokenPriceHistoryParams): Promise<TokenPricesHistoryResponse[]>;
getTokenPrices(params: GetTokenPricesParams): Promise<TokenPricesResponse[]>;
}

@@ -28,4 +28,4 @@ "use strict";

class CryptoCompareEDSNeoLegacy extends blockchain_service_1.CryptoCompareEDS {
constructor(network, tokens) {
super(tokens);
constructor(network) {
super();
_CryptoCompareEDSNeoLegacy_network.set(this, void 0);

@@ -44,3 +44,3 @@ __classPrivateFieldSet(this, _CryptoCompareEDSNeoLegacy_network, network, "f");

}
getTokenPrices(currency) {
getTokenPrices(params) {
const _super = Object.create(null, {

@@ -52,3 +52,3 @@ getTokenPrices: { get: () => super.getTokenPrices }

throw new Error('Exchange is only available on mainnet');
return yield _super.getTokenPrices.call(this, currency);
return yield _super.getTokenPrices.call(this, params);
});

@@ -55,0 +55,0 @@ }

{
"name": "@cityofzion/bs-neo-legacy",
"version": "1.0.4",
"version": "1.1.0",
"main": "dist/index.js",

@@ -14,3 +14,3 @@ "types": "dist/index.d.ts",

"@cityofzion/neon-js": "4.8.3",
"@cityofzion/blockchain-service": "1.0.2",
"@cityofzion/blockchain-service": "1.1.0",
"@cityofzion/bs-asteroid-sdk": "0.9.0"

@@ -17,0 +17,0 @@ },

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