@nyar/nyar-unknown-wasm32 0.0.0 → 0.0.2
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/README.md +18 -0
- package/package.json +3 -4
- package/readme.md +18 -18
- package/nyar_wasm.wasm +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @nyar/nyar-unknown-wasm32
|
|
2
|
+
|
|
3
|
+
Prebuilt **Wasm GC host sidecar** for Nyar VM. **Not a public import target.**
|
|
4
|
+
|
|
5
|
+
This package is pulled automatically when installing `@nyar/nyar` on Wasm-capable hosts.
|
|
6
|
+
|
|
7
|
+
## Example
|
|
8
|
+
|
|
9
|
+
Application code imports the main package only:
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { createNyarHost } from "@nyar/nyar";
|
|
13
|
+
|
|
14
|
+
const host = await createNyarHost();
|
|
15
|
+
await host.runBytecode(bytes);
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Build and publish pipelines are documented for maintainers in the repository; they are not repeated here.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyar/nyar-unknown-wasm32",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Nyar Wasm collect — wasm32-unknown-unknown host artifacts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -29,6 +29,5 @@
|
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
32
|
+
}
|
|
33
|
+
}
|
package/readme.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# @nyar/nyar-unknown-wasm32
|
|
2
|
-
|
|
3
|
-
Prebuilt **Wasm GC host sidecar** for Nyar VM. **Not a public import target.**
|
|
4
|
-
|
|
5
|
-
This package is pulled automatically when installing `@nyar/nyar` on Wasm-capable hosts.
|
|
6
|
-
|
|
7
|
-
## Example
|
|
8
|
-
|
|
9
|
-
Application code imports the main package only:
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
import { createNyarHost } from "@nyar/nyar";
|
|
13
|
-
|
|
14
|
-
const host = await createNyarHost();
|
|
15
|
-
await host.runBytecode(bytes);
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
Build and publish pipelines are documented for maintainers in the repository; they are not repeated here.
|
|
1
|
+
# @nyar/nyar-unknown-wasm32
|
|
2
|
+
|
|
3
|
+
Prebuilt **Wasm GC host sidecar** for Nyar VM. **Not a public import target.**
|
|
4
|
+
|
|
5
|
+
This package is pulled automatically when installing `@nyar/nyar` on Wasm-capable hosts.
|
|
6
|
+
|
|
7
|
+
## Example
|
|
8
|
+
|
|
9
|
+
Application code imports the main package only:
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { createNyarHost } from "@nyar/nyar";
|
|
13
|
+
|
|
14
|
+
const host = await createNyarHost();
|
|
15
|
+
await host.runBytecode(bytes);
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Build and publish pipelines are documented for maintainers in the repository; they are not repeated here.
|
package/nyar_wasm.wasm
DELETED
|
Binary file
|