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 +```