browsermation 0.0.65 → 0.0.67
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/bin/cli.js +3 -7
- package/package.json +1 -1
package/dist/bin/cli.js
CHANGED
|
@@ -42258,7 +42258,7 @@ var {
|
|
|
42258
42258
|
// package.json
|
|
42259
42259
|
var package_default = {
|
|
42260
42260
|
name: "browsermation",
|
|
42261
|
-
version: "0.0.
|
|
42261
|
+
version: "0.0.67",
|
|
42262
42262
|
description: "The testing platform for Playwright by Browsermation.",
|
|
42263
42263
|
main: "./dist/index.js",
|
|
42264
42264
|
types: "./dist/index.d.ts",
|
|
@@ -46633,10 +46633,10 @@ async function upload(zipBuffer, shardNumber, totalShards, playwrightConfig, opt
|
|
|
46633
46633
|
// src/tunnel.ts
|
|
46634
46634
|
var import_node_child_process = require("node:child_process");
|
|
46635
46635
|
function startTunnel(tunnelProcess, options) {
|
|
46636
|
-
if (!process.env.
|
|
46636
|
+
if (!process.env.BM_API_KEY) {
|
|
46637
46637
|
console.error(
|
|
46638
46638
|
source_default.red.bold(
|
|
46639
|
-
"\u274C Error:
|
|
46639
|
+
"\u274C Error: BM_API_KEY environment variable is not set. Please set it to your tunnel token."
|
|
46640
46640
|
)
|
|
46641
46641
|
);
|
|
46642
46642
|
process.exit(1);
|
|
@@ -46669,10 +46669,6 @@ function startTunnel(tunnelProcess, options) {
|
|
|
46669
46669
|
tunnelDomain,
|
|
46670
46670
|
"--custom_domain",
|
|
46671
46671
|
tunnelDomain,
|
|
46672
|
-
"--token",
|
|
46673
|
-
process.env.BM_TUNNEL_TOKEN || "",
|
|
46674
|
-
"--metadatas",
|
|
46675
|
-
`apiKey=${process.env.BM_API_KEY || ""}`,
|
|
46676
46672
|
"--user",
|
|
46677
46673
|
process.env.BM_API_KEY || ""
|
|
46678
46674
|
]);
|