@live-change/relations-plugin 0.8.53 → 0.8.55

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/package.json +3 -3
  2. package/saveAuthor.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/relations-plugin",
3
- "version": "0.8.53",
3
+ "version": "0.8.55",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/framework": "^0.8.53",
25
+ "@live-change/framework": "^0.8.55",
26
26
  "pluralize": "^8.0.0"
27
27
  },
28
- "gitHead": "39422adadd1863fa396fc4e875936e09428d6cf1"
28
+ "gitHead": "b2852afbfeceda54a0e3207ec92c9e86eaa0ebe2"
29
29
  }
package/saveAuthor.js CHANGED
@@ -22,12 +22,12 @@ export function defineUpdaterProperties() {
22
22
  updaterType: new PropertyDefinition({
23
23
  type: String,
24
24
  validation: ['nonEmpty'],
25
- default: (_props, context) => context.client.user ? 'user_User' : 'session_Session'
25
+ updated: (_props, context) => context.client.user ? 'user_User' : 'session_Session'
26
26
  }),
27
27
  updater: new PropertyDefinition({
28
28
  type: String,
29
29
  validation: ['nonEmpty'],
30
- default: (_props, context) => context.client.user ? context.client.user : context.client.session
30
+ updated: (_props, context) => context.client.user ? context.client.user : context.client.session
31
31
  })
32
32
  }
33
33
  }