@vsirotin/ts-stop 1.9.2 → 1.11.0

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,41 @@
1
+ # StOP Commercial License
2
+
3
+ **Version 1.0**
4
+
5
+ ## 1. Grant of Commercial License
6
+
7
+ This Commercial License grants you permission to use the StOP library in commercial projects under the conditions specified in Section 2.
8
+
9
+ ## 2. Commercial Use Restrictions
10
+
11
+ You may use StOP under the **free Apache 2.0 license** if:
12
+
13
+ - Your organization has fewer than 10 employees, **AND**
14
+ - Your project generates less than $10,000 USD in annual revenue
15
+
16
+ If your organization or project exceeds either threshold, you must:
17
+
18
+ - Obtain a separate Commercial License from the copyright holder, or
19
+ - Use the library under the Apache 2.0 license with explicit written permission from the copyright holder
20
+
21
+ ## 3. Obtaining a Commercial License
22
+
23
+ To request a Commercial License for organizations with 10+ employees or projects generating $10,000+ USD annually:
24
+
25
+ **Contact the author through the GitHub repository for licensing terms and pricing.**
26
+
27
+ Commercial licenses are available at reasonable rates. Please reach out to discuss your specific use case.
28
+
29
+ ## 4. Terms
30
+
31
+ - Commercial licenses are granted on a per-project or per-organization basis
32
+ - Licensing terms will be negotiated based on project scope and revenue
33
+ - All commercial licensees must comply with the underlying Apache 2.0 obligations regarding patents and attribution
34
+
35
+ ## 5. Disclaimer
36
+
37
+ This Commercial License is provided in addition to, not in place of, the Apache 2.0 License. In the event of conflict, the more restrictive terms apply. For clarity on your licensing obligations, please contact the copyright holder.
38
+
39
+ ## 6. Termination
40
+
41
+ If you exceed the commercial use thresholds (10+ employees or $10,000+ annual revenue) without obtaining a Commercial License, your right to use the library terminates immediately upon notice.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vsirotin/ts-stop",
3
- "version": "1.9.2",
3
+ "version": "1.11.0",
4
4
  "description": "State Oriented Programming library for TypeScript",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -21,7 +21,8 @@
21
21
  "files": [
22
22
  "lib",
23
23
  "README.md",
24
- "LICENSE"
24
+ "LICENSE",
25
+ "LICENSE-COMMERCIAL.md"
25
26
  ],
26
27
  "scripts": {
27
28
  "build": "npm run build:cjs && npm run build:esm",
@@ -42,7 +43,7 @@
42
43
  "stop"
43
44
  ],
44
45
  "author": "Viktor Sirotin",
45
- "license": "MIT",
46
+ "license": "(Apache-2.0 OR StOP-Commercial)",
46
47
  "devDependencies": {
47
48
  "@types/jest": "^29.5.14",
48
49
  "@types/js-yaml": "^4.0.9",