@hypertestco/node-sdk-v3 0.0.1-36 → 0.0.1-37
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/index.cjs +5 -1
- package/index.mjs +5 -1
- package/package.json +1 -1
package/index.cjs
CHANGED
|
@@ -147448,7 +147448,7 @@ var opentelemetry = __toESM(require_src30());
|
|
|
147448
147448
|
var import_register = __toESM(require_register());
|
|
147449
147449
|
|
|
147450
147450
|
// ../../package.json
|
|
147451
|
-
var version = "0.0.1-
|
|
147451
|
+
var version = "0.0.1-37";
|
|
147452
147452
|
|
|
147453
147453
|
// ../utils/syncSleep/index.ts
|
|
147454
147454
|
function synchronousBlock(seconds) {
|
|
@@ -161006,6 +161006,10 @@ var isRequestDiscarded = (htRequestId) => {
|
|
|
161006
161006
|
var import_child_process5 = require("child_process");
|
|
161007
161007
|
var _branchName = "[unknown]";
|
|
161008
161008
|
var setBranchNameFromGit = () => {
|
|
161009
|
+
if (process.env.HT_BRANCH_NAME && !process.env.HT_BRANCH_NAME.toLocaleLowerCase().includes("unknown")) {
|
|
161010
|
+
_branchName = process.env.HT_BRANCH_NAME;
|
|
161011
|
+
return _branchName;
|
|
161012
|
+
}
|
|
161009
161013
|
const spawnSyncOutput = (0, import_child_process5.spawnSync)(
|
|
161010
161014
|
"git",
|
|
161011
161015
|
["rev-parse", "--abbrev-ref", "HEAD"],
|
package/index.mjs
CHANGED
|
@@ -154929,7 +154929,7 @@ import fs2 from "fs";
|
|
|
154929
154929
|
import path3 from "path";
|
|
154930
154930
|
|
|
154931
154931
|
// ../../package.json
|
|
154932
|
-
var version = "0.0.1-
|
|
154932
|
+
var version = "0.0.1-37";
|
|
154933
154933
|
|
|
154934
154934
|
// ../utils/syncSleep/index.ts
|
|
154935
154935
|
function synchronousBlock(seconds) {
|
|
@@ -164787,6 +164787,10 @@ var isRequestDiscarded = (htRequestId) => {
|
|
|
164787
164787
|
import { spawnSync as spawnSync4 } from "child_process";
|
|
164788
164788
|
var _branchName = "[unknown]";
|
|
164789
164789
|
var setBranchNameFromGit = () => {
|
|
164790
|
+
if (process.env.HT_BRANCH_NAME && !process.env.HT_BRANCH_NAME.toLocaleLowerCase().includes("unknown")) {
|
|
164791
|
+
_branchName = process.env.HT_BRANCH_NAME;
|
|
164792
|
+
return _branchName;
|
|
164793
|
+
}
|
|
164790
164794
|
const spawnSyncOutput = spawnSync4(
|
|
164791
164795
|
"git",
|
|
164792
164796
|
["rev-parse", "--abbrev-ref", "HEAD"],
|