@xchainjs/xchain-util
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -0,1 +1,8 @@ | ||
# v.0.5.1 (2022-02-04) | ||
### Add | ||
- `Chain.Terra` | ||
- `AssetLUNA` | ||
# v.0.5.0 (2022-02-02) | ||
@@ -2,0 +9,0 @@ |
@@ -136,2 +136,8 @@ import BigNumber from 'bignumber.js'; | ||
export declare const AssetDOGE: Asset; | ||
/** | ||
* Luna asset | ||
* Based on definition in Thorchain | ||
* @see TBD | ||
*/ | ||
export declare const AssetLUNA: Asset; | ||
export declare const RUNE_TICKER = "RUNE"; | ||
@@ -138,0 +144,0 @@ /** |
@@ -10,2 +10,3 @@ export declare enum Chain { | ||
Litecoin = "LTC", | ||
Terra = "TERRA", | ||
Doge = "DOGE" | ||
@@ -21,2 +22,3 @@ } | ||
export declare const LTCChain = Chain.Litecoin; | ||
export declare const LUNAChain = Chain.Terra; | ||
export declare const DOGEChain = Chain.Doge; | ||
@@ -23,0 +25,0 @@ /** |
@@ -121,2 +121,3 @@ import BigNumber from 'bignumber.js'; | ||
Chain["Litecoin"] = "LTC"; | ||
Chain["Terra"] = "TERRA"; | ||
Chain["Doge"] = "DOGE"; | ||
@@ -132,2 +133,3 @@ })(Chain || (Chain = {})); | ||
var LTCChain = Chain.Litecoin; | ||
var LUNAChain = Chain.Terra; | ||
var DOGEChain = Chain.Doge; | ||
@@ -160,2 +162,3 @@ /** | ||
_a[Chain.Polkadot] = 'Polkadot', | ||
_a[Chain.Terra] = 'Terra', | ||
_a[Chain.Doge] = 'Dogecoin', | ||
@@ -385,2 +388,8 @@ _a)); | ||
var AssetDOGE = { chain: Chain.Doge, symbol: 'DOGE', ticker: 'DOGE', synth: false }; | ||
/** | ||
* Luna asset | ||
* Based on definition in Thorchain | ||
* @see TBD | ||
*/ | ||
var AssetLUNA = { chain: Chain.Terra, symbol: 'LUNA', ticker: 'LUNA', synth: false }; | ||
var RUNE_TICKER = 'RUNE'; | ||
@@ -604,3 +613,3 @@ /** | ||
export { AssetBCH, AssetBNB, AssetBTC, AssetCurrencySymbol, AssetDOGE, AssetETH, AssetLTC, AssetRune67C, AssetRuneB1A, AssetRuneERC20, AssetRuneERC20Testnet, AssetRuneNative, BCHChain, BNBChain, BTCChain, Chain, CosmosChain, DOGEChain, Denomination, ETHChain, LTCChain, PolkadotChain, RUNE_TICKER, THORChain, assetAmount, assetFromString, assetToBase, assetToString, baseAmount, baseToAsset, bn, bnOrZero, chainToString, currencySymbolByAsset, delay, fixedBN, formatAssetAmount, formatAssetAmountCurrency, formatBN, formatBNCurrency, formatBaseAmount, formatBaseAsAssetAmount, isAssetAmount, isBaseAmount, isBigNumberValue, isChain, isSynthAsset, isValidAsset, isValidBN, trimZeros, validBNOrZero }; | ||
export { AssetBCH, AssetBNB, AssetBTC, AssetCurrencySymbol, AssetDOGE, AssetETH, AssetLTC, AssetLUNA, AssetRune67C, AssetRuneB1A, AssetRuneERC20, AssetRuneERC20Testnet, AssetRuneNative, BCHChain, BNBChain, BTCChain, Chain, CosmosChain, DOGEChain, Denomination, ETHChain, LTCChain, LUNAChain, PolkadotChain, RUNE_TICKER, THORChain, assetAmount, assetFromString, assetToBase, assetToString, baseAmount, baseToAsset, bn, bnOrZero, chainToString, currencySymbolByAsset, delay, fixedBN, formatAssetAmount, formatAssetAmountCurrency, formatBN, formatBNCurrency, formatBaseAmount, formatBaseAsAssetAmount, isAssetAmount, isBaseAmount, isBigNumberValue, isChain, isSynthAsset, isValidAsset, isValidBN, trimZeros, validBNOrZero }; | ||
//# sourceMappingURL=index.esm.js.map |
@@ -128,2 +128,3 @@ 'use strict'; | ||
Chain["Litecoin"] = "LTC"; | ||
Chain["Terra"] = "TERRA"; | ||
Chain["Doge"] = "DOGE"; | ||
@@ -139,2 +140,3 @@ })(exports.Chain || (exports.Chain = {})); | ||
var LTCChain = exports.Chain.Litecoin; | ||
var LUNAChain = exports.Chain.Terra; | ||
var DOGEChain = exports.Chain.Doge; | ||
@@ -167,2 +169,3 @@ /** | ||
_a[exports.Chain.Polkadot] = 'Polkadot', | ||
_a[exports.Chain.Terra] = 'Terra', | ||
_a[exports.Chain.Doge] = 'Dogecoin', | ||
@@ -391,2 +394,8 @@ _a)); | ||
var AssetDOGE = { chain: exports.Chain.Doge, symbol: 'DOGE', ticker: 'DOGE', synth: false }; | ||
/** | ||
* Luna asset | ||
* Based on definition in Thorchain | ||
* @see TBD | ||
*/ | ||
var AssetLUNA = { chain: exports.Chain.Terra, symbol: 'LUNA', ticker: 'LUNA', synth: false }; | ||
var RUNE_TICKER = 'RUNE'; | ||
@@ -612,2 +621,3 @@ /** | ||
exports.AssetLTC = AssetLTC; | ||
exports.AssetLUNA = AssetLUNA; | ||
exports.AssetRune67C = AssetRune67C; | ||
@@ -625,2 +635,3 @@ exports.AssetRuneB1A = AssetRuneB1A; | ||
exports.LTCChain = LTCChain; | ||
exports.LUNAChain = LUNAChain; | ||
exports.PolkadotChain = PolkadotChain; | ||
@@ -627,0 +638,0 @@ exports.RUNE_TICKER = RUNE_TICKER; |
{ | ||
"name": "@xchainjs/xchain-util", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Helper utilities for XChain clients", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
138860
1716