@live-change/online-service 0.4.1 → 0.4.2

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 +4 -5
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,8 +1,7 @@
1
- const http = require('http')
2
- const ReactiveDao = require("@live-change/dao")
3
- const ReactiveDaoWebsocket = require("@live-change/dao-websocket")
4
- const ReactiveServer = ReactiveDao.ReactiveServer
5
- const WebSocketServer = require('websocket').server
1
+ import http from 'http'
2
+ import ReactiveDao, { ReactiveServer } from "@live-change/dao"
3
+ import * as ReactiveDaoWebsocket from "@live-change/dao-websocket"
4
+ import { server as WebSocketServer } from 'websocket'
6
5
 
7
6
  import App from '@live-change/framework'
8
7
  const app = App.app()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/online-service",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,6 +10,6 @@
10
10
  },
11
11
  "author": "Michał Łaszczewski <michal@emikse.com>",
12
12
  "license": "BSD-3-Clause",
13
- "gitHead": "74215655da2a4bc3ef73c62e5d79d988276165e8",
13
+ "gitHead": "c552fd7a5c193355ad35eaa5ef573e1dd3220a3b",
14
14
  "type": "module"
15
15
  }