unwasm 0.3.10 → 0.4.0

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/tools.d.cts DELETED
@@ -1,28 +0,0 @@
1
- type ParsedWasmModule = {
2
- id?: string;
3
- imports: ModuleImport[];
4
- exports: ModuleExport[];
5
- };
6
- type ModuleImport = {
7
- module: string;
8
- name: string;
9
- returnType?: string;
10
- params?: {
11
- id?: string;
12
- type: string;
13
- }[];
14
- };
15
- type ModuleExport = {
16
- name: string;
17
- id: string | number;
18
- type: "Func" | "Memory";
19
- };
20
- type ParseResult = {
21
- modules: ParsedWasmModule[];
22
- };
23
- declare function parseWasm(source: Buffer | ArrayBuffer, opts?: {
24
- name?: string;
25
- }): ParseResult;
26
-
27
- export { parseWasm };
28
- export type { ModuleExport, ModuleImport, ParseResult, ParsedWasmModule };
package/dist/tools.d.mts DELETED
@@ -1,28 +0,0 @@
1
- type ParsedWasmModule = {
2
- id?: string;
3
- imports: ModuleImport[];
4
- exports: ModuleExport[];
5
- };
6
- type ModuleImport = {
7
- module: string;
8
- name: string;
9
- returnType?: string;
10
- params?: {
11
- id?: string;
12
- type: string;
13
- }[];
14
- };
15
- type ModuleExport = {
16
- name: string;
17
- id: string | number;
18
- type: "Func" | "Memory";
19
- };
20
- type ParseResult = {
21
- modules: ParsedWasmModule[];
22
- };
23
- declare function parseWasm(source: Buffer | ArrayBuffer, opts?: {
24
- name?: string;
25
- }): ParseResult;
26
-
27
- export { parseWasm };
28
- export type { ModuleExport, ModuleImport, ParseResult, ParsedWasmModule };
package/dist/tools.d.ts DELETED
@@ -1,28 +0,0 @@
1
- type ParsedWasmModule = {
2
- id?: string;
3
- imports: ModuleImport[];
4
- exports: ModuleExport[];
5
- };
6
- type ModuleImport = {
7
- module: string;
8
- name: string;
9
- returnType?: string;
10
- params?: {
11
- id?: string;
12
- type: string;
13
- }[];
14
- };
15
- type ModuleExport = {
16
- name: string;
17
- id: string | number;
18
- type: "Func" | "Memory";
19
- };
20
- type ParseResult = {
21
- modules: ParsedWasmModule[];
22
- };
23
- declare function parseWasm(source: Buffer | ArrayBuffer, opts?: {
24
- name?: string;
25
- }): ParseResult;
26
-
27
- export { parseWasm };
28
- export type { ModuleExport, ModuleImport, ParseResult, ParsedWasmModule };