@stoker-platform/web-client 0.2.1 → 0.2.2

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/LICENSE.md ADDED
@@ -0,0 +1,77 @@
1
+ # Source-Available Development License
2
+
3
+ Copyright © 2025 Shopfront International Pty Ltd.
4
+
5
+ This is a source‑available license and not an OSI‑approved open‑source license.
6
+
7
+ ## 1. License Grant
8
+
9
+ Subject to the terms of this License, you are granted a **non-exclusive, non-transferable, revocable** license to:
10
+
11
+ - Access the Software.
12
+ - Use the Software **in development environments only**. Development environments include local development, testing, staging, and QA environments that are not accessible to end users.
13
+
14
+ This use is **free of charge**.
15
+
16
+ No other rights are granted except as expressly stated in this License.
17
+
18
+ ## 2. Commercial or Production Use
19
+
20
+ **Commercial use or production deployment is strictly prohibited** under this License. This includes, but is not limited to:
21
+
22
+ - Deploying the Software in production environments
23
+ - Using the Software in any revenue-generating product, service, or project
24
+ - Selling, sublicensing, or monetising the Software
25
+
26
+ You may not use the Software to develop, distribute, or operate:
27
+
28
+ - A competing headless CMS or application framework
29
+ - A low-code, no-code or AI powered application builder
30
+ - A program that replicates the core functionality of the Software, regardless of the backend or database technology used
31
+
32
+ You may not use the Software to train or improve AI/ML models.
33
+
34
+ To use the Software commercially or in production, you must obtain a Commercial License from the Licensor. Contact info@getoutpost.com for licensing information.
35
+
36
+ ## 3. Contributions
37
+
38
+ You may fork or modify the Software for contribution purposes.
39
+
40
+ You may submit issues, bug reports, feature requests, and pull requests through public channels (such as GitHub) as a means of contributing to the Software. Modifications may not be otherwise shared or distributed except through such official contribution channels.
41
+
42
+ By submitting contributions, suggestions, or modifications to the Licensor in connection with the Software, you grant the Licensor a perpetual, worldwide, royalty-free, non-exclusive, fully transferable, and sublicensable license to use, modify, distribute, and otherwise exploit such contributions as part of the Software. You retain ownership of your contributions but grant these rights to enable the Licensor to incorporate and distribute your contributions as part of the Software.
43
+
44
+ ## 4. Ownership
45
+
46
+ The Software is **licensed, not sold**. All rights not expressly granted herein are retained by the Licensor.
47
+
48
+ All trademarks, service marks, and logos associated with the Software are the property of the Licensor and may not be used without permission.
49
+
50
+ ## 5. Alpha Mode
51
+
52
+ The Software is currently in alpha development. Features, functionality, and data handling practices may change as the Software is improved. By using the Software in its alpha stage, you acknowledge that the Software is experimental and subject to updates.
53
+
54
+ ## 6. Limited Warranty / Liability
55
+
56
+ The Software is provided **“AS IS”**, without warranty of any kind, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, or non-infringement.
57
+
58
+ To the maximum extent permitted by law, the Licensor shall not be liable for any damages, including direct, indirect, incidental, or consequential damages arising from the use or inability to use the Software.
59
+
60
+ ## 7. Termination
61
+
62
+ This License automatically terminates if you fail to comply with any term or condition. In this case, you must immediately stop using the Software.
63
+
64
+ **The licensor may terminate this license at any time**, for any reason, when 60 days notice is given on the Licensor's website at https://stoker-website.web.app. In this case, you will need to purchase a commerical license to continue using the Software.
65
+
66
+ The Licensor reserves the right to pursue legal remedies for any violation, including injunctive relief.
67
+
68
+ ## 8. Governing Law
69
+
70
+ This License is governed by and shall be construed under the laws of Victoria, Australia, without regard to conflict-of-law principles.
71
+
72
+ Any disputes arising under this License shall be resolved exclusively in the courts of Victoria, Australia.
73
+
74
+ ## 9. Commercial License
75
+
76
+ For commercial use or production deployment, a Commercial License Agreement must be obtained.
77
+ Please contact info@getoutpost.com for details.
package/dist/bundle.js CHANGED
@@ -8,7 +8,7 @@ import { getFunctions as je, httpsCallable as Ye, connectFunctionsEmulator as cp
8
8
  import { ReCaptchaEnterpriseProvider as lp, initializeAppCheck as Zn, onTokenChanged as Gn } from "firebase/app-check";
9
9
  import { getPerformance as up } from "firebase/performance";
10
10
  import { getRemoteConfig as fp, fetchAndActivate as dp } from "firebase/remote-config";
11
- const hp = "0.2.0", mp = (r) => !!r.auth, vt = (r, e) => {
11
+ const hp = "0.2.2", mp = (r) => !!r.auth, vt = (r, e) => {
12
12
  if (e?.operations)
13
13
  return e.operations.includes(r);
14
14
  }, An = (r, e) => e ? e.Role ? r.access?.includes(e.Role) : !1 : !0, pp = (r, e) => r.restrictCreate === !0 ? !1 : e && typeof r.restrictCreate == "object" ? e.Role ? r.restrictCreate?.includes(e.Role) : !1 : !0, yp = (r, e) => r.restrictUpdate === !0 ? !1 : e && typeof r.restrictUpdate == "object" ? e.Role ? r.restrictUpdate?.includes(e.Role) : !1 : !0, re = (r, e) => r.filter((t) => t.name === e)[0], _e = (r) => ["OneToOne", "OneToMany", "ManyToOne", "ManyToMany"].includes(r.type), Rd = (r, e) => {
package/package.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-client",
3
- "publishConfig": {
4
- "access": "restricted"
5
- },
6
- "version": "0.2.1",
3
+ "version": "0.2.2",
7
4
  "type": "module",
8
- "license": "UNLICENSED",
5
+ "license": "SEE LICENSE IN LICENSE.md",
9
6
  "files": [
10
- "dist"
7
+ "dist",
8
+ "LICENSE.md"
11
9
  ],
12
10
  "main": "./dist/bundle.js",
13
11
  "module": "./dist/bundle.js",
@@ -25,8 +23,8 @@
25
23
  "test": "echo \"Error: no test specified\""
26
24
  },
27
25
  "dependencies": {
28
- "@stoker-platform/types": "0.2.1",
29
- "@stoker-platform/utils": "0.2.1",
26
+ "@stoker-platform/types": "0.2.2",
27
+ "@stoker-platform/utils": "0.2.2",
30
28
  "@types/lodash": "^4.17.21",
31
29
  "@types/luxon": "^3.7.1",
32
30
  "firebase": "^12.6.0",