@applitools/core 4.46.0 → 4.47.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.47.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.46.0...js/core@4.47.0) (2025-09-15)
4
+
5
+
6
+ ### Features
7
+
8
+ * update default concurrency ([#3230](https://github.com/Applitools-Dev/sdk/issues/3230)) ([f548cda](https://github.com/Applitools-Dev/sdk/commit/f548cda77d74b68890abc7c53f566b145e6484ba))
9
+
3
10
  ## [4.46.0](https://github.com/Applitools-Dev/sdk/compare/js/core@4.45.0...js/core@4.46.0) (2025-09-09)
4
11
 
5
12
 
package/dist/index.js CHANGED
@@ -35,3 +35,4 @@ __exportStar(require("./autonomous/core"), exports);
35
35
  __exportStar(require("@applitools/driver/dist/debug"), exports);
36
36
  exports.formatters = __importStar(require("./utils/format-results"));
37
37
  exports.logs = __importStar(require("./troubleshoot/logs"));
38
+ __exportStar(require("./utils/constants"), exports);
@@ -30,13 +30,14 @@ const core_2 = require("./ufg/core");
30
30
  const open_eyes_1 = require("./open-eyes");
31
31
  const get_manager_results_1 = require("./get-manager-results");
32
32
  const utils = __importStar(require("@applitools/utils"));
33
+ const constants_1 = require("./utils/constants");
33
34
  function makeMakeManager({ spec, clients, core, base: defaultBase, agentId: defaultAgentId, environment, cwd = process.cwd(), logger: mainLogger, asyncCache, offlineLocationPath, maskLog, }) {
34
35
  return async function makeManager({ type = 'classic', settings, logger = mainLogger, } = {}) {
35
36
  var _a, _b, _c, _d, _e, _f, _g;
36
37
  var _h, _j;
37
38
  logger = logger.extend(mainLogger, { tags: [`manager-${type}-${utils.general.shortid()}`], maskLog });
38
39
  settings !== null && settings !== void 0 ? settings : (settings = {});
39
- (_a = settings.concurrency) !== null && _a !== void 0 ? _a : (settings.concurrency = (_b = utils.general.getEnvValue('CONCURRENCY', 'number')) !== null && _b !== void 0 ? _b : (utils.types.isInteger(settings.legacyConcurrency) ? settings.legacyConcurrency * 5 : 100));
40
+ (_a = settings.concurrency) !== null && _a !== void 0 ? _a : (settings.concurrency = (_b = utils.general.getEnvValue('CONCURRENCY', 'number')) !== null && _b !== void 0 ? _b : (utils.types.isInteger(settings.legacyConcurrency) ? settings.legacyConcurrency * 5 : constants_1.DEFAULT_CONCURRENCY));
40
41
  (_c = settings.batch) !== null && _c !== void 0 ? _c : (settings.batch = {});
41
42
  (_d = (_h = settings.batch).id) !== null && _d !== void 0 ? _d : (_h.id = (_e = utils.general.getEnvValue('BATCH_ID')) !== null && _e !== void 0 ? _e : `generated-${utils.general.guid()}`);
42
43
  (_f = (_j = settings.batch).buildId) !== null && _f !== void 0 ? _f : (_j.buildId = utils.general.getEnvValue('BATCH_BUILD_ID'));
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DEFAULT_CONCURRENCY = void 0;
4
+ exports.DEFAULT_CONCURRENCY = 100;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/core",
3
- "version": "4.46.0",
3
+ "version": "4.47.0",
4
4
  "homepage": "https://applitools.com",
5
5
  "bugs": {
6
6
  "url": "https://github.com/applitools/eyes.sdk.javascript1/issues"
package/types/index.d.ts CHANGED
@@ -7,3 +7,4 @@ export { type SpecType, type SpecDriver, type Selector } from '@applitools/drive
7
7
  export * from '@applitools/driver/dist/debug';
8
8
  export * as formatters from './utils/format-results';
9
9
  export * as logs from './troubleshoot/logs';
10
+ export * from './utils/constants';
@@ -0,0 +1 @@
1
+ export declare const DEFAULT_CONCURRENCY = 100;