@slithy/prim-interface 1.0.5 → 1.0.6
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 +9 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
Browser-facing API for `@slithy/prim-lib`. Consumed by `apps/prim-demo`.
|
|
4
4
|
|
|
5
|
+
## License
|
|
6
|
+
|
|
7
|
+
This package is dual-licensed.
|
|
8
|
+
|
|
9
|
+
- Public use is licensed under `PolyForm-Noncommercial-1.0.0` in [LICENSE](./LICENSE).
|
|
10
|
+
- Separate commercial use rights, if any, are granted only by a separate written commercial license. The current repo-tracked commercial grant is in [LICENSE-COMMERCIAL.md](./LICENSE-COMMERCIAL.md).
|
|
11
|
+
|
|
12
|
+
This package also includes upstream MIT attributions for `primitive` and `primitive.js` in its `LICENSE` file.
|
|
13
|
+
|
|
5
14
|
## What it does
|
|
6
15
|
|
|
7
16
|
Wraps `prim-lib` in a `run()` / `runWorker()` API and provides save/copy/share helpers for exporting results. `run()` runs the optimizer on the main thread; `runWorker()` moves computation into a Web Worker, keeping the main thread responsive during long jobs. Both share the same callback API.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slithy/prim-interface",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Browser-facing API for primitive-based image reconstruction.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -18,16 +18,16 @@
|
|
|
18
18
|
],
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@slithy/prim-lib": "0.8.
|
|
21
|
+
"@slithy/prim-lib": "0.8.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@vitest/coverage-v8": "^4.1.
|
|
25
|
-
"jsdom": "^29.
|
|
24
|
+
"@vitest/coverage-v8": "^4.1.7",
|
|
25
|
+
"jsdom": "^29.1.1",
|
|
26
26
|
"tsup": "^8",
|
|
27
27
|
"typescript": "^5",
|
|
28
|
-
"vitest": "^4.1.
|
|
29
|
-
"@slithy/
|
|
30
|
-
"@slithy/
|
|
28
|
+
"vitest": "^4.1.7",
|
|
29
|
+
"@slithy/eslint-config": "0.0.0",
|
|
30
|
+
"@slithy/tsconfig": "0.0.0"
|
|
31
31
|
},
|
|
32
32
|
"author": {
|
|
33
33
|
"name": "Matthew Campagna",
|