@1sat/wallet-toolbox 0.0.3 → 0.0.5

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.
@@ -13,13 +13,13 @@ export type { SyncOutput };
13
13
  * interface required by wallet-toolbox.
14
14
  *
15
15
  * API Routes:
16
- * - /api/chaintracks/* - Block headers and chain tracking
17
- * - /api/beef/* - Raw transactions and proofs
18
- * - /api/arcade/* - Transaction broadcasting
19
- * - /api/bsv21/* - BSV21 token data
20
- * - /api/txo/* - Transaction outputs
21
- * - /api/owner/* - Address queries and sync
22
- * - /api/ordfs/* - Content/inscription serving
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 /api/arcade/* routes.
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 { ClientOptions } from "../types";
2
2
  import { BaseClient } from "./BaseClient";
3
3
  /**
4
- * Client for /api/beef/* routes.
4
+ * Client for /1sat/beef/* routes.
5
5
  * Provides BEEF data, raw transactions, and merkle proofs.
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 /api/bsv21/* routes.
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 /api/chaintracks/* routes.
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 baseUrl directly (e.g., https://api.1sat.app/:outpoint)
8
- * API routes use /api/ordfs (e.g., https://api.1sat.app/api/ordfs/metadata/:outpoint)
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 /api/owner/* routes.
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 /api/txo/* routes.
4
+ * Client for /1sat/txo/* routes.
5
5
  * Provides TXO (transaction output) lookup and search.
6
6
  *
7
7
  * Routes:
@@ -12,7 +12,7 @@ export interface ClientOptions {
12
12
  fetch?: typeof fetch;
13
13
  }
14
14
  /**
15
- * Server capabilities returned by /api/capabilities endpoint.
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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/wallet-toolbox",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "BSV wallet library extending @bsv/wallet-toolbox with 1Sat Ordinals protocol support",
5
5
  "author": "1Sat Team",
6
6
  "license": "MIT",