btc-wallet 0.5.67-beta → 0.5.68-beta
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/core/btcUtils.d.ts +4 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +2 -2
- package/esm/index.js +4 -3
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/esm/index.js
CHANGED
@@ -3839,9 +3839,10 @@ function sendBitcoin(address, amount, feeRate) {
|
|
3839
3839
|
}
|
3840
3840
|
function signMessage(message) {
|
3841
3841
|
return __async(this, null, function* () {
|
3842
|
-
const { signMessage: signMessage2 } = getBtcProvider();
|
3842
|
+
const { signMessage: signMessage2, getPublicKey } = getBtcProvider();
|
3843
|
+
const publicKey = yield getPublicKey();
|
3843
3844
|
const signature = yield signMessage2(message);
|
3844
|
-
return signature;
|
3845
|
+
return { signature, publicKey };
|
3845
3846
|
});
|
3846
3847
|
}
|
3847
3848
|
function estimateDepositAmount(amount, option) {
|
@@ -5217,7 +5218,7 @@ function getGroup(state) {
|
|
5217
5218
|
|
5218
5219
|
// src/index.ts
|
5219
5220
|
var getVersion = () => {
|
5220
|
-
return "0.5.
|
5221
|
+
return "0.5.68-beta";
|
5221
5222
|
};
|
5222
5223
|
if (typeof window !== "undefined") {
|
5223
5224
|
window.__BTC_WALLET_VERSION = getVersion();
|