@live-change/timer-service 0.9.193 → 0.9.195

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 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -65,7 +65,7 @@ definition.trigger({
65
65
  async execute({ timer }, { client, service }, emit) {
66
66
  if(!timer) throw new Error("timer is required")
67
67
  let timerRow = await Timer.get(timer)
68
- if(!timerRow) throw 'notFound'
68
+ if(!timerRow) throw app.logicError("notFound")
69
69
  emit({
70
70
  type: "timerCanceled", timer
71
71
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/timer-service",
3
- "version": "0.9.193",
3
+ "version": "0.9.195",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,7 +22,7 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/framework": "^0.9.193"
25
+ "@live-change/framework": "^0.9.195"
26
26
  },
27
- "gitHead": "8a7627bed2cb66684e7169ddb3998191612e57a9"
27
+ "gitHead": "9f61eddae56ddd89aba20988b8e208d948728496"
28
28
  }