@proton/wrap-constants 0.2.72 → 0.2.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +5 -1
- package/dist/index.js +455 -373
- package/dist/index.mjs +455 -373
- package/package.json +5 -3
- package/src/coins.ts +1407 -1199
- package/src/constants.ts +6 -1
package/dist/index.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ declare enum Providers {
|
|
|
78
78
|
FIREBLOCKS = "fireblocks",
|
|
79
79
|
METAL = "metal"
|
|
80
80
|
}
|
|
81
|
-
declare type CoinWallet = Exclude<Coin,
|
|
81
|
+
declare type CoinWallet = Exclude<Coin, "wallets"> & Wallet;
|
|
82
82
|
declare const explorerLinkByChain: {
|
|
83
83
|
Bitcoin: (txid: string) => string;
|
|
84
84
|
"Bitcoin (Testnet)": (txid: string) => string;
|
|
@@ -8835,6 +8835,10 @@ declare const initializeConstants: (chain: string) => {
|
|
|
8835
8835
|
BORROW_COINS: Coin[];
|
|
8836
8836
|
LOAN_COINS: Coin[];
|
|
8837
8837
|
ALL_COINS: Coin[];
|
|
8838
|
+
XMD_CONTRACT: string;
|
|
8839
|
+
XMD_TOKEN_CONTRACT: string;
|
|
8840
|
+
XMD_SYMBOL_CODE: string;
|
|
8841
|
+
XMD_DECIMALS: number;
|
|
8838
8842
|
findBridgeCoinWalletByXtokenAndChain(xtokenSymbol: string, chain: string): CoinWallet | undefined;
|
|
8839
8843
|
findBridgeCoinWallet(coin: string, wallet: string): CoinWallet | undefined;
|
|
8840
8844
|
findBridgeCoinNetwork(coin: string, network: string): CoinWallet | undefined;
|