Skip to content

Commit

Permalink
Release new r2pipe-promise with new call-backs
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Jan 16, 2024
1 parent 9a39caf commit a6949e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions nodejs/r2pipe-promise/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,15 @@ function r2promise (r2) {
return {
cmd: makePromise(r2, 'cmd'),
cmdj: makePromise(r2, 'cmdj'),
cmdAt: makePromise(r2, 'cmdAt'),
call: makePromise(r2, 'call'),
callj: makePromise(r2, 'callj'),
callAt: makePromise(r2, 'callAt'),
syscmd: makePromise(r2, 'syscmd'),
syscmdj: makePromise(r2, 'syscmdj'),
plugin: makePromise(r2, 'plugin'),
unload: makePromise(r2, 'unload'),
log: console.log,
quit: makePromise(r2, 'quit')
};
}
2 changes: 1 addition & 1 deletion nodejs/r2pipe-promise/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "r2pipe-promise",
"version": "1.6.1",
"version": "1.6.2",
"description": "promisified r2pipe api",
"types": "r2pipe-promise.d.ts",
"main": "index.js",
Expand Down

0 comments on commit a6949e2

Please sign in to comment.