alchemy 2.0.0-beta.2 → 2.0.0-beta.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.
@@ -69,7 +69,7 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
69
69
 
70
70
  //#endregion
71
71
  //#region package.json
72
- var version = "2.0.0-beta.2";
72
+ var version = "2.0.0-beta.3";
73
73
 
74
74
  //#endregion
75
75
  //#region src/Artifacts.ts
@@ -250,7 +250,7 @@ const findProviderByType = (type) => tryFindProviderByType(type).pipe(Effect.fla
250
250
  const tryFindProviderByType = Effect.fnUntraced(function* (resourceType) {
251
251
  const Tag = Provider(resourceType);
252
252
  const direct = yield* Effect.serviceOption(Tag);
253
- if (Option.isSome(direct)) return direct.value;
253
+ if (Option.isSome(direct)) return direct;
254
254
  const context = yield* Effect.context();
255
255
  for (const value of context.mapUnsafe.values()) if (isProviderCollectionService(value)) {
256
256
  const provider = value.get(resourceType);