fix: sdk patch needs to use options object
This commit is contained in:
commit
9259e6723c
|
@ -0,0 +1,6 @@
|
||||||
|
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.0.1...v0.1.0-develop.1) (2023-08-20)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* initial version ([59ece67](https://git.lumeweb.com/LumeWeb/kernel-lavanet/commit/59ece6720e23869063da00b2a460265a615c2e10))
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0-develop.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0-develop.1",
|
||||||
"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,9 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "@lumeweb/kernel-lavanet",
|
"name": "@lumeweb/kernel-lavanet",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0-develop.1",
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"_id": "@lumeweb/kernel-lavanet@0.1.0",
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-lavanet.git"
|
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-lavanet.git"
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue