Skip to content

Commit 30e3446

Browse files
committed
Merge commit '17c0878941ab8ab19108fb639c5138d92a89e919' into HEAD
2 parents 87dade0 + 17c0878 commit 30e3446

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎apps/desktop/src/preview/Manager.test.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { it as effectIt } from "@effect/vitest";
2+
import * as NodeCrypto from "@effect/platform-node/NodeCrypto";
23
import { DESKTOP_PREVIEW_RECORDING_CAPTURE_TRIGGER } from "@t3tools/contracts";
34
import 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

‎apps/desktop/src/preview/Manager.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import {
3737
import * as Cause from "effect/Cause";
3838
import * as Clock from "effect/Clock";
3939
import * as Context from "effect/Context";
40+
import * as Crypto from "effect/Crypto";
4041
import * as DateTime from "effect/DateTime";
4142
import * as Deferred from "effect/Deferred";
4243
import * 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>();

0 commit comments

Comments
 (0)