@libp2p/crypto
Advanced tools
Comparing version 4.1.6 to 4.1.7-944935f8d
@@ -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.6", | ||
"version": "4.1.7-944935f8d", | ||
"description": "Crypto primitives for libp2p", | ||
@@ -87,3 +87,3 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@libp2p/interface": "^1.6.1", | ||
"@libp2p/interface": "1.6.2-944935f8d", | ||
"@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
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
416618
160
5245
1
+ Added@libp2p/interface@1.6.2-944935f8d(transitive)
- Removed@libp2p/interface@1.7.0(transitive)