@api.global/typedsocket 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist_ts/00_commitinfo_data.js +1 -1
- package/dist_ts/typedsocket.classes.typedsocket.d.ts +114 -31
- package/dist_ts/typedsocket.classes.typedsocket.js +367 -191
- package/dist_ts/typedsocket.plugins.d.ts +3 -2
- package/dist_ts/typedsocket.plugins.js +4 -3
- package/package.json +8 -12
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/typedsocket.classes.typedsocket.ts +485 -279
- package/ts/typedsocket.plugins.ts +4 -3
|
@@ -2,10 +2,11 @@ import * as typedrequest from '@api.global/typedrequest';
|
|
|
2
2
|
import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
|
|
3
3
|
export { typedrequest, typedrequestInterfaces };
|
|
4
4
|
import * as isohash from '@push.rocks/isohash';
|
|
5
|
+
import * as smartdelay from '@push.rocks/smartdelay';
|
|
5
6
|
import * as smartjson from '@push.rocks/smartjson';
|
|
7
|
+
import * as smartpromise from '@push.rocks/smartpromise';
|
|
6
8
|
import * as smartrx from '@push.rocks/smartrx';
|
|
7
|
-
import * as smartsocket from '@push.rocks/smartsocket';
|
|
8
9
|
import * as smartstring from '@push.rocks/smartstring';
|
|
9
10
|
import * as smarturl from '@push.rocks/smarturl';
|
|
10
|
-
export { isohash, smartjson,
|
|
11
|
+
export { isohash, smartdelay, smartjson, smartpromise, smartrx, smartstring, smarturl };
|
|
11
12
|
export type { SmartServe, IWebSocketPeer } from '@push.rocks/smartserve';
|
|
@@ -4,10 +4,11 @@ import * as typedrequestInterfaces from '@api.global/typedrequest-interfaces';
|
|
|
4
4
|
export { typedrequest, typedrequestInterfaces };
|
|
5
5
|
// @pushrocks scope
|
|
6
6
|
import * as isohash from '@push.rocks/isohash';
|
|
7
|
+
import * as smartdelay from '@push.rocks/smartdelay';
|
|
7
8
|
import * as smartjson from '@push.rocks/smartjson';
|
|
9
|
+
import * as smartpromise from '@push.rocks/smartpromise';
|
|
8
10
|
import * as smartrx from '@push.rocks/smartrx';
|
|
9
|
-
import * as smartsocket from '@push.rocks/smartsocket';
|
|
10
11
|
import * as smartstring from '@push.rocks/smartstring';
|
|
11
12
|
import * as smarturl from '@push.rocks/smarturl';
|
|
12
|
-
export { isohash, smartjson,
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
13
|
+
export { isohash, smartdelay, smartjson, smartpromise, smartrx, smartstring, smarturl };
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZWRzb2NrZXQucGx1Z2lucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL3R5cGVkc29ja2V0LnBsdWdpbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUJBQW1CO0FBQ25CLE9BQU8sS0FBSyxZQUFZLE1BQU0sMEJBQTBCLENBQUM7QUFDekQsT0FBTyxLQUFLLHNCQUFzQixNQUFNLHFDQUFxQyxDQUFDO0FBRTlFLE9BQU8sRUFBRSxZQUFZLEVBQUUsc0JBQXNCLEVBQUUsQ0FBQztBQUVoRCxtQkFBbUI7QUFDbkIsT0FBTyxLQUFLLE9BQU8sTUFBTSxxQkFBcUIsQ0FBQztBQUMvQyxPQUFPLEtBQUssVUFBVSxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sS0FBSyxTQUFTLE1BQU0sdUJBQXVCLENBQUM7QUFDbkQsT0FBTyxLQUFLLFlBQVksTUFBTSwwQkFBMEIsQ0FBQztBQUN6RCxPQUFPLEtBQUssT0FBTyxNQUFNLHFCQUFxQixDQUFDO0FBQy9DLE9BQU8sS0FBSyxXQUFXLE1BQU0seUJBQXlCLENBQUM7QUFDdkQsT0FBTyxLQUFLLFFBQVEsTUFBTSxzQkFBc0IsQ0FBQztBQUVqRCxPQUFPLEVBQUUsT0FBTyxFQUFFLFVBQVUsRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLE9BQU8sRUFBRSxXQUFXLEVBQUUsUUFBUSxFQUFFLENBQUMifQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@api.global/typedsocket",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A library for creating typed WebSocket connections, supporting bi-directional communication with type safety.",
|
|
6
6
|
"main": "dist_ts/index.js",
|
|
@@ -10,31 +10,27 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@git.zone/tsbuild": "^3.1.2",
|
|
13
|
-
"@git.zone/tsbundle": "^2.6.
|
|
13
|
+
"@git.zone/tsbundle": "^2.6.3",
|
|
14
14
|
"@git.zone/tsrun": "^2.0.0",
|
|
15
15
|
"@git.zone/tstest": "^3.1.3",
|
|
16
16
|
"@push.rocks/smartenv": "^6.0.0",
|
|
17
|
-
"@push.rocks/smartserve": "^1.1.
|
|
17
|
+
"@push.rocks/smartserve": "^1.1.2",
|
|
18
18
|
"@push.rocks/tapbundle": "^6.0.3",
|
|
19
19
|
"@types/node": "^24.10.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@api.global/typedrequest": "^3.1.
|
|
22
|
+
"@api.global/typedrequest": "^3.1.11",
|
|
23
23
|
"@api.global/typedrequest-interfaces": "^3.0.19",
|
|
24
24
|
"@push.rocks/isohash": "^2.0.1",
|
|
25
|
+
"@push.rocks/smartdelay": "^3.0.5",
|
|
25
26
|
"@push.rocks/smartjson": "^5.2.0",
|
|
27
|
+
"@push.rocks/smartpromise": "^4.2.3",
|
|
26
28
|
"@push.rocks/smartrx": "^3.0.10",
|
|
27
|
-
"@push.rocks/smartsocket": "^3.0.0",
|
|
28
29
|
"@push.rocks/smartstring": "^4.1.0",
|
|
29
30
|
"@push.rocks/smarturl": "^3.1.0"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
32
|
-
"@push.rocks/smartserve": ">=1.
|
|
33
|
-
},
|
|
34
|
-
"peerDependenciesMeta": {
|
|
35
|
-
"@push.rocks/smartserve": {
|
|
36
|
-
"optional": true
|
|
37
|
-
}
|
|
33
|
+
"@push.rocks/smartserve": ">=1.1.0"
|
|
38
34
|
},
|
|
39
35
|
"browserslist": [
|
|
40
36
|
"last 1 chrome versions"
|
|
@@ -60,7 +56,7 @@
|
|
|
60
56
|
"Networking"
|
|
61
57
|
],
|
|
62
58
|
"scripts": {
|
|
63
|
-
"test": "(tstest test/ --
|
|
59
|
+
"test": "(tstest test/ --verbose)",
|
|
64
60
|
"build": "(tsbuild --web --allowimplicitany --skiplibcheck)",
|
|
65
61
|
"buildDocs": "tsdoc"
|
|
66
62
|
}
|
package/ts/00_commitinfo_data.ts
CHANGED