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

@cityofzion/blockchain-service

Package Overview
Dependencies
Maintainers
0
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cityofzion/blockchain-service - npm Package Compare versions

Comparing version 1.13.1 to 1.13.2

1

dist/functions.d.ts

@@ -8,2 +8,3 @@ import { Account, BlockchainService, BSCalculableFee, BSClaimable, BSWithExplorerService, BSWithLedger, BSWithNameService, BSWithNft } from './interfaces';

export declare function hasLedger<BSName extends string = string>(service: BlockchainService<BSName>): service is BlockchainService<BSName> & BSWithLedger<BSName>;
export declare function wait(ms: number): Promise<unknown>;
/**

@@ -10,0 +11,0 @@ * @deprecated use `waitForAccountTransaction` instead

3

dist/functions.js

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

Object.defineProperty(exports, "__esModule", { value: true });
exports.formatNumber = exports.countDecimals = exports.denormalizeHash = exports.normalizeHash = exports.fetchAccountsForBlockchainServices = exports.waitForAccountTransaction = exports.waitForTransaction = exports.hasLedger = exports.hasExplorerService = exports.hasNft = exports.isCalculableFee = exports.isClaimable = exports.hasNameService = void 0;
exports.formatNumber = exports.countDecimals = exports.denormalizeHash = exports.normalizeHash = exports.fetchAccountsForBlockchainServices = exports.waitForAccountTransaction = exports.waitForTransaction = exports.wait = exports.hasLedger = exports.hasExplorerService = exports.hasNft = exports.isCalculableFee = exports.isClaimable = exports.hasNameService = void 0;
function hasNameService(service) {

@@ -41,2 +41,3 @@ return 'resolveNameServiceDomain' in service && 'validateNameServiceDomainFormat' in service;

}
exports.wait = wait;
/**

@@ -43,0 +44,0 @@ * @deprecated use `waitForAccountTransaction` instead

@@ -218,2 +218,4 @@ import Transport from '@ledgerhq/hw-transport';

buildNftUrl(params: BuildNftUrlParams): string;
getAddressTemplateUrl(): string | undefined;
getTxTemplateUrl(): string | undefined;
}

@@ -239,2 +241,4 @@ export type LedgerServiceEmitter = TypedEmitter<{

decimals?: number;
addressTemplateUrl?: string;
txTemplateUrl?: string;
};

@@ -241,0 +245,0 @@ export type SwapServiceLoadableValue<T> = {

{
"name": "@cityofzion/blockchain-service",
"version": "1.13.1",
"version": "1.13.2",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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