Compare commits

..

No commits in common. "v0.1.0-develop.3" and "v0.1.0-develop.2" have entirely different histories.

5 changed files with 7 additions and 22 deletions

View File

@ -1,11 +1,3 @@
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-08-21)
### Bug Fixes
* if we have data, set dummy header response, parse data to a uint8array and process as a chunk ([326d382](https://git.lumeweb.com/LumeWeb/kernel-lavanet/commit/326d38275da7a46534ac600bce5b7df6e6be7648))
* sdk patch needs to use options object ([9259e67](https://git.lumeweb.com/LumeWeb/kernel-lavanet/commit/9259e6723cfeec4ba1a130b6a594b72240c81fd9))
# [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)

5
npm-shrinkwrap.json generated
View File

@ -1,13 +1,12 @@
{
"name": "@lumeweb/kernel-lavanet",
"version": "0.1.0-develop.3",
"version": "0.1.0-develop.2",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/kernel-lavanet",
"version": "0.1.0-develop.3",
"hasInstallScript": true,
"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.3",
"version": "0.1.0-develop.2",
"readme": "ERROR: No README data found!",
"repository": {
"type": "git",
@ -10,8 +10,7 @@
"scripts": {
"prepare": "presetter bootstrap",
"build": "run build",
"semantic-release": "semantic-release",
"postinstall": "patch-package"
"semantic-release": "semantic-release"
},
"dependencies": {
"@lavanet/lava-sdk": "^0.21.1",

View File

@ -1,12 +1,12 @@
diff --git a/node_modules/@lavanet/lava-sdk/bin/src/badge/fetchBadge.js b/node_modules/@lavanet/lava-sdk/bin/src/badge/fetchBadge.js
index 0c3063a..b989837 100644
index 0c3063a..5e9cd0c 100644
--- a/node_modules/@lavanet/lava-sdk/bin/src/badge/fetchBadge.js
+++ b/node_modules/@lavanet/lava-sdk/bin/src/badge/fetchBadge.js
@@ -24,6 +24,7 @@ class BadgeManager {
this.badgeServerAddress = "";
this.projectId = "";
this.active = true;
+ this.transport = options?.transport;
+ this.transport = transport;
if (!options) {
this.active = false;
return;

View File

@ -32,12 +32,7 @@ class HyperTransport implements grpc.Transport {
return;
}
if (ret.data) {
this.options.onHeaders(new grpc.Metadata(), 200);
ret.data = new Uint8Array(Object.values(ret.data));
this.options.onChunk(ret.data);
}
this.options.onChunk(ret.data);
this.options.onEnd();
}