effect-cf 0.28.1 → 0.30.0
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.
- package/CHANGELOG.md +20 -0
- package/README.md +78 -0
- package/dist/{Artifacts-rq3hUKQE.mjs → Artifacts-CSIk1Oml.mjs} +4 -128
- package/dist/Binding-pfilNJmP.mjs +129 -0
- package/dist/ComputerArtifacts.mjs +1 -1
- package/dist/ComputerWorkspace.d.mts +1 -1
- package/dist/ComputerWorkspace.mjs +1 -1
- package/dist/ContainerNamespace-CFjiLw8b.d.mts +155 -0
- package/dist/{DurableObjectState-BjkK2kwH.mjs → DurableObjectState-CepagPkX.mjs} +14 -3
- package/dist/{DurableObjectState-OupNMMUl.d.mts → DurableObjectState-D3k-WRnd.d.mts} +5 -1
- package/dist/Sandbox.d.mts +222 -0
- package/dist/Sandbox.mjs +361 -0
- package/dist/Vitest.d.mts +2 -2
- package/dist/Vitest.mjs +1 -1
- package/dist/{WorkflowBinding-DUZtKCVM.d.mts → WorkflowBinding-CtrmxfdT.d.mts} +1 -1
- package/dist/index.d.mts +45 -195
- package/dist/index.mjs +3 -2
- package/package.json +16 -6
- package/src/DurableObject.ts +1 -0
- package/src/DurableObjectStorage.ts +56 -14
- package/src/Sandbox.ts +1094 -0
- package/src/Worker.ts +1 -0
- package/src/Workflow.ts +1 -0
package/src/Worker.ts
CHANGED
|
@@ -392,6 +392,7 @@ export function make<
|
|
|
392
392
|
// SAFETY: the public make overloads permit an absent event layer only when REvent is never.
|
|
393
393
|
return Runtime.runEventPromise(
|
|
394
394
|
this.runtime,
|
|
395
|
+
// @effect-diagnostics-next-line unsafeEffectTypeAssertion:off
|
|
395
396
|
effect as Effect.Effect<A, E, RuntimeContext<ROut> | Scope.Scope>,
|
|
396
397
|
);
|
|
397
398
|
}
|
package/src/Workflow.ts
CHANGED
|
@@ -157,6 +157,7 @@ const fromWorkflowStep = (
|
|
|
157
157
|
Effect.provideService(
|
|
158
158
|
Effect.provideContext(
|
|
159
159
|
// SAFETY: WorkflowStepContext is provided immediately below; context supplies every other R service.
|
|
160
|
+
// @effect-diagnostics-next-line unsafeEffectTypeAssertion:off
|
|
160
161
|
effect as Effect.Effect<A, E, Exclude<R, WorkflowStepContext>>,
|
|
161
162
|
context,
|
|
162
163
|
),
|