@ethereansos/interfaces-core 0.4.125 → 0.4.126

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.esm.js CHANGED
@@ -23768,23 +23768,25 @@ function _sendAsync() {
23768
23768
  provider = inputProvider;
23769
23769
 
23770
23770
  if (!(method !== 'eth_chainId')) {
23771
- _context2.next = 7;
23771
+ _context2.next = 9;
23772
23772
  break;
23773
23773
  }
23774
23774
 
23775
- _context2.next = 4;
23775
+ _context2.t0 = parseInt;
23776
+ _context2.next = 5;
23776
23777
  return sendAsync(provider, 'eth_chainId');
23777
23778
 
23778
- case 4:
23779
- chainId = _context2.sent;
23779
+ case 5:
23780
+ _context2.t1 = _context2.sent;
23781
+ chainId = (0, _context2.t0)(_context2.t1);
23780
23782
  _ref = sendAsync.context || {
23781
23783
  chainProvider: {}
23782
23784
  }, chainProvider = _ref.chainProvider;
23783
23785
  provider = chainId !== 1 && chainProvider[chainId] ? instrumentedProviders[chainId] = instrumentedProviders[chainId] || new Web3.providers.HttpProvider(chainProvider[chainId]) : provider;
23784
23786
 
23785
- case 7:
23787
+ case 9:
23786
23788
  params = Array.prototype.slice.call(_args2).slice(2) || [];
23787
- _context2.next = 10;
23789
+ _context2.next = 12;
23788
23790
  return new Promise( /*#__PURE__*/function () {
23789
23791
  var _ref2 = _asyncToGenerator$1( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ok, ko) {
23790
23792
  return regeneratorRuntime.wrap(function _callee$(_context) {
@@ -23824,10 +23826,10 @@ function _sendAsync() {
23824
23826
  };
23825
23827
  }());
23826
23828
 
23827
- case 10:
23829
+ case 12:
23828
23830
  return _context2.abrupt("return", _context2.sent);
23829
23831
 
23830
- case 11:
23832
+ case 13:
23831
23833
  case "end":
23832
23834
  return _context2.stop();
23833
23835
  }