@effect-agent/storage-cloudflare 0.1.0-beta.35 → 0.1.0-beta.36
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.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/do-ledger.ts +5 -4
package/dist/index.mjs
CHANGED
|
@@ -2165,7 +2165,7 @@ const makeServices = Effect.fn("DoSubmissionLedger.makeServices")(function* () {
|
|
|
2165
2165
|
const heads = yield* decodeSubmissionRows(operation, validated.conversationId, headRows);
|
|
2166
2166
|
if (heads.length === 0) return Option.none();
|
|
2167
2167
|
const head = heads[0];
|
|
2168
|
-
if (head.state === "joining" || head.state === "joined" || head.state === "suspended" || head.state === "unknown") return Option.none();
|
|
2168
|
+
if (head.state === "joining" || head.state === "joined" || head.state === "suspended" || head.state === "unknown" && Option.isNone(yield* readAbortIntent(operation, head.submission_id))) return Option.none();
|
|
2169
2169
|
const now = yield* currentInstant;
|
|
2170
2170
|
const ownership = yield* readOwnership(operation, head.submission_id);
|
|
2171
2171
|
if (Option.isSome(ownership)) {
|