@forestadmin/agent 1.0.0-beta.10 → 1.0.0-beta.11

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # @forestadmin/agent [1.0.0-beta.11](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.0.0-beta.10...@forestadmin/agent@1.0.0-beta.11) (2022-04-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * example project write override uses an outdated handler prototype ([#267](https://github.com/ForestAdmin/agent-nodejs/issues/267)) ([c32e212](https://github.com/ForestAdmin/agent-nodejs/commit/c32e21245d1703b599f474dfddfc5888e1a6fc77))
7
+
1
8
  # @forestadmin/agent [1.0.0-beta.10](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.0.0-beta.9...@forestadmin/agent@1.0.0-beta.10) (2022-04-26)
2
9
 
3
10
 
@@ -138,7 +138,7 @@ export default class CollectionBuilder {
138
138
  * @param {string} name the name of the field
139
139
  * @param {WriteDefinition} definition the function or a value to represent the write behavior
140
140
  * @example
141
- * .replaceFieldWriting('fullName', ({ patch: fullName }) => {
141
+ * .replaceFieldWriting('fullName', fullName => {
142
142
  * const [firstName, lastName] = fullName.split(' ');
143
143
  * return { firstName, lastName };
144
144
  * });
@@ -212,7 +212,7 @@ class CollectionBuilder {
212
212
  * @param {string} name the name of the field
213
213
  * @param {WriteDefinition} definition the function or a value to represent the write behavior
214
214
  * @example
215
- * .replaceFieldWriting('fullName', ({ patch: fullName }) => {
215
+ * .replaceFieldWriting('fullName', fullName => {
216
216
  * const [firstName, lastName] = fullName.split(' ');
217
217
  * return { firstName, lastName };
218
218
  * });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forestadmin/agent",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.11",
4
4
  "main": "dist/index.js",
5
5
  "license": "GPL-3.0",
6
6
  "publishConfig": {