jscrambler 8.0.1 → 8.1.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,11 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [4752980]: Add the ability to instrument the app from the config file - instrument: true
8
+
3
9
  ## 8.0.1
4
10
 
5
11
  ### Patch Changes
@@ -139,6 +139,7 @@ config.inputSymbolTable = _commander.default.inputSymbolTable || config.inputSym
139
139
  config.removeProfilingData = _commander.default.removeProfilingData;
140
140
  config.skipSources = _commander.default.skipSources;
141
141
  config.debugMode = _commander.default.debugMode || config.debugMode;
142
+ config.instrument = _commander.default.instrument || config.instrument;
142
143
 
143
144
  // handle codeHardening = 0
144
145
  if (typeof _commander.default.codeHardeningThreshold === 'undefined') {
@@ -322,7 +323,7 @@ if (_commander.default.sourceMaps) {
322
323
  process.exit(1);
323
324
  }
324
325
  })();
325
- } else if (_commander.default.instrument) {
326
+ } else if (config.instrument) {
326
327
  _.default.instrumentAndDownload(_objectSpread(_objectSpread({}, clientSettings), {}, {
327
328
  applicationId,
328
329
  filesSrc,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler API client.",
4
- "version": "8.0.1",
4
+ "version": "8.1.0",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {