From b14eea1dcaa01e9d89f926b17366f462805fb435 Mon Sep 17 00:00:00 2001 From: wadeking98 Date: Wed, 18 Sep 2024 16:33:40 -0700 Subject: [PATCH] added missing binding for nodejs package Signed-off-by: wadeking98 --- wrappers/javascript/indy-vdr-nodejs/package.json | 2 +- wrappers/javascript/indy-vdr-nodejs/src/library/bindings.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wrappers/javascript/indy-vdr-nodejs/package.json b/wrappers/javascript/indy-vdr-nodejs/package.json index 2658c3ce..b3d33ee2 100644 --- a/wrappers/javascript/indy-vdr-nodejs/package.json +++ b/wrappers/javascript/indy-vdr-nodejs/package.json @@ -50,7 +50,7 @@ "binary": { "module_name": "indy_vdr", "module_path": "native", - "remote_path": "v0.4.0", + "remote_path": "v0.4.3", "host": "https://github.com/hyperledger/indy-vdr/releases/download/", "package_name": "library-{platform}-{arch}.tar.gz" }, diff --git a/wrappers/javascript/indy-vdr-nodejs/src/library/bindings.ts b/wrappers/javascript/indy-vdr-nodejs/src/library/bindings.ts index 1f844264..f2f98a14 100644 --- a/wrappers/javascript/indy-vdr-nodejs/src/library/bindings.ts +++ b/wrappers/javascript/indy-vdr-nodejs/src/library/bindings.ts @@ -23,6 +23,9 @@ export const nativeBindings = { indy_vdr_version: [FFI_STRING, []], indy_vdr_get_current_error: [FFI_ERROR_CODE, [FFI_STRING_PTR]], + // cache + indy_vdr_set_ledger_txn_cache: [FFI_ERROR_CODE, [FFI_INT64, FFI_INT64, FFI_STRING]], + // requests indy_vdr_build_acceptance_mechanisms_request: [ FFI_ERROR_CODE,