@steve31415/baselib 3.48.0 → 3.48.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.
@@ -1,5 +1,12 @@
1
1
  export declare const STABLE_MS: number;
2
2
  export declare const RETRY_MS: number;
3
+ /**
4
+ * How long one renewal keeps the extension busy. Renewals come every ~10 s from
5
+ * an open overlay, but Chrome's intensive throttling slows a page's chained
6
+ * timers to one wake-up a minute once its tab has been hidden 5 minutes, so the
7
+ * lease must outlast a 60 s gap with room to spare (an overlay left open in a
8
+ * background tab must still hold off a reload).
9
+ */
3
10
  export declare const BUSY_LEASE_MS: number;
4
11
  export declare const CODE_MANIFEST_FILE = "mac-code.json";
5
12
  /** chrome.storage.session: { code, since } — the shipped code first seen verified on disk. */
@@ -18,7 +18,14 @@
18
18
  // test in each repo.
19
19
  export const STABLE_MS = 60 * 1000;
20
20
  export const RETRY_MS = 6 * 60 * 60 * 1000;
21
- export const BUSY_LEASE_MS = 30 * 1000;
21
+ /**
22
+ * How long one renewal keeps the extension busy. Renewals come every ~10 s from
23
+ * an open overlay, but Chrome's intensive throttling slows a page's chained
24
+ * timers to one wake-up a minute once its tab has been hidden 5 minutes, so the
25
+ * lease must outlast a 60 s gap with room to spare (an overlay left open in a
26
+ * background tab must still hold off a reload).
27
+ */
28
+ export const BUSY_LEASE_MS = 150 * 1000;
22
29
  export const CODE_MANIFEST_FILE = 'mac-code.json';
23
30
  /** chrome.storage.session: { code, since } — the shipped code first seen verified on disk. */
24
31
  export const SEEN_KEY = 'selfUpdateSeen';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steve31415/baselib",
3
- "version": "3.48.0",
3
+ "version": "3.48.1",
4
4
  "description": "Plasticine new-world shared platform library: logging, auth, service-to-service auth, db, HTTP, sync, app updates",
5
5
  "type": "module",
6
6
  "license": "MIT",