@1sat/wallet 0.0.15 → 0.0.16
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/index.d.ts +0 -28
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -29
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @1sat/wallet - BRC-100 Wallet Engine for 1Sat Ordinals SDK
|
|
3
|
-
*
|
|
4
|
-
* This package provides the wallet functionality for the 1Sat SDK.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import { OneSatWallet, OneSatServices } from '@1sat/wallet'
|
|
9
|
-
* import { WalletStorageManager, StorageIdb } from '@bsv/wallet-toolbox/mobile'
|
|
10
|
-
*
|
|
11
|
-
* // Create storage (from @bsv/wallet-toolbox)
|
|
12
|
-
* const storage = await WalletStorageManager.createWalletStorageManager(
|
|
13
|
-
* new StorageIdb({ name: 'my-wallet' })
|
|
14
|
-
* )
|
|
15
|
-
*
|
|
16
|
-
* // Initialize wallet
|
|
17
|
-
* const wallet = new OneSatWallet({
|
|
18
|
-
* rootKey: privateKey,
|
|
19
|
-
* storage,
|
|
20
|
-
* chain: 'main',
|
|
21
|
-
* owners: new Set([address1, address2])
|
|
22
|
-
* })
|
|
23
|
-
*
|
|
24
|
-
* // Sync and use
|
|
25
|
-
* wallet.syncAll()
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export { OneSatWallet, type IngestResult, type OneSatWalletArgs, type OneSatWalletEvents, } from './OneSatWallet';
|
|
29
1
|
export { OneSatServices } from '@1sat/client';
|
|
30
2
|
export type { Bsv21OutputData, Bsv21TokenData, Bsv21TransactionData, Capability, OrdfsMetadata, SyncOutput, } from '@1sat/types';
|
|
31
3
|
export { ReadOnlySigner } from './signers/ReadOnlySigner';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAC7C,YAAY,EACX,eAAe,EACf,cAAc,EACd,oBAAoB,EACpB,UAAU,EACV,aAAa,EACb,UAAU,GACV,MAAM,aAAa,CAAA;AAGpB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAGzD,OAAO,EACN,YAAY,EACZ,UAAU,EACV,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,GACT,MAAM,cAAc,CAAA;AAGrB,OAAO,EACN,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,cAAc,EACd,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,IAAI,EACT,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,GAAG,GACR,MAAM,YAAY,CAAA;AAGnB,OAAO,EACN,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,GACrB,MAAM,gBAAgB,CAAA;AAGvB,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,GAAG,EACH,UAAU,EACV,KAAK,EACL,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,QAAQ,GACb,MAAM,UAAU,CAAA;AAGjB,OAAO,EACN,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,SAAS,EACT,cAAc,EACd,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,YAAY,GACjB,MAAM,OAAO,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @1sat/wallet - BRC-100 Wallet Engine for 1Sat Ordinals SDK
|
|
3
|
-
*
|
|
4
|
-
* This package provides the wallet functionality for the 1Sat SDK.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import { OneSatWallet, OneSatServices } from '@1sat/wallet'
|
|
9
|
-
* import { WalletStorageManager, StorageIdb } from '@bsv/wallet-toolbox/mobile'
|
|
10
|
-
*
|
|
11
|
-
* // Create storage (from @bsv/wallet-toolbox)
|
|
12
|
-
* const storage = await WalletStorageManager.createWalletStorageManager(
|
|
13
|
-
* new StorageIdb({ name: 'my-wallet' })
|
|
14
|
-
* )
|
|
15
|
-
*
|
|
16
|
-
* // Initialize wallet
|
|
17
|
-
* const wallet = new OneSatWallet({
|
|
18
|
-
* rootKey: privateKey,
|
|
19
|
-
* storage,
|
|
20
|
-
* chain: 'main',
|
|
21
|
-
* owners: new Set([address1, address2])
|
|
22
|
-
* })
|
|
23
|
-
*
|
|
24
|
-
* // Sync and use
|
|
25
|
-
* wallet.syncAll()
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
// Core wallet exports
|
|
29
|
-
export { OneSatWallet, } from './OneSatWallet';
|
|
30
1
|
// Services
|
|
31
2
|
export { OneSatServices } from '@1sat/client';
|
|
32
3
|
// Signers
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,WAAW;AACX,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAU7C,UAAU;AACV,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAEzD,cAAc;AACd,OAAO,EACN,YAAY,EACZ,UAAU,EACV,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,WAAW,EACX,WAAW,EACX,aAAa,EACb,SAAS,GACT,MAAM,cAAc,CAAA;AAErB,WAAW;AACX,OAAO,EACN,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,OAAO,EACP,kBAAkB,EAClB,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,cAAc,EACd,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,YAAY,GAYZ,MAAM,YAAY,CAAA;AAEnB,eAAe;AACf,OAAO,EACN,cAAc,EACd,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACnB,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,GAcZ,MAAM,gBAAgB,CAAA;AAEvB,SAAS;AACT,OAAO,EACN,kBAAkB,EAClB,iBAAiB,EACjB,GAAG,EACH,UAAU,EACV,KAAK,GAKL,MAAM,UAAU,CAAA;AAEjB,+BAA+B;AAC/B,OAAO,EACN,SAAS,EACT,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,SAAS,EACT,cAAc,EACd,YAAY,GAKZ,MAAM,OAAO,CAAA;AAEd,8EAA8E;AAC9E,sDAAsD"}
|