@bytecodealliance/jco 1.1.0 → 1.2.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/README.md CHANGED
@@ -150,8 +150,6 @@ Currently requires an explicit install of the componentize-js engine via `npm in
150
150
 
151
151
  See [ComponentizeJS](https://github.com/bytecodealliance/componentize-js) for more details on this process.
152
152
 
153
- > Additional engines might be supported in future via an `--engine` field or otherwise.
154
-
155
153
  ## API
156
154
 
157
155
  #### `transpile(component: Uint8Array, opts?): Promise<{ files: Record<string, Uint8Array> }>`
@@ -13,14 +13,14 @@ export interface StreamErrorClosed {
13
13
  tag: 'closed',
14
14
  }
15
15
 
16
+ export class InputStream {
17
+ read(len: bigint): Uint8Array;
18
+ blockingRead(len: bigint): Uint8Array;
19
+ }
20
+
16
21
  export class OutputStream {
17
22
  checkWrite(): bigint;
18
23
  write(contents: Uint8Array): void;
19
24
  blockingWriteAndFlush(contents: Uint8Array): void;
20
25
  blockingFlush(): void;
21
26
  }
22
-
23
- export class InputStream {
24
- read(len: bigint): Uint8Array;
25
- blockingRead(len: bigint): Uint8Array;
26
- }