@camstack/addon-provider-petkit 0.2.76 → 0.2.77

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/dist/addon.js CHANGED
@@ -9053,13 +9053,28 @@ var RecordingBandSchema = object({
9053
9053
  end: string().regex(HHMM),
9054
9054
  mode: RecordingBandModeSchema,
9055
9055
  triggers: RecordingBandTriggersSchema.optional(),
9056
+ /**
9057
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
9058
+ *
9059
+ * It was the retroactive KEEP bound — which already-written segments survive
9060
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
9061
+ * broker could serve, or the gate would delete the seconds the ring had just
9062
+ * handed the writer. That "at least as wide as" is the tell: it was a second
9063
+ * expression of the broker's retention, in different units, in a different
9064
+ * addon, with an invariant the operator had to maintain by hand. The keep
9065
+ * bound is now derived from the one prebuffer ceiling and there is nothing
9066
+ * left to configure here.
9067
+ *
9068
+ * The key survives in the SHAPE so a config written before that record still
9069
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
9070
+ * strict, so simply deleting it would strip an operator's value in silence on
9071
+ * the next save (the failure D380 came one commit from shipping). Nothing
9072
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
9073
+ */
9056
9074
  preBufferSec: number().min(0).optional(),
9057
9075
  postBufferSec: number().min(0).optional()
9058
9076
  });
9059
- ({
9060
- preBufferSec: 15,
9061
- postBufferSec: 30
9062
- }).postBufferSec * 1e3;
9077
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
9063
9078
  /**
9064
9079
  * Per-device retention overrides. Every field is optional; an unset or `0`
9065
9080
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/dist/addon.mjs CHANGED
@@ -9052,13 +9052,28 @@ var RecordingBandSchema = object({
9052
9052
  end: string().regex(HHMM),
9053
9053
  mode: RecordingBandModeSchema,
9054
9054
  triggers: RecordingBandTriggersSchema.optional(),
9055
+ /**
9056
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
9057
+ *
9058
+ * It was the retroactive KEEP bound — which already-written segments survive
9059
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
9060
+ * broker could serve, or the gate would delete the seconds the ring had just
9061
+ * handed the writer. That "at least as wide as" is the tell: it was a second
9062
+ * expression of the broker's retention, in different units, in a different
9063
+ * addon, with an invariant the operator had to maintain by hand. The keep
9064
+ * bound is now derived from the one prebuffer ceiling and there is nothing
9065
+ * left to configure here.
9066
+ *
9067
+ * The key survives in the SHAPE so a config written before that record still
9068
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
9069
+ * strict, so simply deleting it would strip an operator's value in silence on
9070
+ * the next save (the failure D380 came one commit from shipping). Nothing
9071
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
9072
+ */
9055
9073
  preBufferSec: number().min(0).optional(),
9056
9074
  postBufferSec: number().min(0).optional()
9057
9075
  });
9058
- ({
9059
- preBufferSec: 15,
9060
- postBufferSec: 30
9061
- }).postBufferSec * 1e3;
9076
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
9062
9077
  /**
9063
9078
  * Per-device retention overrides. Every field is optional; an unset or `0`
9064
9079
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-petkit",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "description": "PetKit smart-feeder device-provider addon for CamStack — wraps the @apocaliss92/nodepetkit PetKit cloud client",
5
5
  "keywords": [
6
6
  "camstack",