@cityofzion/blockchain-service
Advanced tools
Comparing version 1.13.1 to 1.13.2
@@ -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 |
@@ -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", |
29797
652