@1sat/wallet-toolbox 0.0.23 → 0.0.24
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/dist/wallet/factory.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* (browser extension) and 1sat-website (React app).
|
|
6
6
|
*/
|
|
7
7
|
import { PrivateKey } from "@bsv/sdk";
|
|
8
|
-
import { Monitor, type PermissionsManagerConfig, WalletPermissionsManager } from "@bsv/wallet-toolbox-mobile/out/src/index.client.js";
|
|
8
|
+
import { Monitor, type PermissionsManagerConfig, Wallet, WalletPermissionsManager } from "@bsv/wallet-toolbox-mobile/out/src/index.client.js";
|
|
9
9
|
import { OneSatServices } from "../services/OneSatServices";
|
|
10
10
|
import { type FullSyncResult, type FullSyncStage } from "./fullSync";
|
|
11
11
|
type Chain = "main" | "test";
|
|
@@ -35,6 +35,8 @@ export interface WebWalletConfig {
|
|
|
35
35
|
export interface WebWalletResult {
|
|
36
36
|
/** Wallet instance with permission management */
|
|
37
37
|
wallet: WalletPermissionsManager;
|
|
38
|
+
/** Underlying wallet without permission checks (for trusted contexts like sweep-ui) */
|
|
39
|
+
rawWallet: Wallet;
|
|
38
40
|
/** 1Sat services for API access */
|
|
39
41
|
services: OneSatServices;
|
|
40
42
|
/** Monitor for transaction lifecycle (not started - call monitor.startTasks() when ready) */
|
package/dist/wallet/factory.js
CHANGED