@libp2p/auto-tls
Advanced tools
Comparing version 1.0.0 to 1.0.1-023ea575c
@@ -286,4 +286,4 @@ import { ClientAuth } from '@libp2p/http-fetch/auth'; | ||
body: JSON.stringify({ | ||
value: keyAuthorization, | ||
addresses | ||
Value: keyAuthorization, | ||
Addresses: addresses | ||
}), | ||
@@ -290,0 +290,0 @@ ...options |
@@ -5,3 +5,3 @@ export declare const DEFAULT_FORGE_ENDPOINT = "https://registration.libp2p.direct"; | ||
export declare const DEFAULT_PROVISION_TIMEOUT = 120000; | ||
export declare const DEFAULT_PROVISION_REQUEST_TIMEOUT = 10000; | ||
export declare const DEFAULT_PROVISION_REQUEST_TIMEOUT = 60000; | ||
export declare const DEFAULT_PROVISION_DELAY = 5000; | ||
@@ -8,0 +8,0 @@ export declare const DEFAULT_RENEWAL_THRESHOLD = 86400000; |
@@ -5,3 +5,3 @@ export const DEFAULT_FORGE_ENDPOINT = 'https://registration.libp2p.direct'; | ||
export const DEFAULT_PROVISION_TIMEOUT = 120_000; | ||
export const DEFAULT_PROVISION_REQUEST_TIMEOUT = 10_000; | ||
export const DEFAULT_PROVISION_REQUEST_TIMEOUT = 60_000; | ||
export const DEFAULT_PROVISION_DELAY = 5_000; | ||
@@ -8,0 +8,0 @@ export const DEFAULT_RENEWAL_THRESHOLD = 86_400_000; |
@@ -107,3 +107,3 @@ /** | ||
* | ||
* @default 10_000 | ||
* @default 60_000 | ||
*/ | ||
@@ -110,0 +110,0 @@ provisionRequestTimeout?: number; |
{ | ||
"name": "@libp2p/auto-tls", | ||
"version": "1.0.0", | ||
"version": "1.0.1-023ea575c", | ||
"description": "Automatically acquire a <peerId>.libp2p.direct TLS certificate", | ||
@@ -50,8 +50,8 @@ "license": "Apache-2.0 OR MIT", | ||
"@chainsafe/is-ip": "^2.0.2", | ||
"@libp2p/crypto": "^5.0.8", | ||
"@libp2p/crypto": "5.0.8-023ea575c", | ||
"@libp2p/http-fetch": "^2.1.0", | ||
"@libp2p/interface": "^2.3.0", | ||
"@libp2p/interface-internal": "^2.2.0", | ||
"@libp2p/keychain": "^5.0.11", | ||
"@libp2p/utils": "^6.3.0", | ||
"@libp2p/interface": "2.3.0-023ea575c", | ||
"@libp2p/interface-internal": "2.2.1-023ea575c", | ||
"@libp2p/keychain": "5.0.11-023ea575c", | ||
"@libp2p/utils": "6.3.0-023ea575c", | ||
"@multiformats/multiaddr": "^12.3.3", | ||
@@ -68,4 +68,4 @@ "@multiformats/multiaddr-matcher": "^1.6.0", | ||
"devDependencies": { | ||
"@libp2p/logger": "^5.1.5", | ||
"@libp2p/peer-id": "^5.0.9", | ||
"@libp2p/logger": "5.1.5-023ea575c", | ||
"@libp2p/peer-id": "5.0.9-023ea575c", | ||
"aegir": "^45.0.5", | ||
@@ -72,0 +72,0 @@ "datastore-core": "^10.0.2", |
@@ -28,3 +28,3 @@ # @libp2p/auto-tls | ||
When a publicly dialable address is detected, use the p2p-forge service at | ||
<https://registration.libp2p.direct> to acquire a valid Let's Encrypted-backed | ||
<https://registration.libp2p.direct> to acquire a valid Let's Encrypt-backed | ||
TLS certificate, which the node can then use with the relevant transports. | ||
@@ -31,0 +31,0 @@ |
@@ -357,4 +357,4 @@ import { ClientAuth } from '@libp2p/http-fetch/auth' | ||
body: JSON.stringify({ | ||
value: keyAuthorization, | ||
addresses | ||
Value: keyAuthorization, | ||
Addresses: addresses | ||
}), | ||
@@ -361,0 +361,0 @@ ...options |
@@ -5,3 +5,3 @@ export const DEFAULT_FORGE_ENDPOINT = 'https://registration.libp2p.direct' | ||
export const DEFAULT_PROVISION_TIMEOUT = 120_000 | ||
export const DEFAULT_PROVISION_REQUEST_TIMEOUT = 10_000 | ||
export const DEFAULT_PROVISION_REQUEST_TIMEOUT = 60_000 | ||
export const DEFAULT_PROVISION_DELAY = 5_000 | ||
@@ -8,0 +8,0 @@ export const DEFAULT_RENEWAL_THRESHOLD = 86_400_000 |
@@ -115,3 +115,3 @@ /** | ||
* | ||
* @default 10_000 | ||
* @default 60_000 | ||
*/ | ||
@@ -118,0 +118,0 @@ provisionRequestTimeout?: number |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
97991
37
1701
1
+ Added@libp2p/crypto@5.0.8-023ea575c(transitive)
+ Added@libp2p/interface@2.3.0-023ea575c(transitive)
+ Added@libp2p/interface-internal@2.2.1-023ea575c(transitive)
+ Added@libp2p/keychain@5.0.11-023ea575c(transitive)
+ Added@libp2p/logger@5.1.5-023ea575c(transitive)
+ Added@libp2p/peer-collections@6.0.13-023ea575c(transitive)
+ Added@libp2p/peer-id@5.0.9-023ea575c(transitive)
+ Added@libp2p/utils@6.3.0-023ea575c(transitive)
- Removed@libp2p/keychain@5.0.12(transitive)