Compare commits

..

No commits in common. "v0.1.0-develop.10" and "v0.1.0-develop.9" have entirely different histories.

5 changed files with 6 additions and 25 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.10](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.9...v0.1.0-develop.10) (2023-10-23)
### Bug Fixes
* need to store walletAddress ([71ed20f](https://git.lumeweb.com/LumeWeb/kernel-lavanet/commit/71ed20ff13dbf0cd396dfd6c3a31163a467b4fc4))
# [0.1.0-develop.9](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.8...v0.1.0-develop.9) (2023-10-23) # [0.1.0-develop.9](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.8...v0.1.0-develop.9) (2023-10-23)
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-09-04) # [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/kernel-lavanet/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-09-04)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@lumeweb/kernel-lavanet", "name": "@lumeweb/kernel-lavanet",
"version": "0.1.0-develop.10", "version": "0.1.0-develop.9",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/kernel-lavanet", "name": "@lumeweb/kernel-lavanet",
"version": "0.1.0-develop.10", "version": "0.1.0-develop.9",
"hasInstallScript": true, "hasInstallScript": true,
"dependencies": { "dependencies": {
"@lavanet/lava-sdk": "^0.25.6", "@lavanet/lava-sdk": "^0.25.6",

View File

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

View File

@ -11,15 +11,3 @@ index aae75cf..96939be 100644
this.badgeGeneratorClient = new badges_pb_service_1.BadgeGeneratorClient(this.badgeServerAddress, this.getTransportWrapped()); this.badgeGeneratorClient = new badges_pb_service_1.BadgeGeneratorClient(this.badgeServerAddress, this.getTransportWrapped());
} }
isActive() { isActive() {
diff --git a/node_modules/@lavanet/lava-sdk/bin/src/sdk/sdk.js b/node_modules/@lavanet/lava-sdk/bin/src/sdk/sdk.js
index 89267e8..90f6a88 100644
--- a/node_modules/@lavanet/lava-sdk/bin/src/sdk/sdk.js
+++ b/node_modules/@lavanet/lava-sdk/bin/src/sdk/sdk.js
@@ -89,6 +89,7 @@ class LavaSDK {
if (!this.badgeManager.isActive() || this.privKey != "") {
const wallet = yield (0, wallet_1.createWallet)(this.privKey);
this.account = yield wallet.getConsumerAccount();
+ this.walletAddress = this.account.address;
}
else {
const { wallet, privKey } = yield (0, wallet_1.createDynamicWallet)();

View File

@ -33,9 +33,9 @@ class HyperTransport implements grpc.Transport {
} }
if (ret.data) { if (ret.data) {
ret.data?.forEach((item: number[]) => { this.options.onHeaders(new grpc.Metadata(), 200);
this.options.onChunk(Uint8Array.from(item)); ret.data = new Uint8Array(Object.values(ret.data));
}); this.options.onChunk(ret.data);
} }
this.options.onEnd(); this.options.onEnd();