New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-auth-kit

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-auth-kit - npm Package Compare versions

Comparing version 3.0.0-alpha.32 to 3.0.0-alpha.33

4

package.json
{
"name": "react-auth-kit",
"version": "3.0.0-alpha.32",
"version": "3.0.0-alpha.33",
"description": "Authentication Library for React, which makes Token based auth very easy",

@@ -90,3 +90,3 @@ "keywords": [

},
"gitHead": "03b4f6736001b4f2ebef63bca624b4e3748159d1"
"gitHead": "8469a8153e8c123ba154b1a914aaf1884c5e1e70"
}

@@ -378,22 +378,16 @@ "use strict";

console.log("Remove Refresh Cookie is called");
_jsCookie.default.remove(this.authStorageName, {
domain: this.cookieDomain,
secure: this.cookieSecure
});
_jsCookie.default.remove(this.authStorageTypeName, {
domain: this.cookieDomain,
secure: this.cookieSecure
});
_jsCookie.default.remove(this.stateStorageName, {
domain: this.cookieDomain,
secure: this.cookieSecure
});
if (this.isUsingRefreshToken && !!this.refreshTokenName) {
_jsCookie.default.remove(this.refreshTokenName, {
domain: this.cookieDomain,
secure: this.cookieSecure
});
}
};
removeRefreshToken = () => {
console.log("Remove Refresh Token is called");
localStorage.removeItem(this.authStorageName);
localStorage.removeItem(this.authStorageTypeName);
localStorage.removeItem(this.stateStorageName);
if (this.isUsingRefreshToken && !!this.refreshTokenName) {
localStorage.removeItem(this.refreshTokenName);
}
};
}
var _default = exports.default = TokenObject;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc