@percy/env 1.31.3 → 1.31.4-beta.0
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/dist/environment.js +5 -0
- package/package.json +4 -4
package/dist/environment.js
CHANGED
|
@@ -284,6 +284,11 @@ export class PercyEnv {
|
|
|
284
284
|
return this.vars.TH_BUILD_UUID || this.vars.BROWSERSTACK_TESTHUB_UUID || null;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
+
// th build run id
|
|
288
|
+
get testhubBuildRunId() {
|
|
289
|
+
return this.vars.TH_BUILD_RUN_ID || this.vars.BROWSERSTACK_TESTHUB_RUN_ID || null;
|
|
290
|
+
}
|
|
291
|
+
|
|
287
292
|
// PERCY_FORCE_PKG_VALUE for forcing package.json values
|
|
288
293
|
// to be used as the current environment values in client
|
|
289
294
|
get forcedPkgValue() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@percy/env",
|
|
3
|
-
"version": "1.31.
|
|
3
|
+
"version": "1.31.4-beta.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
},
|
|
10
10
|
"publishConfig": {
|
|
11
11
|
"access": "public",
|
|
12
|
-
"tag": "
|
|
12
|
+
"tag": "beta"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
15
|
"node": ">=14"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"test:coverage": "yarn test --coverage"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@percy/logger": "1.31.
|
|
35
|
+
"@percy/logger": "1.31.4-beta.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "20314c32f823b7eab4b5ae470b7ddfbd7a73cb91"
|
|
38
38
|
}
|