payload 1.15.1 → 1.15.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.
@@ -133,7 +133,7 @@ const afterChangeHook: CollectionAfterChangeHook = async ({
133
133
  previousDoc, // document data before updating the collection
134
134
  operation, // name of the operation ie. 'create', 'update'
135
135
  }) => {
136
- return doc;
136
+ return doc; // value to be used in subsequent afterChange hooks
137
137
  };
138
138
  ```
139
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "description": "Node, React and MongoDB Headless CMS and Application Framework",
5
5
  "license": "MIT",
6
6
  "engines": {
@@ -89,8 +89,8 @@
89
89
  "@faceless-ui/scroll-info": "^1.3.0",
90
90
  "@faceless-ui/window-info": "^2.1.1",
91
91
  "@monaco-editor/react": "^4.5.1",
92
- "@swc/core": "^1.3.76",
93
- "@swc/register": "^0.1.10",
92
+ "@swc/core": "1.3.78",
93
+ "@swc/register": "0.1.10",
94
94
  "@types/sharp": "^0.31.1",
95
95
  "body-parser": "^1.20.1",
96
96
  "bson-objectid": "^2.0.4",