Compare commits

..

9 Commits

Author SHA1 Message Date
51e6c5cf0e 2.0.4 2022-05-13 08:14:10 +02:00
8d7eb3ff5f fix(core): update 2022-05-13 08:14:09 +02:00
a82f8ccc26 2.0.3 2022-03-29 15:38:38 +02:00
d934f4b53b fix(core): update 2022-03-29 15:38:37 +02:00
54b8a692ba 2.0.2 2022-03-25 00:42:50 +01:00
2f39b5662d fix(core): update 2022-03-25 00:42:50 +01:00
5b9e785159 2.0.1 2022-03-25 00:31:10 +01:00
a5bca90eeb fix(core): update 2022-03-25 00:31:10 +01:00
244016faed 2.0.0 2022-03-24 23:09:36 +01:00
4 changed files with 538 additions and 1565 deletions

2079
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.27",
"version": "2.0.4",
"private": false,
"description": "a typedrequest extension supporting websockets",
"main": "dist_ts/index.js",
@@ -10,23 +10,23 @@
"license": "MIT",
"scripts": {
"test": "(tstest test/ --web)",
"build": "(tsbuild --web --allowimplicitany --skiplibcheck)"
"build": "(tsbuild --web --allowimplicitany)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.61",
"@gitzone/tsbundle": "^1.0.101",
"@gitzone/tstest": "^1.0.69",
"@pushrocks/smartenv": "^5.0.0",
"@gitzone/tsbundle": "^1.0.102",
"@gitzone/tstest": "^1.0.70",
"@pushrocks/smartenv": "^5.0.1",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.23",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},
"dependencies": {
"@apiglobal/typedrequest": "^2.0.0",
"@apiglobal/typedrequest": "^2.0.3",
"@apiglobal/typedrequest-interfaces": "^1.0.15",
"@pushrocks/isohash": "^2.0.0",
"@pushrocks/smartsocket": "^2.0.4",
"@pushrocks/smartsocket": "^2.0.6",
"@pushrocks/smartstring": "^4.0.2"
},
"browserslist": [

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;
})