@deroll/cmio 0.1.0 → 0.2.0-alpha.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/README.md CHANGED
@@ -1,6 +1,4 @@
1
- # @tuler/node-libcmt
2
-
3
- > Temporarily published as `@tuler/node-libcmt` while it is not an official Cartesi package.
1
+ # @deroll/cmio
4
2
 
5
3
  Node.js bindings for [libcmt](https://github.com/cartesi/machine-guest-tools/tree/main/sys-utils/libcmt), the Cartesi Machine guest rollup library. It lets Node.js applications running inside a Cartesi Machine process rollup inputs (advances and inspects) and emit vouchers, notices, reports and exceptions — without going through the rollup HTTP server.
6
4
 
@@ -16,7 +14,7 @@ The API is **fully synchronous** on purpose: calls that wait on the emulator (`f
16
14
  ## Usage
17
15
 
18
16
  ```js
19
- import { Rollup } from '@tuler/node-libcmt';
17
+ import { Rollup } from '@deroll/cmio';
20
18
 
21
19
  const rollup = new Rollup();
22
20
  await rollup.run({
@@ -50,7 +48,7 @@ for (;;) {
50
48
 
51
49
  Byte arguments accept `Buffer`, `Uint8Array` or 0x-prefixed hex strings. Addresses are returned as 0x-hex strings, payloads as `Buffer`, and numeric fields as `bigint`.
52
50
 
53
- The package is dual ESM + CommonJS — `const { Rollup } = require('@tuler/node-libcmt')` works too, and both entry points share the same native addon instance.
51
+ The package is dual ESM + CommonJS — `const { Rollup } = require('@deroll/cmio')` works too, and both entry points share the same native addon instance.
54
52
 
55
53
  ### API
56
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deroll/cmio",
3
- "version": "0.1.0",
3
+ "version": "0.2.0-alpha.1",
4
4
  "description": "Node.js bindings for libcmt, the Cartesi Machine guest rollup library",
5
5
  "keywords": [
6
6
  "cartesi",