@camstack/addon-smtp-nodemailer 1.2.23 → 1.2.24
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 +66 -5
- package/dist/smtp.addon.mjs +66 -5
- package/package.json +1 -1
package/dist/smtp.addon.js
CHANGED
|
@@ -18660,6 +18660,12 @@ var CameraStatusSchema = object({
|
|
|
18660
18660
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
18661
18661
|
fetchedAt: number()
|
|
18662
18662
|
});
|
|
18663
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
18664
|
+
"disabled",
|
|
18665
|
+
"unavailable",
|
|
18666
|
+
"cannot-host-camera-root",
|
|
18667
|
+
"accelerator-preferred"
|
|
18668
|
+
]);
|
|
18663
18669
|
var NodeInferenceDeviceSchema = object({
|
|
18664
18670
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
18665
18671
|
key: string(),
|
|
@@ -18690,7 +18696,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
18690
18696
|
* available per format; this is the stored selection that becomes the
|
|
18691
18697
|
* default for EVERY camera landing on this accelerator.
|
|
18692
18698
|
*/
|
|
18693
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
18699
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
18700
|
+
/**
|
|
18701
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
18702
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
18703
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
18704
|
+
* never disagree with the election — deriving it in the UI from
|
|
18705
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
18706
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
18707
|
+
* "an accelerator is serving" predicate).
|
|
18708
|
+
*/
|
|
18709
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
18694
18710
|
});
|
|
18695
18711
|
var NodeInferenceDevicesSchema = object({
|
|
18696
18712
|
nodeId: string(),
|
|
@@ -22461,7 +22477,12 @@ var ListResultSchema = object({
|
|
|
22461
22477
|
probedAt: number()
|
|
22462
22478
|
});
|
|
22463
22479
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
22464
|
-
|
|
22480
|
+
/**
|
|
22481
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
22482
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
22483
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
22484
|
+
*/
|
|
22485
|
+
var ConnectionEndpointSchema = object({
|
|
22465
22486
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
22466
22487
|
label: string(),
|
|
22467
22488
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -22504,7 +22525,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22504
22525
|
* ordering between polls.
|
|
22505
22526
|
*/
|
|
22506
22527
|
priority: number()
|
|
22507
|
-
})
|
|
22528
|
+
});
|
|
22529
|
+
/**
|
|
22530
|
+
* Where the advertised local port came from. Ordered most → least
|
|
22531
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
22532
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
22533
|
+
*/
|
|
22534
|
+
var LocalPortSourceEnum = _enum([
|
|
22535
|
+
"server-config",
|
|
22536
|
+
"server-env",
|
|
22537
|
+
"caller-hint",
|
|
22538
|
+
"default"
|
|
22539
|
+
]);
|
|
22540
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
22541
|
+
var AdvertisedLocalPortSchema = object({
|
|
22542
|
+
port: number().int().min(1).max(65535),
|
|
22543
|
+
source: LocalPortSourceEnum
|
|
22544
|
+
});
|
|
22545
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
22546
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
22547
|
+
/**
|
|
22548
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
22549
|
+
* came from.
|
|
22550
|
+
*
|
|
22551
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
22552
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
22553
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
22554
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
22555
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
22556
|
+
* `caller-hint` is the hub's own socket.
|
|
22557
|
+
*
|
|
22558
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
22559
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
22560
|
+
* `caller-hint`.
|
|
22561
|
+
*/
|
|
22562
|
+
localPort: AdvertisedLocalPortSchema
|
|
22563
|
+
});
|
|
22508
22564
|
/**
|
|
22509
22565
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
22510
22566
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -22525,8 +22581,13 @@ var AllowedAddressesSchema = object({
|
|
|
22525
22581
|
*/
|
|
22526
22582
|
addresses: array(string()).readonly() });
|
|
22527
22583
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
22528
|
-
/**
|
|
22529
|
-
|
|
22584
|
+
/**
|
|
22585
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
22586
|
+
* written against the echoing contract keep working; the hub uses it
|
|
22587
|
+
* only when it cannot read its own port, and says so via
|
|
22588
|
+
* `localPort.source === 'caller-hint'`.
|
|
22589
|
+
*/
|
|
22590
|
+
port: number().int().min(1).max(65535).optional(),
|
|
22530
22591
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
22531
22592
|
* candidate. Default `true`. */
|
|
22532
22593
|
includeLoopback: boolean().optional(),
|
package/dist/smtp.addon.mjs
CHANGED
|
@@ -18658,6 +18658,12 @@ var CameraStatusSchema = object({
|
|
|
18658
18658
|
/** Unix timestamp (ms) when this snapshot was composed server-side. */
|
|
18659
18659
|
fetchedAt: number()
|
|
18660
18660
|
});
|
|
18661
|
+
var InferenceDeviceExclusionReasonSchema = _enum([
|
|
18662
|
+
"disabled",
|
|
18663
|
+
"unavailable",
|
|
18664
|
+
"cannot-host-camera-root",
|
|
18665
|
+
"accelerator-preferred"
|
|
18666
|
+
]);
|
|
18661
18667
|
var NodeInferenceDeviceSchema = object({
|
|
18662
18668
|
/** Stable per-node device key, e.g. `openvino:npu`, `edgetpu:usb`, `cpu`. */
|
|
18663
18669
|
key: string(),
|
|
@@ -18688,7 +18694,17 @@ var NodeInferenceDeviceSchema = object({
|
|
|
18688
18694
|
* available per format; this is the stored selection that becomes the
|
|
18689
18695
|
* default for EVERY camera landing on this accelerator.
|
|
18690
18696
|
*/
|
|
18691
|
-
steps: record(string(), DeviceStepConfigSchema).optional()
|
|
18697
|
+
steps: record(string(), DeviceStepConfigSchema).optional(),
|
|
18698
|
+
/**
|
|
18699
|
+
* `null` when the device IS a camera-root candidate on this node; otherwise
|
|
18700
|
+
* the reason the dispatcher drops it. Computed by the SAME
|
|
18701
|
+
* `resolveInferenceDeviceEligibility` the dispatcher runs, so this view can
|
|
18702
|
+
* never disagree with the election — deriving it in the UI from
|
|
18703
|
+
* `enabled`/`available` would silently miss `cannot-host-camera-root` (needs
|
|
18704
|
+
* the node's model catalog) and `accelerator-preferred` (needs the node-wide
|
|
18705
|
+
* "an accelerator is serving" predicate).
|
|
18706
|
+
*/
|
|
18707
|
+
exclusion: InferenceDeviceExclusionReasonSchema.nullable()
|
|
18692
18708
|
});
|
|
18693
18709
|
var NodeInferenceDevicesSchema = object({
|
|
18694
18710
|
nodeId: string(),
|
|
@@ -22459,7 +22475,12 @@ var ListResultSchema = object({
|
|
|
22459
22475
|
probedAt: number()
|
|
22460
22476
|
});
|
|
22461
22477
|
var PreferredSchema = LocalInterfaceSchema.nullable();
|
|
22462
|
-
|
|
22478
|
+
/**
|
|
22479
|
+
* Candidate base URL for the SDK to race on connect. Order matters —
|
|
22480
|
+
* the SDK should attempt these top-to-bottom with a short per-candidate
|
|
22481
|
+
* timeout (e.g. 1500ms) and cache the winner for the session.
|
|
22482
|
+
*/
|
|
22483
|
+
var ConnectionEndpointSchema = object({
|
|
22463
22484
|
/** Operator-facing label (e.g. "LAN — en0", "Public tunnel"). */
|
|
22464
22485
|
label: string(),
|
|
22465
22486
|
/** Fully-formed base URL with scheme + host + port. */
|
|
@@ -22502,7 +22523,42 @@ var GetConnectionEndpointsResultSchema = object({ endpoints: array(object({
|
|
|
22502
22523
|
* ordering between polls.
|
|
22503
22524
|
*/
|
|
22504
22525
|
priority: number()
|
|
22505
|
-
})
|
|
22526
|
+
});
|
|
22527
|
+
/**
|
|
22528
|
+
* Where the advertised local port came from. Ordered most → least
|
|
22529
|
+
* authoritative, and the whole point of returning it: a client must be able to
|
|
22530
|
+
* tell a FACT about the hub's socket from an echo of its own guess.
|
|
22531
|
+
*/
|
|
22532
|
+
var LocalPortSourceEnum = _enum([
|
|
22533
|
+
"server-config",
|
|
22534
|
+
"server-env",
|
|
22535
|
+
"caller-hint",
|
|
22536
|
+
"default"
|
|
22537
|
+
]);
|
|
22538
|
+
/** The port every LAN/loopback `baseUrl` in the same result was built with. */
|
|
22539
|
+
var AdvertisedLocalPortSchema = object({
|
|
22540
|
+
port: number().int().min(1).max(65535),
|
|
22541
|
+
source: LocalPortSourceEnum
|
|
22542
|
+
});
|
|
22543
|
+
var GetConnectionEndpointsResultSchema = object({
|
|
22544
|
+
endpoints: array(ConnectionEndpointSchema).readonly(),
|
|
22545
|
+
/**
|
|
22546
|
+
* The port the hub built the LAN/loopback URLs with, and where that number
|
|
22547
|
+
* came from.
|
|
22548
|
+
*
|
|
22549
|
+
* Returned rather than merely applied, because "the URL is right" and "the
|
|
22550
|
+
* client can KNOW the URL is right" are different properties. A client that
|
|
22551
|
+
* only sees a corrected URL cannot distinguish a hub that fixed the port from
|
|
22552
|
+
* a hub that echoed the port the client sent, so it cannot decide whether to
|
|
22553
|
+
* race the candidate or discard it. With `source` it can: anything but
|
|
22554
|
+
* `caller-hint` is the hub's own socket.
|
|
22555
|
+
*
|
|
22556
|
+
* Absent on hubs predating this field — a client that finds it missing is
|
|
22557
|
+
* talking to an echoing hub and must degrade exactly as it does for
|
|
22558
|
+
* `caller-hint`.
|
|
22559
|
+
*/
|
|
22560
|
+
localPort: AdvertisedLocalPortSchema
|
|
22561
|
+
});
|
|
22506
22562
|
/**
|
|
22507
22563
|
* The chosen outbound endpoint for notification artifacts. `baseUrl: null` =
|
|
22508
22564
|
* AUTO (resolved from the candidate ranking at send time); `resolved` reports
|
|
@@ -22523,8 +22579,13 @@ var AllowedAddressesSchema = object({
|
|
|
22523
22579
|
*/
|
|
22524
22580
|
addresses: array(string()).readonly() });
|
|
22525
22581
|
method(_void(), ListResultSchema), method(_void(), PreferredSchema), method(object({
|
|
22526
|
-
/**
|
|
22527
|
-
|
|
22582
|
+
/**
|
|
22583
|
+
* LEGACY HINT — do not send from new code. Kept optional so clients
|
|
22584
|
+
* written against the echoing contract keep working; the hub uses it
|
|
22585
|
+
* only when it cannot read its own port, and says so via
|
|
22586
|
+
* `localPort.source === 'caller-hint'`.
|
|
22587
|
+
*/
|
|
22588
|
+
port: number().int().min(1).max(65535).optional(),
|
|
22528
22589
|
/** Include `http(s)://127.0.0.1:<port>` as the lowest-priority
|
|
22529
22590
|
* candidate. Default `true`. */
|
|
22530
22591
|
includeLoopback: boolean().optional(),
|
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.24",
|
|
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",
|