@aztec/wsdb 0.0.1-commit.031e54b

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 ADDED
@@ -0,0 +1,30 @@
1
+ # @aztec/wsdb
2
+
3
+ Generated TypeScript IPC package for the Wsdb service.
4
+
5
+ ```ts
6
+ import { WsdbService } from '@aztec/wsdb';
7
+
8
+ const service = await WsdbService.spawn({ transport: 'uds' });
9
+ try {
10
+ const response = await service.bytes({ data: new Uint8Array([1, 2, 3]) });
11
+ } finally {
12
+ await service.destroy();
13
+ }
14
+ ```
15
+
16
+ The package resolves `aztec-wsdb` from `AZTEC_WSDB_PATH`,
17
+ an explicit `binaryPath`, or an installed/prepared arch package.
18
+
19
+ ## Build
20
+
21
+ ```sh
22
+ npm install --omit=optional
23
+ npm run build
24
+ ```
25
+
26
+ To prepare per-architecture binary packages:
27
+
28
+ ```sh
29
+ npm run prepare_arch_packages -- linux-x64=/path/to/aztec-wsdb
30
+ ```