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

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.
@@ -627,7 +627,7 @@ const createEntriesStorageOperations = params => {
627
627
  model
628
628
  });
629
629
 
630
- if (publishedStorageEntry) {
630
+ if (publishedStorageEntry && publishedStorageEntry.id !== entry.id) {
631
631
  /**
632
632
  * If there is a `published` entry already, we need to set it to `unpublished`. We need to
633
633
  * execute two updates: update the previously published entry's status and the published entry record.
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.2",
3
+ "version": "5.19.0-beta.3",
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.2",
27
- "@webiny/api-upgrade": "5.19.0-beta.2",
28
- "@webiny/db-dynamodb": "5.19.0-beta.2",
29
- "@webiny/error": "5.19.0-beta.2",
30
- "@webiny/handler": "5.19.0-beta.2",
31
- "@webiny/handler-aws": "5.19.0-beta.2",
32
- "@webiny/handler-db": "5.19.0-beta.2",
33
- "@webiny/plugins": "5.19.0-beta.2",
34
- "@webiny/utils": "5.19.0-beta.2",
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",
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.2",
51
- "@webiny/api-elasticsearch": "^5.19.0-beta.2",
52
- "@webiny/cli": "^5.19.0-beta.2",
53
- "@webiny/project-utils": "^5.19.0-beta.2",
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",
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": "6817702cc537405b7288c1fc63ee5d40531b4122"
72
+ "gitHead": "a1cca819f83172183b907de16fd5746d07d13ad0"
73
73
  }