@auth0/auth0-spa-js
Advanced tools
Comparing version 1.12.0 to 1.12.1
# Change Log | ||
## [v1.12.1](https://github.com/auth0/auth0-spa-js/tree/v1.12.1) (2020-09-17) | ||
[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v1.12.0...v1.12.1) | ||
**Fixed** | ||
- Remove `sessionStorage` requirement from instantiation to fix SSR environments [\#578](https://github.com/auth0/auth0-spa-js/pull/578) ([adamjmcgrath](https://github.com/adamjmcgrath)) | ||
## [v1.12.0](https://github.com/auth0/auth0-spa-js/tree/v1.12.0) (2020-09-04) | ||
@@ -4,0 +12,0 @@ |
@@ -1,2 +0,2 @@ | ||
declare const _default: "1.12.0"; | ||
declare const _default: "1.12.1"; | ||
export default _default; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"main": "dist/lib/auth0-spa-js.cjs.js", | ||
@@ -9,0 +9,0 @@ "types": "dist/typings/index.d.ts", |
@@ -7,2 +7,3 @@ # @auth0/auth0-spa-js | ||
[![License](https://img.shields.io/:license-mit-blue.svg?style=flat)](https://opensource.org/licenses/MIT) | ||
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fauth0-spa-js.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fauth0-spa-js?ref=badge_shield) | ||
@@ -32,3 +33,3 @@ ## Table of Contents | ||
```html | ||
<script src="https://cdn.auth0.com/js/auth0-spa-js/1.11/auth0-spa-js.production.js"></script> | ||
<script src="https://cdn.auth0.com/js/auth0-spa-js/1.12/auth0-spa-js.production.js"></script> | ||
``` | ||
@@ -281,1 +282,3 @@ | ||
This project is licensed under the MIT license. See the [LICENSE](https://github.com/auth0/auth0-spa-js/blob/master/LICENSE) file for more info. | ||
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fauth0%2Fauth0-spa-js.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fauth0%2Fauth0-spa-js?ref=badge_large) |
@@ -88,2 +88,5 @@ import * as Cookies from 'es-cookie'; | ||
get<T extends Object>(key: string) { | ||
if (typeof sessionStorage === 'undefined') { | ||
return; | ||
} | ||
const value = sessionStorage.getItem(key); | ||
@@ -90,0 +93,0 @@ if (typeof value === 'undefined') { |
@@ -1,1 +0,1 @@ | ||
export default '1.12.0'; | ||
export default '1.12.1'; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1954512
11972
282