@camstack/addon-smtp-nodemailer 1.2.15 → 1.2.16
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/smtp.addon.js +76 -8
- package/dist/smtp.addon.mjs +76 -8
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -12958,11 +12958,33 @@ var NotificationFormatSchema = _enum([
|
|
|
12958
12958
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
12959
12959
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
12960
12960
|
* differently.
|
|
12961
|
+
*
|
|
12962
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
12963
|
+
*
|
|
12964
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
12965
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
12966
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
12967
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
12968
|
+
* decides its glyph, which is the only place that decision can be made
|
|
12969
|
+
* honestly.
|
|
12970
|
+
*
|
|
12971
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
12972
|
+
* `disarm` straight through; iOS feeds that string to
|
|
12973
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
12974
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
12975
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
12976
|
+
*
|
|
12977
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
12978
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
12979
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
12980
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
12981
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
12961
12982
|
*/
|
|
12962
12983
|
var NotificationActionIconSchema = _enum([
|
|
12963
12984
|
"acknowledge",
|
|
12964
12985
|
"dismiss",
|
|
12965
12986
|
"silence",
|
|
12987
|
+
"snooze",
|
|
12966
12988
|
"view",
|
|
12967
12989
|
"play",
|
|
12968
12990
|
"open",
|
|
@@ -12970,9 +12992,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
12970
12992
|
"lock",
|
|
12971
12993
|
"unlock",
|
|
12972
12994
|
"arm",
|
|
12995
|
+
"arm-home",
|
|
12996
|
+
"arm-away",
|
|
12997
|
+
"arm-night",
|
|
12973
12998
|
"disarm",
|
|
12974
12999
|
"light",
|
|
12975
|
-
"alert"
|
|
13000
|
+
"alert",
|
|
13001
|
+
"camera"
|
|
12976
13002
|
]);
|
|
12977
13003
|
/** A single tap-through action button. */
|
|
12978
13004
|
var NotificationActionSchema = object({
|
|
@@ -13172,6 +13198,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13172
13198
|
targetId: string(),
|
|
13173
13199
|
enabled: boolean()
|
|
13174
13200
|
}), _void(), { kind: "mutation" });
|
|
13201
|
+
new Set([
|
|
13202
|
+
{
|
|
13203
|
+
id: "person",
|
|
13204
|
+
name: "Person"
|
|
13205
|
+
},
|
|
13206
|
+
{
|
|
13207
|
+
id: "vehicle",
|
|
13208
|
+
name: "Vehicle"
|
|
13209
|
+
},
|
|
13210
|
+
{
|
|
13211
|
+
id: "animal",
|
|
13212
|
+
name: "Animal"
|
|
13213
|
+
},
|
|
13214
|
+
{
|
|
13215
|
+
id: "package",
|
|
13216
|
+
name: "Package"
|
|
13217
|
+
}
|
|
13218
|
+
].map((l) => l.id));
|
|
13175
13219
|
var COCO_TO_MACRO = {
|
|
13176
13220
|
mapping: {
|
|
13177
13221
|
person: "person",
|
|
@@ -13969,6 +14013,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13969
14013
|
"alarm-triggered",
|
|
13970
14014
|
"alarm-armed",
|
|
13971
14015
|
"alarm-disarmed",
|
|
14016
|
+
"alarm-arming",
|
|
14017
|
+
"alarm-arm-refused",
|
|
13972
14018
|
"camera-online",
|
|
13973
14019
|
"camera-offline",
|
|
13974
14020
|
"camera-disabled",
|
|
@@ -17201,6 +17247,22 @@ var detectionFpsField = {
|
|
|
17201
17247
|
default: 10,
|
|
17202
17248
|
step: 1
|
|
17203
17249
|
};
|
|
17250
|
+
/**
|
|
17251
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
17252
|
+
*
|
|
17253
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
17254
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
17255
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
17256
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
17257
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
17258
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
17259
|
+
*
|
|
17260
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
17261
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
17262
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
17263
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
17264
|
+
* that ships with an addon deploy.
|
|
17265
|
+
*/
|
|
17204
17266
|
var occupancyRecheckSecField = {
|
|
17205
17267
|
min: 0,
|
|
17206
17268
|
max: 300,
|
|
@@ -17402,15 +17464,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17402
17464
|
*/
|
|
17403
17465
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17404
17466
|
/**
|
|
17405
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17406
|
-
*
|
|
17407
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17408
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17409
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
17467
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
17468
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
17410
17469
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17411
17470
|
* (and only render) when this is enabled.
|
|
17412
|
-
|
|
17413
|
-
|
|
17471
|
+
*
|
|
17472
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
17473
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
17474
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
17475
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
17476
|
+
* object is counted only while the stationary registry holds it, and the
|
|
17477
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
17478
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
17479
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
17480
|
+
*/
|
|
17481
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
17414
17482
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17415
17483
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17416
17484
|
/**
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -12956,11 +12956,33 @@ var NotificationFormatSchema = _enum([
|
|
|
12956
12956
|
* Named by INTENT, never by glyph. "check" would tie the vocabulary to one
|
|
12957
12957
|
* renderer's icon set; "acknowledge" survives an adapter that draws it
|
|
12958
12958
|
* differently.
|
|
12959
|
+
*
|
|
12960
|
+
* ── A TOKEN IS NOT A WIRE VALUE ─────────────────────────────────────
|
|
12961
|
+
*
|
|
12962
|
+
* These names are for US. **No adapter may forward one verbatim.** Each maps
|
|
12963
|
+
* the whole set onto its own renderer's vocabulary through a
|
|
12964
|
+
* `Record<NotificationActionIcon, string>` — a Record, never a lookup with a
|
|
12965
|
+
* fallback, so adding a member here fails every adapter's build until someone
|
|
12966
|
+
* decides its glyph, which is the only place that decision can be made
|
|
12967
|
+
* honestly.
|
|
12968
|
+
*
|
|
12969
|
+
* This paragraph is the bug. Zentik declared `actionIcons: true` and passed
|
|
12970
|
+
* `disarm` straight through; iOS feeds that string to
|
|
12971
|
+
* `UNNotificationActionIcon(systemImageName:)`, `disarm` is not an SF Symbol,
|
|
12972
|
+
* and every snooze and alarm button arrived BLANK. A pass-through is not a
|
|
12973
|
+
* mapping, and "the field is documented" is not "the value renders".
|
|
12974
|
+
*
|
|
12975
|
+
* Adding a member is TRAIN-BOUND. The enum lives in the published
|
|
12976
|
+
* `@camstack/server` closure and the cap seam validates against the HUB's copy,
|
|
12977
|
+
* so an addon that emits a token the running hub does not know does not lose an
|
|
12978
|
+
* icon — its whole `send` fails Zod validation and the notification never
|
|
12979
|
+
* arrives. Never emit a new token from an addon before the train carrying it.
|
|
12959
12980
|
*/
|
|
12960
12981
|
var NotificationActionIconSchema = _enum([
|
|
12961
12982
|
"acknowledge",
|
|
12962
12983
|
"dismiss",
|
|
12963
12984
|
"silence",
|
|
12985
|
+
"snooze",
|
|
12964
12986
|
"view",
|
|
12965
12987
|
"play",
|
|
12966
12988
|
"open",
|
|
@@ -12968,9 +12990,13 @@ var NotificationActionIconSchema = _enum([
|
|
|
12968
12990
|
"lock",
|
|
12969
12991
|
"unlock",
|
|
12970
12992
|
"arm",
|
|
12993
|
+
"arm-home",
|
|
12994
|
+
"arm-away",
|
|
12995
|
+
"arm-night",
|
|
12971
12996
|
"disarm",
|
|
12972
12997
|
"light",
|
|
12973
|
-
"alert"
|
|
12998
|
+
"alert",
|
|
12999
|
+
"camera"
|
|
12974
13000
|
]);
|
|
12975
13001
|
/** A single tap-through action button. */
|
|
12976
13002
|
var NotificationActionSchema = object({
|
|
@@ -13170,6 +13196,24 @@ method(object({}), array(TargetKindSchema)), method(object({}), array(TargetSche
|
|
|
13170
13196
|
targetId: string(),
|
|
13171
13197
|
enabled: boolean()
|
|
13172
13198
|
}), _void(), { kind: "mutation" });
|
|
13199
|
+
new Set([
|
|
13200
|
+
{
|
|
13201
|
+
id: "person",
|
|
13202
|
+
name: "Person"
|
|
13203
|
+
},
|
|
13204
|
+
{
|
|
13205
|
+
id: "vehicle",
|
|
13206
|
+
name: "Vehicle"
|
|
13207
|
+
},
|
|
13208
|
+
{
|
|
13209
|
+
id: "animal",
|
|
13210
|
+
name: "Animal"
|
|
13211
|
+
},
|
|
13212
|
+
{
|
|
13213
|
+
id: "package",
|
|
13214
|
+
name: "Package"
|
|
13215
|
+
}
|
|
13216
|
+
].map((l) => l.id));
|
|
13173
13217
|
var COCO_TO_MACRO = {
|
|
13174
13218
|
mapping: {
|
|
13175
13219
|
person: "person",
|
|
@@ -13967,6 +14011,8 @@ var NcSystemEventKindSchema = _enum([
|
|
|
13967
14011
|
"alarm-triggered",
|
|
13968
14012
|
"alarm-armed",
|
|
13969
14013
|
"alarm-disarmed",
|
|
14014
|
+
"alarm-arming",
|
|
14015
|
+
"alarm-arm-refused",
|
|
13970
14016
|
"camera-online",
|
|
13971
14017
|
"camera-offline",
|
|
13972
14018
|
"camera-disabled",
|
|
@@ -17199,6 +17245,22 @@ var detectionFpsField = {
|
|
|
17199
17245
|
default: 10,
|
|
17200
17246
|
step: 1
|
|
17201
17247
|
};
|
|
17248
|
+
/**
|
|
17249
|
+
* The occupancy re-check interval. DEFAULT 300 s (2026-08-13 — was 30 s).
|
|
17250
|
+
*
|
|
17251
|
+
* The recheck is now on by default (a parked car is invisible to occupancy
|
|
17252
|
+
* rules until the stationary registry has been rebuilt by motion, which after a
|
|
17253
|
+
* restart may be never on a quiet camera). Each cycle re-subscribes a detection
|
|
17254
|
+
* session — an RTSP re-dial — so the switch is only affordable at a WIDE
|
|
17255
|
+
* interval: 300 s is ~12 re-dials an hour per camera, against 120 at the old
|
|
17256
|
+
* 30 s. A parked car is therefore counted within 5 minutes of a restart.
|
|
17257
|
+
*
|
|
17258
|
+
* Why not wider: `max` is 300 and raising it is TRAIN-BOUND, not addon-bound —
|
|
17259
|
+
* the host validates `attachCamera` against ITS copy of this schema, so a
|
|
17260
|
+
* runner asked for 600 would be rejected by the hub until a `@camstack/server`
|
|
17261
|
+
* carrying the wider bound is installed everywhere. 300 is the widest value
|
|
17262
|
+
* that ships with an addon deploy.
|
|
17263
|
+
*/
|
|
17202
17264
|
var occupancyRecheckSecField = {
|
|
17203
17265
|
min: 0,
|
|
17204
17266
|
max: 300,
|
|
@@ -17400,15 +17462,21 @@ var RunnerCameraConfigSchema = object({
|
|
|
17400
17462
|
*/
|
|
17401
17463
|
onboardMotionDrivesAnalyzer: boolean().default(true),
|
|
17402
17464
|
/**
|
|
17403
|
-
* Master toggle for the occupancy re-check. When `false`
|
|
17404
|
-
*
|
|
17405
|
-
* this is off by default because the recheck re-subscribes a detection session
|
|
17406
|
-
* every N seconds while `watching`, a major source of pull-decoder re-dial
|
|
17407
|
-
* churn (each cycle creates+tears a session → RTSP re-dial → latency). The
|
|
17465
|
+
* Master toggle for the occupancy re-check. When `false` the runner never arms
|
|
17466
|
+
* the periodic recheck timer, regardless of `occupancyRecheckSec`; the
|
|
17408
17467
|
* `occupancyRecheckSec` / `occupancyRecheckFrames` sliders only take effect
|
|
17409
17468
|
* (and only render) when this is enabled.
|
|
17410
|
-
|
|
17411
|
-
|
|
17469
|
+
*
|
|
17470
|
+
* DEFAULT `true` since 2026-08-13 (was `false`). It was off because the
|
|
17471
|
+
* recheck re-subscribes a detection session every N seconds while `watching`
|
|
17472
|
+
* — each cycle creates+tears a session ⇒ an RTSP re-dial ⇒ latency, a major
|
|
17473
|
+
* pull-decoder churn source. What that bought was a blind spot: a STATIONARY
|
|
17474
|
+
* object is counted only while the stationary registry holds it, and the
|
|
17475
|
+
* registry rebuilds from motion, so after a restart a parked car was invisible
|
|
17476
|
+
* to every occupancy rule until something moved in front of it. The churn is
|
|
17477
|
+
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
17478
|
+
*/
|
|
17479
|
+
occupancyRecheckEnabled: boolean().default(true),
|
|
17412
17480
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
17413
17481
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
17414
17482
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-smtp-nodemailer",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.16",
|
|
4
4
|
"description": "SMTP email provider addon for CamStack — wraps `nodemailer` and registers a `smtp-provider` cap collection entry. Used by magic-link login + notifier addons.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|