@camstack/addon-smtp-nodemailer 1.2.92 → 1.2.94

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.
@@ -16163,6 +16163,7 @@ var NcSystemEventKindSchema = _enum([
16163
16163
  "addon-crash-loop",
16164
16164
  "addon-update-available",
16165
16165
  "server-update-available",
16166
+ "wrapper-update-available",
16166
16167
  "alarm-triggered",
16167
16168
  "alarm-armed",
16168
16169
  "alarm-disarmed",
@@ -21679,6 +21680,53 @@ var ImageContractSchema = object({
21679
21680
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
21680
21681
  message: string()
21681
21682
  });
21683
+ /**
21684
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
21685
+ * produced it.
21686
+ *
21687
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
21688
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
21689
+ * for a `docker` shell and says the app restarts into the new build for
21690
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
21691
+ * nothing reads is the defect this repo keeps paying for.
21692
+ */
21693
+ var WrapperIdentitySchema = object({
21694
+ kind: _enum([
21695
+ "docker",
21696
+ "electron",
21697
+ "native",
21698
+ "contradictory",
21699
+ "unknown"
21700
+ ]),
21701
+ /** Every probe that ran, in a stable order. Never empty. */
21702
+ evidence: array(object({
21703
+ /** Which probe this row reports. */
21704
+ fact: _enum([
21705
+ "dockerenv-file",
21706
+ "proc-1-cgroup",
21707
+ "platform",
21708
+ "electron-app-version-env"
21709
+ ]),
21710
+ /**
21711
+ * `observed` — this process read it itself. `declared` — the shell told the
21712
+ * process and nothing here can check it. Only the Electron app version is
21713
+ * ever `declared`, and only because a child cannot see its parent.
21714
+ */
21715
+ mode: _enum(["observed", "declared"]),
21716
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
21717
+ holds: boolean(),
21718
+ /** What was actually read, verbatim enough for an operator to argue with. */
21719
+ detail: string()
21720
+ })),
21721
+ /**
21722
+ * The version of the SHELL, when the shell has one it can state: the
21723
+ * Electron app version it declared, or the baked seed closure that
21724
+ * fingerprints a container / app bundle. `null` for `contradictory` and
21725
+ * `unknown` — which version belongs to the shell is precisely what is not
21726
+ * known there.
21727
+ */
21728
+ currentVersion: string().nullable()
21729
+ });
21682
21730
  var ServerRollbackInfoSchema = object({
21683
21731
  /** The version that failed (or was manually rolled back). */
21684
21732
  fromVersion: string(),
@@ -21720,7 +21768,13 @@ var ServerPackageStatusSchema = object({
21720
21768
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
21721
21769
  * version skew: an older provider's payload simply omits it.
21722
21770
  */
21723
- imageContract: ImageContractSchema.optional()
21771
+ imageContract: ImageContractSchema.optional(),
21772
+ /**
21773
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
21774
+ * for version skew: an older provider's payload simply omits it, and an
21775
+ * absent wrapper is unknown — never `native`.
21776
+ */
21777
+ wrapper: WrapperIdentitySchema.optional()
21724
21778
  });
21725
21779
  var ServerUpdateCheckResultSchema = object({
21726
21780
  packageName: string(),
@@ -24755,8 +24809,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24755
24809
  *
24756
24810
  * An **empty array reads NOTHING** — `[]` is an empty page, never
24757
24811
  * "every camera". A request for no devices is a request, not an
24758
- * omission; same contract as `deviceManager.listFleet` and
24759
- * `pipelineAnalytics.listRecentTracks`.
24812
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
24813
+ * and `pipelineAnalytics.listRecentTracks`.
24760
24814
  *
24761
24815
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
24762
24816
  */
@@ -16161,6 +16161,7 @@ var NcSystemEventKindSchema = _enum([
16161
16161
  "addon-crash-loop",
16162
16162
  "addon-update-available",
16163
16163
  "server-update-available",
16164
+ "wrapper-update-available",
16164
16165
  "alarm-triggered",
16165
16166
  "alarm-armed",
16166
16167
  "alarm-disarmed",
@@ -21677,6 +21678,53 @@ var ImageContractSchema = object({
21677
21678
  /** One operator-grade sentence: this node runs image X; the contract says Y. */
21678
21679
  message: string()
21679
21680
  });
21681
+ /**
21682
+ * The shell verdict (see {@link WrapperKindSchema}) with the proofs that
21683
+ * produced it.
21684
+ *
21685
+ * There is deliberately NO `canSelfUpdate` and no apply action: a wrapper
21686
+ * update is an ANNOUNCEMENT. The notification body carries the exact command
21687
+ * for a `docker` shell and says the app restarts into the new build for
21688
+ * `electron`, and that sentence is chosen from `kind` alone — a boolean
21689
+ * nothing reads is the defect this repo keeps paying for.
21690
+ */
21691
+ var WrapperIdentitySchema = object({
21692
+ kind: _enum([
21693
+ "docker",
21694
+ "electron",
21695
+ "native",
21696
+ "contradictory",
21697
+ "unknown"
21698
+ ]),
21699
+ /** Every probe that ran, in a stable order. Never empty. */
21700
+ evidence: array(object({
21701
+ /** Which probe this row reports. */
21702
+ fact: _enum([
21703
+ "dockerenv-file",
21704
+ "proc-1-cgroup",
21705
+ "platform",
21706
+ "electron-app-version-env"
21707
+ ]),
21708
+ /**
21709
+ * `observed` — this process read it itself. `declared` — the shell told the
21710
+ * process and nothing here can check it. Only the Electron app version is
21711
+ * ever `declared`, and only because a child cannot see its parent.
21712
+ */
21713
+ mode: _enum(["observed", "declared"]),
21714
+ /** Did the probe support the fact it names? A `false` row is still evidence. */
21715
+ holds: boolean(),
21716
+ /** What was actually read, verbatim enough for an operator to argue with. */
21717
+ detail: string()
21718
+ })),
21719
+ /**
21720
+ * The version of the SHELL, when the shell has one it can state: the
21721
+ * Electron app version it declared, or the baked seed closure that
21722
+ * fingerprints a container / app bundle. `null` for `contradictory` and
21723
+ * `unknown` — which version belongs to the shell is precisely what is not
21724
+ * known there.
21725
+ */
21726
+ currentVersion: string().nullable()
21727
+ });
21680
21728
  var ServerRollbackInfoSchema = object({
21681
21729
  /** The version that failed (or was manually rolled back). */
21682
21730
  fromVersion: string(),
@@ -21718,7 +21766,13 @@ var ServerPackageStatusSchema = object({
21718
21766
  * Seed-vs-contract verdict (see {@link ImageContractSchema}). Optional for
21719
21767
  * version skew: an older provider's payload simply omits it.
21720
21768
  */
21721
- imageContract: ImageContractSchema.optional()
21769
+ imageContract: ImageContractSchema.optional(),
21770
+ /**
21771
+ * What this node runs INSIDE (see {@link WrapperIdentitySchema}). Optional
21772
+ * for version skew: an older provider's payload simply omits it, and an
21773
+ * absent wrapper is unknown — never `native`.
21774
+ */
21775
+ wrapper: WrapperIdentitySchema.optional()
21722
21776
  });
21723
21777
  var ServerUpdateCheckResultSchema = object({
21724
21778
  packageName: string(),
@@ -24753,8 +24807,8 @@ includeCrops: boolean().optional() }).optional(), array(IdentitySchema).readonly
24753
24807
  *
24754
24808
  * An **empty array reads NOTHING** — `[]` is an empty page, never
24755
24809
  * "every camera". A request for no devices is a request, not an
24756
- * omission; same contract as `deviceManager.listFleet` and
24757
- * `pipelineAnalytics.listRecentTracks`.
24810
+ * omission; same contract as `deviceManager.listAll`'s `deviceIds`
24811
+ * and `pipelineAnalytics.listRecentTracks`.
24758
24812
  *
24759
24813
  * Absent (`undefined`) is the omission, and keeps the cluster-wide view.
24760
24814
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.92",
3
+ "version": "1.2.94",
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",