groove-dev 0.27.189 → 0.27.190
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@groove-dev/cli/package.json +1 -1
- package/node_modules/@groove-dev/daemon/package.json +1 -1
- package/node_modules/@groove-dev/daemon/src/index.js +4 -0
- package/node_modules/@groove-dev/gui/dist/assets/{index-DTY0KsH9.js → index-DXup-n8w.js} +2 -2
- package/node_modules/@groove-dev/gui/dist/index.html +1 -1
- package/node_modules/@groove-dev/gui/package.json +1 -1
- package/node_modules/@groove-dev/gui/src/App.jsx +7 -17
- package/node_modules/@groove-dev/gui/src/stores/groove.js +2 -1
- package/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/daemon/package.json +1 -1
- package/packages/daemon/src/index.js +4 -0
- package/packages/gui/dist/assets/{index-DTY0KsH9.js → index-DXup-n8w.js} +2 -2
- package/packages/gui/dist/index.html +1 -1
- package/packages/gui/package.json +1 -1
- package/packages/gui/src/App.jsx +7 -17
- package/packages/gui/src/stores/groove.js +2 -1
|
@@ -491,7 +491,11 @@ export class Daemon {
|
|
|
491
491
|
signal: AbortSignal.timeout(10000),
|
|
492
492
|
});
|
|
493
493
|
if (resp.status === 401) {
|
|
494
|
+
// The stored marketplace token is invalid. Clear it and stop here so
|
|
495
|
+
// we don't re-poll a dead token every cycle and re-fire this forever.
|
|
494
496
|
this.subscriptionCache = { plan: 'community', status: 'none', features: [], active: false, validatedAt: Date.now() };
|
|
497
|
+
this.authToken = null;
|
|
498
|
+
try { await this.skills.clearAuth(); } catch { /* best effort */ }
|
|
495
499
|
this.broadcast({ type: 'subscription:updated', data: this.subscriptionCache });
|
|
496
500
|
this.broadcast({ type: 'auth:expired' });
|
|
497
501
|
return;
|