fix(core): update

This commit is contained in:
Philipp Kunz 2022-05-13 08:14:09 +02:00
parent a82f8ccc26
commit 8d7eb3ff5f
2 changed files with 9 additions and 1 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@apiglobal/typedsocket',
version: '2.0.4',
description: 'a typedrequest extension supporting websockets'
}

View File

@ -188,7 +188,7 @@ export class TypedSocket {
if (!payloadArg) {
result = !!(await socketConnectionArg.getTagById(keyArg));
} else {
result = !!((await socketConnectionArg.getTagById(keyArg)).payload === payloadArg);
result = !!((await socketConnectionArg.getTagById(keyArg))?.payload === payloadArg);
}
return result;
})