Socket
Socket
Sign inDemoInstall

@chain-registry/utils

Package Overview
Dependencies
Maintainers
0
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chain-registry/utils - npm Package Compare versions

Comparing version 1.46.86 to 1.47.0

6

assets.d.ts

@@ -1,4 +0,4 @@

import { Asset, AssetDenomUnit, AssetList, Chain } from '@chain-registry/types';
export type Denom = AssetDenomUnit['denom'];
export type Exponent = AssetDenomUnit['exponent'];
import { Asset, AssetList, Chain, DenomUnit } from '@chain-registry/types';
export type Denom = DenomUnit['denom'];
export type Exponent = DenomUnit['exponent'];
export declare const getAssetByDenom: (assets: AssetList[], denom: Denom, chainName?: string) => Asset | undefined;

@@ -5,0 +5,0 @@ export declare const getAssetBySymbol: (assets: AssetList[], symbol: string, chainName?: string) => Asset | undefined;

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

import { AssetList, IBCChannelInfo, IBCInfo } from '@chain-registry/types';
import { AssetList, ChannelInfo, IBCInfo } from '@chain-registry/types';
export declare const ibcDenom: (paths: {

@@ -8,26 +8,44 @@ port_id: string;

export declare const getTransferChannel: (info: IBCInfo) => {
chain_1: IBCChannelInfo;
chain_2: IBCChannelInfo;
ordering: string;
chain_1: ChannelInfo;
chain_2: ChannelInfo;
ordering: "ordered" | "unordered";
version: string;
fee_version?: string;
tags?: object;
description?: string;
tags?: {
status?: "live" | "upcoming" | "killed";
preferred?: boolean;
dex?: string;
properties?: string;
};
};
export declare const getNonTransferChannel: (info: IBCInfo) => {
chain_1: IBCChannelInfo;
chain_2: IBCChannelInfo;
ordering: string;
chain_1: ChannelInfo;
chain_2: ChannelInfo;
ordering: "ordered" | "unordered";
version: string;
fee_version?: string;
tags?: object;
description?: string;
tags?: {
status?: "live" | "upcoming" | "killed";
preferred?: boolean;
dex?: string;
properties?: string;
};
};
export declare const getWasmChannel: (info: IBCInfo) => {
chain_1: IBCChannelInfo;
chain_2: IBCChannelInfo;
ordering: string;
chain_1: ChannelInfo;
chain_2: ChannelInfo;
ordering: "ordered" | "unordered";
version: string;
fee_version?: string;
tags?: object;
description?: string;
tags?: {
status?: "live" | "upcoming" | "killed";
preferred?: boolean;
dex?: string;
properties?: string;
};
};
export declare const getIbcAssetPath: (ibc: IBCInfo[], chain: string, counterparty: string, assets: AssetList[], base: string) => IBCChannelInfo[];
export declare const getIbcAssetPath: (ibc: IBCInfo[], chain: string, counterparty: string, assets: AssetList[], base: string) => ChannelInfo[];
export declare const getIbcDenomByBase: (ibc: IBCInfo[], chain: string, counterparty: string, assets: AssetList[], base: string) => string;

@@ -34,0 +52,0 @@ export declare const getIbcAssets: (chainName: string, ibc: IBCInfo[], assets: AssetList[]) => AssetList[];

{
"name": "@chain-registry/utils",
"version": "1.46.86",
"version": "1.47.0",
"description": "Chain Registry Utils",

@@ -35,3 +35,3 @@ "author": "Dan Lynch <pyramation@gmail.com>",

"dependencies": {
"@chain-registry/types": "^0.45.86",
"@chain-registry/types": "^0.46.0",
"bignumber.js": "9.1.2",

@@ -46,3 +46,3 @@ "sha.js": "^2.4.11"

],
"gitHead": "fd7988d33b86797b14c8421d37e5da25de8e383d"
"gitHead": "fbd284ef1c6ac649534c53c1a62f085cc20fe181"
}
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