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,