@live-change/message-authentication-service 0.3.40 → 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/authentication.js +4 -3
- package/definition.js +6 -4
- package/index.js +6 -5
- package/package.json +4 -3
- package/sign.js +4 -3
package/authentication.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
3
|
+
import definition from './definition.js'
|
|
3
4
|
const config = definition.config
|
|
4
5
|
|
|
5
6
|
const contactProperties = {
|
|
@@ -222,4 +223,4 @@ definition.action({
|
|
|
222
223
|
}
|
|
223
224
|
})
|
|
224
225
|
|
|
225
|
-
|
|
226
|
+
export { Authentication, contactProperties, targetProperties, messageProperties }
|
package/definition.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import security from '@live-change/security-service'
|
|
5
|
+
import email from '@live-change/email-service'
|
|
4
6
|
|
|
5
7
|
const definition = app.createServiceDefinition({
|
|
6
8
|
name: "messageAuthentication",
|
|
7
|
-
use: [ security ]
|
|
9
|
+
use: [ security, email ]
|
|
8
10
|
})
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
export default definition
|
package/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
import definition from './definition.js'
|
|
4
5
|
const config = definition.config
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
import './authentication.js'
|
|
8
|
+
import './sign.js'
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
export default definition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/message-authentication-service",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,8 +21,9 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "0.
|
|
24
|
+
"@live-change/framework": "0.8.0",
|
|
25
25
|
"nodemailer": "^6.7.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "87010b19907140a326943f22cd538eafdc9c28f1",
|
|
28
|
+
"type": "module"
|
|
28
29
|
}
|
package/sign.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
const
|
|
1
|
+
import App from '@live-change/framework'
|
|
2
|
+
const app = App.app()
|
|
3
|
+
import definition from './definition.js'
|
|
3
4
|
const config = definition.config
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
import { contactProperties } from './authentication.js'
|
|
6
7
|
|
|
7
8
|
definition.trigger({
|
|
8
9
|
name: 'signUpWithMessageAuthenticated',
|