@camstack/addon-import-alexa 0.2.75 → 0.2.76

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
@@ -8109,13 +8109,28 @@ var RecordingBandSchema = object({
8109
8109
  end: string().regex(HHMM),
8110
8110
  mode: RecordingBandModeSchema,
8111
8111
  triggers: RecordingBandTriggersSchema.optional(),
8112
+ /**
8113
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
8114
+ *
8115
+ * It was the retroactive KEEP bound — which already-written segments survive
8116
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
8117
+ * broker could serve, or the gate would delete the seconds the ring had just
8118
+ * handed the writer. That "at least as wide as" is the tell: it was a second
8119
+ * expression of the broker's retention, in different units, in a different
8120
+ * addon, with an invariant the operator had to maintain by hand. The keep
8121
+ * bound is now derived from the one prebuffer ceiling and there is nothing
8122
+ * left to configure here.
8123
+ *
8124
+ * The key survives in the SHAPE so a config written before that record still
8125
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
8126
+ * strict, so simply deleting it would strip an operator's value in silence on
8127
+ * the next save (the failure D380 came one commit from shipping). Nothing
8128
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
8129
+ */
8112
8130
  preBufferSec: number().min(0).optional(),
8113
8131
  postBufferSec: number().min(0).optional()
8114
8132
  });
8115
- ({
8116
- preBufferSec: 15,
8117
- postBufferSec: 30
8118
- }).postBufferSec * 1e3;
8133
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
8119
8134
  /**
8120
8135
  * Per-device retention overrides. Every field is optional; an unset or `0`
8121
8136
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/dist/addon.mjs CHANGED
@@ -8109,13 +8109,28 @@ var RecordingBandSchema = object({
8109
8109
  end: string().regex(HHMM),
8110
8110
  mode: RecordingBandModeSchema,
8111
8111
  triggers: RecordingBandTriggersSchema.optional(),
8112
+ /**
8113
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
8114
+ *
8115
+ * It was the retroactive KEEP bound — which already-written segments survive
8116
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
8117
+ * broker could serve, or the gate would delete the seconds the ring had just
8118
+ * handed the writer. That "at least as wide as" is the tell: it was a second
8119
+ * expression of the broker's retention, in different units, in a different
8120
+ * addon, with an invariant the operator had to maintain by hand. The keep
8121
+ * bound is now derived from the one prebuffer ceiling and there is nothing
8122
+ * left to configure here.
8123
+ *
8124
+ * The key survives in the SHAPE so a config written before that record still
8125
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
8126
+ * strict, so simply deleting it would strip an operator's value in silence on
8127
+ * the next save (the failure D380 came one commit from shipping). Nothing
8128
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
8129
+ */
8112
8130
  preBufferSec: number().min(0).optional(),
8113
8131
  postBufferSec: number().min(0).optional()
8114
8132
  });
8115
- ({
8116
- preBufferSec: 15,
8117
- postBufferSec: 30
8118
- }).postBufferSec * 1e3;
8133
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
8119
8134
  /**
8120
8135
  * Per-device retention overrides. Every field is optional; an unset or `0`
8121
8136
  * 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-import-alexa",
3
- "version": "0.2.75",
3
+ "version": "0.2.76",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",