@meshconnect/uwc-types 0.28.3-snapshot.c8ab084 → 0.28.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/bitcoin.d.ts +9 -4
- package/dist/bitcoin.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/bitcoin.ts +10 -4
package/dist/bitcoin.d.ts
CHANGED
|
@@ -39,10 +39,6 @@ export interface BitcoinSignMessageParams {
|
|
|
39
39
|
* The `enabledWallets` set is an OPTIONAL per-wallet feature-flag surface. When
|
|
40
40
|
* omitted, every wallet whose metadata declares a `namespaceMetaData.bip122`
|
|
41
41
|
* entry is enabled (catalog-driven). An empty set/array enables nothing.
|
|
42
|
-
*
|
|
43
|
-
* Broadcast configuration (mempool.space endpoints) is intentionally NOT here
|
|
44
|
-
* yet — it arrives in Phase 3 alongside the broadcast implementation, together
|
|
45
|
-
* with the bip122 testnet network id it needs to be keyed by.
|
|
46
42
|
*/
|
|
47
43
|
export interface BitcoinConfig {
|
|
48
44
|
/**
|
|
@@ -61,5 +57,14 @@ export interface BitcoinConfig {
|
|
|
61
57
|
discoveryTimeoutMs?: number;
|
|
62
58
|
/** Poll cadence (ms) for the injection probe. Default: 50. */
|
|
63
59
|
readyStatePollIntervalMs?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Esplora-compatible base URL that PSBT sends are broadcast to
|
|
62
|
+
* (`POST {broadcastUrl}/tx`). Default: `https://mempool.space/api`.
|
|
63
|
+
*
|
|
64
|
+
* Its own setting rather than `networkRpcMap`, which core fills from each
|
|
65
|
+
* network's `rpcUrls`: a Bitcoin node's JSON-RPC URL there is not an Esplora
|
|
66
|
+
* API, and broadcasting to it would fail only after the user had signed.
|
|
67
|
+
*/
|
|
68
|
+
broadcastUrl?: string;
|
|
64
69
|
}
|
|
65
70
|
//# sourceMappingURL=bitcoin.d.ts.map
|
package/dist/bitcoin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitcoin.d.ts","sourceRoot":"","sources":["../src/bitcoin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAA;AAEpC;;;;;;;;GAQG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAA;IACjB,gFAAgF;IAChF,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,cAAc,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,iEAAiE;IACjE,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC9B;AAED
|
|
1
|
+
{"version":3,"file":"bitcoin.d.ts","sourceRoot":"","sources":["../src/bitcoin.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAA;AAEpC;;;;;;;;GAQG;AACH,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAA;IACjB,gFAAgF;IAChF,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;CACjC;AAED;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,OAAO,EAAE,cAAc,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;IACf,iEAAiE;IACjE,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;CAC9B;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,cAAc,CAAC,EAAE,WAAW,CAAC,eAAe,CAAC,GAAG,SAAS,eAAe,EAAE,CAAA;IAE1E,qFAAqF;IACrF,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B,8DAA8D;IAC9D,wBAAwB,CAAC,EAAE,MAAM,CAAA;IAEjC;;;;;;;OAOG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
package/package.json
CHANGED
package/src/bitcoin.ts
CHANGED
|
@@ -42,10 +42,6 @@ export interface BitcoinSignMessageParams {
|
|
|
42
42
|
* The `enabledWallets` set is an OPTIONAL per-wallet feature-flag surface. When
|
|
43
43
|
* omitted, every wallet whose metadata declares a `namespaceMetaData.bip122`
|
|
44
44
|
* entry is enabled (catalog-driven). An empty set/array enables nothing.
|
|
45
|
-
*
|
|
46
|
-
* Broadcast configuration (mempool.space endpoints) is intentionally NOT here
|
|
47
|
-
* yet — it arrives in Phase 3 alongside the broadcast implementation, together
|
|
48
|
-
* with the bip122 testnet network id it needs to be keyed by.
|
|
49
45
|
*/
|
|
50
46
|
export interface BitcoinConfig {
|
|
51
47
|
/**
|
|
@@ -67,4 +63,14 @@ export interface BitcoinConfig {
|
|
|
67
63
|
|
|
68
64
|
/** Poll cadence (ms) for the injection probe. Default: 50. */
|
|
69
65
|
readyStatePollIntervalMs?: number
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Esplora-compatible base URL that PSBT sends are broadcast to
|
|
69
|
+
* (`POST {broadcastUrl}/tx`). Default: `https://mempool.space/api`.
|
|
70
|
+
*
|
|
71
|
+
* Its own setting rather than `networkRpcMap`, which core fills from each
|
|
72
|
+
* network's `rpcUrls`: a Bitcoin node's JSON-RPC URL there is not an Esplora
|
|
73
|
+
* API, and broadcasting to it would fail only after the user had signed.
|
|
74
|
+
*/
|
|
75
|
+
broadcastUrl?: string
|
|
70
76
|
}
|