@qntx/wallet-worker 0.0.0-stage → 0.1.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.
@@ -0,0 +1,21 @@
1
+ import { AutoLockPolicy, PasskeyConfig, Wallet } from "@qntx/wallet";
2
+ import { PasskeyCeremony } from "@qntx/wallet/host";
3
+ import { Worker } from "node:worker_threads";
4
+ //#region src/node/software-passkey.d.ts
5
+ export declare function createSoftwarePasskey(seed: Uint8Array): PasskeyCeremony;
6
+ //#endregion
7
+ //#region src/node/index.d.ts
8
+ export type NodeWalletOptions = {
9
+ readonly passkey: PasskeyConfig;
10
+ readonly autoLock: AutoLockPolicy;
11
+ readonly authenticator?: PasskeyCeremony;
12
+ /**
13
+ * Test/debug hook: the worker file location and a spawn observer (count spawns, watch 'exit').
14
+ * Defaults to the bundled dist/kernel.node.js next to this module.
15
+ */
16
+ readonly kernelUrl?: string | URL;
17
+ readonly onSpawn?: (worker: Worker) => void;
18
+ };
19
+ export declare function createNodeWallet(options: NodeWalletOptions): Promise<Wallet>;
20
+ //#endregion
21
+ //# sourceMappingURL=node.d.mts.map