@ecency/wallets 1.3.14 → 1.3.16

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.
@@ -1,8 +1,8 @@
1
1
  export declare enum EcencyWalletCurrency {
2
2
  BTC = "BTC",
3
3
  ETH = "ETH",
4
+ BNB = "BNB",
4
5
  APT = "APT",
5
- ATOM = "ATOM",
6
6
  TON = "TON",
7
7
  TRON = "TRX",
8
8
  SOL = "SOL"
@@ -2,7 +2,6 @@ import { EcencyWalletCurrency } from '../enums';
2
2
  /**
3
3
  * Returns information about the actual balance of the given currency address
4
4
  * using various of public APIs
5
- * todo extract URLs to configs
6
5
  * @param currency
7
6
  * @param address
8
7
  * @returns
@@ -4,13 +4,12 @@ import { EthTxParams } from '@okxweb3/coin-ethereum/dist/EthWallet';
4
4
  import { SolSignParam } from '@okxweb3/coin-solana/dist/SolWallet';
5
5
  import { TrxSignParam } from '@okxweb3/coin-tron/dist/TrxWallet';
6
6
  import { TxData as TonTxData } from '@okxweb3/coin-ton/dist/api/types';
7
- import { CosmosSignParam } from '@okxweb3/coin-cosmos/dist/CosmosWallet';
8
7
  import { AptosParam } from '@okxweb3/coin-aptos/dist/AptosWallet';
9
8
  import { EcencyWalletCurrency } from '../enums';
10
9
  /**
11
10
  * Union type covering all chain-specific build parameters.
12
11
  */
13
- export type ExternalTxParams = utxoTx | EthTxParams | SolSignParam | TrxSignParam | TonTxData | CosmosSignParam | AptosParam;
12
+ export type ExternalTxParams = utxoTx | EthTxParams | SolSignParam | TrxSignParam | TonTxData | AptosParam;
14
13
  /**
15
14
  * Build a Bitcoin PSBT from UTXO inputs and desired outputs.
16
15
  *
@@ -36,10 +35,6 @@ export declare function buildTronTx(data: TrxSignParam): TrxSignParam;
36
35
  * Helper returning TON transaction params used by signExternalTx.
37
36
  */
38
37
  export declare function buildTonTx(data: TonTxData): TonTxData;
39
- /**
40
- * Helper returning Cosmos transaction params used by signExternalTx.
41
- */
42
- export declare function buildAtomTx(data: CosmosSignParam): CosmosSignParam;
43
38
  /**
44
39
  * Helper returning Aptos transaction params used by signExternalTx.
45
40
  */
@@ -50,4 +45,4 @@ export declare function buildAptTx(data: AptosParam): AptosParam;
50
45
  * @param currency Chain identifier.
51
46
  * @param tx Chain specific transaction description.
52
47
  */
53
- export declare function buildExternalTx(currency: EcencyWalletCurrency, tx: ExternalTxParams): string | EthTxParams | SolSignParam | TrxSignParam | TonTxData | CosmosSignParam | AptosParam;
48
+ export declare function buildExternalTx(currency: EcencyWalletCurrency, tx: ExternalTxParams): string | EthTxParams | SolSignParam | TrxSignParam | TonTxData | AptosParam;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ecency/wallets",
3
3
  "private": false,
4
- "version": "1.3.14",
4
+ "version": "1.3.16",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "./dist/ecency-sdk.umd.js",
@@ -38,7 +38,6 @@
38
38
  "@okxweb3/coin-aptos": "^1.2.0",
39
39
  "@okxweb3/coin-base": "^1.1.2",
40
40
  "@okxweb3/coin-bitcoin": "^1.2.0",
41
- "@okxweb3/coin-cosmos": "^1.1.0",
42
41
  "@okxweb3/coin-ethereum": "^1.0.12",
43
42
  "@okxweb3/coin-solana": "^1.1.0",
44
43
  "@okxweb3/coin-ton": "^1.1.1-beta.1",