@camstack/addon-smtp-nodemailer 1.2.17 → 1.2.19

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.
@@ -19094,7 +19094,31 @@ DeviceType.Camera, method(object({
19094
19094
  lastCapturedAt: number().nullable(),
19095
19095
  cacheAgeMs: number().nullable(),
19096
19096
  etag: string().nullable()
19097
- }))), systemMethod(object({
19097
+ }))), systemMethod(object({ deviceId: number() }), object({
19098
+ /** The battery slice as read, or null when the device has none. */
19099
+ battery: object({
19100
+ sleeping: boolean(),
19101
+ lastUpdated: number(),
19102
+ lastContactAt: number().optional()
19103
+ }).nullable(),
19104
+ /** The resolved snapshot state (what the overlay decision used). */
19105
+ state: object({
19106
+ isBattery: boolean(),
19107
+ reason: _enum([
19108
+ "disabled",
19109
+ "sleeping",
19110
+ "unreachable",
19111
+ "waking"
19112
+ ]).nullable()
19113
+ }),
19114
+ /** The cached frame behind the next paint. */
19115
+ frame: object({
19116
+ capturedAt: number().nullable(),
19117
+ ageMs: number().nullable()
19118
+ }),
19119
+ /** A wake window is currently open (the Waking overlay's source). */
19120
+ waking: boolean()
19121
+ })), systemMethod(object({
19098
19122
  /** The tiles a surface is actually rendering. One entry per (device,
19099
19123
  * width) the caller will paint — the width is snapped to the server's
19100
19124
  * ladder and becomes part of the link's SIGNED identity. */
@@ -19133,7 +19157,14 @@ targets: array(object({
19133
19157
  "sleeping",
19134
19158
  "unreachable",
19135
19159
  "waking"
19136
- ]).nullable()
19160
+ ]).nullable(),
19161
+ /** A battery camera (whatever its current state). An AWAKE battery
19162
+ * camera is deliberately NOT recaptured on the poll cadence — every
19163
+ * capture is a camera hit that would keep it out of sleep — so its
19164
+ * cached frame legitimately ages past the currency ceiling while
19165
+ * nothing is streaming. A surface must keep painting it (a fresh
19166
+ * frame is captured at each wake), not blank to "unavailable". */
19167
+ battery: boolean()
19137
19168
  })));
19138
19169
  /**
19139
19170
  * `sso-bridge` — internal hub-only cap that lets SSO-style auth
@@ -30309,6 +30340,12 @@ Object.freeze({
30309
30340
  addonId: null,
30310
30341
  access: "view"
30311
30342
  },
30343
+ "snapshot.getDebugState": {
30344
+ capName: "snapshot",
30345
+ capScope: "device",
30346
+ addonId: null,
30347
+ access: "view"
30348
+ },
30312
30349
  "snapshot.getSnapshot": {
30313
30350
  capName: "snapshot",
30314
30351
  capScope: "device",
@@ -32906,6 +32943,11 @@ Object.freeze({
32906
32943
  form: "single",
32907
32944
  optional: false
32908
32945
  }],
32946
+ "snapshot.getDebugState": [{
32947
+ name: "deviceId",
32948
+ form: "single",
32949
+ optional: false
32950
+ }],
32909
32951
  "snapshot.getSnapshot": [{
32910
32952
  name: "deviceId",
32911
32953
  form: "single",
@@ -19092,7 +19092,31 @@ DeviceType.Camera, method(object({
19092
19092
  lastCapturedAt: number().nullable(),
19093
19093
  cacheAgeMs: number().nullable(),
19094
19094
  etag: string().nullable()
19095
- }))), systemMethod(object({
19095
+ }))), systemMethod(object({ deviceId: number() }), object({
19096
+ /** The battery slice as read, or null when the device has none. */
19097
+ battery: object({
19098
+ sleeping: boolean(),
19099
+ lastUpdated: number(),
19100
+ lastContactAt: number().optional()
19101
+ }).nullable(),
19102
+ /** The resolved snapshot state (what the overlay decision used). */
19103
+ state: object({
19104
+ isBattery: boolean(),
19105
+ reason: _enum([
19106
+ "disabled",
19107
+ "sleeping",
19108
+ "unreachable",
19109
+ "waking"
19110
+ ]).nullable()
19111
+ }),
19112
+ /** The cached frame behind the next paint. */
19113
+ frame: object({
19114
+ capturedAt: number().nullable(),
19115
+ ageMs: number().nullable()
19116
+ }),
19117
+ /** A wake window is currently open (the Waking overlay's source). */
19118
+ waking: boolean()
19119
+ })), systemMethod(object({
19096
19120
  /** The tiles a surface is actually rendering. One entry per (device,
19097
19121
  * width) the caller will paint — the width is snapped to the server's
19098
19122
  * ladder and becomes part of the link's SIGNED identity. */
@@ -19131,7 +19155,14 @@ targets: array(object({
19131
19155
  "sleeping",
19132
19156
  "unreachable",
19133
19157
  "waking"
19134
- ]).nullable()
19158
+ ]).nullable(),
19159
+ /** A battery camera (whatever its current state). An AWAKE battery
19160
+ * camera is deliberately NOT recaptured on the poll cadence — every
19161
+ * capture is a camera hit that would keep it out of sleep — so its
19162
+ * cached frame legitimately ages past the currency ceiling while
19163
+ * nothing is streaming. A surface must keep painting it (a fresh
19164
+ * frame is captured at each wake), not blank to "unavailable". */
19165
+ battery: boolean()
19135
19166
  })));
19136
19167
  /**
19137
19168
  * `sso-bridge` — internal hub-only cap that lets SSO-style auth
@@ -30307,6 +30338,12 @@ Object.freeze({
30307
30338
  addonId: null,
30308
30339
  access: "view"
30309
30340
  },
30341
+ "snapshot.getDebugState": {
30342
+ capName: "snapshot",
30343
+ capScope: "device",
30344
+ addonId: null,
30345
+ access: "view"
30346
+ },
30310
30347
  "snapshot.getSnapshot": {
30311
30348
  capName: "snapshot",
30312
30349
  capScope: "device",
@@ -32904,6 +32941,11 @@ Object.freeze({
32904
32941
  form: "single",
32905
32942
  optional: false
32906
32943
  }],
32944
+ "snapshot.getDebugState": [{
32945
+ name: "deviceId",
32946
+ form: "single",
32947
+ optional: false
32948
+ }],
32907
32949
  "snapshot.getSnapshot": [{
32908
32950
  name: "deviceId",
32909
32951
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-smtp-nodemailer",
3
- "version": "1.2.17",
3
+ "version": "1.2.19",
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",