@trops/dash-core 0.1.101 → 0.1.103
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/dist/electron/index.js +5 -0
- package/dist/electron/index.js.map +1 -1
- package/dist/index.esm.js +70 -43
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +70 -43
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/electron/index.js
CHANGED
|
@@ -10244,6 +10244,11 @@ async function getRegistryProfile$1() {
|
|
|
10244
10244
|
},
|
|
10245
10245
|
});
|
|
10246
10246
|
|
|
10247
|
+
if (response.status === 401) {
|
|
10248
|
+
// Token expired or invalid — clear stored credentials
|
|
10249
|
+
clearToken();
|
|
10250
|
+
return null;
|
|
10251
|
+
}
|
|
10247
10252
|
if (!response.ok) return null;
|
|
10248
10253
|
|
|
10249
10254
|
const data = await response.json();
|