@recordtimelabel/core 0.6.10 → 0.6.11
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 +3 -1
- package/src/protocol.js +8 -0
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.11`; 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.11"
|
|
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
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
RECORD_TIMELABEL_CAPABILITY_STRICT_OPERATION_RESULTS,
|
|
8
8
|
RECORD_TIMELABEL_CAPABILITY_STRICT_READINESS,
|
|
9
9
|
RECORD_TIMELABEL_CLOUD_FAILURE_SCHEMA_VERSION,
|
|
10
|
+
RECORD_TIMELABEL_CLOUD_FAILURE_CODE_LOCAL_STORAGE_QUOTA_EXCEEDED,
|
|
10
11
|
RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES,
|
|
11
12
|
RECORD_TIMELABEL_CLOUD_RECOVERY_ACTIONS,
|
|
12
13
|
RECORD_TIMELABEL_OPERATION_RESULT_STATUSES,
|
|
@@ -33,6 +34,7 @@ export {
|
|
|
33
34
|
RECORD_TIMELABEL_CAPABILITY_STRICT_OPERATION_RESULTS,
|
|
34
35
|
RECORD_TIMELABEL_CAPABILITY_STRICT_READINESS,
|
|
35
36
|
RECORD_TIMELABEL_CLOUD_FAILURE_SCHEMA_VERSION,
|
|
37
|
+
RECORD_TIMELABEL_CLOUD_FAILURE_CODE_LOCAL_STORAGE_QUOTA_EXCEEDED,
|
|
36
38
|
RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES,
|
|
37
39
|
RECORD_TIMELABEL_CLOUD_RECOVERY_ACTIONS,
|
|
38
40
|
RECORD_TIMELABEL_OPERATION_RESULT_STATUSES,
|
|
@@ -145,7 +147,7 @@ export {
|
|
|
145
147
|
selectBestMatchingTwitchVod
|
|
146
148
|
};
|
|
147
149
|
|
|
148
|
-
export const RECORD_TIMELABEL_CORE_VERSION = '0.6.
|
|
150
|
+
export const RECORD_TIMELABEL_CORE_VERSION = '0.6.11';
|
|
149
151
|
export const RTL_SYNC_PROTOCOL_VERSION = 2;
|
|
150
152
|
export const RECORD_TIMELABEL_DURABLE_ENGINE_CAPABILITIES = Object.freeze([
|
|
151
153
|
'fifo-retry-fence',
|
package/src/protocol.js
CHANGED
|
@@ -20,6 +20,11 @@ export const RECORD_TIMELABEL_CAPABILITY_LIFECYCLE_GENERATION_FENCE =
|
|
|
20
20
|
export const RECORD_TIMELABEL_CAPABILITY_CLOUD_FAILURE_STATE = 'cloud-failure-state-v1';
|
|
21
21
|
export const RECORD_TIMELABEL_CAPABILITY_DETERMINISTIC_PLANNER = 'deterministic-planner-v1';
|
|
22
22
|
export const RECORD_TIMELABEL_CAPABILITY_STRICT_READINESS = 'strict-readiness-v1';
|
|
23
|
+
// Platform adapters use this exact code when their local durable store cannot
|
|
24
|
+
// accept another snapshot. Keep provider-specific matching in the adapter;
|
|
25
|
+
// Core owns only the canonical wire code and recovery semantics.
|
|
26
|
+
export const RECORD_TIMELABEL_CLOUD_FAILURE_CODE_LOCAL_STORAGE_QUOTA_EXCEEDED =
|
|
27
|
+
'recordtimelabel_local_storage_quota_exceeded';
|
|
23
28
|
// Keep the original capability spelling for rolling compatibility. New
|
|
24
29
|
// clients may advertise the versioned alias while old clients continue to
|
|
25
30
|
// advertise `lifecycle-generation-fence`.
|
|
@@ -133,6 +138,8 @@ const CLOUD_FAILURE_CODE_CLASSES = new Map([
|
|
|
133
138
|
['too_many_requests', RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.TRANSIENT],
|
|
134
139
|
['network_error', RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.TRANSIENT],
|
|
135
140
|
['network_request_failed', RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.TRANSIENT],
|
|
141
|
+
[RECORD_TIMELABEL_CLOUD_FAILURE_CODE_LOCAL_STORAGE_QUOTA_EXCEEDED,
|
|
142
|
+
RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.TRANSIENT],
|
|
136
143
|
['bootstrap_required', RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.BOOTSTRAP_REQUIRED],
|
|
137
144
|
['bootstraprequired', RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.BOOTSTRAP_REQUIRED],
|
|
138
145
|
['recordtimelabel_bootstrap_required', RECORD_TIMELABEL_CLOUD_FAILURE_CLASSES.BOOTSTRAP_REQUIRED],
|
|
@@ -856,6 +863,7 @@ export const createRecordTimeLabelTransportFailureResults = (
|
|
|
856
863
|
|
|
857
864
|
export default {
|
|
858
865
|
RECORD_TIMELABEL_OPERATION_RESULT_STATUSES,
|
|
866
|
+
RECORD_TIMELABEL_CLOUD_FAILURE_CODE_LOCAL_STORAGE_QUOTA_EXCEEDED,
|
|
859
867
|
RECORD_TIMELABEL_CAPABILITY_OPERATION_CONFLICT_QUARANTINE,
|
|
860
868
|
RECORD_TIMELABEL_CAPABILITY_STRICT_OPERATION_RESULTS,
|
|
861
869
|
RECORD_TIMELABEL_CAPABILITY_LIFECYCLE_GENERATION_FENCE,
|