@thorwallet/xchain-bitcoin
Advanced tools
Comparing version 0.0.1-alpha.911 to 0.0.1-alpha.914
import { TxHistoryParams, TxsPage, Address, XChainClient, Tx, TxParams, TxHash, Balance, Network, Fees, XChainClientParams } from '@thorwallet/xchain-client'; | ||
import { FeesWithRates, FeeRate, FeeRates } from './types/client-types'; | ||
import { FeesWithRates, FeeRate, FeeRates, Signature } from './types/client-types'; | ||
/** | ||
@@ -187,2 +187,11 @@ * BitcoinClient Interface | ||
/** | ||
* Sign an arbitrary string message. | ||
* | ||
* | ||
* @returns {Signature} The current address. | ||
* | ||
* @throws {"Phrase must be provided"} Thrown if phrase has not been set before. | ||
*/ | ||
signMessage: (msg: string) => Promise<Signature>; | ||
/** | ||
* Transfer BTC. | ||
@@ -189,0 +198,0 @@ * |
@@ -22,1 +22,5 @@ import { Address, FeeOptionKey, Fees, Network } from '@thorwallet/xchain-client'; | ||
}; | ||
export declare type Signature = { | ||
signature: string; | ||
pubKey: string; | ||
}; |
{ | ||
"name": "@thorwallet/xchain-bitcoin", | ||
"version": "0.0.1-alpha.911+8fe9224", | ||
"version": "0.0.1-alpha.914+57de1f7", | ||
"description": "Custom Bitcoin client and utilities used by XChainJS clients", | ||
@@ -35,5 +35,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"@thorwallet/xchain-client": "0.0.1-alpha.911+8fe9224", | ||
"@thorwallet/xchain-crypto": "0.0.1-alpha.911+8fe9224", | ||
"@thorwallet/xchain-util": "0.0.1-alpha.911+8fe9224", | ||
"@thorwallet/xchain-client": "0.0.1-alpha.914+57de1f7", | ||
"@thorwallet/xchain-crypto": "0.0.1-alpha.914+57de1f7", | ||
"@thorwallet/xchain-util": "0.0.1-alpha.914+57de1f7", | ||
"@types/bitcoinjs-lib": "^5.0.0", | ||
@@ -59,3 +59,3 @@ "@types/wif": "^2.0.1", | ||
}, | ||
"gitHead": "8fe922499f18216614fef9bf207444009829f0e3" | ||
"gitHead": "57de1f79fb00049f93534a32735dd75ab6235694" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
15198191
171591