cloud: update deps and publish

This commit is contained in:
Koushik Dutta
2024-06-19 09:13:29 -07:00
parent 3da49d47af
commit ccafff28cd
3 changed files with 601 additions and 689 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -42,7 +42,7 @@
"@scrypted/common": "file:../../common",
"@scrypted/sdk": "file:../../sdk",
"bpmux": "^8.2.1",
"cloudflared": "^0.4.0",
"cloudflared": "^0.5.2",
"exponential-backoff": "^3.1.1",
"http-proxy": "^1.18.1",
"nat-upnp": "file:./external/node-nat-upnp"
@@ -51,7 +51,7 @@
"@types/http-proxy": "^1.17.14",
"@types/ip": "^1.1.3",
"@types/nat-upnp": "^1.1.5",
"@types/node": "^20.11.19"
"@types/node": "^20.14.6"
},
"version": "0.2.13"
"version": "0.2.14"
}

View File

@@ -1058,12 +1058,12 @@ class ScryptedCloud extends ScryptedDeviceBase implements OauthClient, Settings,
});
await once(this.cloudflared.child, 'exit').catch(() => { });
// the successfully started cloudflared process may exit at some point, loop ad allow it to restart.
// the successfully started cloudflared process may exit at some point, loop and allow it to restart.
this.console.error('cloudflared exited');
}
catch (e) {
// this error may be reached if the cloudflared backoff fails.
this.console.error('cloudflared error', e);
throw e;
}
finally {
this.cloudflared = undefined;