From a6949e2fa4e572cc80ed5fbb3c79b94500233846 Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 16 Jan 2024 12:34:07 +0100 Subject: [PATCH] Release new r2pipe-promise with new call-backs --- nodejs/r2pipe-promise/index.js | 7 +++++++ nodejs/r2pipe-promise/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/nodejs/r2pipe-promise/index.js b/nodejs/r2pipe-promise/index.js index 8fc8a8e..32e4e54 100644 --- a/nodejs/r2pipe-promise/index.js +++ b/nodejs/r2pipe-promise/index.js @@ -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') }; } diff --git a/nodejs/r2pipe-promise/package.json b/nodejs/r2pipe-promise/package.json index 8fc822e..989bdc8 100644 --- a/nodejs/r2pipe-promise/package.json +++ b/nodejs/r2pipe-promise/package.json @@ -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",