jscrambler 8.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,11 @@
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
+
3
9
  ## 8.0.0
4
10
 
5
11
  ### Major Changes
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": "8.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": {