@ecency/wallets 1.4.1 → 1.4.5
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/browser/index.d.ts +1643 -0
- package/dist/browser/index.js +3328 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/index.browser.mjs +3338 -0
- package/dist/index.browser.mjs.map +1 -0
- package/dist/index.cjs +3453 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +1643 -2
- package/dist/index.mjs +3338 -0
- package/dist/index.mjs.map +1 -0
- package/dist/node/index.cjs +3443 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.mjs +3328 -0
- package/dist/node/index.mjs.map +1 -0
- package/package.json +58 -28
- package/dist/ecency-sdk.es.js +0 -23225
- package/dist/internal/scrypt-guard.d.ts +0 -1
- package/dist/modules/assets/external/apt/get-apt-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/apt/get-apt-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/apt/index.d.ts +0 -2
- package/dist/modules/assets/external/bnb/get-bnb-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/bnb/get-bnb-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/bnb/index.d.ts +0 -2
- package/dist/modules/assets/external/btc/get-btc-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/btc/get-btc-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/btc/index.d.ts +0 -2
- package/dist/modules/assets/external/common/index.d.ts +0 -1
- package/dist/modules/assets/external/common/parse-private-api-balance.d.ts +0 -23
- package/dist/modules/assets/external/eth/get-eth-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/eth/get-eth-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/eth/index.d.ts +0 -2
- package/dist/modules/assets/external/index.d.ts +0 -7
- package/dist/modules/assets/external/sol/get-sol-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/sol/get-sol-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/sol/index.d.ts +0 -2
- package/dist/modules/assets/external/ton/get-ton-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/ton/get-ton-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/ton/index.d.ts +0 -2
- package/dist/modules/assets/external/tron/get-tron-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/tron/get-tron-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/tron/index.d.ts +0 -2
- package/dist/modules/assets/hive/consts/hive-account-operation-groups.d.ts +0 -2
- package/dist/modules/assets/hive/consts/index.d.ts +0 -1
- package/dist/modules/assets/hive/index.d.ts +0 -2
- package/dist/modules/assets/hive/mutations/claim-rewards.d.ts +0 -1
- package/dist/modules/assets/hive/mutations/delegate.d.ts +0 -13
- package/dist/modules/assets/hive/mutations/index.d.ts +0 -7
- package/dist/modules/assets/hive/mutations/power-down.d.ts +0 -11
- package/dist/modules/assets/hive/mutations/power-up.d.ts +0 -13
- package/dist/modules/assets/hive/mutations/transfer-to-savings.d.ts +0 -13
- package/dist/modules/assets/hive/mutations/transfer.d.ts +0 -12
- package/dist/modules/assets/hive/mutations/withdraw-route.d.ts +0 -13
- package/dist/modules/assets/hive/queries/get-hbd-asset-general-info-query-options.d.ts +0 -76
- package/dist/modules/assets/hive/queries/get-hbd-asset-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/hive/queries/get-hive-asset-metric-query-options.d.ts +0 -43
- package/dist/modules/assets/hive/queries/get-hive-asset-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-asset-withdrawal-routes-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-power-asset-general-info-query-options.d.ts +0 -76
- package/dist/modules/assets/hive/queries/get-hive-power-asset-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-power-delegates-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-power-delegatings-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/index.d.ts +0 -10
- package/dist/modules/assets/hive/types/delegated-vesting-share.d.ts +0 -7
- package/dist/modules/assets/hive/types/hive-market-metric.d.ts +0 -19
- package/dist/modules/assets/hive/types/hive-operation-group.d.ts +0 -1
- package/dist/modules/assets/hive/types/hive-transaction.d.ts +0 -198
- package/dist/modules/assets/hive/types/hive-withdraw-route.d.ts +0 -7
- package/dist/modules/assets/hive/types/index.d.ts +0 -6
- package/dist/modules/assets/hive/types/received-vesting-share.d.ts +0 -6
- package/dist/modules/assets/hive-engine/index.d.ts +0 -3
- package/dist/modules/assets/hive-engine/mutations/delegate.d.ts +0 -12
- package/dist/modules/assets/hive-engine/mutations/index.d.ts +0 -5
- package/dist/modules/assets/hive-engine/mutations/stake.d.ts +0 -12
- package/dist/modules/assets/hive-engine/mutations/transfer.d.ts +0 -13
- package/dist/modules/assets/hive-engine/mutations/undelegate.d.ts +0 -12
- package/dist/modules/assets/hive-engine/mutations/unstake.d.ts +0 -12
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-token-general-info-query-options.d.ts +0 -32
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-token-metrics-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-token-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-tokens-balances-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-tokens-market-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-tokens-metadata-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/index.d.ts +0 -6
- package/dist/modules/assets/hive-engine/types/hive-engine-list-response.d.ts +0 -13
- package/dist/modules/assets/hive-engine/types/hive-engine-metric.d.ts +0 -9
- package/dist/modules/assets/hive-engine/types/hive-engine-token-balance.d.ts +0 -10
- package/dist/modules/assets/hive-engine/types/hive-engine-token-metadata-response.d.ts +0 -16
- package/dist/modules/assets/hive-engine/types/hive-engine-transaction.d.ts +0 -14
- package/dist/modules/assets/hive-engine/types/index.d.ts +0 -6
- package/dist/modules/assets/index.d.ts +0 -6
- package/dist/modules/assets/points/index.d.ts +0 -3
- package/dist/modules/assets/points/mutations/claim-points.d.ts +0 -2
- package/dist/modules/assets/points/mutations/gift.d.ts +0 -14
- package/dist/modules/assets/points/mutations/index.d.ts +0 -2
- package/dist/modules/assets/points/queries/get-points-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/points/queries/get-points-asset-transactions-query-options.d.ts +0 -41
- package/dist/modules/assets/points/queries/get-points-query-options.d.ts +0 -20
- package/dist/modules/assets/points/queries/index.d.ts +0 -3
- package/dist/modules/assets/points/types/index.d.ts +0 -4
- package/dist/modules/assets/points/types/point-transaction-type.d.ts +0 -15
- package/dist/modules/assets/points/types/point-transaction.d.ts +0 -10
- package/dist/modules/assets/points/types/points-response.d.ts +0 -4
- package/dist/modules/assets/points/types/points.d.ts +0 -4
- package/dist/modules/assets/spk/index.d.ts +0 -2
- package/dist/modules/assets/spk/mutations/index.d.ts +0 -4
- package/dist/modules/assets/spk/mutations/lock.d.ts +0 -12
- package/dist/modules/assets/spk/mutations/power-up.d.ts +0 -12
- package/dist/modules/assets/spk/mutations/transfer.d.ts +0 -14
- package/dist/modules/assets/spk/queries/get-larynx-asset-general-info-query-options.d.ts +0 -56
- package/dist/modules/assets/spk/queries/get-larynx-power-asset-general-info-query-options.d.ts +0 -76
- package/dist/modules/assets/spk/queries/get-spk-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/spk/queries/get-spk-markets-query-options.d.ts +0 -33
- package/dist/modules/assets/spk/queries/get-spk-wallet-query-options.d.ts +0 -9
- package/dist/modules/assets/spk/queries/index.d.ts +0 -4
- package/dist/modules/assets/types/asset-operation.d.ts +0 -17
- package/dist/modules/assets/types/general-asset-info.d.ts +0 -12
- package/dist/modules/assets/types/general-asset-transaction.d.ts +0 -13
- package/dist/modules/assets/types/hive-based-asset-sign-type.d.ts +0 -1
- package/dist/modules/assets/types/index.d.ts +0 -5
- package/dist/modules/assets/types/spk-wallet.d.ts +0 -60
- package/dist/modules/assets/utils/index.d.ts +0 -4
- package/dist/modules/assets/utils/is-empty-date.d.ts +0 -1
- package/dist/modules/assets/utils/parse-asset.d.ts +0 -17
- package/dist/modules/assets/utils/reward-spk.d.ts +0 -2
- package/dist/modules/assets/utils/vests-to-hp.d.ts +0 -1
- package/dist/modules/wallets/consts/hive-engine-tokens.d.ts +0 -1
- package/dist/modules/wallets/consts/index.d.ts +0 -1
- package/dist/modules/wallets/enums/ecency-wallet-basic-tokens.d.ts +0 -7
- package/dist/modules/wallets/enums/ecency-wallet-currency.d.ts +0 -9
- package/dist/modules/wallets/enums/index.d.ts +0 -2
- package/dist/modules/wallets/functions/get-keys-from-seed.d.ts +0 -3
- package/dist/modules/wallets/functions/index.d.ts +0 -1
- package/dist/modules/wallets/index.d.ts +0 -5
- package/dist/modules/wallets/mutations/index.d.ts +0 -5
- package/dist/modules/wallets/mutations/private-api/check-wallet-existence.d.ts +0 -7
- package/dist/modules/wallets/mutations/private-api/create-account-with-wallets.d.ts +0 -6
- package/dist/modules/wallets/mutations/private-api/index.d.ts +0 -2
- package/dist/modules/wallets/mutations/private-api-namespace.d.ts +0 -2
- package/dist/modules/wallets/mutations/save-wallet-information-to-metadata.d.ts +0 -9
- package/dist/modules/wallets/mutations/use-import-wallet.d.ts +0 -15
- package/dist/modules/wallets/mutations/use-wallet-create.d.ts +0 -11
- package/dist/modules/wallets/mutations/wallet-operation.d.ts +0 -2
- package/dist/modules/wallets/queries/get-account-wallet-asset-info-query-options.d.ts +0 -13
- package/dist/modules/wallets/queries/get-all-tokens-list-query-options.d.ts +0 -30
- package/dist/modules/wallets/queries/get-coingecko-price-query-options.d.ts +0 -8
- package/dist/modules/wallets/queries/get-tokens-operations-query-options.d.ts +0 -9
- package/dist/modules/wallets/queries/index.d.ts +0 -8
- package/dist/modules/wallets/queries/use-get-account-wallet-list-query.d.ts +0 -8
- package/dist/modules/wallets/queries/use-get-external-wallet-query.d.ts +0 -17
- package/dist/modules/wallets/queries/use-hive-keys-query.d.ts +0 -2
- package/dist/modules/wallets/queries/use-seed-phrase.d.ts +0 -1
- package/dist/modules/wallets/types/account-points-response.d.ts +0 -4
- package/dist/modules/wallets/types/ecency-create-wallet-information.d.ts +0 -13
- package/dist/modules/wallets/types/ecency-hive-keys.d.ts +0 -12
- package/dist/modules/wallets/types/index.d.ts +0 -3
- package/dist/modules/wallets/utils/build-external-transaction.d.ts +0 -48
- package/dist/modules/wallets/utils/decrypt-memo.d.ts +0 -12
- package/dist/modules/wallets/utils/delay.d.ts +0 -1
- package/dist/modules/wallets/utils/derive-hive-bip44-keys.d.ts +0 -15
- package/dist/modules/wallets/utils/derive-hive-master-password-keys.d.ts +0 -15
- package/dist/modules/wallets/utils/detect-hive-key-derivation.d.ts +0 -2
- package/dist/modules/wallets/utils/encrypt-memo.d.ts +0 -16
- package/dist/modules/wallets/utils/get-wallet.d.ts +0 -3
- package/dist/modules/wallets/utils/index.d.ts +0 -12
- package/dist/modules/wallets/utils/mnemonic-to-seed-bip-39.d.ts +0 -1
- package/dist/modules/wallets/utils/sign-digest.d.ts +0 -7
- package/dist/modules/wallets/utils/sign-external-transaction.d.ts +0 -18
- package/dist/modules/wallets/utils/sign-transaction.d.ts +0 -23
- package/dist/vite.config.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,38 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ecency/wallets",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "./dist/ecency-sdk.umd.js",
|
|
8
|
-
"module": "./dist/ecency-sdk.es.js",
|
|
9
|
-
"typings": "./dist/index.d.ts",
|
|
10
7
|
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
"README.md"
|
|
8
|
+
"dist"
|
|
13
9
|
],
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
10
|
+
"main": "dist/node/index.cjs",
|
|
11
|
+
"module": "dist/node/index.mjs",
|
|
12
|
+
"types": "dist/browser/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
".": {
|
|
15
|
+
"types": "./dist/browser/index.d.ts",
|
|
16
|
+
"browser": "./dist/browser/index.js",
|
|
17
|
+
"import": "./dist/node/index.mjs",
|
|
18
|
+
"require": "./dist/node/index.cjs",
|
|
19
|
+
"default": "./dist/node/index.mjs"
|
|
20
|
+
}
|
|
18
21
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
22
|
+
"browser": {
|
|
23
|
+
"node-fetch": false,
|
|
24
|
+
"undici": false
|
|
25
|
+
},
|
|
26
|
+
"sideEffects": false,
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"react": ">=18",
|
|
29
|
+
"@tanstack/react-query": ">=5",
|
|
21
30
|
"@hiveio/dhive": "^1.3.2",
|
|
22
|
-
"
|
|
23
|
-
"@
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"remeda": "^2.30.0",
|
|
33
|
-
"vite": "^6.2.0",
|
|
34
|
-
"vite-plugin-dts": "4.5.3",
|
|
35
|
-
"vite-plugin-node-polyfills": "^0.23.0"
|
|
31
|
+
"hivesigner": "^3.3.4",
|
|
32
|
+
"@ecency/sdk": "1.3.0"
|
|
33
|
+
},
|
|
34
|
+
"peerDependenciesMeta": {
|
|
35
|
+
"react": {
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
"@tanstack/react-query": {
|
|
39
|
+
"optional": true
|
|
40
|
+
}
|
|
36
41
|
},
|
|
37
42
|
"dependencies": {
|
|
38
43
|
"@okxweb3/coin-aptos": "^1.2.0",
|
|
@@ -43,6 +48,31 @@
|
|
|
43
48
|
"@okxweb3/coin-ton": "^1.1.1-beta.1",
|
|
44
49
|
"@okxweb3/coin-tron": "^1.1.0",
|
|
45
50
|
"@okxweb3/crypto-lib": "^1.0.10",
|
|
46
|
-
"bip39": "^3.1.0"
|
|
51
|
+
"bip39": "^3.1.0",
|
|
52
|
+
"dayjs": "^1.11.10",
|
|
53
|
+
"lru-cache": "^11.0.2",
|
|
54
|
+
"remeda": "^2.30.0"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/node": "^22.13.8",
|
|
58
|
+
"eslint": "^9.21.0",
|
|
59
|
+
"prettier": "^3.5.2",
|
|
60
|
+
"tsup": "^8",
|
|
61
|
+
"typescript": "^5.6",
|
|
62
|
+
"typescript-eslint": "^8.18.2",
|
|
63
|
+
"vitest": "^2.0.0"
|
|
64
|
+
},
|
|
65
|
+
"publishConfig": {
|
|
66
|
+
"access": "public"
|
|
67
|
+
},
|
|
68
|
+
"repository": {
|
|
69
|
+
"type": "git",
|
|
70
|
+
"url": "https://github.com/ecency/vision-next.git",
|
|
71
|
+
"directory": "packages/wallets"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "tsup",
|
|
75
|
+
"lint": "eslint .",
|
|
76
|
+
"test": "vitest run"
|
|
47
77
|
}
|
|
48
|
-
}
|
|
78
|
+
}
|