fix: sdk patch needs to use options object

This commit is contained in:
Derrick Hammer 2023-08-20 08:58:33 -04:00
commit 9259e6723c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
4 changed files with 11 additions and 6 deletions

6
CHANGELOG.md Normal file
View File

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

4
npm-shrinkwrap.json generated
View File

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

View File

@ -1,9 +1,8 @@
{
"name": "@lumeweb/kernel-lavanet",
"type": "module",
"version": "0.1.0",
"version": "0.1.0-develop.1",
"readme": "ERROR: No README data found!",
"_id": "@lumeweb/kernel-lavanet@0.1.0",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-lavanet.git"

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..5e9cd0c 100644
index 0c3063a..b989837 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 = transport;
+ this.transport = options?.transport;
if (!options) {
this.active = false;
return;