@dev-blinq/cucumber_client 1.0.1331-dev → 1.0.1333-dev

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.
@@ -131,6 +131,10 @@ const runCucumber = async (
131
131
  } else if (!process.env.NODE_ENV_BLINQ) {
132
132
  serviceUrl = "https://logic.blinq.io";
133
133
  logger.info("Running in prod mode");
134
+ } else if (process.env.WHITELABEL === "true") {
135
+ // if it's a whitelabel it will use "api" instead of "logic"
136
+ serviceUrl = process.env.NODE_ENV_BLINQ;
137
+ logger.info("Running in custom mode: " + serviceUrl);
134
138
  } else {
135
139
  serviceUrl = process.env.NODE_ENV_BLINQ.replace("api", "logic");
136
140
  logger.info("Running in custom mode: " + serviceUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-blinq/cucumber_client",
3
- "version": "1.0.1331-dev",
3
+ "version": "1.0.1333-dev",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "@cucumber/tag-expressions": "^6.1.1",
33
33
  "@dev-blinq/cucumber-js": "1.0.178-dev",
34
34
  "@faker-js/faker": "^8.1.0",
35
- "automation_model": "1.0.783-dev",
35
+ "automation_model": "1.0.784-dev",
36
36
  "axios": "^1.7.4",
37
37
  "chokidar": "^3.6.0",
38
38
  "create-require": "^1.1.1",