@camstack/addon-provider-wyze 0.2.80 → 0.2.81

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
@@ -7983,13 +7983,28 @@ var RecordingBandSchema = object({
7983
7983
  end: string().regex(HHMM),
7984
7984
  mode: RecordingBandModeSchema,
7985
7985
  triggers: RecordingBandTriggersSchema.optional(),
7986
+ /**
7987
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
7988
+ *
7989
+ * It was the retroactive KEEP bound — which already-written segments survive
7990
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
7991
+ * broker could serve, or the gate would delete the seconds the ring had just
7992
+ * handed the writer. That "at least as wide as" is the tell: it was a second
7993
+ * expression of the broker's retention, in different units, in a different
7994
+ * addon, with an invariant the operator had to maintain by hand. The keep
7995
+ * bound is now derived from the one prebuffer ceiling and there is nothing
7996
+ * left to configure here.
7997
+ *
7998
+ * The key survives in the SHAPE so a config written before that record still
7999
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
8000
+ * strict, so simply deleting it would strip an operator's value in silence on
8001
+ * the next save (the failure D380 came one commit from shipping). Nothing
8002
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
8003
+ */
7986
8004
  preBufferSec: number().min(0).optional(),
7987
8005
  postBufferSec: number().min(0).optional()
7988
8006
  });
7989
- ({
7990
- preBufferSec: 15,
7991
- postBufferSec: 30
7992
- }).postBufferSec * 1e3;
8007
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
7993
8008
  /**
7994
8009
  * Per-device retention overrides. Every field is optional; an unset or `0`
7995
8010
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/dist/addon.mjs CHANGED
@@ -7962,13 +7962,28 @@ var RecordingBandSchema = object({
7962
7962
  end: string().regex(HHMM),
7963
7963
  mode: RecordingBandModeSchema,
7964
7964
  triggers: RecordingBandTriggersSchema.optional(),
7965
+ /**
7966
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
7967
+ *
7968
+ * It was the retroactive KEEP bound — which already-written segments survive
7969
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
7970
+ * broker could serve, or the gate would delete the seconds the ring had just
7971
+ * handed the writer. That "at least as wide as" is the tell: it was a second
7972
+ * expression of the broker's retention, in different units, in a different
7973
+ * addon, with an invariant the operator had to maintain by hand. The keep
7974
+ * bound is now derived from the one prebuffer ceiling and there is nothing
7975
+ * left to configure here.
7976
+ *
7977
+ * The key survives in the SHAPE so a config written before that record still
7978
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
7979
+ * strict, so simply deleting it would strip an operator's value in silence on
7980
+ * the next save (the failure D380 came one commit from shipping). Nothing
7981
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
7982
+ */
7965
7983
  preBufferSec: number().min(0).optional(),
7966
7984
  postBufferSec: number().min(0).optional()
7967
7985
  });
7968
- ({
7969
- preBufferSec: 15,
7970
- postBufferSec: 30
7971
- }).postBufferSec * 1e3;
7986
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
7972
7987
  /**
7973
7988
  * Per-device retention overrides. Every field is optional; an unset or `0`
7974
7989
  * 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-wyze",
3
- "version": "0.2.80",
3
+ "version": "0.2.81",
4
4
  "description": "Wyze camera device-provider addon for CamStack — wraps the @apocaliss92/wyze-bridge-js P2P/DTLS client, feeding the stream-broker via the pull-rfc4571 lazy-publish path (a structural twin of addon-provider-reolink)",
5
5
  "keywords": [
6
6
  "camstack",