@velora-dex/sdk 9.3.4-dev.4 → 9.3.4

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/sdk.esm.js CHANGED
@@ -4733,14 +4733,11 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
4733
4733
  getDeltaContract = _constructGetDeltaCon.getDeltaContract;
4734
4734
  var cancelAndWithdrawDeltaOrder = /*#__PURE__*/function () {
4735
4735
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref, overrides, requestParams) {
4736
- var order, signature, _ref$bridgeOverride, bridgeOverride, _ref$cosignature, cosignature, _ref$isFillable, isFillable, ParaswapDelta, orderWithSig, res;
4736
+ var order, signature, _ref$isFillable, isFillable, ParaswapDelta, orderWithSig, res;
4737
4737
  return _regeneratorRuntime().wrap(function _callee$(_context) {
4738
4738
  while (1) switch (_context.prev = _context.next) {
4739
4739
  case 0:
4740
- order = _ref.order, signature = _ref.signature, _ref$bridgeOverride = _ref.bridgeOverride, bridgeOverride = _ref$bridgeOverride === void 0 ? {
4741
- protocolData: DEFAULT_BRIDGE.protocolData,
4742
- protocolSelector: DEFAULT_BRIDGE.protocolSelector
4743
- } : _ref$bridgeOverride, _ref$cosignature = _ref.cosignature, cosignature = _ref$cosignature === void 0 ? '0x' : _ref$cosignature, _ref$isFillable = _ref.isFillable, isFillable = _ref$isFillable === void 0 ? false : _ref$isFillable;
4740
+ order = _ref.order, signature = _ref.signature, _ref$isFillable = _ref.isFillable, isFillable = _ref$isFillable === void 0 ? false : _ref$isFillable;
4744
4741
  if (overrides === void 0) {
4745
4742
  overrides = {};
4746
4743
  }
@@ -4757,8 +4754,13 @@ var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
4757
4754
  orderWithSig = {
4758
4755
  order: order,
4759
4756
  signature: signature,
4760
- bridgeOverride: bridgeOverride,
4761
- cosignature: cosignature
4757
+ // bridgeOverride and cosignature are not used by the contract,
4758
+ // can always provide defaults
4759
+ bridgeOverride: {
4760
+ protocolData: DEFAULT_BRIDGE.protocolData,
4761
+ protocolSelector: DEFAULT_BRIDGE.protocolSelector
4762
+ },
4763
+ cosignature: '0x'
4762
4764
  };
4763
4765
  _context.next = 10;
4764
4766
  return options.contractCaller.transactCall({