@liquidium/client 0.3.0 → 0.3.2
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.cjs +431 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +432 -81
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.cts
CHANGED
|
@@ -208,7 +208,7 @@ interface SendBtcTransactionRequest {
|
|
|
208
208
|
* - `signPsbt` - reserved for PSBT-based actions when exposed
|
|
209
209
|
*/
|
|
210
210
|
interface WalletAdapter {
|
|
211
|
-
/** Signs an SDK plaintext message and returns the wallet signature. */
|
|
211
|
+
/** Signs an SDK plaintext message and returns the wallet signature. BTC adapters may return base64 BIP-322 or hex-encoded signature bytes. */
|
|
212
212
|
signMessage?: (request: SignMessageRequest) => Promise<string>;
|
|
213
213
|
/** Signs an SDK-provided BTC PSBT and returns the signed PSBT as base64. */
|
|
214
214
|
signPsbt?: (request: SignPsbtRequest) => Promise<string>;
|
|
@@ -219,7 +219,7 @@ interface WalletAdapter {
|
|
|
219
219
|
}
|
|
220
220
|
/** Signature payload submitted to a sign-message action. */
|
|
221
221
|
interface SignatureInfo {
|
|
222
|
-
/** Wallet signature over the action message. */
|
|
222
|
+
/** Wallet signature over the action message. BTC signatures may be base64 BIP-322 or hex-encoded bytes. */
|
|
223
223
|
signature: string;
|
|
224
224
|
/** Chain used to produce the signature. */
|
|
225
225
|
chain: Chain;
|
package/dist/index.d.ts
CHANGED
|
@@ -208,7 +208,7 @@ interface SendBtcTransactionRequest {
|
|
|
208
208
|
* - `signPsbt` - reserved for PSBT-based actions when exposed
|
|
209
209
|
*/
|
|
210
210
|
interface WalletAdapter {
|
|
211
|
-
/** Signs an SDK plaintext message and returns the wallet signature. */
|
|
211
|
+
/** Signs an SDK plaintext message and returns the wallet signature. BTC adapters may return base64 BIP-322 or hex-encoded signature bytes. */
|
|
212
212
|
signMessage?: (request: SignMessageRequest) => Promise<string>;
|
|
213
213
|
/** Signs an SDK-provided BTC PSBT and returns the signed PSBT as base64. */
|
|
214
214
|
signPsbt?: (request: SignPsbtRequest) => Promise<string>;
|
|
@@ -219,7 +219,7 @@ interface WalletAdapter {
|
|
|
219
219
|
}
|
|
220
220
|
/** Signature payload submitted to a sign-message action. */
|
|
221
221
|
interface SignatureInfo {
|
|
222
|
-
/** Wallet signature over the action message. */
|
|
222
|
+
/** Wallet signature over the action message. BTC signatures may be base64 BIP-322 or hex-encoded bytes. */
|
|
223
223
|
signature: string;
|
|
224
224
|
/** Chain used to produce the signature. */
|
|
225
225
|
chain: Chain;
|