fix(core): update

This commit is contained in:
Philipp Kunz 2022-10-26 14:23:14 +02:00
parent 1266a814c6
commit dc826cb65a
4 changed files with 19 additions and 15 deletions

View File

@ -24,9 +24,9 @@
},
"dependencies": {
"@apiglobal/typedrequest": "^2.0.8",
"@apiglobal/typedrequest-interfaces": "^1.0.15",
"@apiglobal/typedrequest-interfaces": "2.0.0",
"@pushrocks/isohash": "^2.0.0",
"@pushrocks/smartjson": "^5.0.3",
"@pushrocks/smartjson": "^5.0.4",
"@pushrocks/smartsocket": "^2.0.7",
"@pushrocks/smartstring": "^4.0.2"
},

View File

@ -2,14 +2,14 @@ lockfileVersion: 5.4
specifiers:
'@apiglobal/typedrequest': ^2.0.8
'@apiglobal/typedrequest-interfaces': ^1.0.15
'@apiglobal/typedrequest-interfaces': 2.0.0
'@gitzone/tsbuild': ^2.1.63
'@gitzone/tsbundle': ^2.0.6
'@gitzone/tsrun': ^1.2.39
'@gitzone/tstest': ^1.0.72
'@pushrocks/isohash': ^2.0.0
'@pushrocks/smartenv': ^5.0.2
'@pushrocks/smartjson': ^5.0.3
'@pushrocks/smartjson': ^5.0.4
'@pushrocks/smartsocket': ^2.0.7
'@pushrocks/smartstring': ^4.0.2
'@pushrocks/tapbundle': ^5.0.4
@ -17,9 +17,9 @@ specifiers:
dependencies:
'@apiglobal/typedrequest': 2.0.12
'@apiglobal/typedrequest-interfaces': 1.0.15
'@apiglobal/typedrequest-interfaces': 2.0.0
'@pushrocks/isohash': 2.0.0
'@pushrocks/smartjson': 5.0.3
'@pushrocks/smartjson': 5.0.4
'@pushrocks/smartsocket': 2.0.7
'@pushrocks/smartstring': 4.0.5
@ -47,6 +47,10 @@ packages:
/@apiglobal/typedrequest-interfaces/1.0.15:
resolution: {integrity: sha512-KncX168fUQJ73FeT22Cvls41mkJmtasP8dB2s9+9/OyWZpNsCzk9NEmtdRhulW2vLQwuAbQc1eoloe7ffCmhcA==}
/@apiglobal/typedrequest-interfaces/2.0.0:
resolution: {integrity: sha512-UTzBVt9I0eIccncKdtrE0XTO6bK3P+jyfmYO7LAGlZGM5gAamjGBy4nDKh3JshK+x/z89VyD+02+sUyDfi2NwA==}
dev: false
/@apiglobal/typedrequest/2.0.12:
resolution: {integrity: sha512-oCxcdKEzihzPDf0jrqG4obFFSgDszvO5LO+0Fk/hH/0bZm0AQ1LssYVwaY8OHjT0ujmkTcC5JFCjaS7LgjKSgQ==}
dependencies:
@ -468,7 +472,7 @@ packages:
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartfile-interfaces': 1.0.7
'@pushrocks/smarthash': 3.0.1
'@pushrocks/smartjson': 5.0.3
'@pushrocks/smartjson': 5.0.4
'@pushrocks/smartmime': 1.0.5
'@pushrocks/smartpath': 5.0.5
'@pushrocks/smartpromise': 3.1.7
@ -495,7 +499,7 @@ packages:
/@pushrocks/smarthash/3.0.1:
resolution: {integrity: sha512-S9BiLsxTJB4KOXiiqcdp9QHc8srctHQxoWqDNVw7mGJbU6KuCHbFW6NUcEe2us5z389dGNEbbPMy7+0mAdTXVA==}
dependencies:
'@pushrocks/smartjson': 5.0.3
'@pushrocks/smartjson': 5.0.4
'@pushrocks/smartpromise': 3.1.7
'@types/through2': 2.0.36
through2: 4.0.2
@ -509,8 +513,8 @@ packages:
fast-json-stable-stringify: 2.1.0
lodash.clonedeep: 4.5.0
/@pushrocks/smartjson/5.0.3:
resolution: {integrity: sha512-QaRRRDNwgocFR/UiFbXJ8g9gw0UbBKgKz93R9+qms+EbWXHtSiB8VDbSKg2Xvi2FMnf/Df+FMXQKnU9yH+ex+g==}
/@pushrocks/smartjson/5.0.4:
resolution: {integrity: sha512-/a64L04y+prOp1LNfuxmbBbcIGdm+vCOSlhndDE2LWDrLn88gfLHERtQqpOdDUbrlXnTWZ1bvMTKbiPJGx9N/w==}
dependencies:
'@pushrocks/smartstring': 4.0.5
'@types/buffer-json': 2.0.1
@ -671,7 +675,7 @@ packages:
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3
'@pushrocks/smartexpress': 4.0.21
'@pushrocks/smartjson': 5.0.3
'@pushrocks/smartjson': 5.0.4
'@pushrocks/smartlog': 3.0.1
'@pushrocks/smartpromise': 3.1.7
'@pushrocks/smartrx': 2.0.27
@ -783,7 +787,7 @@ packages:
'@adobe/helix-fetch': 3.1.2
'@pushrocks/smartdelay': 2.0.13
'@pushrocks/smartenv': 5.0.3
'@pushrocks/smartjson': 5.0.3
'@pushrocks/smartjson': 5.0.4
'@pushrocks/smartpromise': 3.1.7
'@pushrocks/webstore': 2.0.5
transitivePeerDependencies:
@ -795,7 +799,7 @@ packages:
'@apiglobal/typedrequest-interfaces': 1.0.15
'@pushrocks/lik': 6.0.0
'@pushrocks/smartenv': 5.0.3
'@pushrocks/smartjson': 5.0.3
'@pushrocks/smartjson': 5.0.4
'@pushrocks/smartpromise': 3.1.7
'@pushrocks/smartrx': 2.0.27
fake-indexeddb: 4.0.0

View File

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

View File

@ -204,7 +204,7 @@ export class TypedSocket {
});
}
public async findTargetConnectionByTag(keyArg: string, payloadArg?: any) {
public async findTargetConnectionByTag<T extends plugins.typedrequestInterfaces.ITag>(keyArg: string, payloadArg?: any) {
const allResults = await this.findAllTargetConnectionsByTag(keyArg, payloadArg);
return allResults[0];
}