@relayfx/sdk 0.2.10 → 0.2.11

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.
@@ -2093,10 +2093,12 @@ var layerFromRuntime = Layer.effect(Service, Effect.gen(function* () {
2093
2093
  return coordinated.accepted;
2094
2094
  }),
2095
2095
  createChildFanOut: Effect.fn("Client.runtime.createChildFanOut")(function* (input) {
2096
- return yield* Option.match(childFanOutRuntime, {
2097
- onNone: () => childFanOuts.create(input),
2098
- onSome: (runtime) => runtime.create(input)
2099
- }).pipe(Effect.mapError(toClientError));
2096
+ if (Option.isNone(childFanOutRuntime)) {
2097
+ return yield* new ClientError({
2098
+ message: "Child fan-out runtime unavailable; provide ChildFanOutRuntime.Service to Client.layerFromRuntime"
2099
+ });
2100
+ }
2101
+ return yield* childFanOutRuntime.value.create(input).pipe(Effect.mapError(toClientError));
2100
2102
  }),
2101
2103
  cancelChildFanOut: Effect.fn("Client.runtime.cancelChildFanOut")(function* (input) {
2102
2104
  return yield* cancelFanOut(input);
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  exports_client,
8
8
  exports_command,
9
9
  exports_operation
10
- } from "./index-r8975x1z.js";
10
+ } from "./index-jg4xh3fx.js";
11
11
  import {
12
12
  Dialect,
13
13
  __export,
package/dist/sqlite.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  exports_client,
4
4
  exports_operation
5
- } from "./index-r8975x1z.js";
5
+ } from "./index-jg4xh3fx.js";
6
6
  import {
7
7
  __export,
8
8
  exports_activity_version_registry,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@relayfx/sdk",
4
- "version": "0.2.10",
4
+ "version": "0.2.11",
5
5
  "description": "Effect-native durable execution SDK for addressable agents and tools",
6
6
  "type": "module",
7
7
  "exports": {