@relayfx/test 0.2.1 → 0.2.3

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -10684,7 +10684,7 @@ var jsonValue = (value) => Schema49.decodeUnknownSync(exports_shared_schema.Json
10684
10684
  var fallbackParametersSchema = Schema49.Struct({});
10685
10685
  var parametersForInputSchema = (inputSchema) => {
10686
10686
  const schema = exports_tool_schema.parametersSchema(inputSchema);
10687
- return schema.ast._tag === "Unknown" ? { parameters: fallbackParametersSchema, jsonSchema: inputSchema } : { parameters: schema };
10687
+ return schema.ast._tag === "Unknown" || schema.ast._tag === "Declaration" ? { parameters: fallbackParametersSchema, jsonSchema: inputSchema } : { parameters: schema };
10688
10688
  };
10689
10689
  var attachJsonSchema = (tool, jsonSchema) => jsonSchema === undefined ? tool : Object.assign(tool, { jsonSchema });
10690
10690
  var toolFromRegistered = (tool) => tool.tool;
@@ -16331,7 +16331,7 @@ var awaitStartResult = Effect77.fn("ExecutionWorkflow.awaitStartResult")(functio
16331
16331
  if (waiting.status !== "waiting")
16332
16332
  return waiting;
16333
16333
  const wait = waiting.wait_id === undefined ? undefined : yield* get12(waiting.wait_id).pipe(Effect77.mapError(mapWaitError2));
16334
- if (wait?.mode !== "child")
16334
+ if (wait?.mode !== "child" && (wait === undefined || wait.state === "open"))
16335
16335
  return waiting;
16336
16336
  yield* Effect77.yieldNow;
16337
16337
  continue;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@relayfx/test",
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "description": "Experimental deterministic test kit for Relay applications",
6
6
  "type": "module",
7
7
  "exports": {
@@ -36,7 +36,7 @@
36
36
  "typecheck": "bun tsc --noEmit"
37
37
  },
38
38
  "dependencies": {
39
- "@relayfx/sdk": "0.2.1",
39
+ "@relayfx/sdk": "0.2.3",
40
40
  "effect": "4.0.0-beta.93"
41
41
  },
42
42
  "peerDependencies": {