jscrambler 7.0.0 → 8.0.1

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.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [56e65d9]: Added async behaviour to delete protection on success.
8
+
9
+ ## 8.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - [542cef9]: Added the newly developed `--delete-protection-on-success` flag to the README.
14
+
3
15
  ## 7.0.0
4
16
 
5
17
  ### Major Changes
package/README.md CHANGED
@@ -127,6 +127,7 @@ Options:
127
127
  --use-app-classification <bool> (version 6.3 and above) Protection should use Application Classification metadata when protecting (default: true)
128
128
  --input-symbol-table <file> (version 6.3 and above) Protection should use symbol table when protecting. (default: no file)
129
129
  --output-symbol-table <id> (version 6.3 and above) Download symbol table (json)
130
+ --delete-protection-on-success <bool> Delete a protection when it was successful (default: false)
130
131
  --jscramblerVersion <version> Use a specific Jscrambler version
131
132
  --debugMode Protect in debug mode
132
133
  --skip-sources Prevent source files from being updated
package/dist/index.js CHANGED
@@ -482,7 +482,7 @@ var _default = exports.default = {
482
482
 
483
483
  // change this to have the variable that checks if the protection is to be removed
484
484
  if (deleteProtectionOnSuccess) {
485
- _this.removeProtection(client, protection._id, applicationId).then(() => {
485
+ await _this.removeProtection(client, protection._id, applicationId).then(() => {
486
486
  if (debug) {
487
487
  console.log('Protection has been successful and will now be deleted');
488
488
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "jscrambler",
3
3
  "description": "Jscrambler API client.",
4
- "version": "7.0.0",
4
+ "version": "8.0.1",
5
5
  "homepage": "https://github.com/jscrambler/jscrambler",
6
6
  "author": "Jscrambler <support@jscrambler.com>",
7
7
  "repository": {