@necpp-engine/wasm 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 +1 -1
- package/dist/nec2pp.wasm +0 -0
- package/dist/versions.d.ts +1 -1
- package/dist/versions.js +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -307,7 +307,7 @@ appropriate CORS header.
|
|
|
307
307
|
import { createNecModel } from "@necpp-engine/wasm";
|
|
308
308
|
|
|
309
309
|
const model = await createNecModel({
|
|
310
|
-
wasmUrl: new URL("https://cdn.example.test/necpp/0.1.
|
|
310
|
+
wasmUrl: new URL("https://cdn.example.test/necpp/0.1.1/nec2pp.wasm"),
|
|
311
311
|
});
|
|
312
312
|
model.dispose();
|
|
313
313
|
```
|
package/dist/nec2pp.wasm
CHANGED
|
Binary file
|
package/dist/versions.d.ts
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* CMake `project(necpp VERSION ...)` value compiled into the shipped WASM.
|
|
6
6
|
* `abiVersion` is the stable C ABI prefix `necpp_wasm_v1`.
|
|
7
7
|
*/
|
|
8
|
-
export declare const packageVersion = "0.1.
|
|
8
|
+
export declare const packageVersion = "0.1.1";
|
|
9
9
|
export declare const abiVersion = 1;
|
|
10
10
|
export declare const engineVersion = "2.3.4";
|
package/dist/versions.js
CHANGED
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* CMake `project(necpp VERSION ...)` value compiled into the shipped WASM.
|
|
6
6
|
* `abiVersion` is the stable C ABI prefix `necpp_wasm_v1`.
|
|
7
7
|
*/
|
|
8
|
-
export const packageVersion = "0.1.
|
|
8
|
+
export const packageVersion = "0.1.1";
|
|
9
9
|
export const abiVersion = 1;
|
|
10
10
|
export const engineVersion = "2.3.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@necpp-engine/wasm",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Stateful NEC2++ electromagnetic solver for Node and the browser",
|
|
@@ -50,6 +50,7 @@
|
|
|
50
50
|
"COPYING"
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
|
+
"bench:array": "node bench/array-benchmark.mjs",
|
|
53
54
|
"build": "node scripts/build-dist.mjs",
|
|
54
55
|
"prepack": "npm run build",
|
|
55
56
|
"build:test": "node test/build.mjs",
|