Compare commits

..

No commits in common. "v0.1.0-develop.20" and "v0.1.0-develop.19" have entirely different histories.

4 changed files with 4 additions and 13 deletions

View File

@ -1,10 +1,3 @@
# [0.1.0-develop.20](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.19...v0.1.0-develop.20) (2023-10-12)
### Bug Fixes
* debug ([ba38e6b](https://git.lumeweb.com/LumeWeb/sdk/commit/ba38e6be707e8d476aba4ad629679583c5917fcc))
# [0.1.0-develop.19](https://git.lumeweb.com/LumeWeb/sdk/compare/v0.1.0-develop.18...v0.1.0-develop.19) (2023-10-12)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.20",
"version": "0.1.0-develop.19",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.20",
"version": "0.1.0-develop.19",
"dependencies": {
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
"@lumeweb/libkernel": "0.1.0-develop.65",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/sdk",
"version": "0.1.0-develop.20",
"version": "0.1.0-develop.19",
"type": "module",
"main": "lib/index.js",
"types": "lib/src/index.d.ts",

View File

@ -125,9 +125,7 @@ const LumeProvider = ({ children }) => {
loginComplete().then(() => isMounted.current && setIsLoggedIn(true));
init().then(() => isMounted.current && setReady(true));
const subDone = networkRegistry.subscribeToUpdates(() => {
console.log("subscribeToUpdates triggered");
});
const subDone = networkRegistry.subscribeToUpdates(fetchAndUpdateNetworks);
return () => {
isMounted.current = false; // Track component unmounting