Socket
Socket
Sign inDemoInstall

@xchainjs/xchain-client

Package Overview
Dependencies
Maintainers
10
Versions
57
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.0 to 0.15.1

3

lib/BaseXChainClient.d.ts
import { Address, Asset, Chain } from '@xchainjs/xchain-util';
import { AssetInfo, Balance, FeeBounds, FeeRate, Fees, Network, RootDerivationPaths, Tx, TxHash, TxHistoryParams, TxParams, TxsPage, XChainClient, XChainClientParams } from './types';
import { AssetInfo, Balance, FeeBounds, FeeRate, Fees, Network, PreparedTx, RootDerivationPaths, Tx, TxHash, TxHistoryParams, TxParams, TxsPage, XChainClient, XChainClientParams } from './types';
export declare abstract class BaseXChainClient implements XChainClient {

@@ -74,2 +74,3 @@ protected chain: Chain;

abstract getAssetInfo(): AssetInfo;
abstract prepareTx(params: TxParams): Promise<PreparedTx>;
}

@@ -15,2 +15,3 @@ /// <reference types="node" />

txHex?: string;
scriptPubKey?: string;
};

@@ -17,0 +18,0 @@ export interface OnlineDataProvider {

@@ -90,2 +90,5 @@ import { Address, Asset, BaseAmount } from '@xchainjs/xchain-util';

};
export type PreparedTx = {
rawUnsignedTx: string;
};
export interface XChainClient {

@@ -105,4 +108,5 @@ setNetwork(net: Network): void;

transfer(params: TxParams): Promise<TxHash>;
prepareTx(params: TxParams): Promise<PreparedTx>;
broadcastTx(txHex: string): Promise<TxHash>;
purgeClient(): void;
}
{
"name": "@xchainjs/xchain-client",
"version": "0.15.0",
"version": "0.15.1",
"license": "MIT",

@@ -31,2 +31,2 @@ "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