@cubejs-client/core 1.6.19 → 1.6.21

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.
@@ -20,6 +20,7 @@ require('core-js/modules/es.array.concat.js');
20
20
  require('core-js/modules/es.array.filter.js');
21
21
  require('core-js/modules/es.array.for-each.js');
22
22
  require('core-js/modules/es.array.from.js');
23
+ require('core-js/modules/es.array.includes.js');
23
24
  require('core-js/modules/es.array.is-array.js');
24
25
  require('core-js/modules/es.array.iterator.js');
25
26
  require('core-js/modules/es.array.map.js');
@@ -38,6 +39,7 @@ require('core-js/modules/es.object.to-string.js');
38
39
  require('core-js/modules/es.promise.js');
39
40
  require('core-js/modules/es.regexp.exec.js');
40
41
  require('core-js/modules/es.regexp.to-string.js');
42
+ require('core-js/modules/es.string.includes.js');
41
43
  require('core-js/modules/es.string.iterator.js');
42
44
  require('core-js/modules/es.string.trim.js');
43
45
  require('core-js/modules/web.dom-collections.for-each.js');
@@ -48,7 +50,6 @@ require('@babel/runtime/helpers/readOnlyError');
48
50
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
49
51
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
50
52
  require('core-js/modules/es.array.find.js');
51
- require('core-js/modules/es.array.includes.js');
52
53
  require('core-js/modules/es.array.index-of.js');
53
54
  require('core-js/modules/es.array.join.js');
54
55
  require('core-js/modules/es.map.js');
@@ -56,7 +57,6 @@ require('core-js/modules/es.number.is-nan.js');
56
57
  require('core-js/modules/es.number.parse-float.js');
57
58
  require('core-js/modules/es.object.values.js');
58
59
  require('core-js/modules/es.set.js');
59
- require('core-js/modules/es.string.includes.js');
60
60
  require('core-js/modules/es.string.match.js');
61
61
  var dayjs = require('dayjs');
62
62
  var ramda = require('ramda');
@@ -2735,7 +2735,7 @@ var CubeApi = /*#__PURE__*/function () {
2735
2735
  var networkRetries = this.networkErrorRetries;
2736
2736
  var loadImpl = /*#__PURE__*/function () {
2737
2737
  var _ref2 = _asyncToGenerator__default["default"](/*#__PURE__*/_regeneratorRuntime__default["default"].mark(function _callee4(response, next) {
2738
- var _options2, _response$error, _options5;
2738
+ var _options2, _response$error, _body$error, _options5;
2739
2739
  var requestInstance, subscribeNext, continueWait, body, text, _options3, _options4, _error, result;
2740
2740
  return _regeneratorRuntime__default["default"].wrap(function (_context4) {
2741
2741
  while (1) switch (_context4.prev = _context4.next) {
@@ -2850,7 +2850,7 @@ var CubeApi = /*#__PURE__*/function () {
2850
2850
  _context4["catch"](5);
2851
2851
  body.error = text;
2852
2852
  case 8:
2853
- if (!(body.error === 'Continue wait')) {
2853
+ if (!((_body$error = body.error) !== null && _body$error !== void 0 && _body$error.includes('Continue wait'))) {
2854
2854
  _context4.next = 10;
2855
2855
  break;
2856
2856
  }
@@ -3283,7 +3283,8 @@ var CubeApi = /*#__PURE__*/function () {
3283
3283
  method: 'POST',
3284
3284
  signal: options === null || options === void 0 ? void 0 : options.signal,
3285
3285
  fetchTimeout: options === null || options === void 0 ? void 0 : options.timeout,
3286
- baseRequestId: options === null || options === void 0 ? void 0 : options.baseRequestId
3286
+ baseRequestId: options === null || options === void 0 ? void 0 : options.baseRequestId,
3287
+ throwContinueWait: true
3287
3288
  };
3288
3289
  if (options !== null && options !== void 0 && options.cache) {
3289
3290
  cubesqlParams.cache = options.cache;