@recordtimelabel/core 0.6.13 → 0.6.14
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 +2 -2
- package/package.json +1 -1
- package/src/index.js +13 -11
package/README.md
CHANGED
|
@@ -17,10 +17,10 @@ During local development an app can consume a sibling checkout with:
|
|
|
17
17
|
"@recordtimelabel/core": "file:../recordtimelabel-core"
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
For release builds, consume a fixed npm package, git tag, or private registry version so builds do not depend on a sibling folder path. The release target is `0.6.
|
|
20
|
+
For release builds, consume a fixed npm package, git tag, or private registry version so builds do not depend on a sibling folder path. The release target is `0.6.14`; verify that its registry tarball and lockfile integrity are available before updating consumers:
|
|
21
21
|
|
|
22
22
|
```json
|
|
23
|
-
"@recordtimelabel/core": "0.6.
|
|
23
|
+
"@recordtimelabel/core": "0.6.14"
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
If this checkout's `package.json` is ahead of the published version, publish the new package before updating consumers to that version.
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -147,7 +147,7 @@ export {
|
|
|
147
147
|
selectBestMatchingTwitchVod
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
-
export const RECORD_TIMELABEL_CORE_VERSION = '0.6.
|
|
150
|
+
export const RECORD_TIMELABEL_CORE_VERSION = '0.6.14';
|
|
151
151
|
export const RTL_SYNC_PROTOCOL_VERSION = 2;
|
|
152
152
|
export const RECORD_TIMELABEL_DURABLE_ENGINE_CAPABILITIES = Object.freeze([
|
|
153
153
|
'fifo-retry-fence',
|
|
@@ -5417,16 +5417,18 @@ export const createRecordTimeLabelSyncEngine = ({
|
|
|
5417
5417
|
// have resolved earlier with an older revision.
|
|
5418
5418
|
const currentRevision = Number(adapterCatchUpProof?.revision);
|
|
5419
5419
|
const currentCaughtUp = Number(adapterCatchUpProof?.caughtUpToRevision);
|
|
5420
|
-
adapterCatchUpProof
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5420
|
+
if (adapterCatchUpProof) {
|
|
5421
|
+
adapterCatchUpProof = {
|
|
5422
|
+
...adapterCatchUpProof,
|
|
5423
|
+
success: true,
|
|
5424
|
+
revision: Number.isSafeInteger(currentRevision)
|
|
5425
|
+
? Math.max(currentRevision, observedRevision)
|
|
5426
|
+
: observedRevision,
|
|
5427
|
+
caughtUpToRevision: Number.isSafeInteger(currentCaughtUp)
|
|
5428
|
+
? Math.max(currentCaughtUp, observedRevision)
|
|
5429
|
+
: observedRevision
|
|
5430
|
+
};
|
|
5431
|
+
}
|
|
5430
5432
|
}
|
|
5431
5433
|
if (!adapterReadyExpected) {
|
|
5432
5434
|
adapterCatchUpProof = {
|