@wrongstack/core 0.269.0 → 0.270.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/hq/index.js +3 -3
- package/dist/hq/index.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -30967,7 +30967,7 @@ function taskSummary(message) {
|
|
|
30967
30967
|
return Object.keys(task).length > 0 ? task : void 0;
|
|
30968
30968
|
}
|
|
30969
30969
|
function mapMailboxMessageToHqSummary(message, options = {}) {
|
|
30970
|
-
const previewLength = options.previewLength ??
|
|
30970
|
+
const previewLength = options.previewLength ?? 500;
|
|
30971
30971
|
const bodyPreview = previewText(message.body, previewLength, options.redactionPolicy);
|
|
30972
30972
|
const outcomePreview = previewText(message.outcome, previewLength, options.redactionPolicy);
|
|
30973
30973
|
const task = taskSummary(message);
|
|
@@ -31055,8 +31055,8 @@ function createMailboxEventPayload(input) {
|
|
|
31055
31055
|
var OPEN_STATE = 1;
|
|
31056
31056
|
var DEFAULT_RECONNECT_BASE_MS = 1e3;
|
|
31057
31057
|
var DEFAULT_RECONNECT_MAX_MS = 3e4;
|
|
31058
|
-
var DEFAULT_MAX_QUEUED_MESSAGES =
|
|
31059
|
-
var DEFAULT_COMMAND_POLL_INTERVAL_MS =
|
|
31058
|
+
var DEFAULT_MAX_QUEUED_MESSAGES = 2e3;
|
|
31059
|
+
var DEFAULT_COMMAND_POLL_INTERVAL_MS = 2e3;
|
|
31060
31060
|
var DEFAULT_COMMAND_POLL_LIMIT = 25;
|
|
31061
31061
|
function defaultSocketFactory(url) {
|
|
31062
31062
|
const WebSocketCtor = globalThis.WebSocket;
|