@fileverse-dev/formulajs 4.4.11-mod-89-tally-4 → 4.4.11-mod-93-patch-1

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.
@@ -1,4 +1,4 @@
1
- /* @fileverse-dev/formulajs v4.4.11-mod-89-tally-4 */
1
+ /* @fileverse-dev/formulajs v4.4.11-mod-93-patch-1 */
2
2
  var _excluded = [ "confirmations", "dataDecoded" ];
3
3
 
4
4
  function _objectWithoutProperties(e, t) {
@@ -18295,7 +18295,7 @@ function _typeof(o) {
18295
18295
  query: query,
18296
18296
  slug: slug
18297
18297
  });
18298
- baseUrl = "http://localhost:3008/third-party";
18298
+ baseUrl = "http://localhost:3008//third-party";
18299
18299
  url = "".concat(baseUrl) + "?service=tally" + "&input1=".concat(encodeURIComponent(query)) + "&input2=".concat(encodeURIComponent(slug));
18300
18300
  _context31.next = 7;
18301
18301
  return fetch(url);
@@ -18314,28 +18314,25 @@ function _typeof(o) {
18314
18314
 
18315
18315
  case 12:
18316
18316
  _data5 = _context31.sent;
18317
- console.log({
18318
- data: _data5
18319
- });
18320
- if (!_data5.organization) {
18321
- _context31.next = 16;
18317
+ if (!(_data5 !== null && _data5 !== void 0 && _data5.organization)) {
18318
+ _context31.next = 15;
18322
18319
  break;
18323
18320
  }
18324
18321
  return _context31.abrupt("return", [ _data5.organization ]);
18325
18322
 
18326
- case 16:
18323
+ case 15:
18327
18324
  return _context31.abrupt("return", _data5);
18328
18325
 
18329
- case 19:
18330
- _context31.prev = 19;
18326
+ case 18:
18327
+ _context31.prev = 18;
18331
18328
  _context31.t0 = _context31["catch"](0);
18332
18329
  return _context31.abrupt("return", errorMessageHandler(_context31.t0, "TALLY"));
18333
18330
 
18334
- case 22:
18331
+ case 21:
18335
18332
  case "end":
18336
18333
  return _context31.stop();
18337
18334
  }
18338
- }), _callee28, null, [ [ 0, 19 ] ]);
18335
+ }), _callee28, null, [ [ 0, 18 ] ]);
18339
18336
  })));
18340
18337
  return _TALLY.apply(this, arguments);
18341
18338
  }