fix(core): update

This commit is contained in:
Philipp Kunz 2023-03-29 16:29:58 +02:00
parent 420d634e83
commit 4e9108f7df
4 changed files with 24 additions and 21 deletions

View File

@ -27,7 +27,7 @@
"@apiglobal/typedrequest-interfaces": "2.0.1",
"@pushrocks/isohash": "^2.0.0",
"@pushrocks/smartjson": "^5.0.5",
"@pushrocks/smartsocket": "^2.0.16",
"@pushrocks/smartsocket": "^2.0.18",
"@pushrocks/smartstring": "^4.0.2",
"@pushrocks/smarturl": "^3.0.5"
},

38
pnpm-lock.yaml generated
View File

@ -14,8 +14,8 @@ dependencies:
specifier: ^5.0.5
version: 5.0.5
'@pushrocks/smartsocket':
specifier: ^2.0.16
version: 2.0.16
specifier: ^2.0.18
version: 2.0.18
'@pushrocks/smartstring':
specifier: ^4.0.2
version: 4.0.5
@ -83,7 +83,7 @@ packages:
'@apiglobal/typedrequest-interfaces': 2.0.1
'@pushrocks/isohash': 2.0.0
'@pushrocks/smartjson': 5.0.5
'@pushrocks/smartsocket': 2.0.16
'@pushrocks/smartsocket': 2.0.18
'@pushrocks/smartstring': 4.0.5
transitivePeerDependencies:
- bufferutil
@ -91,15 +91,16 @@ packages:
- utf-8-validate
dev: true
/@apiglobal/typedsocket@2.0.19:
resolution: {integrity: sha512-JBjqBSKXiFgoFrgwr3ohkPN1lzHQd/fbCrcacgVf/mP0QGGQAeIm2ugiEutGSfFYiG6q3MXBtX3gn/5ZpiNwTw==}
/@apiglobal/typedsocket@2.0.22:
resolution: {integrity: sha512-HivYmN0nUCyj9ZpCSpFe1tr5brTDGfNLRP5FFC+0oK+ZvFgIDD6JiFzHkQfbaDSelA+4I3JTiTdrJ5iyvroS9w==}
dependencies:
'@apiglobal/typedrequest': 2.0.12
'@apiglobal/typedrequest-interfaces': 2.0.1
'@pushrocks/isohash': 2.0.0
'@pushrocks/smartjson': 5.0.5
'@pushrocks/smartsocket': 2.0.16
'@pushrocks/smartsocket': 2.0.18
'@pushrocks/smartstring': 4.0.5
'@pushrocks/smarturl': 3.0.5
transitivePeerDependencies:
- bufferutil
- supports-color
@ -496,11 +497,11 @@ packages:
- utf-8-validate
dev: true
/@pushrocks/smartexpress@4.0.28:
resolution: {integrity: sha512-fQtQQbnDkh9zOx7NqLzOjS9DhxA62V1iSa3/TPj5jZigRBG3nUTIw83hIBvVhInwZNA7Es12JUNcD41+wv1LjA==}
/@pushrocks/smartexpress@4.0.34:
resolution: {integrity: sha512-0ndTf7ufPAP86TwUoggXAUMqlXx8K77b3D1wJSEDEMs5UqL94khCYz0h/FnGM8eTkLGcgDMwiyahDehcuWWM1g==}
dependencies:
'@apiglobal/typedrequest': 2.0.12
'@apiglobal/typedsocket': 2.0.19
'@apiglobal/typedsocket': 2.0.22
'@pushrocks/lik': 6.0.2
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.5
@ -512,7 +513,7 @@ packages:
'@pushrocks/smartpromise': 3.1.7
'@pushrocks/smartrequest': 2.0.11
'@pushrocks/smartsitemap': 2.0.1
'@pushrocks/smarttime': 3.0.50
'@pushrocks/smarttime': 4.0.1
'@tsclass/tsclass': 4.0.34
'@types/compression': 1.7.2
'@types/cors': 2.8.13
@ -522,7 +523,6 @@ packages:
cors: 2.8.5
express: 4.18.2
express-force-ssl: 0.3.2
helmet: 5.1.1
transitivePeerDependencies:
- bufferutil
- supports-color
@ -786,8 +786,8 @@ packages:
transitivePeerDependencies:
- supports-color
/@pushrocks/smartsocket@2.0.16:
resolution: {integrity: sha512-iFcfBmLrlDw+npCEq2dVJA3GLV8gGJwzaGaaCTHsth864lcE8xhWz9aMxXJvfzYd3HH37R2upYIuXyfIeWllUw==}
/@pushrocks/smartsocket@2.0.18:
resolution: {integrity: sha512-6ehWK4QjqCn2Vq7x7HSNAWaddnc966HaDGeiRBt+5hg05vdzuNhLroqleVrkkTa9CO5lM08aISis1aZSD3/8AA==}
dependencies:
'@apiglobal/typedrequest-interfaces': 2.0.1
'@pushrocks/isohash': 2.0.0
@ -795,7 +795,7 @@ packages:
'@pushrocks/lik': 6.0.2
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.5
'@pushrocks/smartexpress': 4.0.28
'@pushrocks/smartexpress': 4.0.34
'@pushrocks/smartjson': 5.0.5
'@pushrocks/smartlog': 3.0.2
'@pushrocks/smartpromise': 3.1.7
@ -973,7 +973,7 @@ packages:
/@tsclass/tsclass@4.0.34:
resolution: {integrity: sha512-Fk4y/cKfzAjq+9HcsR/CRvWDn7ERrKxd75oPVASrfjECyA/Mf7zDKbPfLwZyAq4zk4abkg1RydfNjQWRLXHdTA==}
dependencies:
type-fest: 3.6.1
type-fest: 3.7.2
/@tsconfig/node10@1.0.9:
resolution: {integrity: sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==}
@ -2639,7 +2639,6 @@ packages:
/graceful-fs@4.2.10:
resolution: {integrity: sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==}
dev: true
/graceful-fs@4.2.11:
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
@ -2684,6 +2683,7 @@ packages:
/helmet@5.1.1:
resolution: {integrity: sha512-/yX0oVZBggA9cLJh8aw3PPCfedBnbd7J2aowjzsaWwZh7/UFY0nccn/aHAggIgWUFfnykX8GKd3a1pSbrmlcVQ==}
engines: {node: '>=12.0.0'}
dev: true
/html-escaper@2.0.2:
resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==}
@ -2979,7 +2979,7 @@ packages:
dependencies:
universalify: 2.0.0
optionalDependencies:
graceful-fs: 4.2.11
graceful-fs: 4.2.10
/keygrip@1.1.0:
resolution: {integrity: sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==}
@ -4144,8 +4144,8 @@ packages:
engines: {node: '>=14.16'}
dev: true
/type-fest@3.6.1:
resolution: {integrity: sha512-htXWckxlT6U4+ilVgweNliPqlsVSSucbxVexRYllyMVJDtf5rTjv6kF/s+qAd4QSL1BZcnJPEJavYBPQiWuZDA==}
/type-fest@3.7.2:
resolution: {integrity: sha512-f9BHrLjRJ4MYkfOsnC/53PNDzZJcVo14MqLp2+hXE39p5bgwqohxR5hDZztwxlbxmIVuvC2EFAKrAkokq23PLA==}
engines: {node: '>=14.16'}
/type-is@1.6.18:

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@apiglobal/typedsocket',
version: '2.0.22',
version: '2.0.23',
description: 'a typedrequest extension supporting websockets'
}

View File

@ -113,6 +113,9 @@ export class TypedSocket {
// INSTANCE
public side: TTypedSocketSide;
public typedrouter: plugins.typedrequest.TypedRouter;
public get eventSubject() {
return this.socketServerOrClient.eventSubject;
}
private postMethod: plugins.typedrequest.IPostMethod &
((
typedRequestPostObject: plugins.typedrequestInterfaces.ITypedRequest,