@live-change/secret-code-service 0.8.31 → 0.8.33

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/index.js +1 -2
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -140,8 +140,7 @@ definition.trigger({
140
140
  const codeData = await Code.indexObjectGet('byAuthenticationAndSecretCode', [authentication, secret])
141
141
  if(!codeData) {
142
142
  if(client) {
143
- await context.trigger({
144
- type: 'securityEvent',
143
+ await context.trigger({ type: 'securityEvent' }, {
145
144
  event: {
146
145
  type: 'wrong-secret-code',
147
146
  properties: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/secret-code-service",
3
- "version": "0.8.31",
3
+ "version": "0.8.33",
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.31",
25
+ "@live-change/framework": "^0.8.33",
26
26
  "nodemailer": "^6.7.2"
27
27
  },
28
- "gitHead": "9ab10c6f2854dd5472cc6becb128951db16218e3"
28
+ "gitHead": "98ff6f9c09e5fc1f408010df6cc8038eff571276"
29
29
  }