@slithy/prim-interface 1.0.5 → 1.0.7

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.
@@ -0,0 +1,23 @@
1
+ Commercial License for @slithy/prim-interface
2
+
3
+ Copyright Matthew Campagna
4
+
5
+ 1. Grant
6
+
7
+ Matthew Campagna grants Matthew Campagna a personal, non-transferable, non-sublicensable license to use, reproduce, modify, distribute, and commercially exploit `@slithy/prim-interface` as part of software products and related internal development activities.
8
+
9
+ 2. Scope
10
+
11
+ This commercial license applies only to Matthew Campagna in his personal capacity. It does not extend to any employer, client, contractor, affiliate, assignee, or other third party.
12
+
13
+ 3. Public License Unchanged
14
+
15
+ This commercial license is separate from the public license distributed with the package. All other recipients use the software, if at all, under the terms of the public license or another separately granted written license.
16
+
17
+ 4. Third-Party Attributions
18
+
19
+ This package includes or is derived from third-party material identified in the package `LICENSE` file. Those third-party attribution and notice requirements remain in effect.
20
+
21
+ 5. No Warranty
22
+
23
+ To the maximum extent permitted by law, the software is provided "as is", without warranty of any kind, express or implied.
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.5",
3
+ "version": "1.0.7",
4
4
  "description": "Browser-facing API for primitive-based image reconstruction.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -14,26 +14,28 @@
14
14
  }
15
15
  },
16
16
  "files": [
17
- "dist"
17
+ "dist",
18
+ "LICENSE-COMMERCIAL.md"
18
19
  ],
19
20
  "sideEffects": false,
20
21
  "dependencies": {
21
- "@slithy/prim-lib": "0.8.0"
22
+ "@slithy/prim-lib": "0.8.2"
22
23
  },
23
24
  "devDependencies": {
24
- "@vitest/coverage-v8": "^4.1.2",
25
- "jsdom": "^29.0.1",
25
+ "@vitest/coverage-v8": "^4.1.7",
26
+ "jsdom": "^29.1.1",
26
27
  "tsup": "^8",
27
28
  "typescript": "^5",
28
- "vitest": "^4.1.2",
29
- "@slithy/tsconfig": "0.0.0",
30
- "@slithy/eslint-config": "0.0.0"
29
+ "vitest": "^4.1.7",
30
+ "@slithy/eslint-config": "0.0.0",
31
+ "@slithy/tsconfig": "0.0.0"
31
32
  },
32
33
  "author": {
33
34
  "name": "Matthew Campagna",
34
35
  "url": "https://github.com/mjcampagna"
35
36
  },
36
37
  "license": "PolyForm-Noncommercial-1.0.0",
38
+ "commercialLicense": "SEE LICENSE-COMMERCIAL.md",
37
39
  "keywords": [
38
40
  "image",
39
41
  "reconstruction",