File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { it as effectIt } from "@effect/vitest" ;
2+ import * as NodeCrypto from "@effect/platform-node/NodeCrypto" ;
23import { DESKTOP_PREVIEW_RECORDING_CAPTURE_TRIGGER } from "@t3tools/contracts" ;
34import type {
45 DesktopPreviewRecordingFrame ,
@@ -281,6 +282,7 @@ const layer = PreviewManager.layer.pipe(
281282 Layer . provideMerge ( layerEnvironment ) ,
282283 Layer . provideMerge ( layerFileSystem ) ,
283284 Layer . provideMerge ( Path . layer ) ,
285+ Layer . provideMerge ( NodeCrypto . layer ) ,
284286 Layer . provideMerge ( Layer . succeed ( HostProcessPlatform , "darwin" ) ) ,
285287) ;
286288
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import {
3737import * as Cause from "effect/Cause" ;
3838import * as Clock from "effect/Clock" ;
3939import * as Context from "effect/Context" ;
40+ import * as Crypto from "effect/Crypto" ;
4041import * as DateTime from "effect/DateTime" ;
4142import * as Deferred from "effect/Deferred" ;
4243import * as Effect from "effect/Effect" ;
@@ -547,6 +548,7 @@ const makeNativeOperations = Effect.fn("PreviewManager.makeOperations")(function
547548 const rendererHistory = yield * DesktopRendererHistory . DesktopRendererHistory ;
548549 const hostPlatform = yield * HostProcessPlatform ;
549550 const path = yield * Path . Path ;
551+ const crypto = yield * Crypto . Crypto ;
550552 const parentScope = yield * Scope . Scope ;
551553 const browserHost = yield * DesktopBrowserHost . DesktopBrowserHost ;
552554 const context = yield * Effect . context < never > ( ) ;
You can’t perform that action at this time.
0 commit comments