diff --git a/packages/debugger/app/components/cast-composer.tsx b/packages/debugger/app/components/cast-composer.tsx index 53d8c761..957a48ba 100644 --- a/packages/debugger/app/components/cast-composer.tsx +++ b/packages/debugger/app/components/cast-composer.tsx @@ -18,10 +18,10 @@ import { FrameUI } from "./frame-ui"; import { useToast } from "@/components/ui/use-toast"; import { ToastAction } from "@radix-ui/react-toast"; import Link from "next/link"; -import { useDebuggerFrameState } from "@frames.js/render/unstable-use-debugger-frame-state"; import { useFarcasterIdentity } from "../hooks/useFarcasterIdentity"; import { useAccount } from "wagmi"; import { FrameStackDone } from "@frames.js/render/unstable-types"; +import { useDebuggerFrameState } from "../hooks/useDebuggerFrameState"; type CastComposerProps = { composerAction: Partial; diff --git a/packages/render/src/unstable-use-debugger-frame-state.ts b/packages/debugger/app/hooks/useDebuggerFrameState.ts similarity index 96% rename from packages/render/src/unstable-use-debugger-frame-state.ts rename to packages/debugger/app/hooks/useDebuggerFrameState.ts index 349949f7..55434395 100644 --- a/packages/render/src/unstable-use-debugger-frame-state.ts +++ b/packages/debugger/app/hooks/useDebuggerFrameState.ts @@ -2,8 +2,8 @@ import type { FrameState, FrameStateAPI, UseFrameStateOptions, -} from "./unstable-types"; -import { useFrameState } from "./unstable-use-frame-state"; +} from "@frames.js/render/unstable-types"; +import { useFrameState } from "@frames.js/render/unstable-use-frame-state"; function computeDurationInSeconds(start: Date, end: Date): number { return Number(((end.getTime() - start.getTime()) / 1000).toFixed(2)); diff --git a/packages/render/package.json b/packages/render/package.json index 41330a3e..fe85535c 100644 --- a/packages/render/package.json +++ b/packages/render/package.json @@ -140,16 +140,6 @@ "default": "./dist/use-composer-action.cjs" } }, - "./unstable-use-debugger-frame-state": { - "import": { - "types": "./dist/unstable-use-debugger-frame-state.d.ts", - "default": "./dist/unstable-use-debugger-frame-state.js" - }, - "require": { - "types": "./dist/unstable-use-debugger-frame-state.d.cts", - "default": "./dist/unstable-use-debugger-frame-state.cjs" - } - }, "./unstable-use-frame-state": { "import": { "types": "./dist/unstable-use-frame-state.d.ts",