@pronto-tools-and-more/components 14.14.0 → 14.15.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.
Files changed (2) hide show
  1. package/dist/main.js +3 -0
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -188,6 +188,9 @@ var getArticleListDataSource = ({
188
188
  asContext
189
189
  }) => {
190
190
  if (contextId) {
191
+ if (!contextId.startsWith("$context.")) {
192
+ throw new Error(`context id must start with $context.`);
193
+ }
191
194
  const dataSource2 = {
192
195
  type: "context",
193
196
  data: contextId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "14.14.0",
3
+ "version": "14.15.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",