Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xchainjs/xchain-client

Package Overview
Dependencies
Maintainers
10
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-client - npm Package Compare versions

Comparing version 0.15.2 to 0.15.3

1

lib/BaseXChainClient.d.ts

@@ -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;

2

lib/index.esm.js

@@ -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

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