react-autoql 3.4.5 → 3.4.6

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.
@@ -2715,7 +2715,12 @@ var runQueryOnly = function runQueryOnly() {
2715
2715
  source = _ref4.source,
2716
2716
  AutoAEId = _ref4.AutoAEId;
2717
2717
 
2718
- var url = "".concat(domain, "/autoql/api/v2/query?key=").concat(apiKey);
2718
+ var url; // if(window.location.href.includes('localhost') || window.location.href.includes('chata-ai-test-page')) {
2719
+ // url = `${domain}/autoql/api/v2/query?key=${apiKey}`
2720
+ // } else {
2721
+
2722
+ url = "".concat(domain, "/autoql/api/v1/query?key=").concat(apiKey); // }
2723
+
2719
2724
  var finalUserSelection = transformUserSelection(userSelection);
2720
2725
  var data = {
2721
2726
  text: query,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-autoql",
3
- "version": "3.4.5",
3
+ "version": "3.4.6",
4
4
  "description": "React Widget Library",
5
5
  "main": "dist/autoql.cjs.js",
6
6
  "module": "dist/autoql.esm.js",