Compare commits

...

14 Commits

Author SHA1 Message Date
c2f4efd33d 3.0.0 2023-08-06 16:52:04 +02:00
bc7a828124 BREAKING CHANGE(core): update 2023-08-06 16:52:03 +02:00
f62497ce48 2.0.28 2023-08-06 16:37:40 +02:00
64e5f30bad fix(core): update 2023-08-06 16:37:39 +02:00
1b41d5e3ad 2.0.27 2023-08-05 12:00:28 +02:00
c5954aa880 fix(core): update 2023-08-05 12:00:27 +02:00
b58d8084e9 2.0.26 2023-08-05 11:46:40 +02:00
f765e60e1f fix(core): update 2023-08-05 11:46:39 +02:00
b726669c4b 2.0.25 2023-08-04 16:22:40 +02:00
4f0066b5ca fix(core): update 2023-08-04 16:22:39 +02:00
0edc903900 2.0.24 2023-03-29 19:02:10 +02:00
fa41192377 fix(core): update 2023-03-29 19:02:10 +02:00
725e3c65c6 2.0.23 2023-03-29 16:29:58 +02:00
4e9108f7df fix(core): update 2023-03-29 16:29:58 +02:00
8 changed files with 1375 additions and 1070 deletions

View File

@@ -3,10 +3,10 @@
"projectType": "npm",
"module": {
"githost": "gitlab.com",
"gitscope": "apiglobal",
"gitscope": "api.global",
"gitrepo": "typedsocket",
"description": "a typedrequest extension supporting websockets",
"npmPackagename": "@apiglobal/typedsocket",
"npmPackagename": "@api.global/typedsocket",
"license": "MIT",
"projectDomain": "api.global"
}

View File

@@ -1,6 +1,6 @@
{
"name": "@apiglobal/typedsocket",
"version": "2.0.22",
"name": "@api.global/typedsocket",
"version": "3.0.0",
"private": false,
"description": "a typedrequest extension supporting websockets",
"main": "dist_ts/index.js",
@@ -14,22 +14,23 @@
"buildDocs": "tsdoc"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tsbundle": "^2.0.6",
"@gitzone/tsrun": "^1.2.39",
"@gitzone/tstest": "^1.0.74",
"@pushrocks/smartenv": "^5.0.5",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.15.11"
"@gitzone/tsbuild": "^2.1.66",
"@gitzone/tsbundle": "^2.0.8",
"@gitzone/tsrun": "^1.2.44",
"@gitzone/tstest": "^1.0.77",
"@push.rocks/smartenv": "^5.0.5",
"@push.rocks/tapbundle": "^5.0.12",
"@types/node": "^20.4.8"
},
"dependencies": {
"@apiglobal/typedrequest": "^2.0.8",
"@apiglobal/typedrequest-interfaces": "2.0.1",
"@pushrocks/isohash": "^2.0.0",
"@pushrocks/smartjson": "^5.0.5",
"@pushrocks/smartsocket": "^2.0.16",
"@pushrocks/smartstring": "^4.0.2",
"@pushrocks/smarturl": "^3.0.5"
"@api.global/typedrequest": "^3.0.1",
"@api.global/typedrequest-interfaces": "^3.0.1",
"@push.rocks/isohash": "^2.0.0",
"@push.rocks/smartjson": "^5.0.5",
"@push.rocks/smartrx": "^3.0.6",
"@push.rocks/smartsocket": "^2.0.22",
"@push.rocks/smartstring": "^4.0.2",
"@push.rocks/smarturl": "^3.0.5"
},
"browserslist": [
"last 1 chrome versions"

2376
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
import { tap, expect } from '@pushrocks/tapbundle';
import { tap, expect } from '@push.rocks/tapbundle';
import * as typedsocket from '../ts/index.js';

View File

@@ -1,6 +1,6 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as typedrequest from '@apiglobal/typedrequest';
import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces';
import { expect, tap } from '@push.rocks/tapbundle';
import * as typedrequest from '@api.global/typedrequest';
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
import * as typedsocket from '../ts/index.js';

View File

@@ -2,7 +2,7 @@
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@apiglobal/typedsocket',
version: '2.0.22',
name: '@api.global/typedsocket',
version: '3.0.0',
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(): plugins.smartrx.rxjs.Subject<plugins.smartsocket.TConnectionStatus> {
return this.socketServerOrClient.eventSubject;
}
private postMethod: plugins.typedrequest.IPostMethod &
((
typedRequestPostObject: plugins.typedrequestInterfaces.ITypedRequest,

View File

@@ -1,14 +1,15 @@
// @apiglobal scope
import * as typedrequest from '@apiglobal/typedrequest';
import * as typedrequestInterfaces from '@apiglobal/typedrequest-interfaces';
import * as typedrequest from '@api.global/typedrequest';
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
export { typedrequest, typedrequestInterfaces };
// @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';
import * as smarturl from '@pushrocks/smarturl';
import * as isohash from '@push.rocks/isohash';
import * as smartjson from '@push.rocks/smartjson';
import * as smartrx from '@push.rocks/smartrx';
import * as smartsocket from '@push.rocks/smartsocket';
import * as smartstring from '@push.rocks/smartstring';
import * as smarturl from '@push.rocks/smarturl';
export { isohash, smartjson, smartsocket, smartstring, smarturl };
export { isohash, smartjson, smartrx, smartsocket, smartstring, smarturl };