@camstack/addon-smtp-nodemailer 1.2.106 → 1.2.108
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 +54 -2
- package/dist/smtp.addon.mjs +54 -2
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -12284,7 +12284,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12284
12284
|
* This is what lets one picker serve both the bypass and the full source
|
|
12285
12285
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12286
12286
|
*/
|
|
12287
|
-
allowTranscode: boolean().optional()
|
|
12287
|
+
allowTranscode: boolean().optional(),
|
|
12288
|
+
/**
|
|
12289
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12290
|
+
*
|
|
12291
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12292
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12293
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12294
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12295
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12296
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12297
|
+
*
|
|
12298
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12299
|
+
* here when it decides which source to BIND to a slot
|
|
12300
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12301
|
+
* could never bind them.
|
|
12302
|
+
*/
|
|
12303
|
+
requireProfileBound: boolean().optional()
|
|
12288
12304
|
}).readonly();
|
|
12289
12305
|
var PickStreamPreferencesSchema = object({
|
|
12290
12306
|
/**
|
|
@@ -12325,7 +12341,43 @@ var PickedCamStreamSchema = object({
|
|
|
12325
12341
|
*/
|
|
12326
12342
|
transcodes: boolean(),
|
|
12327
12343
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12328
|
-
reason: string()
|
|
12344
|
+
reason: string(),
|
|
12345
|
+
/**
|
|
12346
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12347
|
+
*
|
|
12348
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12349
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12350
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12351
|
+
* the same function a second time.
|
|
12352
|
+
*
|
|
12353
|
+
* Absent when the source has no slot, which a caller passing
|
|
12354
|
+
* `requireProfileBound` can never see.
|
|
12355
|
+
*/
|
|
12356
|
+
profile: CamProfileSchema.optional(),
|
|
12357
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12358
|
+
brokerId: string().optional(),
|
|
12359
|
+
/**
|
|
12360
|
+
* The broker restream URL to dial for this stream.
|
|
12361
|
+
*
|
|
12362
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12363
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12364
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12365
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12366
|
+
*/
|
|
12367
|
+
url: string().optional(),
|
|
12368
|
+
/**
|
|
12369
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12370
|
+
* from.
|
|
12371
|
+
*
|
|
12372
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12373
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12374
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12375
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12376
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12377
|
+
* are not interchangeable.
|
|
12378
|
+
*/
|
|
12379
|
+
fps: number().positive().optional(),
|
|
12380
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12329
12381
|
});
|
|
12330
12382
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12331
12383
|
deviceId: number().int().nonnegative(),
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -12282,7 +12282,23 @@ var PickStreamRequirementsSchema = object({
|
|
|
12282
12282
|
* This is what lets one picker serve both the bypass and the full source
|
|
12283
12283
|
* choice, instead of a consumer scoring privately when the bypass misses.
|
|
12284
12284
|
*/
|
|
12285
|
-
allowTranscode: boolean().optional()
|
|
12285
|
+
allowTranscode: boolean().optional(),
|
|
12286
|
+
/**
|
|
12287
|
+
* Consider ONLY streams the broker has bound to a profile slot.
|
|
12288
|
+
*
|
|
12289
|
+
* A consumer that dials the broker — which is every exporter, since none
|
|
12290
|
+
* of them may open the camera's own URL — can do nothing with a source
|
|
12291
|
+
* that has no slot: there is no restream to dial. Without this the picker
|
|
12292
|
+
* can name such a stream, and each consumer discovers the dead end for
|
|
12293
|
+
* itself: Alexa's `profileForCamStream` returns `null` and it quietly
|
|
12294
|
+
* falls back, and HomeKit would have had to grow the same function again.
|
|
12295
|
+
*
|
|
12296
|
+
* Default `false`, and deliberately so: the BROKER itself picks through
|
|
12297
|
+
* here when it decides which source to BIND to a slot
|
|
12298
|
+
* (`computeInitialAssignment`), and it must see the unbound ones or it
|
|
12299
|
+
* could never bind them.
|
|
12300
|
+
*/
|
|
12301
|
+
requireProfileBound: boolean().optional()
|
|
12286
12302
|
}).readonly();
|
|
12287
12303
|
var PickStreamPreferencesSchema = object({
|
|
12288
12304
|
/**
|
|
@@ -12323,7 +12339,43 @@ var PickedCamStreamSchema = object({
|
|
|
12323
12339
|
*/
|
|
12324
12340
|
transcodes: boolean(),
|
|
12325
12341
|
/** One-line explanation of why this stream won — for logs / debug UI. */
|
|
12326
|
-
reason: string()
|
|
12342
|
+
reason: string(),
|
|
12343
|
+
/**
|
|
12344
|
+
* The broker profile slot this source is bound to, when it is bound.
|
|
12345
|
+
*
|
|
12346
|
+
* Answered HERE because every consumer needs it and none of them can get it
|
|
12347
|
+
* from the `camStreamId` alone. Alexa wrote `profileForCamStream` for it —
|
|
12348
|
+
* a second cap read plus a `null` branch — and HomeKit was about to write
|
|
12349
|
+
* the same function a second time.
|
|
12350
|
+
*
|
|
12351
|
+
* Absent when the source has no slot, which a caller passing
|
|
12352
|
+
* `requireProfileBound` can never see.
|
|
12353
|
+
*/
|
|
12354
|
+
profile: CamProfileSchema.optional(),
|
|
12355
|
+
/** The broker id of that slot, for logs that must name what was dialled. */
|
|
12356
|
+
brokerId: string().optional(),
|
|
12357
|
+
/**
|
|
12358
|
+
* The broker restream URL to dial for this stream.
|
|
12359
|
+
*
|
|
12360
|
+
* An exporter must never open the camera's own URL — the broker is the one
|
|
12361
|
+
* that dials the camera, and every consumer goes through its restream. So
|
|
12362
|
+
* the picker answers with the thing a consumer may actually use, instead of
|
|
12363
|
+
* naming a source and leaving each caller to look the URL up.
|
|
12364
|
+
*/
|
|
12365
|
+
url: string().optional(),
|
|
12366
|
+
/**
|
|
12367
|
+
* Frames per second this stream really delivers, and where the number came
|
|
12368
|
+
* from.
|
|
12369
|
+
*
|
|
12370
|
+
* It is here because getting it wrong is expensive and silent: a HomeKit
|
|
12371
|
+
* accessory advertised 720p at 24 fps while the slot serving it ran at 9,
|
|
12372
|
+
* and the controller rendered nothing at all. The source is carried with the
|
|
12373
|
+
* value for the same reason the bitrate evidence is: `published` is what the
|
|
12374
|
+
* publisher declares and `measured` is what the broker observed, and they
|
|
12375
|
+
* are not interchangeable.
|
|
12376
|
+
*/
|
|
12377
|
+
fps: number().positive().optional(),
|
|
12378
|
+
fpsSource: _enum(["published", "measured"]).optional()
|
|
12327
12379
|
});
|
|
12328
12380
|
DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), array(CameraStreamSchema).readonly()), method(object({ deviceId: number().int().nonnegative() }), array(ProfileSlotSchema).readonly()), method(object({
|
|
12329
12381
|
deviceId: number().int().nonnegative(),
|
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.108",
|
|
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",
|