[rpc]: implement both HTTP and NATS transports

This commit is contained in:
41666 2019-06-03 07:22:00 -05:00
parent 30d08a630f
commit 9de1b93a7f
No known key found for this signature in database
GPG key ID: BC51D07640DC10AF
13 changed files with 397 additions and 24 deletions

View file

@ -2,6 +2,8 @@
"name": "@roleypoly/rpc",
"version": "2.0.0",
"devDependencies": {
"@types/superagent": "^4.1.1",
"@types/cookie": "^0.3.3",
"lint-staged": "^8.1.7",
"tslint": "^5.17.0",
"typescript": "^3.5.1"
@ -13,6 +15,10 @@
},
"private": true,
"dependencies": {
"@kayteh/bento": "^0.1.1"
"@kayteh/bento": "^0.2.2",
"cookie": "^0.4.0",
"cross-fetch": "^3.0.3",
"nats": "^1.2.10",
"superagent": "^5.0.5"
}
}