Compare commits

...

5 Commits

Author SHA1 Message Date
5aa8048ce8 1.0.18 2021-07-20 11:09:23 +02:00
48112f97ce fix(core): update 2021-07-20 11:09:22 +02:00
57a10080b5 1.0.17 2021-07-20 02:44:14 +02:00
7bdac2b89d 1.0.16 2021-07-20 02:04:46 +02:00
6c49870dd6 fix(core): update 2021-07-20 02:04:45 +02:00
4 changed files with 17112 additions and 1749 deletions

View File

@@ -36,6 +36,7 @@ auditProductionDependencies:
- npmci command npm audit --audit-level=high --only=prod --production
tags:
- docker
allow_failure: true
auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci

18844
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedsocket",
"version": "1.0.15",
"version": "1.0.18",
"private": false,
"description": "a typedrequest extension supporting websockets",
"main": "dist_ts/index.js",
@@ -13,10 +13,10 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78",
"@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.2.10",
"@types/node": "^14.14.22",
"@gitzone/tsbundle": "^1.0.80",
"@gitzone/tstest": "^1.0.54",
"@pushrocks/tapbundle": "^3.2.14",
"@types/node": "^16.3.3",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},
@@ -24,7 +24,7 @@
"@apiglobal/typedrequest": "^1.0.56",
"@apiglobal/typedrequest-interfaces": "^1.0.15",
"@pushrocks/isohash": "^1.0.2",
"@pushrocks/smartexpress": "^3.0.100",
"@pushrocks/smartexpress": "^3.0.102",
"@pushrocks/smartsocket": "^1.2.8",
"@pushrocks/smartstring": "^3.0.24"
},

View File

@@ -34,6 +34,10 @@ tap.test('should add some handlers', async () => {
tap.test('should create Server and Client', async (tools) => {
testTypedSocketServer = await typedsocket.TypedSocket.createServer(testTypedRouter);
testTypedSocketClient = await typedsocket.TypedSocket.createClient(testTypedRouter, 'http://localhost:3000');
await tools.delayFor(1000);
await testTypedSocketServer.stop();
testTypedSocketServer = await typedsocket.TypedSocket.createServer(testTypedRouter);
await tools.delayFor(60000);
});
tap.test('should process messages from both sides', async () => {