Skip to content

Commit

Permalink
added missing binding for nodejs package
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 committed Sep 18, 2024
1 parent 7fc06f8 commit b14eea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/javascript/indy-vdr-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
3 changes: 3 additions & 0 deletions wrappers/javascript/indy-vdr-nodejs/src/library/bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b14eea1

Please sign in to comment.