fix(node): enable asynchronous operation support in Node.js API (#2342)

Authored-by: engin0223 <engineda2014@hotmail.com>
Changes cherry-picked by GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com>

Breaking change: Alters Node API - "bake" and "execute" are now declared async.
This commit is contained in:
GCHQDeveloper581
2026-04-27 18:17:24 +01:00
committed by GitHub
parent 9e5f94f5dc
commit e0ba5d2812
5 changed files with 70 additions and 72 deletions
+2 -2
View File
@@ -8,9 +8,9 @@
const assert = require("assert");
require("cyberchef").then(chef => {
require("cyberchef").then(async chef => {
const d = chef.bake("Testing, 1 2 3", [
const d = await chef.bake("Testing, 1 2 3", [
chef.toHex,
chef.reverse,
{