btc-wallet 0.5.78-beta → 0.5.79-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/index.js CHANGED
@@ -3381,14 +3381,15 @@ function preReceiveDepositMsg(_0) {
3381
3381
  btcPublicKey,
3382
3382
  depositType = 1,
3383
3383
  postActions,
3384
- extraMsg
3384
+ extraMsg,
3385
+ userDepositAddress
3385
3386
  }) {
3386
3387
  const config = getWalletConfig(env);
3387
3388
  const { result_code, result_message, result_data } = yield request(
3388
3389
  `${config.base_url}/v1/preReceiveDepositMsg`,
3389
3390
  {
3390
3391
  method: "POST",
3391
- body: { btcPublicKey, depositType, postActions, extraMsg }
3392
+ body: { btcPublicKey, depositType, postActions, extraMsg, userDepositAddress }
3392
3393
  }
3393
3394
  );
3394
3395
  console.log("preReceiveDepositMsg resp:", { result_code, result_message, result_data });
@@ -4163,7 +4164,8 @@ function executeBTCDepositAndAction(_0) {
4163
4164
  btcPublicKey,
4164
4165
  depositType: postActionsStr || depositMsg.extra_msg ? 1 : 0,
4165
4166
  postActions: postActionsStr,
4166
- extraMsg: depositMsg.extra_msg
4167
+ extraMsg: depositMsg.extra_msg,
4168
+ userDepositAddress
4167
4169
  });
4168
4170
  const txHash = yield sendBitcoin(userDepositAddress, depositAmount, _feeRate);
4169
4171
  yield receiveDepositMsg({
@@ -5396,7 +5398,7 @@ function getGroup(state) {
5396
5398
 
5397
5399
  // src/index.ts
5398
5400
  var getVersion = () => {
5399
- return "0.5.78-beta";
5401
+ return "0.5.79-beta";
5400
5402
  };
5401
5403
  if (typeof window !== "undefined") {
5402
5404
  window.__BTC_WALLET_VERSION = getVersion();