@live-change/timer-service 0.3.41 → 0.4.1

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 +3 -2
  2. package/package.json +4 -3
package/index.js CHANGED
@@ -1,4 +1,5 @@
1
- const app = require("@live-change/framework").app()
1
+ import App from '@live-change/framework'
2
+ const app = App.app()
2
3
 
3
4
  const definition = app.createServiceDefinition({
4
5
  name: "timer"
@@ -471,4 +472,4 @@ definition.beforeStart(async () => {
471
472
  await startTimers()
472
473
  })
473
474
 
474
- module.exports = definition
475
+ export default definition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/timer-service",
3
- "version": "0.3.41",
3
+ "version": "0.4.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,8 +20,9 @@
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.7.39"
25
+ "@live-change/framework": "0.8.0"
25
26
  },
26
- "gitHead": "cf7a4196465c134c4685571526754330d7c70475"
27
+ "gitHead": "74215655da2a4bc3ef73c62e5d79d988276165e8"
27
28
  }