@deeeed/metamask-harness 0.55.0 → 0.55.1
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.55.1 - 2026-09-18
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- `doctor` probes the registry when the running build is newer than the cached latest, instead of reporting "ahead of registry" for up to an hour after a publish.
|
|
10
|
+
|
|
5
11
|
## 0.55.0 - 2026-09-18
|
|
6
12
|
|
|
7
13
|
### Added
|
package/dist/commands/update.js
CHANGED
|
@@ -206,7 +206,7 @@ function updateStatus(now = Date.now()) {
|
|
|
206
206
|
if (nudgeDisabled()) return { current, checked: false };
|
|
207
207
|
const file = cacheFile();
|
|
208
208
|
const cache = readCache(file);
|
|
209
|
-
const latest = cache?.latest && now - cache.lastCheck < DOCTOR_CACHE_FRESH_MS ? cache.latest : probeLatest(file, now);
|
|
209
|
+
const latest = cache?.latest && now - cache.lastCheck < DOCTOR_CACHE_FRESH_MS && !isNewer(current, cache.latest) ? cache.latest : probeLatest(file, now);
|
|
210
210
|
if (!latest) return { current, checked: false };
|
|
211
211
|
return { current, checked: true, latest, updateAvailable: isNewer(latest, current) };
|
|
212
212
|
}
|