Compare commits

..

8 Commits

Author SHA1 Message Date
fc1124fb16 2.0.6 2022-10-26 10:54:19 +02:00
5e5f493dfa fix(core): update 2022-10-26 10:54:18 +02:00
899a46f9de 2.0.5 2022-08-02 10:21:16 +02:00
1412a06f4c fix(core): update 2022-08-02 10:21:15 +02:00
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
8 changed files with 4132 additions and 19052 deletions

19023
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedsocket",
"version": "2.0.2",
"version": "2.0.6",
"private": false,
"description": "a typedrequest extension supporting websockets",
"main": "dist_ts/index.js",
@@ -13,20 +13,20 @@
"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",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.23",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsbundle": "^2.0.6",
"@gitzone/tsrun": "^1.2.39",
"@gitzone/tstest": "^1.0.72",
"@pushrocks/smartenv": "^5.0.2",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.6.3"
},
"dependencies": {
"@apiglobal/typedrequest": "^2.0.0",
"@apiglobal/typedrequest": "^2.0.8",
"@apiglobal/typedrequest-interfaces": "^1.0.15",
"@pushrocks/isohash": "^2.0.0",
"@pushrocks/smartsocket": "^2.0.6",
"@pushrocks/smartjson": "^5.0.2",
"@pushrocks/smartsocket": "^2.0.7",
"@pushrocks/smartstring": "^4.0.2"
},
"browserslist": [

4098
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

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.6',
description: 'a typedrequest extension supporting websockets'
}

View File

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

View File

@@ -9,11 +9,13 @@ export {
// @pushrocks scope
import * as isohash from '@pushrocks/isohash';
import * as smartjson from '@pushrocks/smartjson';
import * as smartsocket from '@pushrocks/smartsocket';
import * as smartstring from '@pushrocks/smartstring';
export {
isohash,
smartjson,
smartsocket,
smartstring
}

10
tsconfig.json Normal file
View File

@@ -0,0 +1,10 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "nodenext",
"esModuleInterop": true
}
}

View File

@@ -1,17 +0,0 @@
{
"extends": ["tslint:latest", "tslint-config-prettier"],
"rules": {
"semicolon": [true, "always"],
"no-console": false,
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-ordering": {
"options":{
"order": [
"static-method"
]
}
}
},
"defaultSeverity": "warning"
}