@dfinity/auth-client
Advanced tools
Comparing version 2.0.0 to 2.0.1-beta.0
@@ -16,3 +16,2 @@ "use strict"; | ||
upgrade: database => { | ||
database.objectStoreNames; | ||
if (database.objectStoreNames.contains(storeName)) { | ||
@@ -19,0 +18,0 @@ database.clear(storeName); |
@@ -28,3 +28,3 @@ "use strict"; | ||
}); | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type | ||
const debounce = (func, wait) => { | ||
@@ -31,0 +31,0 @@ let timeout; |
@@ -123,3 +123,3 @@ "use strict"; | ||
} | ||
catch (e) { | ||
catch (_d) { | ||
// Ignore this, this means that the localStorage value isn't a valid Ed25519KeyIdentity or ECDSAKeyIdentity | ||
@@ -359,3 +359,3 @@ // serialization. | ||
} | ||
catch (e) { | ||
catch (_a) { | ||
window.location.href = options.returnTo; | ||
@@ -362,0 +362,0 @@ } |
@@ -13,3 +13,2 @@ import { openDB } from 'idb'; | ||
upgrade: database => { | ||
database.objectStoreNames; | ||
if (database.objectStoreNames.contains(storeName)) { | ||
@@ -16,0 +15,0 @@ database.clear(storeName); |
@@ -25,3 +25,3 @@ const events = ['mousedown', 'mousemove', 'keydown', 'touchstart', 'wheel']; | ||
}); | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type | ||
const debounce = (func, wait) => { | ||
@@ -28,0 +28,0 @@ let timeout; |
@@ -101,3 +101,3 @@ /** @module AuthClient */ | ||
} | ||
catch (e) { | ||
catch (_d) { | ||
// Ignore this, this means that the localStorage value isn't a valid Ed25519KeyIdentity or ECDSAKeyIdentity | ||
@@ -337,3 +337,3 @@ // serialization. | ||
} | ||
catch (e) { | ||
catch (_a) { | ||
window.location.href = options.returnTo; | ||
@@ -340,0 +340,0 @@ } |
{ | ||
"name": "@dfinity/auth-client", | ||
"version": "2.0.0", | ||
"version": "2.0.1-beta.0", | ||
"author": "DFINITY Stiftung <sdk@dfinity.org>", | ||
@@ -49,5 +49,5 @@ "license": "Apache-2.0", | ||
"peerDependencies": { | ||
"@dfinity/agent": "^2.0.0", | ||
"@dfinity/identity": "^2.0.0", | ||
"@dfinity/principal": "^2.0.0" | ||
"@dfinity/agent": "^2.0.1-beta.0", | ||
"@dfinity/identity": "^2.0.1-beta.0", | ||
"@dfinity/principal": "^2.0.1-beta.0" | ||
}, | ||
@@ -54,0 +54,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
302399
2091
1