Compare commits

...

3 Commits

Author SHA1 Message Date
semantic-release-bot 0397c695e2 chore(release): 0.1.0-develop.20 [skip ci]
# [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](ba38e6be70))
2023-10-12 16:03:26 +00:00
Derrick Hammer a0cd05af73
Merge remote-tracking branch 'origin/develop' into develop 2023-10-12 12:02:15 -04:00
Derrick Hammer ba38e6be70
fix: debug 2023-10-12 12:02:09 -04:00
4 changed files with 13 additions and 4 deletions

View File

@ -1,3 +1,10 @@
# [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) # [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", "name": "@lumeweb/sdk",
"version": "0.1.0-develop.19", "version": "0.1.0-develop.20",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/sdk", "name": "@lumeweb/sdk",
"version": "0.1.0-develop.19", "version": "0.1.0-develop.20",
"dependencies": { "dependencies": {
"@lumeweb/kernel-network-registry-client": "0.1.0-develop.10", "@lumeweb/kernel-network-registry-client": "0.1.0-develop.10",
"@lumeweb/libkernel": "0.1.0-develop.65", "@lumeweb/libkernel": "0.1.0-develop.65",

View File

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

View File

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