@cubejs-client/core 1.7.17 → 1.7.18
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/cubejs-client-core.cjs +5 -1
- package/dist/cubejs-client-core.cjs.map +1 -1
- package/dist/cubejs-client-core.umd.js +5 -1
- package/dist/cubejs-client-core.umd.js.map +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +5 -1
- package/dist/test/CubeApi.test.js +68 -0
- package/package.json +3 -3
|
@@ -3760,6 +3760,9 @@ var CubeApi = /*#__PURE__*/function () {
|
|
|
3760
3760
|
if (options !== null && options !== void 0 && options.cache) {
|
|
3761
3761
|
cubesqlParams.cache = options.cache;
|
|
3762
3762
|
}
|
|
3763
|
+
if (options !== null && options !== void 0 && options.timezone) {
|
|
3764
|
+
cubesqlParams.timezone = options.timezone;
|
|
3765
|
+
}
|
|
3763
3766
|
var request = _this0.request('cubesql', cubesqlParams);
|
|
3764
3767
|
return request;
|
|
3765
3768
|
}, function (response) {
|
|
@@ -3862,7 +3865,8 @@ var CubeApi = /*#__PURE__*/function () {
|
|
|
3862
3865
|
baseRequestId: uuid.v4(),
|
|
3863
3866
|
params: {
|
|
3864
3867
|
query: sqlQuery,
|
|
3865
|
-
cache: options === null || options === void 0 ? void 0 : options.cache
|
|
3868
|
+
cache: options === null || options === void 0 ? void 0 : options.cache,
|
|
3869
|
+
timezone: options === null || options === void 0 ? void 0 : options.timezone
|
|
3866
3870
|
}
|
|
3867
3871
|
});
|
|
3868
3872
|
decoder = new TextDecoder();
|