Compare commits
5 Commits
v0.1.0-dev
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | 449838ce83 | |
Derrick Hammer | 37baedf27e | |
Derrick Hammer | 326d38275d | |
Derrick Hammer | 3e28aa782a | |
Derrick Hammer | 9259e6723c |
|
@ -1,3 +1,11 @@
|
||||||
|
# [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.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,13 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"version": "0.1.0-develop.2",
|
"version": "0.1.0-develop.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"version": "0.1.0-develop.2",
|
"version": "0.1.0-develop.3",
|
||||||
|
"hasInstallScript": true,
|
||||||
"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.2",
|
"version": "0.1.0-develop.3",
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -10,7 +10,8 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepare": "presetter bootstrap",
|
"prepare": "presetter bootstrap",
|
||||||
"build": "run build",
|
"build": "run build",
|
||||||
"semantic-release": "semantic-release"
|
"semantic-release": "semantic-release",
|
||||||
|
"postinstall": "patch-package"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lavanet/lava-sdk": "^0.21.1",
|
"@lavanet/lava-sdk": "^0.21.1",
|
||||||
|
|
|
@ -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
|
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..5e9cd0c 100644
|
index 0c3063a..b989837 100644
|
||||||
--- a/node_modules/@lavanet/lava-sdk/bin/src/badge/fetchBadge.js
|
--- a/node_modules/@lavanet/lava-sdk/bin/src/badge/fetchBadge.js
|
||||||
+++ b/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 {
|
@@ -24,6 +24,7 @@ class BadgeManager {
|
||||||
this.badgeServerAddress = "";
|
this.badgeServerAddress = "";
|
||||||
this.projectId = "";
|
this.projectId = "";
|
||||||
this.active = true;
|
this.active = true;
|
||||||
+ this.transport = transport;
|
+ this.transport = options?.transport;
|
||||||
if (!options) {
|
if (!options) {
|
||||||
this.active = false;
|
this.active = false;
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -32,7 +32,12 @@ class HyperTransport implements grpc.Transport {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.options.onChunk(ret.data);
|
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.onEnd();
|
this.options.onEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue