fix(core): update

This commit is contained in:
2023-07-21 03:53:41 +02:00
parent 9cfc41ace8
commit c8556355c0
19 changed files with 1446 additions and 1059 deletions

View File

@ -1,15 +1,15 @@
// tslint:disable-next-line:no-implicit-dependencies
import { expect, expectAsync, tap } from '@pushrocks/tapbundle';
import { expect, expectAsync, tap } from '@push.rocks/tapbundle';
import * as isohash from '@pushrocks/isohash';
import * as smartexpress from '@pushrocks/smartexpress';
import * as isohash from '@push.rocks/isohash';
import * as smartexpress from '@apiglobal/typedserver';
import * as smartsocket from '../ts/index.js';
let testSmartsocket: smartsocket.Smartsocket;
let testSmartsocketClient: smartsocket.SmartsocketClient;
let testSocketFunction1: smartsocket.SocketFunction<any>;
let myseServer: smartexpress.Server;
let myseServer: smartexpress.servertools.Server;
const testConfig = {
port: 3000,
@ -22,7 +22,7 @@ tap.test('should create a new smartsocket', async () => {
});
tap.test('Should accept an smartExpressServer as server', async () => {
myseServer = new smartexpress.Server({
myseServer = new smartexpress.servertools.Server({
cors: true,
forceSsl: false,
port: testConfig.port,

View File

@ -1,5 +1,5 @@
// tslint:disable-next-line:no-implicit-dependencies
import { expect, tap } from '@pushrocks/tapbundle';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartsocket from '../ts/index.js';

View File

@ -1,5 +1,5 @@
// tslint:disable-next-line:no-implicit-dependencies
import { expect, tap } from '@pushrocks/tapbundle';
import { expect, tap } from '@push.rocks/tapbundle';
import * as smartsocket from '../ts/index.js';