@workflow/world-testing 5.0.0-beta.30 → 5.0.0-beta.31
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.
|
@@ -16934,7 +16934,7 @@ var init_runs = __esm({
|
|
|
16934
16934
|
errorCode: external_exports.string().optional(),
|
|
16935
16935
|
/**
|
|
16936
16936
|
* Plaintext string-string metadata attached to the run via
|
|
16937
|
-
* `
|
|
16937
|
+
* `setAttributes()` (or, in the future, materialized
|
|
16938
16938
|
* from `attr_set` events). Stored unencrypted alongside other
|
|
16939
16939
|
* plaintext fields so observability surfaces can read it without
|
|
16940
16940
|
* going through the decryption pipeline.
|
|
@@ -17345,6 +17345,7 @@ var init_queue = __esm({
|
|
|
17345
17345
|
var init_recovery = __esm({
|
|
17346
17346
|
"../world/dist/recovery.js"() {
|
|
17347
17347
|
"use strict";
|
|
17348
|
+
init_queue();
|
|
17348
17349
|
}
|
|
17349
17350
|
});
|
|
17350
17351
|
|
|
@@ -24373,7 +24374,7 @@ var version2;
|
|
|
24373
24374
|
var init_version = __esm({
|
|
24374
24375
|
"../core/dist/version.js"() {
|
|
24375
24376
|
"use strict";
|
|
24376
|
-
version2 = "5.0.0-beta.
|
|
24377
|
+
version2 = "5.0.0-beta.31";
|
|
24377
24378
|
}
|
|
24378
24379
|
});
|
|
24379
24380
|
|
|
@@ -27412,7 +27413,7 @@ init_dist2();
|
|
|
27412
27413
|
init_dist4();
|
|
27413
27414
|
function normalizeAttributeChanges(attrs, options = {}) {
|
|
27414
27415
|
if (attrs === null || typeof attrs !== "object" || Array.isArray(attrs)) {
|
|
27415
|
-
throw new FatalError(`
|
|
27416
|
+
throw new FatalError(`setAttributes requires a plain object, got ${attrs === null ? "null" : Array.isArray(attrs) ? "array" : typeof attrs}`);
|
|
27416
27417
|
}
|
|
27417
27418
|
const changes = Object.entries(attrs).map(([key, value]) => ({
|
|
27418
27419
|
key,
|
|
@@ -27678,7 +27679,7 @@ __name(start, "start");
|
|
|
27678
27679
|
value: "start",
|
|
27679
27680
|
configurable: true
|
|
27680
27681
|
});
|
|
27681
|
-
})(start, "step//@workflow/core/runtime/start@5.0.0-beta.
|
|
27682
|
+
})(start, "step//@workflow/core/runtime/start@5.0.0-beta.31//start");
|
|
27682
27683
|
|
|
27683
27684
|
// ../core/dist/runtime/runs.js
|
|
27684
27685
|
async function wakeUpRun(world, runId, options) {
|
|
@@ -28014,7 +28015,7 @@ var Run = class _Run {
|
|
|
28014
28015
|
value: "wakeUp",
|
|
28015
28016
|
configurable: true
|
|
28016
28017
|
});
|
|
28017
|
-
})(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28018
|
+
})(Run.prototype["wakeUp"], "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#wakeUp");
|
|
28018
28019
|
(function(__wf_fn, __wf_id) {
|
|
28019
28020
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28020
28021
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28023,7 +28024,7 @@ var Run = class _Run {
|
|
|
28023
28024
|
value: "cancel",
|
|
28024
28025
|
configurable: true
|
|
28025
28026
|
});
|
|
28026
|
-
})(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28027
|
+
})(Run.prototype["cancel"], "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#cancel");
|
|
28027
28028
|
(function(__wf_fn, __wf_id) {
|
|
28028
28029
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28029
28030
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28032,7 +28033,7 @@ var Run = class _Run {
|
|
|
28032
28033
|
value: "getReadable",
|
|
28033
28034
|
configurable: true
|
|
28034
28035
|
});
|
|
28035
|
-
})(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28036
|
+
})(Run.prototype["getReadable"], "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#getReadable");
|
|
28036
28037
|
(function(__wf_fn, __wf_id) {
|
|
28037
28038
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28038
28039
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28041,7 +28042,7 @@ var Run = class _Run {
|
|
|
28041
28042
|
value: "exists",
|
|
28042
28043
|
configurable: true
|
|
28043
28044
|
});
|
|
28044
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28045
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "exists").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#exists");
|
|
28045
28046
|
(function(__wf_fn, __wf_id) {
|
|
28046
28047
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28047
28048
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28050,7 +28051,7 @@ var Run = class _Run {
|
|
|
28050
28051
|
value: "status",
|
|
28051
28052
|
configurable: true
|
|
28052
28053
|
});
|
|
28053
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28054
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "status").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#status");
|
|
28054
28055
|
(function(__wf_fn, __wf_id) {
|
|
28055
28056
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28056
28057
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28059,7 +28060,7 @@ var Run = class _Run {
|
|
|
28059
28060
|
value: "returnValue",
|
|
28060
28061
|
configurable: true
|
|
28061
28062
|
});
|
|
28062
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28063
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "returnValue").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#returnValue");
|
|
28063
28064
|
(function(__wf_fn, __wf_id) {
|
|
28064
28065
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28065
28066
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28068,7 +28069,7 @@ var Run = class _Run {
|
|
|
28068
28069
|
value: "workflowName",
|
|
28069
28070
|
configurable: true
|
|
28070
28071
|
});
|
|
28071
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28072
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "workflowName").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#workflowName");
|
|
28072
28073
|
(function(__wf_fn, __wf_id) {
|
|
28073
28074
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28074
28075
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28077,7 +28078,7 @@ var Run = class _Run {
|
|
|
28077
28078
|
value: "createdAt",
|
|
28078
28079
|
configurable: true
|
|
28079
28080
|
});
|
|
28080
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28081
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "createdAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#createdAt");
|
|
28081
28082
|
(function(__wf_fn, __wf_id) {
|
|
28082
28083
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28083
28084
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28086,7 +28087,7 @@ var Run = class _Run {
|
|
|
28086
28087
|
value: "startedAt",
|
|
28087
28088
|
configurable: true
|
|
28088
28089
|
});
|
|
28089
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28090
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "startedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#startedAt");
|
|
28090
28091
|
(function(__wf_fn, __wf_id) {
|
|
28091
28092
|
var __wf_sym = /* @__PURE__ */ Symbol.for("@workflow/core//registeredSteps"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28092
28093
|
__wf_reg.set(__wf_id, __wf_fn);
|
|
@@ -28095,7 +28096,7 @@ var Run = class _Run {
|
|
|
28095
28096
|
value: "completedAt",
|
|
28096
28097
|
configurable: true
|
|
28097
28098
|
});
|
|
28098
|
-
})(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.
|
|
28099
|
+
})(Object.getOwnPropertyDescriptor(Run.prototype, "completedAt").get, "step//@workflow/core/runtime/run@5.0.0-beta.31//Run#completedAt");
|
|
28099
28100
|
(function(__wf_cls, __wf_id) {
|
|
28100
28101
|
var __wf_sym = /* @__PURE__ */ Symbol.for("workflow-class-registry"), __wf_reg = globalThis[__wf_sym] || (globalThis[__wf_sym] = /* @__PURE__ */ new Map());
|
|
28101
28102
|
__wf_reg.set(__wf_id, __wf_cls);
|
|
@@ -28105,7 +28106,7 @@ var Run = class _Run {
|
|
|
28105
28106
|
enumerable: false,
|
|
28106
28107
|
configurable: false
|
|
28107
28108
|
});
|
|
28108
|
-
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.
|
|
28109
|
+
})(Run, "class//@workflow/core/runtime/run@5.0.0-beta.31//Run");
|
|
28109
28110
|
|
|
28110
28111
|
// ../workflow/dist/stdlib.js
|
|
28111
28112
|
async function fetch2(...args) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workflow/world-testing",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.31",
|
|
4
4
|
"description": "Testing utilities and World implementation for Workflow SDK",
|
|
5
5
|
"main": "dist/src/index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"hono": "4.12.25",
|
|
22
22
|
"jsonlines": "0.1.1",
|
|
23
23
|
"zod": "~4.3.6",
|
|
24
|
-
"@workflow/cli": "5.0.0-beta.
|
|
25
|
-
"@workflow/core": "5.0.0-beta.
|
|
24
|
+
"@workflow/cli": "5.0.0-beta.31",
|
|
25
|
+
"@workflow/core": "5.0.0-beta.31",
|
|
26
26
|
"@workflow/utils": "5.0.0-beta.6",
|
|
27
|
-
"@workflow/world": "5.0.0-beta.
|
|
28
|
-
"@workflow/world-local": "5.0.0-beta.
|
|
29
|
-
"workflow": "5.0.0-beta.
|
|
27
|
+
"@workflow/world": "5.0.0-beta.19",
|
|
28
|
+
"@workflow/world-local": "5.0.0-beta.27",
|
|
29
|
+
"workflow": "5.0.0-beta.31"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/jsonlines": "0.1.5",
|