@live-change/db-server 0.8.28 → 0.8.30
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/Dockerfile +2 -2
- package/build-docker-and-upload.sh +1 -0
- package/lib/Server.js +4 -1
- package/package.json +13 -13
package/Dockerfile
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
VERSION=`echo "console.log(require('./package.json').version)" | node`
|
|
3
3
|
PLATFORMS="linux/amd64,linux/arm64,linux/arm/v7"
|
|
4
|
+
#PLATFORMS="linux/amd64"
|
|
4
5
|
echo building docker image for version $VERSION
|
|
5
6
|
docker buildx build --platform $PLATFORMS -t livechange/db-server:$VERSION -t livechange/db-server:latest --push .
|
package/lib/Server.js
CHANGED
|
@@ -4,7 +4,10 @@ import http from 'http'
|
|
|
4
4
|
import express from 'express'
|
|
5
5
|
import sockjs from '@live-change/sockjs'
|
|
6
6
|
import { server as WebSocketServer } from 'websocket'
|
|
7
|
-
import {
|
|
7
|
+
import {
|
|
8
|
+
server as ReactiveDaoWebsocketServer,
|
|
9
|
+
client as ReactiveDaoWebsocketClient
|
|
10
|
+
} from '@live-change/dao-websocket'
|
|
8
11
|
import ScriptContext from '@live-change/db/lib/ScriptContext.js'
|
|
9
12
|
import * as dbDao from './dbDao.js'
|
|
10
13
|
import * as storeDao from './storeDao.js'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/db-server",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.30",
|
|
4
4
|
"description": "Database with observable data for live queries",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"tape": "^5.7.4"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@live-change/dao": "^0.8.
|
|
33
|
-
"@live-change/dao-message": "^0.8.
|
|
34
|
-
"@live-change/dao-sockjs": "^0.8.
|
|
35
|
-
"@live-change/dao-websocket": "^0.8.
|
|
36
|
-
"@live-change/db": "^0.8.
|
|
37
|
-
"@live-change/db-admin": "^0.8.
|
|
38
|
-
"@live-change/db-client": "^0.8.
|
|
39
|
-
"@live-change/db-store-level": "^0.8.
|
|
40
|
-
"@live-change/db-store-lmdb": "^0.8.
|
|
41
|
-
"@live-change/db-store-observable-db": "^0.8.
|
|
42
|
-
"@live-change/db-store-rbtree": "^0.8.
|
|
32
|
+
"@live-change/dao": "^0.8.30",
|
|
33
|
+
"@live-change/dao-message": "^0.8.30",
|
|
34
|
+
"@live-change/dao-sockjs": "^0.8.30",
|
|
35
|
+
"@live-change/dao-websocket": "^0.8.30",
|
|
36
|
+
"@live-change/db": "^0.8.30",
|
|
37
|
+
"@live-change/db-admin": "^0.8.30",
|
|
38
|
+
"@live-change/db-client": "^0.8.30",
|
|
39
|
+
"@live-change/db-store-level": "^0.8.30",
|
|
40
|
+
"@live-change/db-store-lmdb": "^0.8.30",
|
|
41
|
+
"@live-change/db-store-observable-db": "^0.8.30",
|
|
42
|
+
"@live-change/db-store-rbtree": "^0.8.30",
|
|
43
43
|
"@live-change/sockjs": "0.4.1",
|
|
44
44
|
"express": "^4.18.2",
|
|
45
45
|
"line-reader": "^0.4.0",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"websocket": "^1.0.34",
|
|
50
50
|
"yargs": "^17.7.2"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "aec2a3ede7fe490dcb7db40ee6c2963cd0c62af1"
|
|
53
53
|
}
|