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