btc-wallet 0.5.9-beta → 0.5.10-beta
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -4
- package/dist/index.js.map +2 -2
- package/esm/index.js +1 -4
- package/esm/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -4430,14 +4430,11 @@ var BTCWallet = (_0) => __async(void 0, [_0], function* ({
|
|
4430
4430
|
newActions,
|
4431
4431
|
(0, import_utils10.baseDecode)(header.hash)
|
4432
4432
|
);
|
4433
|
-
console.log("convertTransactionToTxHex transaction:", _transaction);
|
4434
4433
|
const txBytes = (0, import_transaction.encodeTransaction)(_transaction);
|
4435
4434
|
const txHex = Array.from(txBytes, (byte) => ("0" + (byte & 255).toString(16)).slice(-2)).join(
|
4436
4435
|
""
|
4437
4436
|
);
|
4438
|
-
console.log("convertTransactionToTxHex txHex:", txHex);
|
4439
4437
|
const hash = import_bs58.default.encode(new Uint8Array(import_js_sha256.sha256.array(txBytes)));
|
4440
|
-
console.log("convertTransactionToTxHex hash:", hash);
|
4441
4438
|
return { txBytes, txHex, hash };
|
4442
4439
|
});
|
4443
4440
|
}
|
@@ -4489,7 +4486,7 @@ function setupBTCWallet({
|
|
4489
4486
|
|
4490
4487
|
// src/index.ts
|
4491
4488
|
var getVersion = () => {
|
4492
|
-
return "0.5.
|
4489
|
+
return "0.5.10-beta";
|
4493
4490
|
};
|
4494
4491
|
if (typeof window !== "undefined") {
|
4495
4492
|
window.__BTC_WALLET_VERSION = getVersion();
|