Compare commits

...

3 Commits

4 changed files with 6 additions and 8 deletions

View File

@ -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)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/kernel-lavanet",
"version": "0.1.0-develop.1",
"version": "0.1.0-develop.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/kernel-lavanet",
"version": "0.1.0-develop.1",
"version": "0.1.0-develop.2",
"dependencies": {
"@lavanet/lava-sdk": "^0.21.1",
"@lumeweb/kernel-rpc-client": "^0.0.2-develop.13",

View File

@ -1,7 +1,7 @@
{
"name": "@lumeweb/kernel-lavanet",
"type": "module",
"version": "0.1.0-develop.1",
"version": "0.1.0-develop.2",
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",

View File

@ -5,7 +5,6 @@ import Metadata = grpc.Metadata;
class HyperTransport implements grpc.Transport {
private options: grpc.TransportOptions;
private rpc: RpcNetwork;
private metadata?: Metadata;
constructor(transportOptions: grpc.TransportOptions, rpc: RpcNetwork) {
this.options = transportOptions;
@ -22,7 +21,6 @@ class HyperTransport implements grpc.Transport {
module: "lavanet",
method: "badge_request",
data: {
metadata: this.metadata,
data: msgBytes,
},
},
@ -38,9 +36,7 @@ class HyperTransport implements grpc.Transport {
this.options.onEnd();
}
start(metadata: Metadata): void {
this.metadata = metadata;
}
start(metadata: Metadata): void {}
}
export function hyperTransport(rpc: RpcNetwork): grpc.TransportFactory {