Compare commits
3 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 821232889d | |
Derrick Hammer | 0c0d717439 | |
Derrick Hammer | a71f1cb155 |
|
@ -1,3 +1,5 @@
|
||||||
|
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-08-20)
|
||||||
|
|
||||||
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.0.1...v0.1.0-develop.1) (2023-08-20)
|
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.0.1...v0.1.0-develop.1) (2023-08-20)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"version": "0.1.0-develop.1",
|
"version": "0.1.0-develop.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"version": "0.1.0-develop.1",
|
"version": "0.1.0-develop.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lavanet/lava-sdk": "^0.21.1",
|
"@lavanet/lava-sdk": "^0.21.1",
|
||||||
"@lumeweb/kernel-rpc-client": "^0.0.2-develop.13",
|
"@lumeweb/kernel-rpc-client": "^0.0.2-develop.13",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.0-develop.1",
|
"version": "0.1.0-develop.2",
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -5,7 +5,6 @@ import Metadata = grpc.Metadata;
|
||||||
class HyperTransport implements grpc.Transport {
|
class HyperTransport implements grpc.Transport {
|
||||||
private options: grpc.TransportOptions;
|
private options: grpc.TransportOptions;
|
||||||
private rpc: RpcNetwork;
|
private rpc: RpcNetwork;
|
||||||
private metadata?: Metadata;
|
|
||||||
|
|
||||||
constructor(transportOptions: grpc.TransportOptions, rpc: RpcNetwork) {
|
constructor(transportOptions: grpc.TransportOptions, rpc: RpcNetwork) {
|
||||||
this.options = transportOptions;
|
this.options = transportOptions;
|
||||||
|
@ -22,7 +21,6 @@ class HyperTransport implements grpc.Transport {
|
||||||
module: "lavanet",
|
module: "lavanet",
|
||||||
method: "badge_request",
|
method: "badge_request",
|
||||||
data: {
|
data: {
|
||||||
metadata: this.metadata,
|
|
||||||
data: msgBytes,
|
data: msgBytes,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -38,9 +36,7 @@ class HyperTransport implements grpc.Transport {
|
||||||
this.options.onEnd();
|
this.options.onEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
start(metadata: Metadata): void {
|
start(metadata: Metadata): void {}
|
||||||
this.metadata = metadata;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export function hyperTransport(rpc: RpcNetwork): grpc.TransportFactory {
|
export function hyperTransport(rpc: RpcNetwork): grpc.TransportFactory {
|
||||||
|
|
Loading…
Reference in New Issue