@camstack/addon-smtp-nodemailer 1.2.59 → 1.2.60

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.
@@ -12568,7 +12568,26 @@ var DiscoveryCandidateSchema = object({
12568
12568
  * identity ahead of adoption. Rendering metadata (unit, precision)
12569
12569
  * flows live through the cap STATUS SLICE after adoption.
12570
12570
  */
12571
- sourceInfo: SourceInfoSchema.optional()
12571
+ sourceInfo: SourceInfoSchema.optional(),
12572
+ /**
12573
+ * Set when this candidate is a device the provider ALREADY owns.
12574
+ *
12575
+ * A scan cannot generally produce the identity a device was onboarded under
12576
+ * (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
12577
+ * comparison never matches and an owned device looks addable. Re-adopting one
12578
+ * overwrites its config with scan-derived values — that is how a Home Hub's
12579
+ * Baichuan port was overwritten with its ONVIF port, taking the hub and its
12580
+ * three child cameras offline for four hours.
12581
+ *
12582
+ * A provider that can recognise its own devices says so here. Absent means
12583
+ * "not recognised", which is not the same as "known to be new" — a provider
12584
+ * that cannot tell simply never sets it.
12585
+ */
12586
+ alreadyOnboarded: boolean().optional(),
12587
+ /** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
12588
+ onboardedDeviceId: number().optional(),
12589
+ /** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
12590
+ onboardedName: string().optional()
12572
12591
  });
12573
12592
  /**
12574
12593
  * Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
@@ -12566,7 +12566,26 @@ var DiscoveryCandidateSchema = object({
12566
12566
  * identity ahead of adoption. Rendering metadata (unit, precision)
12567
12567
  * flows live through the cap STATUS SLICE after adoption.
12568
12568
  */
12569
- sourceInfo: SourceInfoSchema.optional()
12569
+ sourceInfo: SourceInfoSchema.optional(),
12570
+ /**
12571
+ * Set when this candidate is a device the provider ALREADY owns.
12572
+ *
12573
+ * A scan cannot generally produce the identity a device was onboarded under
12574
+ * (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
12575
+ * comparison never matches and an owned device looks addable. Re-adopting one
12576
+ * overwrites its config with scan-derived values — that is how a Home Hub's
12577
+ * Baichuan port was overwritten with its ONVIF port, taking the hub and its
12578
+ * three child cameras offline for four hours.
12579
+ *
12580
+ * A provider that can recognise its own devices says so here. Absent means
12581
+ * "not recognised", which is not the same as "known to be new" — a provider
12582
+ * that cannot tell simply never sets it.
12583
+ */
12584
+ alreadyOnboarded: boolean().optional(),
12585
+ /** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
12586
+ onboardedDeviceId: number().optional(),
12587
+ /** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
12588
+ onboardedName: string().optional()
12570
12589
  });
12571
12590
  /**
12572
12591
  * Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.59",
3
+ "version": "1.2.60",
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",