Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@libp2p/auto-tls

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/auto-tls - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1-023ea575c

4

dist/src/auto-tls.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc