@commmerce/app-bridge 1.0.0-rc.5 → 1.0.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.
- package/LICENSE.md +152 -17
- package/README.md +0 -1
- package/package.json +2 -2
package/LICENSE.md
CHANGED
|
@@ -1,17 +1,152 @@
|
|
|
1
|
-
# Commmerce UI Licence
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
1.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
# Commmerce UI Licence
|
|
2
|
+
|
|
3
|
+
Version 1.0 | Copyright © 2026 Outdo Inc. (Commmerce)
|
|
4
|
+
|
|
5
|
+
All rights not expressly granted under this licence are reserved.
|
|
6
|
+
|
|
7
|
+
## 1. Definitions
|
|
8
|
+
|
|
9
|
+
"**Commmerce**" means Outdo Inc. and its affiliates.
|
|
10
|
+
|
|
11
|
+
"**Packages**" means the Commmerce UI software and assets distributed by Commmerce under this licence,
|
|
12
|
+
including the npm packages `@commmerce/tokens`, `@commmerce/icons`, `@commmerce/ui`, `@commmerce/ui-react`
|
|
13
|
+
and `@commmerce/app-bridge`, the Flutter package `commmerce_ui`, and the corresponding files hosted at
|
|
14
|
+
commmerce.com/blog/commmerceui/.
|
|
15
|
+
|
|
16
|
+
"**Commmerce Platform**" means the products, services, infrastructure and applications operated or provided
|
|
17
|
+
by Commmerce.
|
|
18
|
+
|
|
19
|
+
"**Commmerce Software**" means software developed to run on, integrate with, extend or provide functionality
|
|
20
|
+
for a Commmerce Platform, including applications listed in or privately installed through the Commmerce app
|
|
21
|
+
marketplace, and internal business applications used in connection with a Commmerce Platform.
|
|
22
|
+
|
|
23
|
+
"**You**" means the individual or legal entity exercising rights under this licence, including its
|
|
24
|
+
authorised employees, contractors, consultants and agencies acting on its behalf solely for the
|
|
25
|
+
development, maintenance or operation of Commmerce Software.
|
|
26
|
+
|
|
27
|
+
## 2. Licence Grant
|
|
28
|
+
|
|
29
|
+
Subject to your compliance with this licence, Commmerce grants you a worldwide, non-exclusive,
|
|
30
|
+
royalty-free, limited, non-transferable licence to:
|
|
31
|
+
|
|
32
|
+
(a) install, access and use the Packages;
|
|
33
|
+
|
|
34
|
+
(b) incorporate the Packages into Commmerce Software;
|
|
35
|
+
|
|
36
|
+
(c) modify and adapt the Packages solely to the extent reasonably necessary to develop, maintain, customise
|
|
37
|
+
and operate Commmerce Software;
|
|
38
|
+
|
|
39
|
+
(d) distribute the Packages as integrated components of Commmerce Software, in source, bundled, minified,
|
|
40
|
+
compiled or other executable forms; and
|
|
41
|
+
|
|
42
|
+
(e) permit merchants and end users to use Commmerce Software incorporating the Packages.
|
|
43
|
+
|
|
44
|
+
Normal software development and build processes, including bundling, minification, compilation,
|
|
45
|
+
tree-shaking and configuration through documented options, are permitted.
|
|
46
|
+
|
|
47
|
+
No ownership of the Packages or underlying intellectual property is transferred to you.
|
|
48
|
+
|
|
49
|
+
## 3. Starter Applications and Code Samples
|
|
50
|
+
|
|
51
|
+
Starter applications, templates and code samples published by Commmerce may be copied, modified, adapted
|
|
52
|
+
and used as the basis for developing your own Commmerce Software.
|
|
53
|
+
|
|
54
|
+
You may incorporate such modifications into your applications and distribute those applications.
|
|
55
|
+
|
|
56
|
+
The Packages and any separately identified third-party components remain subject to their respective
|
|
57
|
+
licences. This section does not grant rights to Commmerce trademarks, logos or other separately protected
|
|
58
|
+
assets.
|
|
59
|
+
|
|
60
|
+
## 4. Restrictions
|
|
61
|
+
|
|
62
|
+
You must not:
|
|
63
|
+
|
|
64
|
+
(a) use the Packages to develop, operate or distribute software that is not Commmerce Software;
|
|
65
|
+
|
|
66
|
+
(b) redistribute, sublicense, sell, publish or otherwise make the Packages, or modified versions of the
|
|
67
|
+
Packages, available independently or as part of a standalone design system, component library, UI
|
|
68
|
+
toolkit, framework or developer platform intended for use outside the Commmerce ecosystem;
|
|
69
|
+
|
|
70
|
+
(c) extract, repurpose or reuse the Packages or their components to create or distribute a competing
|
|
71
|
+
design system, component library or equivalent developer toolkit;
|
|
72
|
+
|
|
73
|
+
(d) use the Commmerce name, logo or other trademarks in a manner that suggests ownership, official
|
|
74
|
+
affiliation, sponsorship or endorsement, except where expressly authorised under Commmerce's brand or
|
|
75
|
+
developer guidelines; or
|
|
76
|
+
|
|
77
|
+
(e) remove, obscure or alter copyright notices, licence notices or attribution requirements included with
|
|
78
|
+
the Packages.
|
|
79
|
+
|
|
80
|
+
Nothing in this section prevents you from developing and distributing your own applications, business
|
|
81
|
+
logic, integrations, themes or other original software for the Commmerce Platform.
|
|
82
|
+
|
|
83
|
+
## 5. Third-Party Components
|
|
84
|
+
|
|
85
|
+
Certain components, libraries, typefaces or other materials included with or used by the Packages may be
|
|
86
|
+
subject to third-party licences.
|
|
87
|
+
|
|
88
|
+
Those third-party licences govern the applicable components and prevail to the extent of any
|
|
89
|
+
inconsistency with this licence.
|
|
90
|
+
|
|
91
|
+
Applicable third-party notices and licence texts are provided in the relevant Packages or accompanying
|
|
92
|
+
documentation.
|
|
93
|
+
|
|
94
|
+
## 6. Later Versions
|
|
95
|
+
|
|
96
|
+
Commmerce may publish new versions of the Packages under this licence or under different licence terms.
|
|
97
|
+
|
|
98
|
+
Each published version is governed by the licence accompanying that version. No change to a later version
|
|
99
|
+
retroactively changes the licence applicable to an earlier version already distributed.
|
|
100
|
+
|
|
101
|
+
## 7. Intellectual Property and Trademarks
|
|
102
|
+
|
|
103
|
+
The Packages, including their original code, design tokens, component implementations, documentation and
|
|
104
|
+
associated intellectual property, remain the property of Commmerce or their respective rights holders.
|
|
105
|
+
|
|
106
|
+
This licence does not grant any ownership interest or general trademark licence.
|
|
107
|
+
|
|
108
|
+
You may make factual references to compatibility or integration with Commmerce, provided those references
|
|
109
|
+
are accurate and do not imply official endorsement, sponsorship or ownership.
|
|
110
|
+
|
|
111
|
+
## 8. Disclaimer of Warranties
|
|
112
|
+
|
|
113
|
+
To the maximum extent permitted by applicable law, the Packages are provided "AS IS" and "AS AVAILABLE",
|
|
114
|
+
without warranties, representations or conditions of any kind, whether express, implied or statutory,
|
|
115
|
+
including warranties of merchantability, fitness for a particular purpose, title and non-infringement.
|
|
116
|
+
|
|
117
|
+
Commmerce does not warrant that the Packages will be uninterrupted, error-free, secure or compatible with
|
|
118
|
+
every third-party environment.
|
|
119
|
+
|
|
120
|
+
## 9. Limitation of Liability
|
|
121
|
+
|
|
122
|
+
To the maximum extent permitted by applicable law, Commmerce and its affiliates, directors, officers,
|
|
123
|
+
employees and licensors shall not be liable for any indirect, incidental, special, exemplary or
|
|
124
|
+
consequential damages, or for loss of profits, revenue, business opportunities, goodwill, business
|
|
125
|
+
interruption or data arising out of or relating to the Packages or this licence.
|
|
126
|
+
|
|
127
|
+
Nothing in this licence excludes or limits liability to the extent that such exclusion or limitation is
|
|
128
|
+
prohibited by applicable law.
|
|
129
|
+
|
|
130
|
+
## 10. Termination
|
|
131
|
+
|
|
132
|
+
This licence terminates automatically if you materially breach its terms and, where the breach is capable
|
|
133
|
+
of remedy, fail to remedy it within thirty (30) days after receiving written notice.
|
|
134
|
+
|
|
135
|
+
Commmerce may terminate the licence immediately where a breach is incapable of remedy or involves
|
|
136
|
+
unauthorised redistribution, infringement of intellectual property, or a material security risk.
|
|
137
|
+
|
|
138
|
+
Upon termination, you must cease using and distributing the Packages and remove them from systems under
|
|
139
|
+
your control, except to the extent retention is required by applicable law.
|
|
140
|
+
|
|
141
|
+
Where reasonably practicable and where termination does not arise from a security or intellectual property
|
|
142
|
+
violation, Commmerce may permit a limited transition period for existing merchant applications.
|
|
143
|
+
|
|
144
|
+
Termination does not affect rights or obligations accrued before termination.
|
|
145
|
+
|
|
146
|
+
Sections 4, 5, 7, 8, 9 and this section survive termination.
|
|
147
|
+
|
|
148
|
+
## 11. Contact
|
|
149
|
+
|
|
150
|
+
Questions concerning this licence may be sent to: support@commmerce.com
|
|
151
|
+
|
|
152
|
+
End of Licence
|
package/README.md
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Connects an app embedded in the Commmerce admin (in an iframe) to the admin around it: admin-level toasts and
|
|
4
4
|
modals, the save bar, a loading bar, the resource picker, the admin's address, and session tokens for your backend.
|
|
5
5
|
|
|
6
|
-
**Preview.** Protocol version 1. APIs can change between releases; read the release notes before upgrading.
|
|
7
6
|
Docs: https://commmerce.com/blog/commmerceui/#apps--app-bridge
|
|
8
7
|
|
|
9
8
|
## In your app (inside the iframe)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commmerce/app-bridge",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Connects an app embedded in the Commmerce admin to the admin: toasts, modals, navigation, save bar, resource picker, loading bar and session tokens.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"commmerce",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"test": "vitest run"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@commmerce/ui": "1.0.0
|
|
46
|
+
"@commmerce/ui": "1.0.0",
|
|
47
47
|
"@vitest/browser": "^2.1.8",
|
|
48
48
|
"playwright": "^1.49.0"
|
|
49
49
|
}
|