testdriverai 7.9.5-test → 7.9.6-test

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.
@@ -64,10 +64,10 @@ const tdEnv = resolveTdEnv();
64
64
 
65
65
  /**
66
66
  * Resolves the Sentry environment name.
67
- * Uses the infrastructure tier (dev | staging | production).
67
+ * Uses the release channel (dev | test | canary | stable).
68
68
  */
69
69
  function resolveSentryEnvironment() {
70
- return tdEnv;
70
+ return active;
71
71
  }
72
72
 
73
73
  const sentryEnvironment = resolveSentryEnvironment();
@@ -47,9 +47,7 @@ function resolveChannel(ver) {
47
47
  return "stable";
48
48
  }
49
49
  function resolveSentryEnvironment(ver) {
50
- if (process.env.TD_ENV && VALID_ENVS.has(process.env.TD_ENV))
51
- return process.env.TD_ENV;
52
- return CHANNEL_TO_ENV[resolveChannel(ver)] || "production";
50
+ return resolveChannel(ver);
53
51
  }
54
52
  const activeChannel = resolveChannel(version);
55
53
  const sentryEnvironment = resolveSentryEnvironment(version);
@@ -55,8 +55,7 @@ function resolveChannel(ver: string): string {
55
55
  }
56
56
 
57
57
  function resolveSentryEnvironment(ver: string): string {
58
- if (process.env.TD_ENV && VALID_ENVS.has(process.env.TD_ENV)) return process.env.TD_ENV;
59
- return CHANNEL_TO_ENV[resolveChannel(ver)] || "production";
58
+ return resolveChannel(ver);
60
59
  }
61
60
 
62
61
  const activeChannel = resolveChannel(version);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "7.9.5-test",
3
+ "version": "7.9.6-test",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",