Skip to content

Commit

Permalink
Update "provider version" (#695)
Browse files Browse the repository at this point in the history
Fixes #694
  • Loading branch information
guest271314 authored Jul 4, 2024
1 parent d7a5e47 commit 0bfd2bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/nodejs-embedding.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -191,4 +191,4 @@ async function readOutput(filePath) {
return str;
}
}
```
```

0 comments on commit 0bfd2bf

Please sign in to comment.