@quillsql/react 2.13.22 → 2.13.23

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 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,YAAY,QACiD,CAAC;AAC3E,eAAO,MAAM,oBAAoB,QACa,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,YAAY,QACmD,CAAC;AAC7E,eAAO,MAAM,oBAAoB,QACe,CAAC"}
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QUILL_QUERY_ENDPOINT = exports.QUILL_SERVER = exports.MAX_PIVOT_UNIQUE_VALUES = exports.MAX_COLUMN_ROWS_LIMIT = void 0;
4
4
  exports.MAX_COLUMN_ROWS_LIMIT = 500;
5
5
  exports.MAX_PIVOT_UNIQUE_VALUES = 250;
6
- exports.QUILL_SERVER = process.env.QUILL_SERVER_HOST ?? 'https://quill-344421.uc.r.appspot.com';
7
- exports.QUILL_QUERY_ENDPOINT = process.env.QUILL_QUERY_ENDPOINT ?? '/cloud';
6
+ exports.QUILL_SERVER = process?.env?.QUILL_SERVER_HOST ?? 'https://quill-344421.uc.r.appspot.com';
7
+ exports.QUILL_QUERY_ENDPOINT = process?.env?.QUILL_QUERY_ENDPOINT ?? '/cloud';
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.internalLog = internalLog;
4
4
  /* eslint-disable no-undef */
5
5
  function internalLog(message, ...optionalParams) {
6
- if (process.env.QUILL_ENV === 'development') {
6
+ if (process?.env?.QUILL_ENV === 'development') {
7
7
  const completeMessage = `Quill: ${message}: ${optionalParams.join('\n')}`;
8
8
  console.log(completeMessage);
9
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,YAAY,QACiD,CAAC;AAC3E,eAAO,MAAM,oBAAoB,QACa,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/utils/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,MAAM,CAAC;AACzC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,YAAY,QACmD,CAAC;AAC7E,eAAO,MAAM,oBAAoB,QACe,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export const MAX_COLUMN_ROWS_LIMIT = 500;
2
2
  export const MAX_PIVOT_UNIQUE_VALUES = 250;
3
- export const QUILL_SERVER = process.env.QUILL_SERVER_HOST ?? 'https://quill-344421.uc.r.appspot.com';
4
- export const QUILL_QUERY_ENDPOINT = process.env.QUILL_QUERY_ENDPOINT ?? '/cloud';
3
+ export const QUILL_SERVER = process?.env?.QUILL_SERVER_HOST ?? 'https://quill-344421.uc.r.appspot.com';
4
+ export const QUILL_QUERY_ENDPOINT = process?.env?.QUILL_QUERY_ENDPOINT ?? '/cloud';
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable no-undef */
2
2
  export function internalLog(message, ...optionalParams) {
3
- if (process.env.QUILL_ENV === 'development') {
3
+ if (process?.env?.QUILL_ENV === 'development') {
4
4
  const completeMessage = `Quill: ${message}: ${optionalParams.join('\n')}`;
5
5
  console.log(completeMessage);
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/react",
3
- "version": "2.13.22",
3
+ "version": "2.13.23",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/esm/index.js",