Skip to content

Commit

Permalink
fix(wallet/client): update to use binding 1.1.0 (#1153)
Browse files Browse the repository at this point in the history
Description
---
fix(wallet/client): update to use binding 1.1.0
fix: correct return type for get_transaction_result
  • Loading branch information
sdbondi authored Sep 18, 2024
1 parent a27b6af commit 1bbd7d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 4 additions & 4 deletions clients/javascript/wallet_daemon_client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions clients/javascript/wallet_daemon_client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tari-project/wallet_jrpc_client",
"version": "1.0.8",
"version": "1.1.0",
"description": "Tari wallet JSON-RPC client library",
"publishConfig": {
"access": "public"
Expand All @@ -17,7 +17,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"@tari-project/typescript-bindings": "1.0.3"
"@tari-project/typescript-bindings": "1.1.0"
},
"devDependencies": {
"typescript": "^5.3.3"
Expand Down
5 changes: 1 addition & 4 deletions clients/javascript/wallet_daemon_client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ import {
TransactionWaitResultResponse,
WebRtcStartRequest,
WebRtcStartResponse,
} from "@tari-project/typescript-bindings/wallet-daemon-client";

import {
Arg,
FinalizeResult,
TemplateDef,
Expand Down Expand Up @@ -272,7 +269,7 @@ export class WalletDaemonClient {
return this.__invokeRpc("transactions.get", params);
}

public getTransactionResult(params: TransactionGetResultRequest): Promise<TransactionWaitResultResponse> {
public getTransactionResult(params: TransactionGetResultRequest): Promise<TransactionGetResultResponse> {
return this.__invokeRpc("transactions.get_result", params);
}

Expand Down

0 comments on commit 1bbd7d5

Please sign in to comment.