@ensomi/runtime 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,6 +20,7 @@ result.receipt; // EnsomiProtocol GenerationReceipt
20
20
  - `loadModels` reads the Wasm core (`pkg/`) and the tables from beside its own module: with `fetch` in a browser,
21
21
  from the file system in Node 22.3 or later. A bundler that moves the module passes `options.core` and
22
22
  `options.runtimeSource`. `src/index.d.ts` lists every option.
23
+ - The Wasm core uses WebAssembly SIMD, as ONNX Runtime Web does: Chrome 91, Firefox 89, Safari 16.4 or later.
23
24
  - A panic in the core rejects its generation with a `WebAssembly.RuntimeError` carrying the panic's message, which
24
25
  also goes to `console.error`. The core's instance is then replaced, and the next `generateChart` loads the model
25
26
  into the new one from `source` again.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ensomi/runtime",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "The Ensomi chart generator API on the shared Rust core, compiled to WebAssembly; the graphs run in ONNX Runtime Web.",
@@ -307,7 +307,7 @@ function __wbg_get_imports() {
307
307
  const ret = Object.entries(arg0);
308
308
  return ret;
309
309
  },
310
- __wbg_error_e36d92c5663e2a8d: function(arg0, arg1) {
310
+ __wbg_error_00cb6a36fd5c2130: function(arg0, arg1) {
311
311
  console.error(getStringFromWasm0(arg0, arg1));
312
312
  },
313
313
  __wbg_from_296ca31f8d0f1c52: function(arg0) {
Binary file