@live-change/user-identification-service 0.3.41 → 0.4.0
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 +5 -4
- package/identification.js +2 -2
- package/index.js +5 -4
- package/package.json +5 -4
package/definition.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
import relationsPlugin from '@live-change/relations-plugin'
|
|
5
|
+
import userService from '@live-change/user-service'
|
|
5
6
|
|
|
6
7
|
const definition = app.createServiceDefinition({
|
|
7
8
|
name: "userIdentification",
|
|
8
9
|
use: [ relationsPlugin, userService ]
|
|
9
10
|
})
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
export default definition
|
package/identification.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import definition from './definition.js'
|
|
2
2
|
const config = definition.config
|
|
3
3
|
|
|
4
4
|
const Image = definition.foreignModel('image', 'Image')
|
|
@@ -30,4 +30,4 @@ const Identification = definition.model({
|
|
|
30
30
|
}
|
|
31
31
|
})
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
export { Identification }
|
package/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import definition from './definition.js'
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
import './identification.js'
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
export default definition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/user-identification-service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
"name": "Michał Łaszczewski",
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
|
+
"type": "module",
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "0.
|
|
25
|
-
"@live-change/relations-plugin": "0.
|
|
25
|
+
"@live-change/framework": "0.8.0",
|
|
26
|
+
"@live-change/relations-plugin": "0.8.0",
|
|
26
27
|
"pluralize": "^8.0.0"
|
|
27
28
|
},
|
|
28
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "87010b19907140a326943f22cd538eafdc9c28f1"
|
|
29
30
|
}
|