@thesingularitynetwork/darkswap-sdk 0.2.7-beta6 → 0.2.7-beta7

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.
@@ -5014,7 +5014,7 @@ var DepositService = /*#__PURE__*/function (_BaseContractService) {
5014
5014
  }();
5015
5015
  _proto.execute = /*#__PURE__*/function () {
5016
5016
  var _execute = /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee3(context) {
5017
- var signer, contract, _contract$deposit, depositArgs, estimatedGas, gasLimit, tx, _contract$proDeposit, _depositArgs, _estimatedGas, _tx;
5017
+ var signer, contract, _contract$proDeposit, depositArgs, estimatedGas, gasLimit, tx, _contract$proDeposit2, _depositArgs, _estimatedGas, _tx;
5018
5018
  return _regenerator().w(function (_context3) {
5019
5019
  while (1) switch (_context3.n) {
5020
5020
  case 0:
@@ -5038,14 +5038,14 @@ var DepositService = /*#__PURE__*/function (_BaseContractService) {
5038
5038
  case 3:
5039
5039
  depositArgs = [context.merkleRoot, context.newBalance.asset, hexlify32(context.depositAmount), context.proof.oldBalanceNullifier, hexlify32(context.newBalance.note), context.proof.newBalanceFooter, context.proof.proof];
5040
5040
  _context3.n = 4;
5041
- return (_contract$deposit = contract.deposit).estimateGas.apply(_contract$deposit, depositArgs.concat([{
5041
+ return (_contract$proDeposit = contract.proDeposit).estimateGas.apply(_contract$proDeposit, depositArgs.concat([{
5042
5042
  value: 0n
5043
5043
  }]));
5044
5044
  case 4:
5045
5045
  estimatedGas = _context3.v;
5046
5046
  gasLimit = refineGasLimit(estimatedGas);
5047
5047
  _context3.n = 5;
5048
- return contract.deposit.apply(contract, depositArgs.concat([{
5048
+ return contract.proDeposit.apply(contract, depositArgs.concat([{
5049
5049
  value: 0n,
5050
5050
  gasLimit: gasLimit
5051
5051
  }]));
@@ -5058,7 +5058,7 @@ var DepositService = /*#__PURE__*/function (_BaseContractService) {
5058
5058
  case 7:
5059
5059
  _depositArgs = [context.merkleRoot, context.newBalance.asset, hexlify32(context.depositAmount), context.proof.oldBalanceNullifier, hexlify32(context.newBalance.note), context.proof.newBalanceFooter, context.proof.proof];
5060
5060
  _context3.n = 8;
5061
- return (_contract$proDeposit = contract.proDeposit).estimateGas.apply(_contract$proDeposit, _depositArgs.concat([{
5061
+ return (_contract$proDeposit2 = contract.proDeposit).estimateGas.apply(_contract$proDeposit2, _depositArgs.concat([{
5062
5062
  value: context.depositAmount
5063
5063
  }]));
5064
5064
  case 8: