x-runtime-lib 0.9.30 → 0.9.31
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/index.d.ts +3 -3
- package/dist/index.js +2310 -2305
- package/dist/{vendor.iw8atjcp.js → vendor.nxcr0zfk.js} +5443 -5439
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -181,6 +181,8 @@ declare interface Hooks {
|
|
|
181
181
|
|
|
182
182
|
export declare function initProperties(node: Node_2, properties: ZProperty[]): void;
|
|
183
183
|
|
|
184
|
+
export declare function initQuickJS(): Promise<void>;
|
|
185
|
+
|
|
184
186
|
declare type InitValues = {
|
|
185
187
|
[key: string]: any;
|
|
186
188
|
};
|
|
@@ -656,9 +658,7 @@ export declare function useGlobalTransient(sandbox: Sandbox, transients: Reactiv
|
|
|
656
658
|
property: WritableComputedRef<any, any>;
|
|
657
659
|
};
|
|
658
660
|
|
|
659
|
-
export declare function useRuntime():
|
|
660
|
-
createRuntime: () => Promise<QuickJSRuntime>;
|
|
661
|
-
};
|
|
661
|
+
export declare function useRuntime(): void;
|
|
662
662
|
|
|
663
663
|
export declare function useSandbox(kind: SandboxKind, nodeId: string, slotId: string, instance: string, parent: Sandbox | undefined, meta: Ref<Meta | undefined>, data: Ref<Data | undefined>, transients: Reactive<Transients>, initValues?: InitValues): {
|
|
664
664
|
sandbox: Sandbox;
|