@live-change/user-service 0.8.14 → 0.8.15

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/definition.js CHANGED
@@ -8,4 +8,10 @@ const definition = app.createServiceDefinition({
8
8
  use: [ relationsPlugin ]
9
9
  })
10
10
 
11
+ const config = definition.config
12
+
13
+ definition.clientConfig = {
14
+ remoteAccountTypes: config.remoteAccountTypes
15
+ }
16
+
11
17
  export default definition
package/index.js CHANGED
@@ -60,6 +60,7 @@ definition.trigger({
60
60
 
61
61
  definition.action({
62
62
  name: 'signOut',
63
+ waitForEvents: true,
63
64
  async execute({ }, { client, service }, emit) {
64
65
  if(!client.user) throw "notSignedIn"
65
66
  await service.trigger({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/user-service",
3
- "version": "0.8.14",
3
+ "version": "0.8.15",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/framework": "^0.8.14",
26
- "@live-change/relations-plugin": "^0.8.14",
25
+ "@live-change/framework": "^0.8.15",
26
+ "@live-change/relations-plugin": "^0.8.15",
27
27
  "pluralize": "^8.0.0"
28
28
  },
29
- "gitHead": "d81b573fb8891746ae1c67f4f68558123c9f85f7"
29
+ "gitHead": "4897eefbf3ce9ace57630127da89503c71114563"
30
30
  }