@blockcast/mmt-container 0.4.0-main.f750d2a511b3 → 0.4.1-main.47aa22331187
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/README.md +1 -1
- package/dist/browser-runtime.js +12 -0
- package/dist/browser-runtime.js.map +2 -2
- package/dist/fec-manager.d.ts.map +1 -1
- package/dist/fec-manager.js +12 -0
- package/dist/fec-manager.js.map +2 -2
- package/dist/iso-block-locator.d.ts +10 -1
- package/dist/iso-block-locator.d.ts.map +1 -1
- package/dist/iso-block-locator.js +12 -0
- package/dist/iso-block-locator.js.map +2 -2
- package/dist/multicast-manager.js +12 -0
- package/dist/multicast-manager.js.map +2 -2
- package/package.json +5 -5
- package/src/fec-manager.ts +2 -0
- package/src/iso-block-locator.ts +13 -1
package/README.md
CHANGED
|
@@ -270,7 +270,7 @@ per-commit `0.1.0-main.<sha>` prerelease from `stamp-prerelease.mjs`), and a
|
|
|
270
270
|
> Superseded by BLO-40665. Every package is now bumped in lockstep by a `v*`
|
|
271
271
|
> tag and the sibling ranges move with it, so the objection above no longer
|
|
272
272
|
> applies -- it was an argument against bumping *one* package. The set is at
|
|
273
|
-
> `0.4.
|
|
273
|
+
> `0.4.1`; see `RELEASES.md`.
|
|
274
274
|
|
|
275
275
|
#### Track-role convention (Phase 14)
|
|
276
276
|
|
package/dist/browser-runtime.js
CHANGED
|
@@ -12589,6 +12589,15 @@ var IsoBlockLocator = class _IsoBlockLocator {
|
|
|
12589
12589
|
* known block (a different length, or an overlap with another block or a
|
|
12590
12590
|
* span) fails closed: the repair symbol is dropped and no block changes.
|
|
12591
12591
|
* A newly stated block retires behind its SS_Start (see the class note).
|
|
12592
|
+
* A block so far past `newest` that stating it would retire the position
|
|
12593
|
+
* `newest` is refused as `ahead`. When `newest` is a placed block's SS_Start
|
|
12594
|
+
* this is slightly conservative (retirement measures that block from its
|
|
12595
|
+
* last SS_ID), dropping up to one block-length of repairs past the horizon
|
|
12596
|
+
* until a source moves `newest`. Placing it would turn everything
|
|
12597
|
+
* between into a repair-less span and leave every real repair behind it
|
|
12598
|
+
* `stale`. Sources move `newest` (`hold`, `observe`), so after a real outage
|
|
12599
|
+
* the first source back brings the next repair inside the horizon; until one
|
|
12600
|
+
* arrives, a stream's repairs alone cannot pass it.
|
|
12592
12601
|
*/
|
|
12593
12602
|
placeRepair(start, length) {
|
|
12594
12603
|
if (!Number.isSafeInteger(length) || length <= 0 || length > this.#kMax) {
|
|
@@ -12631,6 +12640,9 @@ var IsoBlockLocator = class _IsoBlockLocator {
|
|
|
12631
12640
|
};
|
|
12632
12641
|
}
|
|
12633
12642
|
}
|
|
12643
|
+
if (this.#newest !== void 0 && isoBlocksBehindLowerBound(this.#newest, start, this.#kMax) > this.#retentionBlocks) {
|
|
12644
|
+
return { status: "ahead", reason: `repair block ${start}+${length} is past the retention horizon ahead of ${this.#newest}` };
|
|
12645
|
+
}
|
|
12634
12646
|
let span;
|
|
12635
12647
|
let hole;
|
|
12636
12648
|
if (this.#coverageEnd === void 0) {
|