@webiny/api-headless-cms-ddb-es 5.19.0-beta.3 → 5.19.0-beta.4

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.
@@ -131,12 +131,8 @@ const createInitialQueryValue = args => {
131
131
  }
132
132
  });
133
133
  } // we do not allow not published and not latest
134
- else if (where.published === false) {
135
- throw new _error.default(`Cannot call Elasticsearch query with "published" set at false.`, "ELASTICSEARCH_UNSUPPORTED_QUERY", {
136
- where
137
- });
138
- } else if (where.latest === false) {
139
- throw new _error.default(`Cannot call Elasticsearch query with "latest" set at false.`, "ELASTICSEARCH_UNSUPPORTED_QUERY", {
134
+ else {
135
+ throw new _error.default(`Cannot call Elasticsearch query when not setting "published" or "latest".`, "ELASTICSEARCH_UNSUPPORTED_QUERY", {
140
136
  where
141
137
  });
142
138
  } //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webiny/api-headless-cms-ddb-es",
3
- "version": "5.19.0-beta.3",
3
+ "version": "5.19.0-beta.4",
4
4
  "main": "index.js",
5
5
  "keywords": [
6
6
  "@webiny/api-headless-cms",
@@ -23,15 +23,15 @@
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
25
  "@babel/runtime": "7.16.3",
26
- "@webiny/api-headless-cms": "5.19.0-beta.3",
27
- "@webiny/api-upgrade": "5.19.0-beta.3",
28
- "@webiny/db-dynamodb": "5.19.0-beta.3",
29
- "@webiny/error": "5.19.0-beta.3",
30
- "@webiny/handler": "5.19.0-beta.3",
31
- "@webiny/handler-aws": "5.19.0-beta.3",
32
- "@webiny/handler-db": "5.19.0-beta.3",
33
- "@webiny/plugins": "5.19.0-beta.3",
34
- "@webiny/utils": "5.19.0-beta.3",
26
+ "@webiny/api-headless-cms": "5.19.0-beta.4",
27
+ "@webiny/api-upgrade": "5.19.0-beta.4",
28
+ "@webiny/db-dynamodb": "5.19.0-beta.4",
29
+ "@webiny/error": "5.19.0-beta.4",
30
+ "@webiny/handler": "5.19.0-beta.4",
31
+ "@webiny/handler-aws": "5.19.0-beta.4",
32
+ "@webiny/handler-db": "5.19.0-beta.4",
33
+ "@webiny/plugins": "5.19.0-beta.4",
34
+ "@webiny/utils": "5.19.0-beta.4",
35
35
  "dataloader": "2.0.0",
36
36
  "dynamodb-toolbox": "0.3.5",
37
37
  "jsonpack": "1.1.5",
@@ -47,10 +47,10 @@
47
47
  "@elastic/elasticsearch": "7.12.0",
48
48
  "@shelf/jest-elasticsearch": "^1.0.0",
49
49
  "@types/jsonpack": "^1.1.0",
50
- "@webiny/api-dynamodb-to-elasticsearch": "^5.19.0-beta.3",
51
- "@webiny/api-elasticsearch": "^5.19.0-beta.3",
52
- "@webiny/cli": "^5.19.0-beta.3",
53
- "@webiny/project-utils": "^5.19.0-beta.3",
50
+ "@webiny/api-dynamodb-to-elasticsearch": "^5.19.0-beta.4",
51
+ "@webiny/api-elasticsearch": "^5.19.0-beta.4",
52
+ "@webiny/cli": "^5.19.0-beta.4",
53
+ "@webiny/project-utils": "^5.19.0-beta.4",
54
54
  "jest": "^26.6.3",
55
55
  "jest-dynalite": "^3.2.0",
56
56
  "jest-environment-node": "^26.6.2",
@@ -69,5 +69,5 @@
69
69
  "build": "yarn webiny run build",
70
70
  "watch": "yarn webiny run watch"
71
71
  },
72
- "gitHead": "a1cca819f83172183b907de16fd5746d07d13ad0"
72
+ "gitHead": "d115a87beb3ad3979c91a4ddf14082883be241f0"
73
73
  }