Socket
Socket
Sign inDemoInstall

@xchainjs/xchain-client

Package Overview
Dependencies
Maintainers
0
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 1.0.0 to 1.0.1

23

lib/types.d.ts

@@ -1,2 +0,2 @@

import { Address, AnyAsset, Asset, BaseAmount } from '@xchainjs/xchain-util';
import { Address, AnyAsset, Asset, BaseAmount, SynthAsset, TokenAsset, TradeAsset } from '@xchainjs/xchain-util';
/**

@@ -18,2 +18,23 @@ * Enumeration of network types.

/**
* Type definition for token asset information.
*/
export type TokenAssetInfo = {
asset: TokenAsset;
decimal: number;
};
/**
* Type definition for synth asset information.
*/
export type SynthAssetInfo = {
asset: SynthAsset;
decimal: number;
};
/**
* Type definition for trade asset information.
*/
export type TradeAssetInfo = {
asset: TradeAsset;
decimal: number;
};
/**
* Type definition for a balance.

@@ -20,0 +41,0 @@ */

4

package.json
{
"name": "@xchainjs/xchain-client",
"version": "1.0.0",
"version": "1.0.1",
"license": "MIT",

@@ -24,3 +24,3 @@ "main": "lib/index.js",

"@xchainjs/xchain-util": "1.0.0",
"axios": "1.3.6"
"axios": "1.7.4"
},

@@ -27,0 +27,0 @@ "publishConfig": {

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