method-tool
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -36,4 +36,2 @@ "use strict"; | ||
MyStorage.prototype.setStorage = function (value, key, type) { | ||
if (Auth()) | ||
return; | ||
if (type == "session") { | ||
@@ -54,4 +52,2 @@ this.store = window.localStorage; | ||
MyStorage.prototype.getStorage = function (key, type) { | ||
if (Auth()) | ||
return null; | ||
if (type == "session") { | ||
@@ -75,4 +71,2 @@ this.store = window.localStorage; | ||
MyStorage.prototype.remove = function (key, type) { | ||
if (Auth()) | ||
return null; | ||
if (type == "session") { | ||
@@ -87,4 +81,2 @@ this.store = window.localStorage; | ||
MyStorage.prototype.clear = function (type) { | ||
if (Auth()) | ||
return null; | ||
if (type == "session") { | ||
@@ -91,0 +83,0 @@ this.store = window.localStorage; |
{ | ||
"name": "method-tool", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"main": "index.js", | ||
"license": "MIT" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3952
140