@live-change/email-service 0.8.31 → 0.8.32
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/auth.js +2 -4
- package/package.json +3 -3
package/auth.js
CHANGED
|
@@ -145,8 +145,7 @@ definition.trigger({
|
|
|
145
145
|
if(emailData.user === user) return false
|
|
146
146
|
throw { properties: { email: 'taken' } }
|
|
147
147
|
}
|
|
148
|
-
await service.trigger({
|
|
149
|
-
type: 'contactConnected',
|
|
148
|
+
await service.trigger({ type: 'contactConnected' }, {
|
|
150
149
|
contactType: 'email_Email',
|
|
151
150
|
contact: email,
|
|
152
151
|
user
|
|
@@ -195,8 +194,7 @@ definition.trigger({
|
|
|
195
194
|
const emailData = await Email.get(email)
|
|
196
195
|
if(!emailData) throw { properties: { email: 'notFound' } }
|
|
197
196
|
const { user } = emailData
|
|
198
|
-
return service.trigger({
|
|
199
|
-
type: 'signIn',
|
|
197
|
+
return service.trigger({ type: 'signIn' }, {
|
|
200
198
|
user, session
|
|
201
199
|
})
|
|
202
200
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/email-service",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "^0.8.
|
|
24
|
+
"@live-change/framework": "^0.8.32",
|
|
25
25
|
"got": "^11.8.3",
|
|
26
26
|
"html-to-text": "8.1.0",
|
|
27
27
|
"inline-css": "4.0.2",
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
"juice": "9.1.0",
|
|
30
30
|
"nodemailer": "^6.7.2"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "9ea7767670a99404794087726223064c45d798d3",
|
|
33
33
|
"type": "module"
|
|
34
34
|
}
|