@libp2p/crypto
Advanced tools
Comparing version 4.1.7 to 4.1.8-0edbfe7af
@@ -7,3 +7,3 @@ /* eslint-env browser */ | ||
const nativeCrypto = win.crypto; | ||
if (nativeCrypto == null || nativeCrypto.subtle == null) { | ||
if (nativeCrypto?.subtle == null) { | ||
throw Object.assign(new Error('Missing Web Crypto API. ' + | ||
@@ -10,0 +10,0 @@ 'The most likely cause of this error is that this page is being accessed ' + |
{ | ||
"name": "@libp2p/crypto", | ||
"version": "4.1.7", | ||
"version": "4.1.8-0edbfe7af", | ||
"description": "Crypto primitives for libp2p", | ||
@@ -87,3 +87,3 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "^1.6.2", | ||
"@libp2p/interface": "1.6.3-0edbfe7af", | ||
"@noble/curves": "^1.4.0", | ||
@@ -99,3 +99,3 @@ "@noble/hashes": "^1.4.0", | ||
"@types/mocha": "^10.0.6", | ||
"aegir": "^43.0.1", | ||
"aegir": "^44.0.1", | ||
"benchmark": "^2.1.4", | ||
@@ -102,0 +102,0 @@ "protons": "^7.5.0" |
@@ -9,3 +9,3 @@ /* eslint-env browser */ | ||
if (nativeCrypto == null || nativeCrypto.subtle == null) { | ||
if (nativeCrypto?.subtle == null) { | ||
throw Object.assign( | ||
@@ -12,0 +12,0 @@ new Error( |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
417083
160
5246
1
+ Added@libp2p/interface@1.6.3-0edbfe7af(transitive)
- Removed@libp2p/interface@1.7.0(transitive)