@illuma-ai/code-sandbox 1.3.0 → 1.3.1
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/dist/components/Preview.d.ts +1 -1
- package/dist/index.cjs +32 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3188 -3129
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +12 -0
- package/package.json +1 -1
- package/src/components/Preview.tsx +30 -1
- package/src/components/Workbench.tsx +1 -0
- package/src/hooks/useRuntime.ts +80 -16
- package/src/types.ts +12 -0
|
@@ -24,4 +24,4 @@ import type { PreviewProps } from "../types";
|
|
|
24
24
|
* After the iframe loads, an error-capture script is injected so that
|
|
25
25
|
* runtime errors inside the preview are surfaced to the AI agent.
|
|
26
26
|
*/
|
|
27
|
-
export declare function Preview({ url, className, onBrowserError }: PreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function Preview({ url, className, onBrowserError, reloadKey, }: PreviewProps): import("react/jsx-runtime").JSX.Element;
|