@appliqation/automation-sdk 2.5.0 → 2.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appliqation/automation-sdk",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Appliqation Automation SDK with API key authentication, custom run titles, and framework-specific reporters",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",
@@ -74,8 +74,10 @@ function getRunIdFromCli() {
74
74
  */
75
75
  class AppliqationReporter {
76
76
  constructor(config = {}) {
77
- // 1. Check enablement FIRST — --appq flag is the only trigger
78
- this.appqEnabled = process.argv.includes('--appq');
77
+ // 1. Check enablement — --appq CLI flag or APPQ_ENABLED env var
78
+ this.appqEnabled = process.argv.includes('--appq')
79
+ || process.env.APPQ_ENABLED === 'true'
80
+ || process.env.APPQ_ENABLED === '1';
79
81
 
80
82
  this.config = {
81
83
  autoCreateRun: true,