@xchainjs/xchain-client
Advanced tools
Comparing version 0.15.2 to 0.15.3
@@ -64,2 +64,3 @@ import { Address, Asset, Chain } from '@xchainjs/xchain-util'; | ||
abstract getAddress(walletIndex?: number): string; | ||
abstract getAddressAsync(walletIndex?: number): Promise<string>; | ||
abstract getExplorerUrl(): string; | ||
@@ -66,0 +67,0 @@ abstract getExplorerAddressUrl(address: string): string; |
@@ -270,3 +270,3 @@ import { validatePhrase } from '@xchainjs/xchain-crypto'; | ||
const filteredParams = { | ||
address: (params === null || params === void 0 ? void 0 : params.address) || this.getAddress(), | ||
address: (params === null || params === void 0 ? void 0 : params.address) || (yield this.getAddress()), | ||
offset: params === null || params === void 0 ? void 0 : params.offset, | ||
@@ -273,0 +273,0 @@ limit: params === null || params === void 0 ? void 0 : params.limit, |
@@ -278,3 +278,3 @@ 'use strict'; | ||
const filteredParams = { | ||
address: (params === null || params === void 0 ? void 0 : params.address) || this.getAddress(), | ||
address: (params === null || params === void 0 ? void 0 : params.address) || (yield this.getAddress()), | ||
offset: params === null || params === void 0 ? void 0 : params.offset, | ||
@@ -281,0 +281,0 @@ limit: params === null || params === void 0 ? void 0 : params.limit, |
@@ -101,2 +101,3 @@ import { Address, Asset, BaseAmount } from '@xchainjs/xchain-util'; | ||
getAddress(walletIndex?: number): Address; | ||
getAddressAsync(walletIndex?: number): Promise<Address>; | ||
setPhrase(phrase: string, walletIndex: number): Address; | ||
@@ -103,0 +104,0 @@ getBalance(address: Address, assets?: Asset[]): Promise<Balance[]>; |
{ | ||
"name": "@xchainjs/xchain-client", | ||
"version": "0.15.2", | ||
"version": "0.15.3", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111554
1200