jscrambler 8.10.4 → 8.10.6

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,17 @@
1
1
  # jscrambler
2
2
 
3
+ ## 8.10.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [0260a92]: Add warning message for the misuse of the output-symbol-table flag
8
+
9
+ ## 8.10.5
10
+
11
+ ### Patch Changes
12
+
13
+ - [4dc85c0]: Log protection parametsr if debug is true
14
+
3
15
  ## 8.10.4
4
16
 
5
17
  ### Patch Changes
package/dist/index.js CHANGED
@@ -420,6 +420,9 @@ var _default = exports.default = {
420
420
  const inputSymbolTableContents = await _fs.default.promises.readFile(finalConfig.inputSymbolTable, 'utf-8');
421
421
  protectionOptions.inputSymbolTable = inputSymbolTableContents;
422
422
  }
423
+ if (debug) {
424
+ console.log('Parameters', JSON.stringify(updateData.parameters, null, 2));
425
+ }
423
426
  const createApplicationProtectionRes = await this.createApplicationProtections(client, applicationId, protectionOptions);
424
427
  errorHandler(createApplicationProtectionRes);
425
428
  const protectionIds = createApplicationProtectionRes.data.protections.map(_ref2 => {
@@ -798,6 +801,7 @@ var _default = exports.default = {
798
801
  try {
799
802
  download = await this.downloadSymbolTableRequest(client, protectionId);
800
803
  } catch (e) {
804
+ console.warn('[Warning] The symbol table can only be output if you have Identifiers Renaming on UNSAFE mode or an includeList with global or public identifiers.');
801
805
  errorHandler(e);
802
806
  }
803
807
  if (typeof destCallback === 'function') {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler Code Integrity API client.",
4
- "version": "8.10.4",
4
+ "version": "8.10.6",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {