@sqaitech/shared 0.30.10 → 0.30.12

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.
@@ -5,12 +5,12 @@ const initDebugConfig = ()=>{
5
5
  const shouldPrintTiming = getBasicEnvValue(SQAI_DEBUG_AI_PROFILE);
6
6
  let debugConfig = '';
7
7
  if (shouldPrintTiming) {
8
- console.warn('SQAI_DEBUG_AI_PROFILE is deprecated, use DEBUG=midscene:ai:profile instead');
8
+ console.warn('SQAI_DEBUG_AI_PROFILE is deprecated, use DEBUG=sqai:ai:profile instead');
9
9
  debugConfig = 'ai:profile';
10
10
  }
11
11
  const shouldPrintAIResponse = getBasicEnvValue(SQAI_DEBUG_AI_RESPONSE);
12
12
  if (shouldPrintAIResponse) {
13
- console.warn('SQAI_DEBUG_AI_RESPONSE is deprecated, use DEBUG=midscene:ai:response instead');
13
+ console.warn('SQAI_DEBUG_AI_RESPONSE is deprecated, use DEBUG=sqai:ai:response instead');
14
14
  debugConfig = debugConfig ? 'ai:*' : 'ai:call';
15
15
  }
16
16
  if (debugConfig) enableDebug(debugConfig);
@@ -33,12 +33,12 @@ const initDebugConfig = ()=>{
33
33
  const shouldPrintTiming = (0, external_basic_js_namespaceObject.getBasicEnvValue)(external_types_js_namespaceObject.SQAI_DEBUG_AI_PROFILE);
34
34
  let debugConfig = '';
35
35
  if (shouldPrintTiming) {
36
- console.warn('SQAI_DEBUG_AI_PROFILE is deprecated, use DEBUG=midscene:ai:profile instead');
36
+ console.warn('SQAI_DEBUG_AI_PROFILE is deprecated, use DEBUG=sqai:ai:profile instead');
37
37
  debugConfig = 'ai:profile';
38
38
  }
39
39
  const shouldPrintAIResponse = (0, external_basic_js_namespaceObject.getBasicEnvValue)(external_types_js_namespaceObject.SQAI_DEBUG_AI_RESPONSE);
40
40
  if (shouldPrintAIResponse) {
41
- console.warn('SQAI_DEBUG_AI_RESPONSE is deprecated, use DEBUG=midscene:ai:response instead');
41
+ console.warn('SQAI_DEBUG_AI_RESPONSE is deprecated, use DEBUG=sqai:ai:response instead');
42
42
  debugConfig = debugConfig ? 'ai:*' : 'ai:call';
43
43
  }
44
44
  if (debugConfig) (0, external_logger_js_namespaceObject.enableDebug)(debugConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sqaitech/shared",
3
- "version": "0.30.10",
3
+ "version": "0.30.12",
4
4
  "repository": "https://github.com/qa-nparekh/midscene",
5
5
  "homepage": "https://sqai.tech/",
6
6
  "types": "./dist/types/index.d.ts",
@@ -7,7 +7,7 @@ export const initDebugConfig = () => {
7
7
  let debugConfig = '';
8
8
  if (shouldPrintTiming) {
9
9
  console.warn(
10
- 'SQAI_DEBUG_AI_PROFILE is deprecated, use DEBUG=midscene:ai:profile instead',
10
+ 'SQAI_DEBUG_AI_PROFILE is deprecated, use DEBUG=sqai:ai:profile instead',
11
11
  );
12
12
  debugConfig = 'ai:profile';
13
13
  }
@@ -15,7 +15,7 @@ export const initDebugConfig = () => {
15
15
 
16
16
  if (shouldPrintAIResponse) {
17
17
  console.warn(
18
- 'SQAI_DEBUG_AI_RESPONSE is deprecated, use DEBUG=midscene:ai:response instead',
18
+ 'SQAI_DEBUG_AI_RESPONSE is deprecated, use DEBUG=sqai:ai:response instead',
19
19
  );
20
20
  if (debugConfig) {
21
21
  debugConfig = 'ai:*';