@cqrs-ddd/pipeline-feature-flags 0.0.0-stage → 0.5.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.
Files changed (44) hide show
  1. package/COMMERCIAL_LICENSE.txt +38 -0
  2. package/LICENSE +661 -0
  3. package/README.md +35 -2
  4. package/dist/errors/feature-disabled.error.d.ts +15 -0
  5. package/dist/errors/feature-disabled.error.d.ts.map +1 -0
  6. package/dist/errors/feature-disabled.error.js +21 -0
  7. package/dist/errors/feature-disabled.error.js.map +1 -0
  8. package/dist/errors/feature-flag-evaluation.error.d.ts +17 -0
  9. package/dist/errors/feature-flag-evaluation.error.d.ts.map +1 -0
  10. package/dist/errors/feature-flag-evaluation.error.js +24 -0
  11. package/dist/errors/feature-flag-evaluation.error.js.map +1 -0
  12. package/dist/feature-flag.behavior.d.ts +151 -0
  13. package/dist/feature-flag.behavior.d.ts.map +1 -0
  14. package/dist/feature-flag.behavior.js +269 -0
  15. package/dist/feature-flag.behavior.js.map +1 -0
  16. package/dist/helpers/build-attributes.d.ts +48 -0
  17. package/dist/helpers/build-attributes.d.ts.map +1 -0
  18. package/dist/helpers/build-attributes.js +63 -0
  19. package/dist/helpers/build-attributes.js.map +1 -0
  20. package/dist/helpers/evaluation-context.d.ts +17 -0
  21. package/dist/helpers/evaluation-context.d.ts.map +1 -0
  22. package/dist/helpers/evaluation-context.js +33 -0
  23. package/dist/helpers/evaluation-context.js.map +1 -0
  24. package/dist/helpers/feature-flag-client.d.ts +27 -0
  25. package/dist/helpers/feature-flag-client.d.ts.map +1 -0
  26. package/dist/helpers/feature-flag-client.js +57 -0
  27. package/dist/helpers/feature-flag-client.js.map +1 -0
  28. package/dist/helpers/feature-flag.intent.d.ts +22 -0
  29. package/dist/helpers/feature-flag.intent.d.ts.map +1 -0
  30. package/dist/helpers/feature-flag.intent.js +20 -0
  31. package/dist/helpers/feature-flag.intent.js.map +1 -0
  32. package/dist/http.d.ts +21 -0
  33. package/dist/http.d.ts.map +1 -0
  34. package/dist/http.js +31 -0
  35. package/dist/http.js.map +1 -0
  36. package/dist/index.d.ts +14 -0
  37. package/dist/index.d.ts.map +1 -0
  38. package/dist/index.js +14 -0
  39. package/dist/index.js.map +1 -0
  40. package/dist/interfaces/feature-flags-options.interface.d.ts +154 -0
  41. package/dist/interfaces/feature-flags-options.interface.d.ts.map +1 -0
  42. package/dist/interfaces/feature-flags-options.interface.js +3 -0
  43. package/dist/interfaces/feature-flags-options.interface.js.map +1 -0
  44. package/package.json +67 -3
@@ -0,0 +1,38 @@
1
+ ARISTOTELIS COMMERCIAL SOFTWARE LICENSE AGREEMENT
2
+ Version 1.0, 2026
3
+
4
+ Copyright (C) 2026-present Aristotelis
5
+
6
+ This Commercial License Agreement ("Agreement") is a legal agreement between You (either an individual or a legal entity) and Aristotelis ("Licensor") for the software accompanying this Agreement ("Software").
7
+
8
+ 1. GRANT OF LICENSE
9
+ Upon acceptance of this Agreement and compliance with the Payment Terms in Section 2, the Licensor grants You a non-exclusive, worldwide, non-transferable license to use, modify, integrate, and distribute the Software in commercial applications WITHOUT the copyleft obligations of the GNU Affero General Public License v3 (AGPLv3). Under this Agreement, You are NOT required to open-source Your proprietary code that integrates with the Software.
10
+
11
+ 2. PAYMENT TERMS AND REVENUE TIERS
12
+ This license requires an annual fee based on Your (or Your organization's) total gross global revenue for the most recently completed fiscal year.
13
+
14
+ The annual fee is calculated using the following marginal brackets. Each rate applies only to the portion of gross revenue that falls within its bracket, and the annual fee is the sum of the amounts for all brackets:
15
+
16
+ a) Tier 1: The portion of gross revenue up to $500,000 USD
17
+ Rate: 0% (Free Commercial Use). If gross revenue does not exceed $500,000 USD, the fee is $0.
18
+
19
+ b) Tier 2: The portion of gross revenue above $500,000 USD and up to $10,000,000 USD
20
+ Rate: 0.1% of that portion.
21
+
22
+ c) Tier 3: The portion of gross revenue above $10,000,000 USD and up to $50,000,000 USD
23
+ Rate: 0.05% of that portion.
24
+
25
+ d) Tier 4: The portion of gross revenue above $50,000,000 USD
26
+ Rate: 0.01% of that portion.
27
+
28
+ The total annual fee never exceeds a maximum hard cap of $50,000 USD per year.
29
+
30
+ Example: for gross revenue of $20,000,000 USD, the annual fee is 0.1% of $9,500,000 USD ($9,500) plus 0.05% of $10,000,000 USD ($5,000), a total of $14,500 USD.
31
+
32
+ 3. REPORTING AND REMITTANCE
33
+ - Fees are calculated annually and must be remitted to the Licensor within ninety (90) days following the close of Your fiscal year.
34
+ - You must maintain adequate records to verify your gross revenue tier.
35
+ - To remit payment or register for Tier 1, You must contact the Licensor at aristotelis@ik.me.
36
+
37
+ 4. NO WARRANTY
38
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE.