@tari-project/tarijs 0.14.3 → 0.14.4
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/docusaurus/tari-docs/package.json +1 -1
- package/package.json +2 -2
- package/packages/builders/package.json +1 -1
- package/packages/indexer_provider/package.json +1 -1
- package/packages/metamask_signer/package.json +1 -1
- package/packages/permissions/package.json +1 -1
- package/packages/react-mui-connect-button/package.json +1 -1
- package/packages/tari_provider/package.json +1 -1
- package/packages/tari_signer/package.json +1 -1
- package/packages/tari_universe/package.json +1 -1
- package/packages/tarijs/package.json +1 -1
- package/packages/tarijs_types/package.json +1 -1
- package/packages/wallet_daemon/package.json +1 -1
- package/packages/wallet_daemon/src/signer.ts +4 -5
- package/packages/walletconnect/package.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tari-project/tarijs",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [],
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"typescript-eslint": "^8.35.0"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tari-project/tarijs-types": "^0.14.
|
|
22
|
+
"@tari-project/tarijs-types": "^0.14.4"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"docs": "typedoc",
|
|
@@ -24,12 +24,10 @@ import {
|
|
|
24
24
|
ConfidentialViewVaultBalanceRequest,
|
|
25
25
|
KeyBranch,
|
|
26
26
|
substateIdToString,
|
|
27
|
-
SubstatesListRequest, UtxoId,
|
|
27
|
+
SubstatesListRequest, UtxoAddress, UtxoId,
|
|
28
28
|
WalletGetInfoResponse,
|
|
29
29
|
} from "@tari-project/typescript-bindings";
|
|
30
30
|
|
|
31
|
-
export const WalletDaemonNotConnected = "WALLET_DAEMON_NOT_CONNECTED";
|
|
32
|
-
export const Unsupported = "UNSUPPORTED";
|
|
33
31
|
|
|
34
32
|
export interface WalletDaemonBaseParameters {
|
|
35
33
|
permissions: TariPermissions;
|
|
@@ -245,13 +243,14 @@ export class WalletDaemonTariSigner implements TariSigner {
|
|
|
245
243
|
return { balances: res.balances as unknown as Map<string, bigint | null> };
|
|
246
244
|
}
|
|
247
245
|
public async decryptUtxoValue(
|
|
248
|
-
|
|
246
|
+
utxoAddress: UtxoAddress,
|
|
249
247
|
viewKeyId: number,
|
|
250
248
|
maximum_expected_value = null,
|
|
251
249
|
minimum_expected_value = null,
|
|
252
250
|
): Promise<RevealedBalances> {
|
|
253
251
|
const res = await this.client.stealthUtxosDecryptValue({
|
|
254
|
-
|
|
252
|
+
resource_address: utxoAddress.resource_address,
|
|
253
|
+
utxo_id: utxoAddress.id,
|
|
255
254
|
view_key_id: viewKeyId,
|
|
256
255
|
minimum_expected_value,
|
|
257
256
|
maximum_expected_value,
|