@tari-project/wallet-daemon-signer 0.14.1 → 0.14.2

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.
Files changed (2) hide show
  1. package/dist/signer.js +3 -3
  2. package/package.json +5 -5
package/dist/signer.js CHANGED
@@ -96,12 +96,12 @@ export class WalletDaemonTariSigner {
96
96
  account_id: account.key_index,
97
97
  component_address: account.component_address,
98
98
  wallet_address: address,
99
- // TODO: should be vaults not resources
100
99
  vaults: balances.map((b) => ({
101
100
  type: b.resource_type,
102
101
  resource_address: b.resource_address,
103
- balance: b.balance + b.confidential_balance,
104
- vault_id: typeof b.vault_address === "object" && "Vault" in b.vault_address ? b.vault_address.Vault : b.vault_address,
102
+ balance: b.balance,
103
+ confidential_balance: b.confidential_balance,
104
+ vault_id: b.vault_address,
105
105
  token_symbol: b.token_symbol,
106
106
  })),
107
107
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tari-project/wallet-daemon-signer",
3
- "version": "0.14.1",
3
+ "version": "0.14.2",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -12,10 +12,10 @@
12
12
  "dependencies": {
13
13
  "@tari-project/typescript-bindings": ">=1.17.0",
14
14
  "@tari-project/wallet_jrpc_client": "^1.7.2",
15
- "@tari-project/tari-permissions": "^0.14.1",
16
- "@tari-project/tari-signer": "^0.14.1",
17
- "@tari-project/tari-provider": "^0.14.1",
18
- "@tari-project/tarijs-types": "^0.14.1"
15
+ "@tari-project/tari-signer": "^0.14.2",
16
+ "@tari-project/tari-provider": "^0.14.2",
17
+ "@tari-project/tari-permissions": "^0.14.2",
18
+ "@tari-project/tarijs-types": "^0.14.2"
19
19
  },
20
20
  "devDependencies": {
21
21
  "@types/node": "^22.13.1",