motely-wasm 18.2.4 → 18.2.5

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.
Binary file
@@ -0,0 +1,12 @@
1
+ export interface BootResources {
2
+ wasm: ArrayBuffer;
3
+ assemblies: Array<{ name: string; content: ArrayBuffer }>;
4
+ icu: Array<{ name: string; content: ArrayBuffer }>;
5
+ symbols: Array<{ name: string; content: ArrayBuffer }>;
6
+ pdb: Array<{ name: string; content: ArrayBuffer }>;
7
+ }
8
+
9
+ /** @param binDir Absolute path to the package bin/ directory. */
10
+ export function loadBootResourcesFromDir(binDir: string): Promise<BootResources>;
11
+
12
+ export function resolvePackageBinDir(): string;
package/package.json CHANGED
@@ -1,18 +1,29 @@
1
- {
2
- "name": "motely-wasm",
3
- "version": "18.2.4",
4
- "type": "module",
5
- "exports": {
6
- ".": "./dist/index.mjs",
7
- "./node-boot": "./dist/node-boot.mjs",
8
- "./*": "./dist/generated/modules/*.g.mjs"
9
- },
10
- "browser": {
11
- "node:fs": false,
12
- "node:url": false,
13
- "node:path": false,
14
- "node:module": false,
15
- "node:crypto": false,
16
- "node:process": false
17
- }
18
- }
1
+ {
2
+ "name": "motely-wasm",
3
+ "type": "module",
4
+ "exports": {
5
+ ".": {
6
+ "types": "./dist/index.d.mts",
7
+ "import": "./dist/index.mjs"
8
+ },
9
+ "./node-boot": {
10
+ "types": "./dist/node-boot.d.mts",
11
+ "import": "./dist/node-boot.mjs"
12
+ },
13
+ "./*": {
14
+ "types": "./dist/generated/modules/*.g.d.mts",
15
+ "import": "./dist/generated/modules/*.g.mjs"
16
+ }
17
+ },
18
+ "browser": {
19
+ "node:fs": false,
20
+ "node:url": false,
21
+ "node:path": false,
22
+ "node:module": false,
23
+ "node:crypto": false,
24
+ "node:process": false
25
+ },
26
+ "version": "18.2.5",
27
+ "main": "./dist/index.mjs",
28
+ "types": "./dist/index.d.mts"
29
+ }