@sparkvault/sdk-js 16.7.1 → 16.8.0
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/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14337,7 +14337,7 @@ Array.from({ length: 1 << BRAND_BITS.size }, (_, mask) =>
|
|
|
14337
14337
|
* theirs. Every timeline event type declares whether a customer may see it;
|
|
14338
14338
|
* a customer-facing projection keeps only `public` types (an allowlist, so a
|
|
14339
14339
|
* new type is hidden until it says otherwise). The portal's client name and
|
|
14340
|
-
* API prefix,
|
|
14340
|
+
* API prefix, queue mail aliases, the attachment ceremony's steps, the
|
|
14341
14341
|
* question a customer's new request asks before it is discarded, session,
|
|
14342
14342
|
* sign-in code (its length, lifetime, sender, resend wait, countdown and
|
|
14343
14343
|
* the code step's words), merge and pending-attachment timings, hold
|
|
@@ -14355,7 +14355,7 @@ Array.from({ length: 1 << BRAND_BITS.size }, (_, mask) =>
|
|
|
14355
14355
|
*
|
|
14356
14356
|
* BROWSER-SAFE: data and pure functions, and newMessageId's count of the ids
|
|
14357
14357
|
* its page named; its imports are the mail products whose fixed From local
|
|
14358
|
-
* parts no
|
|
14358
|
+
* parts no queue alias may take (./mail-products.js), the brand rule no queue
|
|
14359
14359
|
* alias may read as (./organization-name.js) and the resource id rule a desk
|
|
14360
14360
|
* id is read by (./ids.js).
|
|
14361
14361
|
*/
|
|
@@ -14389,10 +14389,10 @@ const HELP_DESK_WIDGET_IDENTITY_MESSAGES = Object.freeze({
|
|
|
14389
14389
|
});
|
|
14390
14390
|
|
|
14391
14391
|
/**
|
|
14392
|
-
* Mail local parts no
|
|
14392
|
+
* Mail local parts no queue may take as its alias: the role mailboxes RFC 2142
|
|
14393
14393
|
* names, the addresses mail systems and their operators keep for themselves,
|
|
14394
14394
|
* the platform's own host labels, and the fixed local part every other mail
|
|
14395
|
-
* product writes from (MAIL_PRODUCTS fromLocalPart), so no
|
|
14395
|
+
* product writes from (MAIL_PRODUCTS fromLocalPart), so no queue writes from
|
|
14396
14396
|
* the address Notify writes from on a domain both products use.
|
|
14397
14397
|
*/
|
|
14398
14398
|
Object.freeze([
|
|
@@ -14403,8 +14403,8 @@ Object.freeze([
|
|
|
14403
14403
|
...MAIL_PRODUCT_KEYS.map((key) => MAIL_PRODUCTS[key].fromLocalPart).filter((localPart) => localPart !== null)
|
|
14404
14404
|
]);
|
|
14405
14405
|
|
|
14406
|
-
/** The alias a
|
|
14407
|
-
const
|
|
14406
|
+
/** The alias a desk without a mailbox of its own receives and writes from, wherever a queue claims none. */
|
|
14407
|
+
const DEFAULT_QUEUE_ALIAS = 'support';
|
|
14408
14408
|
|
|
14409
14409
|
/**
|
|
14410
14410
|
* What a customer's new request asks before Cancel throws away what they
|
|
@@ -14457,14 +14457,14 @@ function helpDeskPinDigits(value) {
|
|
|
14457
14457
|
}
|
|
14458
14458
|
|
|
14459
14459
|
/**
|
|
14460
|
-
* The address a desk's emailed sign-in codes come from: its default
|
|
14460
|
+
* The address a desk's emailed sign-in codes come from: its default queue
|
|
14461
14461
|
* alias on the host the desk sends from (the desk lookup's `sending_host`).
|
|
14462
14462
|
*
|
|
14463
14463
|
* @param {string} sendingHost
|
|
14464
14464
|
* @returns {string}
|
|
14465
14465
|
*/
|
|
14466
14466
|
function helpDeskCodeSender(sendingHost) {
|
|
14467
|
-
return `${
|
|
14467
|
+
return `${DEFAULT_QUEUE_ALIAS}@${sendingHost}`;
|
|
14468
14468
|
}
|
|
14469
14469
|
|
|
14470
14470
|
/**
|
|
@@ -30544,7 +30544,7 @@ class SparkVault {
|
|
|
30544
30544
|
}
|
|
30545
30545
|
/** Get the SDK version */
|
|
30546
30546
|
static get version() {
|
|
30547
|
-
return '16.
|
|
30547
|
+
return '16.8.0';
|
|
30548
30548
|
}
|
|
30549
30549
|
}
|
|
30550
30550
|
if (typeof window !== 'undefined') {
|