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

@tatumio/shared-core

Package Overview
Dependencies
Maintainers
3
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tatumio/shared-core - npm Package Compare versions

Comparing version 2.0.1-alpha.273 to 2.0.1-alpha.274

4

package.json
{
"name": "@tatumio/shared-core",
"version": "2.0.1-alpha.273",
"version": "2.0.1-alpha.274",
"license": "MIT",

@@ -8,3 +8,3 @@ "main": "./src/index.js",

"dependencies": {
"@tatumio/api-client": "2.0.1-alpha.273",
"@tatumio/api-client": "2.0.1-alpha.274",
"axios": "^0.26.0",

@@ -11,0 +11,0 @@ "form-data": "^4.0.0"

@@ -16,5 +16,5 @@ export * from './lib/models/Blockchain';

}) => string;
getNetworkConfig: (blockchain: import("./lib/models/Blockchain").BtcBasedBlockchain, options?: {
getNetworkConfig: (blockchain: import("./lib/models/Blockchain").Blockchain.BTC | import("./lib/models/Blockchain").Blockchain.BCH | import("./lib/models/Blockchain").Blockchain.LTC | import("./lib/models/Blockchain").Blockchain.DOGE, options?: {
testnet: boolean;
}) => import("./lib/btc-based.network.common").Network;
};

@@ -1,5 +0,5 @@

import { Blockchain, BtcBasedBlockchain, EvmBasedBlockchain } from './models/Blockchain';
import { Blockchain, EvmBasedBlockchain } from './models/Blockchain';
import { Currency, NativeCurrency } from '@tatumio/api-client';
export declare const blockchainHelper: {
isBtcBased: (blockchain: Blockchain) => blockchain is BtcBasedBlockchain;
isBtcBased: (blockchain: Blockchain) => blockchain is Blockchain.BTC | Blockchain.BCH | Blockchain.LTC | Blockchain.DOGE;
isEvmBased: (blockchain: Blockchain) => blockchain is EvmBasedBlockchain;

@@ -6,0 +6,0 @@ getBlockchainByCurrency: (currency: Currency) => Blockchain;

@@ -27,5 +27,5 @@ export declare enum Blockchain {

}
export declare const BtcBasedBlockchains: Blockchain[];
export declare const EvmBasedBlockchains: Blockchain[];
export declare type BtcBasedBlockchain = Blockchain.BTC | Blockchain.LTC | Blockchain.DOGE | Blockchain.BCH;
export declare const BtcBasedBlockchains: readonly [Blockchain.BTC, Blockchain.LTC, Blockchain.DOGE, Blockchain.BCH];
export declare type BtcBasedBlockchain = typeof BtcBasedBlockchains[number];
export declare type EvmBasedBlockchain = Blockchain.ETH | Blockchain.CELO | Blockchain.BSC | Blockchain.HARMONY | Blockchain.POLYGON | Blockchain.KCS | Blockchain.KLAY;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.EvmBasedBlockchains = exports.BtcBasedBlockchains = exports.Blockchain = void 0;
exports.BtcBasedBlockchains = exports.EvmBasedBlockchains = exports.Blockchain = void 0;
var Blockchain;

@@ -31,3 +31,2 @@ (function (Blockchain) {

})(Blockchain = exports.Blockchain || (exports.Blockchain = {}));
exports.BtcBasedBlockchains = [Blockchain.BTC, Blockchain.LTC, Blockchain.DOGE, Blockchain.BCH];
exports.EvmBasedBlockchains = [

@@ -41,2 +40,4 @@ Blockchain.ETH,

];
// @TODO tmp solution
exports.BtcBasedBlockchains = [Blockchain.BTC, Blockchain.LTC, Blockchain.DOGE, Blockchain.BCH];
//# sourceMappingURL=Blockchain.js.map

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