@cubejs-client/core 0.34.60 → 0.35.0

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.
@@ -11880,9 +11880,9 @@
11880
11880
  }());
11881
11881
  }
11882
11882
 
11883
- var CubejsApi = /*#__PURE__*/function () {
11884
- function CubejsApi(apiToken, options) {
11885
- _classCallCheck(this, CubejsApi);
11883
+ var CubeApi = /*#__PURE__*/function () {
11884
+ function CubeApi(apiToken, options) {
11885
+ _classCallCheck(this, CubeApi);
11886
11886
 
11887
11887
  if (apiToken !== null && !Array.isArray(apiToken) && _typeof(apiToken) === 'object') {
11888
11888
  options = apiToken;
@@ -11912,7 +11912,7 @@
11912
11912
  this.updateAuthorizationPromise = null;
11913
11913
  }
11914
11914
 
11915
- _createClass(CubejsApi, [{
11915
+ _createClass(CubeApi, [{
11916
11916
  key: "request",
11917
11917
  value: function request(method, params) {
11918
11918
  return this.transport.request(method, _objectSpread({
@@ -12532,18 +12532,17 @@
12532
12532
  }
12533
12533
  }]);
12534
12534
 
12535
- return CubejsApi;
12535
+ return CubeApi;
12536
12536
  }();
12537
12537
 
12538
- var cubejs = (function (apiToken, options) {
12539
- return new CubejsApi(apiToken, options);
12538
+ var cube = (function (apiToken, options) {
12539
+ return new CubeApi(apiToken, options);
12540
12540
  });
12541
12541
 
12542
12542
  var clientCoreExports = /*#__PURE__*/Object.freeze({
12543
12543
  __proto__: null,
12544
- 'default': cubejs,
12545
- CubejsApi: CubejsApi,
12546
- CubeApi: CubejsApi,
12544
+ 'default': cube,
12545
+ CubeApi: CubeApi,
12547
12546
  HttpTransport: HttpTransport,
12548
12547
  ResultSet: ResultSet,
12549
12548
  RequestError: RequestError,
@@ -12565,10 +12564,10 @@
12565
12564
  });
12566
12565
 
12567
12566
  Object.keys(clientCoreExports).forEach(function (key) {
12568
- cubejs[key] = clientCoreExports[key];
12567
+ cube[key] = clientCoreExports[key];
12569
12568
  });
12570
12569
 
12571
- return cubejs;
12570
+ return cube;
12572
12571
 
12573
12572
  })));
12574
12573
  //# sourceMappingURL=cubejs-client-core.umd.js.map