@rango-dev/queue-manager-rango-preset 0.1.13-next.12 → 0.1.13-next.14

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.
@@ -1131,25 +1131,30 @@ function _getChainId() {
1131
1131
  return _regeneratorRuntime().wrap(function _callee$(_context) {
1132
1132
  while (1) switch (_context.prev = _context.next) {
1133
1133
  case 0:
1134
- _context.next = 2;
1134
+ _context.prev = 0;
1135
+ _context.next = 3;
1135
1136
  return provider.request({
1136
1137
  method: 'eth_chainId'
1137
1138
  });
1138
- case 2:
1139
+ case 3:
1139
1140
  _context.t0 = _context.sent;
1140
1141
  if (_context.t0) {
1141
- _context.next = 5;
1142
+ _context.next = 6;
1142
1143
  break;
1143
1144
  }
1144
1145
  _context.t0 = provider == null ? void 0 : provider.chainId;
1145
- case 5:
1146
+ case 6:
1146
1147
  chainId = _context.t0;
1147
1148
  return _context.abrupt("return", chainId);
1148
- case 7:
1149
+ case 10:
1150
+ _context.prev = 10;
1151
+ _context.t1 = _context["catch"](0);
1152
+ return _context.abrupt("return", provider == null ? void 0 : provider.chainId);
1153
+ case 13:
1149
1154
  case "end":
1150
1155
  return _context.stop();
1151
1156
  }
1152
- }, _callee);
1157
+ }, _callee, null, [[0, 10]]);
1153
1158
  }));
1154
1159
  return _getChainId.apply(this, arguments);
1155
1160
  }
@@ -1437,7 +1442,7 @@ function isRequiredWalletConnected(swap, getState) {
1437
1442
  var matched = connectedAccounts.some(function (account) {
1438
1443
  var _readAccountAddress = readAccountAddress(account),
1439
1444
  accountAddress = _readAccountAddress.address;
1440
- return address === accountAddress;
1445
+ return address.toLocaleLowerCase() === accountAddress.toLocaleLowerCase();
1441
1446
  });
1442
1447
  return {
1443
1448
  ok: matched,