@chain-registry/utils
Advanced tools
Comparing version 1.46.86 to 1.47.0
@@ -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; |
46
ibc.d.ts
@@ -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" | ||
} |
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
77343
1492
+ Added@chain-registry/types@0.46.5(transitive)
- Removed@chain-registry/types@0.45.86(transitive)