Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 5f71c2e9e7 chore(release): 0.0.2-develop.5 [skip ci]
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/rpc/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-23)

### Bug Fixes

* add setKeepAlive ([a72f55c](a72f55c888))
2023-07-23 18:09:21 +00:00
Derrick Hammer 7d0c447328
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 14:08:33 -04:00
Derrick Hammer a72f55c888
fix: add setKeepAlive 2023-07-23 14:08:18 -04:00
4 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,10 @@
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/rpc/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-23)
### Bug Fixes
* add setKeepAlive ([a72f55c](https://git.lumeweb.com/LumeWeb/rpc/commit/a72f55c888617cd12c97f173b0c31518dddff627))
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/rpc/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-07-23) ## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/rpc/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-07-23)
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/rpc/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-05) ## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/rpc/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-05)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/rpc", "name": "@lumeweb/rpc",
"version": "0.0.2-develop.4", "version": "0.0.2-develop.5",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/rpc", "name": "@lumeweb/rpc",
"version": "0.0.2-develop.4", "version": "0.0.2-develop.5",
"dependencies": { "dependencies": {
"compact-encoding": "2.12.0", "compact-encoding": "2.12.0",
"protomux-rpc": "1.4.1" "protomux-rpc": "1.4.1"

View File

@ -1,7 +1,7 @@
{ {
"name": "@lumeweb/rpc", "name": "@lumeweb/rpc",
"type": "module", "type": "module",
"version": "0.0.2-develop.4", "version": "0.0.2-develop.5",
"main": "lib/index.js", "main": "lib/index.js",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -37,6 +37,8 @@ export default class RPC extends ProtomuxRPC {
stream.off("destroy", ondestroy); stream.off("destroy", ondestroy);
} }
}); });
stream.setKeepAlive(5000);
} }
async request(method: any, value: any | string = "", options = {}) { async request(method: any, value: any | string = "", options = {}) {