fedipod 1.32.0 → 1.36.6
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/lib/connections/bskyfeed.mjs +6 -0
- package/lib/core/deliver.mjs +52 -22
- package/lib/core/intake/index.mjs +17 -4
- package/lib/core/lease.mjs +7 -7
- package/lib/core/store.mjs +25 -5
- package/lib/gateway/caches.mjs +36 -0
- package/lib/gateway/front-core.mjs +29 -56
- package/lib/gateway/gateway-core.mjs +5 -2
- package/lib/gateway/headers.mjs +49 -0
- package/lib/gateway/quiet.mjs +7 -2
- package/lib/pod/containers.mjs +5 -1
- package/lib/pod/inbox.mjs +22 -3
- package/lib/pod/transport.mjs +36 -3
- package/lib/session/README.md +14 -0
- package/lib/session/fedi-account.mjs +62 -0
- package/lib/session/package.json +10 -2
- package/package.json +1 -1
- package/run-agent.mjs +16 -0
- package/web/app/agent.mjs +13 -8
- package/web/app/deliver-relay.mjs +47 -7
- package/web/app/dist/boot.js +36 -3
- package/web/app/dist/boot.js.map +2 -2
- package/web/app/dist/sw.js +193 -43
- package/web/app/dist/sw.js.map +3 -3
- package/web/app/update.js +4 -0
package/web/app/update.js
CHANGED
|
@@ -51,6 +51,10 @@
|
|
|
51
51
|
const b = await fetch('/build.json', { cache: 'no-store', headers: { accept: 'application/json' } })
|
|
52
52
|
.then(x => (x.ok ? x.json() : null)).catch(() => null);
|
|
53
53
|
if (b?.build && b.build !== myBuild) { go(); return; }
|
|
54
|
+
// A build that matched is the whole answer. Falling through here asked
|
|
55
|
+
// the site's function the same question once a minute from every open
|
|
56
|
+
// tab, for nothing — a third of everything the site was doing.
|
|
57
|
+
if (b?.build) return;
|
|
54
58
|
}
|
|
55
59
|
const r = await fetch('/api/handle?handle=__probe__', { cache: 'no-store', headers: { accept: 'application/json' } });
|
|
56
60
|
const v = (await r.json())?.version;
|