@1sat/wallet-toolbox 0.0.3 → 0.0.4
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.js +11 -11
- package/dist/services/OneSatServices.d.ts +7 -7
- package/dist/services/client/ArcadeClient.d.ts +1 -1
- package/dist/services/client/BeefClient.d.ts +1 -1
- package/dist/services/client/Bsv21Client.d.ts +1 -1
- package/dist/services/client/ChaintracksClient.d.ts +1 -1
- package/dist/services/client/OrdfsClient.d.ts +2 -2
- package/dist/services/client/OwnerClient.d.ts +1 -1
- package/dist/services/client/TxoClient.d.ts +1 -1
- package/dist/services/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -13,13 +13,13 @@ export type { SyncOutput };
|
|
|
13
13
|
* interface required by wallet-toolbox.
|
|
14
14
|
*
|
|
15
15
|
* API Routes:
|
|
16
|
-
* - /
|
|
17
|
-
* - /
|
|
18
|
-
* - /
|
|
19
|
-
* - /
|
|
20
|
-
* - /
|
|
21
|
-
* - /
|
|
22
|
-
* - /
|
|
16
|
+
* - /1sat/chaintracks/* - Block headers and chain tracking
|
|
17
|
+
* - /1sat/beef/* - Raw transactions and proofs
|
|
18
|
+
* - /1sat/arcade/* - Transaction broadcasting
|
|
19
|
+
* - /1sat/bsv21/* - BSV21 token data
|
|
20
|
+
* - /1sat/txo/* - Transaction outputs
|
|
21
|
+
* - /1sat/owner/* - Address queries and sync
|
|
22
|
+
* - /1sat/ordfs/* - Content/inscription serving
|
|
23
23
|
*/
|
|
24
24
|
export declare class OneSatServices implements WalletServices {
|
|
25
25
|
chain: Chain;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ClientOptions, Policy, SubmitOptions, TransactionStatus } from "../types";
|
|
2
2
|
import { BaseClient } from "./BaseClient";
|
|
3
3
|
/**
|
|
4
|
-
* Client for /
|
|
4
|
+
* Client for /1sat/arcade/* routes.
|
|
5
5
|
* Provides transaction broadcast and status checking.
|
|
6
6
|
*
|
|
7
7
|
* Routes:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Bsv21TokenDetails, Bsv21TransactionData, ClientOptions, IndexedOutput } from "../types";
|
|
2
2
|
import { BaseClient } from "./BaseClient";
|
|
3
3
|
/**
|
|
4
|
-
* Client for /
|
|
4
|
+
* Client for /1sat/bsv21/* routes.
|
|
5
5
|
* Provides BSV21 token queries.
|
|
6
6
|
*
|
|
7
7
|
* Routes:
|
|
@@ -2,7 +2,7 @@ import type { ChainTracker } from "@bsv/sdk";
|
|
|
2
2
|
import type { BlockHeader, ClientOptions } from "../types";
|
|
3
3
|
import { BaseClient } from "./BaseClient";
|
|
4
4
|
/**
|
|
5
|
-
* Client for /
|
|
5
|
+
* Client for /1sat/chaintracks/* routes.
|
|
6
6
|
* Provides block header data and implements ChainTracker interface.
|
|
7
7
|
*
|
|
8
8
|
* Routes:
|
|
@@ -4,8 +4,8 @@ import { BaseClient } from "./BaseClient";
|
|
|
4
4
|
* Client for ordfs routes.
|
|
5
5
|
* Provides inscription content and metadata.
|
|
6
6
|
*
|
|
7
|
-
* Content is served from
|
|
8
|
-
* API routes use /
|
|
7
|
+
* Content is served from /1sat/content (e.g., https://api.1sat.app/1sat/content/:outpoint)
|
|
8
|
+
* API routes use /1sat/ordfs (e.g., https://api.1sat.app/1sat/ordfs/metadata/:outpoint)
|
|
9
9
|
*/
|
|
10
10
|
export declare class OrdfsClient extends BaseClient {
|
|
11
11
|
private readonly contentBaseUrl;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BalanceResponse, ClientOptions, IndexedOutput, SyncOutput, TxoQueryOptions } from "../types";
|
|
2
2
|
import { BaseClient } from "./BaseClient";
|
|
3
3
|
/**
|
|
4
|
-
* Client for /
|
|
4
|
+
* Client for /1sat/owner/* routes.
|
|
5
5
|
* Provides owner (address) queries and sync.
|
|
6
6
|
*
|
|
7
7
|
* Routes:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ClientOptions, IndexedOutput, TxoQueryOptions } from "../types";
|
|
2
2
|
import { BaseClient } from "./BaseClient";
|
|
3
3
|
/**
|
|
4
|
-
* Client for /
|
|
4
|
+
* Client for /1sat/txo/* routes.
|
|
5
5
|
* Provides TXO (transaction output) lookup and search.
|
|
6
6
|
*
|
|
7
7
|
* Routes:
|
package/dist/services/types.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface ClientOptions {
|
|
|
12
12
|
fetch?: typeof fetch;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* Server capabilities returned by /
|
|
15
|
+
* Server capabilities returned by /1sat/capabilities endpoint.
|
|
16
16
|
* These match the actual capability names from 1sat-stack.
|
|
17
17
|
*/
|
|
18
18
|
export type Capability = "beef" | "pubsub" | "txo" | "owner" | "indexer" | "bsv21" | "ordfs" | "chaintracks" | "arcade" | "overlay";
|