@adhdev/mesh-shared 1.0.82-rc.30 → 1.0.82-rc.32
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.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/outbound-message.d.ts +2 -2
- package/dist/turn-evidence.d.ts +5 -1
- package/package.json +1 -1
- package/src/outbound-message.ts +2 -0
- package/src/turn-evidence.ts +5 -1
package/dist/index.js
CHANGED
|
@@ -1938,6 +1938,7 @@ var SEND_REFUSAL_REASONS = [
|
|
|
1938
1938
|
"no_target",
|
|
1939
1939
|
"bootstrap_pending",
|
|
1940
1940
|
"duplicate_dispatch",
|
|
1941
|
+
"new_work_held",
|
|
1941
1942
|
"internal_error"
|
|
1942
1943
|
];
|
|
1943
1944
|
function isSendRefusal(value) {
|
|
@@ -2334,7 +2335,7 @@ var TURN_SCOPES = ["mesh_queue", "mesh_direct", "plain"];
|
|
|
2334
2335
|
var RECLAIMING_SEND_REFUSALS = ["session_exited", "no_target", "unsupported_input"];
|
|
2335
2336
|
var DELIVERY_OUTCOMES = ["delivered", "queued"];
|
|
2336
2337
|
var DELIVERY_VIAS = ["local", "p2p"];
|
|
2337
|
-
var DISPATCH_FAILURE_REASONS = ["worker_absent", "transport_error", "spawn_failed", "rejected_by_worker", "timeout"];
|
|
2338
|
+
var DISPATCH_FAILURE_REASONS = ["worker_absent", "transport_error", "spawn_failed", "rejected_by_worker", "timeout", "submit_unconfirmed"];
|
|
2338
2339
|
function sanitizeRefusalCode(value) {
|
|
2339
2340
|
if (typeof value !== "string") return void 0;
|
|
2340
2341
|
const normalized = value.trim().toLowerCase().replace(/[^a-z_]/g, "_").replace(/_+/g, "_").replace(/^_+|_+$/g, "");
|