From 0bfd2bf40f8249c0e89ad1d010bc2d02938bdb98 Mon Sep 17 00:00:00 2001 From: guest271314 Date: Thu, 4 Jul 2024 06:18:16 -0700 Subject: [PATCH] Update "provider version" (#695) Fixes https://github.com/bytecodealliance/javy/issues/694 --- docs/nodejs-embedding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nodejs-embedding.md b/docs/nodejs-embedding.md index 822f5db9..e4b59c8a 100644 --- a/docs/nodejs-embedding.md +++ b/docs/nodejs-embedding.md @@ -149,7 +149,7 @@ async function runJavy(providerModule, embeddedModule, input) { wasi.getImportObject(), ); const instance = await WebAssembly.instantiate(embeddedModule, { - javy_quickjs_provider_v1: providerInstance.exports, + javy_quickjs_provider_v2: providerInstance.exports, }); // Javy provider is a WASI reactor see https://github.com/WebAssembly/WASI/blob/main/legacy/application-abi.md?plain=1 @@ -191,4 +191,4 @@ async function readOutput(filePath) { return str; } } -``` \ No newline at end of file +```