@oomol-lab/open-flow 0.1.0-alpha.7 → 0.1.0-alpha.9

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.
@@ -2143,10 +2143,6 @@ var ot = class {
2143
2143
  for (let e of Object.values(this.$)) e.dispose();
2144
2144
  this.#i.dispose();
2145
2145
  }
2146
- beginSelection() {
2147
- let e = this.#n.begin();
2148
- return this.#o({ loading: !1 }), e;
2149
- }
2150
2146
  capture() {
2151
2147
  return this.#n.capture();
2152
2148
  }
@@ -2536,8 +2532,8 @@ var Ct = class {
2536
2532
  async selectFlow(e) {
2537
2533
  if (!this.#F()) return !1;
2538
2534
  this.#M();
2539
- let t = this.#o.beginSelection();
2540
- if (this.#n.invalidate(), this.#t.reset(), this.#a.reset(), this.#f = 0, this.#h = !1, this.#g = !1, this.#v = !1, this.#x?.(), this.#x = void 0, this.#B({
2535
+ let t = this.#n.begin();
2536
+ if (this.#t.reset(), this.#a.reset(), this.#f = 0, this.#h = !1, this.#g = !1, this.#v = !1, this.#x?.(), this.#x = void 0, this.#B({
2541
2537
  checkLoading: !1,
2542
2538
  diagnosticFocus: void 0,
2543
2539
  diagnostics: void 0,
@@ -242,7 +242,7 @@ var y = [
242
242
  {
243
243
  name: "rejects invalid and missing Flow control targets",
244
244
  async verify(e) {
245
- let t = "flow_missing", r = "revision_missing", i = "run_missing";
245
+ let t = "00000000-0000-7000-8000-000000000001", r = "00000000-0000-7000-8000-000000000002", i = "00000000-0000-7000-8000-000000000003";
246
246
  await l(await u(e, `/v1/flows/${t}`), 404, "flow.not-found", "Read missing Flow"), await l(await u(e, `/v1/flows/${t}`, {
247
247
  body: JSON.stringify({
248
248
  name: "Missing",
@@ -296,7 +296,7 @@ var y = [
296
296
  }),
297
297
  headers: { "idempotency-key": "unsupported-publication" },
298
298
  method: "POST"
299
- }), 409, "engine.unsupported", "Publish unsupported Engine"), await l(await g(e, n, "revision_missing", d, "missing-revision-publication"), 404, "flow.not-found", "Publish missing Revision"), await l(await _(e, n, "publication_missing", d, "missing-rollback"), 404, "publication.not-found", "Rollback missing Publication"), await l(await v(e, "publication_missing", "missing-publication-run"), 404, "publication.not-found", "Run missing Publication");
299
+ }), 409, "engine.unsupported", "Publish unsupported Engine"), await l(await g(e, n, "00000000-0000-7000-8000-000000000002", d, "missing-revision-publication"), 404, "flow.not-found", "Publish missing Revision"), await l(await _(e, n, "00000000-0000-7000-8000-000000000004", d, "missing-rollback"), 404, "publication.not-found", "Rollback missing Publication"), await l(await v(e, "00000000-0000-7000-8000-000000000004", "missing-publication-run"), 404, "publication.not-found", "Run missing Publication");
300
300
  }
301
301
  }, {
302
302
  name: "rolls back immutable history and fixes a Live Run target",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oomol-lab/open-flow",
3
- "version": "0.1.0-alpha.7",
3
+ "version": "0.1.0-alpha.9",
4
4
  "description": "TypeScript contracts and Browser runtime for Open Flow.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {