@shipers-dev/multi 0.47.1 → 0.48.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.js +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37798,7 +37798,7 @@ import { parseArgs } from "util";
|
|
|
37798
37798
|
// package.json
|
|
37799
37799
|
var package_default = {
|
|
37800
37800
|
name: "@shipers-dev/multi",
|
|
37801
|
-
version: "0.
|
|
37801
|
+
version: "0.48.0",
|
|
37802
37802
|
type: "module",
|
|
37803
37803
|
bin: {
|
|
37804
37804
|
"multi-agent": "./dist/index.js"
|
|
@@ -39219,7 +39219,7 @@ var daemonProgram = ({ cfg, apiUrl }) => exports_Effect.gen(function* () {
|
|
|
39219
39219
|
if (t.issue_id)
|
|
39220
39220
|
postStream(apiUrl, t.issue_id, "queued", { queue_position: pos });
|
|
39221
39221
|
if (t.dispatch_id && cfg.workspaceId)
|
|
39222
|
-
ackDispatch(apiUrl, cfg.workspaceId, t.dispatch_id, cfg.
|
|
39222
|
+
ackDispatch(apiUrl, cfg.workspaceId, t.dispatch_id, cfg.authToken);
|
|
39223
39223
|
try {
|
|
39224
39224
|
exports_Queue.unsafeOffer(wakeQ, undefined);
|
|
39225
39225
|
} catch {}
|
|
@@ -39342,9 +39342,9 @@ var daemonProgram = ({ cfg, apiUrl }) => exports_Effect.gen(function* () {
|
|
|
39342
39342
|
catch: () => new DaemonError({ message: "materializeBundle skipped" })
|
|
39343
39343
|
}).pipe(exports_Effect.catchAll(() => exports_Effect.void));
|
|
39344
39344
|
const schedFiber = yield* exports_Effect.forkIn(daemonScope)(schedulerLoop(state, daemonScope));
|
|
39345
|
-
if (cfg.workspaceId) {
|
|
39345
|
+
if (cfg.workspaceId && cfg.authToken) {
|
|
39346
39346
|
yield* exports_Effect.forkIn(daemonScope)(exports_Effect.tryPromise({
|
|
39347
|
-
try: () => drainOfflineDispatches(apiUrl, cfg.deviceId, cfg.workspaceId, cfg.
|
|
39347
|
+
try: () => drainOfflineDispatches(apiUrl, cfg.deviceId, cfg.workspaceId, cfg.authToken, db2, () => {
|
|
39348
39348
|
try {
|
|
39349
39349
|
exports_Queue.unsafeOffer(wakeQ, undefined);
|
|
39350
39350
|
} catch {}
|