{"_id":"@barfinex/provider-ws-bridge","_rev":"6-e320c20994013ed66e0f961f3bc297b1","name":"@barfinex/provider-ws-bridge","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.1":{"name":"@barfinex/provider-ws-bridge","version":"1.0.1","keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/provider-ws-bridge@1.0.1","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"dist":{"shasum":"04d8c99df7d43cd08442c4882a6a8e2d1770c3d4","tarball":"https://registry.npmjs.org/@barfinex/provider-ws-bridge/-/provider-ws-bridge-1.0.1.tgz","fileCount":18,"integrity":"sha512-vePkPPIUNfUypELNQsakfIVvddI4G6pio87OBRyDeJdaR3qyM3uDzPTBu0cuDtxF48w73UQIINLxHtXdGMFsLA==","signatures":[{"sig":"MEQCICxAFXjorg3pdfLM3ilp39iRlNfpHKU8EybnfY9meP5XAiBG/PAcFd5T9BSPX1aEBuHskzHc8nCABlHfUuaYH0OpGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20488},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"92b3846335fadbe61ecedb7ca5644363e20b1e10","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist","rebuild":"npm run clean && npm run build","release":"semantic-release"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"repository":{"url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git","type":"git"},"_npmVersion":"10.9.4","description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@barfinex/key":"^1.0.0","@barfinex/types":"^1.0.14","@barfinex/utils":"^1.0.1","@barfinex/orders":"^1.0.0","@barfinex/connectors":"^1.0.0","@barfinex/plugin-driver":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","rimraf":"^5.0.5","socket.io":"^4.7.5","typescript":"^5.6.3","@types/node":"^20.11.30","@nestjs/common":"^10.0.0","semantic-release":"^24.1.0","@nestjs/websockets":"^10.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@nestjs/platform-socket.io":"^10.0.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","socket.io":"^4.7.5","@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ws-bridge_1.0.1_1761289456043_0.5888753473254689","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@barfinex/provider-ws-bridge","version":"1.0.2","keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/provider-ws-bridge@1.0.2","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"dist":{"shasum":"dca4db4018d132c046bce29b90be89e2211b48bd","tarball":"https://registry.npmjs.org/@barfinex/provider-ws-bridge/-/provider-ws-bridge-1.0.2.tgz","fileCount":18,"integrity":"sha512-pn1qRFIXOKx0U+393zNu9ZhkfNfBlJj/jUatoC/BSmiICnLH3mqrExXLwIIUW1ZXxlaJeM87pa5rzCoLas+m+w==","signatures":[{"sig":"MEQCIEOlSl4WVpQZssiXewNUzIMfYRoxs3vXV3ouXTyNb2YtAiBWwrFfM5Rc1sK1L2/WdMmB/AU2yX1ei4h0cC5XfC3kzA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20488},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"77454cc3c7ff77c0eae800492a15d059053fae4d","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist","rebuild":"npm run clean && npm run build","release":"semantic-release"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"repository":{"url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git","type":"git"},"_npmVersion":"10.9.4","description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","directories":{},"_nodeVersion":"20.19.5","dependencies":{"@barfinex/key":"^1.0.0","@barfinex/types":"^1.0.14","@barfinex/utils":"^1.0.1","@barfinex/orders":"^1.0.0","@barfinex/connectors":"^1.0.0","@barfinex/plugin-driver":"^1.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","rimraf":"^5.0.5","socket.io":"^4.7.5","typescript":"^5.6.3","@types/node":"^20.11.30","@nestjs/common":"^10.0.0","semantic-release":"^24.1.0","@nestjs/websockets":"^10.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@nestjs/platform-socket.io":"^10.0.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","socket.io":"^4.7.5","@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ws-bridge_1.0.2_1761290188310_0.021052477916615908","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@barfinex/provider-ws-bridge","version":"1.0.3","keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/provider-ws-bridge@1.0.3","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"dist":{"shasum":"0cf26a438c1c56757886b6ccdf4eb2a5679547af","tarball":"https://registry.npmjs.org/@barfinex/provider-ws-bridge/-/provider-ws-bridge-1.0.3.tgz","fileCount":18,"integrity":"sha512-Bsg40/RSacptjlLELij99kWuiCkNjMlqmXu1ArMGRTd9Il0jEKHYyF6XyjQ0LATyFnaSlaBJU+kunGFqHX8rBA==","signatures":[{"sig":"MEYCIQDG/yVkBa7u3tlfr/NWoitSljIsGiaRbmk3iboxr5PN6wIhAMxtYust3EdKsKbdQE47WF1ckJAJgH3sBEKxxIk1WpBv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20731},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"46d3f268e6cc62a78126e5686e64a7cdf962b9b7","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","build:npm":"tsc -p tsconfig.build.json"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"repository":{"url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git","type":"git"},"_npmVersion":"10.9.4","description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"@barfinex/key":"^1.0.1","@barfinex/types":"^1.0.22","@barfinex/utils":"^1.0.6","@barfinex/orders":"^1.0.1","@barfinex/connectors":"^1.0.1","@barfinex/plugin-driver":"^1.0.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","rimraf":"^5.0.5","socket.io":"^4.7.5","typescript":"^5.6.3","@types/node":"^20.11.30","@nestjs/common":"^10.0.0","semantic-release":"^24.1.0","@nestjs/websockets":"^10.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@nestjs/platform-socket.io":"^10.0.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","socket.io":"^4.7.5","@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ws-bridge_1.0.3_1761678014942_0.8315904822579547","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@barfinex/provider-ws-bridge","version":"1.0.4","keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/provider-ws-bridge@1.0.4","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"dist":{"shasum":"8c0941fe8af381f90b267976b945de22ea0ad16c","tarball":"https://registry.npmjs.org/@barfinex/provider-ws-bridge/-/provider-ws-bridge-1.0.4.tgz","fileCount":34,"integrity":"sha512-MF3i/cXKF+t7xqbbsFyJO+nFHeDzofFauYTdKg390AXq8kNlmgs090fUPpRZmdJIUYEibkt3Z4g+8wA/gu/Xpw==","signatures":[{"sig":"MEQCIGM4AstdI/2uSW111p1jHQgVY97TefftBsg5CjmN33yVAiB/I7eo1jqx5jkegfuwDLkjUM2leX2uKipcoY/s3pyNXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44358},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"e1cde73a0e76ca5ebc5efe4cc837347d398b8ea8","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","prebuild":"node ../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild":"node ../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../tools/hygiene/clean-compiled-in-src.js","postbuild:npm":"node ../../tools/hygiene/verify-no-compiled-in-src.js"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"buildDate":"2026-03-26T15:00:00","repository":{"url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git","type":"git"},"_npmVersion":"10.8.2","description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.1","dependencies":{"@barfinex/key":"latest","@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/orders":"latest","@barfinex/connectors":"latest","@barfinex/plugin-driver":"latest"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","rimraf":"^5.0.5","socket.io":"^4.7.5","typescript":"^5.6.3","@types/node":"^20.11.30","@nestjs/common":"^10.0.0","semantic-release":"^24.1.0","@nestjs/websockets":"^10.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@nestjs/platform-socket.io":"^10.0.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","socket.io":"^4.7.5","@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ws-bridge_1.0.4_1774512829554_0.3919181226984927","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@barfinex/provider-ws-bridge","version":"1.0.5","keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"author":{"name":"Barfinex"},"license":"MIT","_id":"@barfinex/provider-ws-bridge@1.0.5","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"dist":{"shasum":"7d47c79c29863e483ae3923cfd8cf740ff8e64b6","tarball":"https://registry.npmjs.org/@barfinex/provider-ws-bridge/-/provider-ws-bridge-1.0.5.tgz","fileCount":34,"integrity":"sha512-FZW7KeAze1kxR7UGJiLDmRtQtVKC+Pd4M78Cf2njShYPbb5r75lMYkkYLS1mYbk9iggSCaezosOn1+oXD023IQ==","signatures":[{"sig":"MEUCIQCsjCMLB9BsjaPSf/SnyTZGvaT8qrmpkC1zBCJB2CNEywIgCI3E8GJ/VVeGBvmBSG2uEZAds8gqv41eMUTUyPfiS1k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44358},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.js"}},"gitHead":"33f06e3eaba499eff0415cc1a6e8eb2e4a0b4332","private":false,"release":{"branches":["main"]},"scripts":{"build":"tsc -p tsconfig.app.json","clean":"rimraf dist tsconfig.tsbuildinfo","rebuild":"npm run clean && npm run build","release":"semantic-release","prebuild":"node ../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild":"node ../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../tools/hygiene/clean-compiled-in-src.js","postbuild:npm":"node ../../tools/hygiene/verify-no-compiled-in-src.js"},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"buildDate":"2026-03-26T17:00:00","repository":{"url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git","type":"git"},"_npmVersion":"10.8.2","description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","directories":{},"sideEffects":false,"_nodeVersion":"20.20.1","dependencies":{"@barfinex/key":"latest","@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/orders":"latest","@barfinex/connectors":"latest","@barfinex/plugin-driver":"latest"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","rimraf":"^5.0.5","socket.io":"^4.7.5","typescript":"^5.6.3","@types/node":"^20.11.30","@nestjs/common":"^10.0.0","semantic-release":"^24.1.0","@nestjs/websockets":"^10.0.0","@semantic-release/git":"^10.0.1","@semantic-release/npm":"^12.0.0","@semantic-release/github":"^11.0.6","@nestjs/platform-socket.io":"^10.0.0","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0"},"peerDependencies":{"ws":"^8.15.0","rxjs":"^7.8.1","socket.io":"^4.7.5","@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0"},"_npmOperationalInternal":{"tmp":"tmp/provider-ws-bridge_1.0.5_1774513460404_0.5688462238649976","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@barfinex/provider-ws-bridge","version":"1.0.6","private":false,"description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","author":{"name":"Barfinex"},"license":"MIT","homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","repository":{"type":"git","url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git"},"bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"import":"./dist/index.js","require":"./dist/index.js","types":"./dist/index.d.ts"}},"sideEffects":false,"scripts":{"clean":"rimraf dist tsconfig.tsbuildinfo","prebuild":"node ../../tools/hygiene/clean-compiled-in-src.js","build":"tsc -p tsconfig.app.json","postbuild":"node ../../tools/hygiene/verify-no-compiled-in-src.js","prebuild:npm":"node ../../tools/hygiene/clean-compiled-in-src.js","build:npm":"tsc -p tsconfig.build.json","postbuild:npm":"node ../../tools/hygiene/verify-no-compiled-in-src.js","rebuild":"npm run clean && npm run build","release":"semantic-release"},"keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"dependencies":{"@barfinex/types":"latest","@barfinex/utils":"latest","@barfinex/plugin-driver":"latest","@barfinex/orders":"latest","@barfinex/connectors":"latest","@barfinex/key":"latest"},"peerDependencies":{"@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0","rxjs":"^7.8.1","socket.io":"^4.7.5","ws":"^8.15.0"},"devDependencies":{"typescript":"^5.6.3","rimraf":"^5.0.5","semantic-release":"^24.1.0","@semantic-release/npm":"^12.0.0","@semantic-release/git":"^10.0.1","@semantic-release/github":"^11.0.6","@semantic-release/commit-analyzer":"^13.0.0","@semantic-release/release-notes-generator":"^14.0.0","@types/node":"^20.11.30","@nestjs/common":"^10.0.0","@nestjs/websockets":"^10.0.0","@nestjs/platform-socket.io":"^10.0.0","rxjs":"^7.8.1","socket.io":"^4.7.5","ws":"^8.15.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"release":{"branches":["main"]},"buildDate":"2026-03-26T17:00:00","_id":"@barfinex/provider-ws-bridge@1.0.6","gitHead":"ffe9a3ddb61c13eb342801cd23d430885d1c1ede","_nodeVersion":"20.20.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-1XdbisOluyanQpRpEbVWTYQacsku0O6uvcYpikvwBKZpyX2U9l1pbXunSAcpNlY+gXxEttx7xPNrS6wgwIxlTg==","shasum":"7eef7bb7afbe964f46913f23450852a83f3d3ad3","tarball":"https://registry.npmjs.org/@barfinex/provider-ws-bridge/-/provider-ws-bridge-1.0.6.tgz","fileCount":34,"unpackedSize":44358,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDI1f0rq+UHS5ajmN5WOlCpWIsGsN7dVDv3+EUNSvmqGAiEAwUMZHGfdETi9EwQ8+OvOHzQ/KoBhX0tI/IKahzw2LWE="}]},"_npmUser":{"name":"vvsur","email":"info@barfin.org"},"directories":{},"maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/provider-ws-bridge_1.0.6_1774513921561_0.2539754371483818"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-24T07:04:15.964Z","modified":"2026-03-26T08:32:01.870Z","1.0.1":"2025-10-24T07:04:16.221Z","1.0.2":"2025-10-24T07:16:28.530Z","1.0.3":"2025-10-28T19:00:15.158Z","1.0.4":"2026-03-26T08:13:49.700Z","1.0.5":"2026-03-26T08:24:20.539Z","1.0.6":"2026-03-26T08:32:01.723Z"},"bugs":{"url":"https://github.com/barfinex/lib-provider-ws-bridge/issues"},"author":{"name":"Barfinex"},"license":"MIT","homepage":"https://github.com/barfinex/lib-provider-ws-bridge#readme","keywords":["barfinex","provider","bridge","websocket","ws","realtime","communication","messaging","nestjs","typescript","shared","infrastructure","microservices"],"repository":{"type":"git","url":"git+https://github.com/barfinex/lib-provider-ws-bridge.git"},"description":"WebSocket bridge library for the Barfinex ecosystem. Provides a shared provider communication layer to connect services and modules through a unified real-time WebSocket API.","maintainers":[{"name":"vvsur","email":"info@barfin.org"}],"readme":"# @barfinex/provider-ws-bridge\n\n**NestJS library** that bridges **Redis Pub/Sub** to **Socket.IO** so real-time Provider events (orders, candles, accounts, etc.) can be streamed to browsers or other WebSocket clients.\n\nUse it in any REST app that needs to push Barfinex event-bus data over WebSockets — for example a custom dashboard or a thin layer in front of the Provider.\n\n---\n\n## What it does\n\n- **Redis → Socket.IO** — subscribes to configurable Redis channels and forwards messages as Socket.IO events.\n- **NestJS module** — `ProviderWsBridgeModule.forRoot(options)` for Redis connection, channel list, and optional JSON parsing and logging.\n- **Flexible channels** — you choose which channels to bridge (e.g. `orders`, `candles`, `accounts`).\n\n---\n\n## Installation\n\nIn a monorepo, add the path to `tsconfig.base.json`:\n\n```json\n{\n  \"compilerOptions\": {\n    \"paths\": {\n      \"@barfinex/provider-ws-bridge\": [\"libs/provider-ws-bridge/src/index.ts\"]\n    }\n  }\n}\n```\n\nOr install from npm when published:\n\n```sh\nnpm install @barfinex/provider-ws-bridge\n```\n\n---\n\n## Quick use\n\n```ts\nimport { Module } from '@nestjs/common';\nimport { ProviderWsBridgeModule } from '@barfinex/provider-ws-bridge';\n\n@Module({\n  imports: [\n    ProviderWsBridgeModule.forRoot({\n      redis: {\n        host: process.env.REDIS_HOST || 'localhost',\n        port: Number(process.env.REDIS_PORT || 6379),\n      },\n      subscriptions: (process.env.WS_CHANNELS || 'orders,candles,accounts').split(','),\n      parseJson: true,\n      log: true,\n    }),\n  ],\n})\nexport class AppModule {}\n```\n\n---\n\n## What's included\n\n| Export | Purpose |\n|--------|--------|\n| `ProviderWsBridgeModule` | NestJS module with `forRoot()` config (redis, subscriptions, parseJson, log). |\n| `RedisService` | Redis client used by the bridge. |\n| `SocketGateway` | Socket.IO gateway that emits events to clients. |\n| Types & tokens | For DI and custom configuration. |\n\n---\n\n## Documentation\n\n- **Barfinex overview** — [First Steps](https://barfinex.com/docs/first-steps), [Architecture](https://barfinex.com/docs/architecture) (event bus and Provider WebSocket).\n- **Provider** — [Installation provider](https://barfinex.com/docs/installation-provider), [Docker Compose for Provider](https://barfinex.com/docs/installation-provider-docker-compose), [Provider API reference](https://barfinex.com/docs/provider-api).\n- **Studio** — [Terminal Configuration](https://barfinex.com/docs/configuration-studio), [Registering Provider in Studio](https://barfinex.com/docs/configuration-studio-provider).\n- **Troubleshooting** — [Typical problems and solutions](https://barfinex.com/docs/troubleshooting).\n\n---\n\n## Contributing\n\nIdeas and PRs welcome. Community: [Telegram](https://t.me/barfinex) · [GitHub](https://github.com/barfinex).\n\n---\n\n## License\n\nLicensed under the [Apache License 2.0](LICENSE) with additional terms. Attribution to **Barfin Network Limited** and a link to [https://barfinex.com](https://barfinex.com) are required. See [LICENSE](LICENSE) and the [Barfinex site](https://barfinex.com) for details.\n","readmeFilename":"README.md"}