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/esm/index.js
CHANGED
@@ -4380,14 +4380,11 @@ var BTCWallet = (_0) => __async(void 0, [_0], function* ({
|
|
4380
4380
|
newActions,
|
4381
4381
|
baseDecode(header.hash)
|
4382
4382
|
);
|
4383
|
-
console.log("convertTransactionToTxHex transaction:", _transaction);
|
4384
4383
|
const txBytes = encodeTransaction(_transaction);
|
4385
4384
|
const txHex = Array.from(txBytes, (byte) => ("0" + (byte & 255).toString(16)).slice(-2)).join(
|
4386
4385
|
""
|
4387
4386
|
);
|
4388
|
-
console.log("convertTransactionToTxHex txHex:", txHex);
|
4389
4387
|
const hash = bs58.encode(new Uint8Array(sha256.array(txBytes)));
|
4390
|
-
console.log("convertTransactionToTxHex hash:", hash);
|
4391
4388
|
return { txBytes, txHex, hash };
|
4392
4389
|
});
|
4393
4390
|
}
|
@@ -4439,7 +4436,7 @@ function setupBTCWallet({
|
|
4439
4436
|
|
4440
4437
|
// src/index.ts
|
4441
4438
|
var getVersion = () => {
|
4442
|
-
return "0.5.
|
4439
|
+
return "0.5.10-beta";
|
4443
4440
|
};
|
4444
4441
|
if (typeof window !== "undefined") {
|
4445
4442
|
window.__BTC_WALLET_VERSION = getVersion();
|