- Updated test files to use new testing library and reduced test cycles for efficiency. - Removed dependency on smartexpress and integrated direct WebSocket handling. - Enhanced Smartsocket and SmartsocketClient classes to support new message types and authentication flow. - Implemented a new message interface for structured communication between client and server. - Added external server support for smartserve with appropriate WebSocket hooks. - Improved connection management and error handling in SocketConnection and SocketRequest classes. - Cleaned up code and removed deprecated socket.io references in favor of native WebSocket.
76 lines
2.0 KiB
JSON
76 lines
2.0 KiB
JSON
{
|
|
"name": "@push.rocks/smartsocket",
|
|
"version": "2.1.0",
|
|
"description": "Provides easy and secure websocket communication mechanisms, including server and client implementation, function call routing, connection management, and tagging.",
|
|
"main": "dist_ts/index.js",
|
|
"typings": "dist_ts/index.d.ts",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "(tstest test/ --verbose)",
|
|
"build": "(tsbuild --web --allowimplicitany && tsbundle --from ./ts/index.ts --to dist_bundle/bundle.js)",
|
|
"buildDocs": "tsdoc"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://code.foss.global/push.rocks/smartsocket.git"
|
|
},
|
|
"author": "Task Venture Capital GmbH",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://community.foss.global/"
|
|
},
|
|
"homepage": "https://code.foss.global/push.rocks/smartsocket",
|
|
"dependencies": {
|
|
"@api.global/typedrequest-interfaces": "^3.0.19",
|
|
"@push.rocks/isohash": "^2.0.1",
|
|
"@push.rocks/isounique": "^1.0.5",
|
|
"@push.rocks/lik": "^6.2.2",
|
|
"@push.rocks/smartdelay": "^3.0.5",
|
|
"@push.rocks/smartenv": "^6.0.0",
|
|
"@push.rocks/smartjson": "^5.2.0",
|
|
"@push.rocks/smartlog": "^3.1.10",
|
|
"@push.rocks/smartpromise": "^4.2.3",
|
|
"@push.rocks/smartrx": "^3.0.10",
|
|
"@push.rocks/smarttime": "^4.1.1",
|
|
"ws": "^8.18.3"
|
|
},
|
|
"devDependencies": {
|
|
"@git.zone/tsbuild": "^3.1.2",
|
|
"@git.zone/tsbundle": "^2.6.3",
|
|
"@git.zone/tsrun": "^2.0.0",
|
|
"@git.zone/tstest": "^3.1.3",
|
|
"@push.rocks/smartserve": "^1.1.0",
|
|
"@types/node": "^24.10.1",
|
|
"@types/ws": "^8.18.1"
|
|
},
|
|
"private": false,
|
|
"files": [
|
|
"ts/**/*",
|
|
"ts_web/**/*",
|
|
"dist/**/*",
|
|
"dist_*/**/*",
|
|
"dist_ts/**/*",
|
|
"dist_ts_web/**/*",
|
|
"assets/**/*",
|
|
"cli.js",
|
|
"npmextra.json",
|
|
"readme.md"
|
|
],
|
|
"browserslist": [
|
|
"last 1 chrome versions"
|
|
],
|
|
"keywords": [
|
|
"websocket",
|
|
"communication",
|
|
"server",
|
|
"client",
|
|
"native websocket",
|
|
"authentication",
|
|
"reconnection",
|
|
"tagging",
|
|
"function routing",
|
|
"secure",
|
|
"rpc"
|
|
]
|
|
}
|