@ziex/cli 0.1.0-dev.865 → 0.1.0-test.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/wasm/types.d.ts DELETED
@@ -1 +0,0 @@
1
- export type ComponentMetadata = {};
package/wasm/wasi.d.ts DELETED
@@ -1,28 +0,0 @@
1
- /**
2
- * WASI/edge WASM bridge — zero dependencies on ZigJS (jsz) or browser globals.
3
- *
4
- * Import this (and only this) from edge/server runtimes. It provides the
5
- * minimal __zx import namespace needed by server-side WASM: log, fetch, and
6
- * timers. The jsz importObject is intentionally omitted — the server binary
7
- * does not use jsz value-passing.
8
- */
9
- export declare class ZxWasiBridge {
10
- #private;
11
- constructor(exports: WebAssembly.Exports);
12
- log(level: number, ptr: number, len: number): void;
13
- fetchAsync(urlPtr: number, urlLen: number, methodPtr: number, methodLen: number, headersPtr: number, headersLen: number, bodyPtr: number, bodyLen: number, timeoutMs: number, fetchId: bigint): void;
14
- setTimeout(callbackId: bigint, delayMs: number): void;
15
- setInterval(callbackId: bigint, intervalMs: number): void;
16
- clearInterval(callbackId: bigint): void;
17
- /**
18
- * Create the WASI import object for WASM instantiation.
19
- *
20
- * Returns only the `__zx` namespace (log, fetch, timers).
21
- * Does NOT include jsz.importObject() — the server binary does not use jsz.
22
- */
23
- static createImportObject(bridgeRef: {
24
- current: ZxWasiBridge | null;
25
- }): {
26
- __zx: Record<string, unknown>;
27
- };
28
- }
package/zx.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function getZxInfo(): any;