New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More →

@libp2p/auto-tls

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/auto-tls - npm Package Compare versions

Comparing version

to
1.0.4-15a70af5f

@@ -23,2 +23,3 @@ /**

* import { autoTLS } from '@libp2p/auto-tls'
* import { autoNAT } from '@libp2p/autonat'
* import { identify } from '@libp2p/identify'

@@ -46,2 +47,3 @@ * import { keychain } from '@libp2p/keychain'

* services: {
* autoNAT: autoNAT(),
* autoTLS: autoTLS(),

@@ -58,3 +60,3 @@ * identify: identify(),

* // includes public WSS address:
* // [ '/ip4/123.123.123.123/tcp/12345/wss ]
* // [ '/ip4/123.123.123.123/tcp/12345/tls/ws ]
* ```

@@ -61,0 +63,0 @@ */

@@ -23,2 +23,3 @@ /**

* import { autoTLS } from '@libp2p/auto-tls'
* import { autoNAT } from '@libp2p/autonat'
* import { identify } from '@libp2p/identify'

@@ -46,2 +47,3 @@ * import { keychain } from '@libp2p/keychain'

* services: {
* autoNAT: autoNAT(),
* autoTLS: autoTLS(),

@@ -58,3 +60,3 @@ * identify: identify(),

* // includes public WSS address:
* // [ '/ip4/123.123.123.123/tcp/12345/wss ]
* // [ '/ip4/123.123.123.123/tcp/12345/tls/ws ]
* ```

@@ -61,0 +63,0 @@ */

{
"name": "@libp2p/auto-tls",
"version": "1.0.4-06fc82da8",
"version": "1.0.4-15a70af5f",
"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.9-06fc82da8",
"@libp2p/crypto": "5.0.9-15a70af5f",
"@libp2p/http-fetch": "^2.1.0",
"@libp2p/interface": "2.4.0-06fc82da8",
"@libp2p/interface-internal": "2.2.2-06fc82da8",
"@libp2p/keychain": "5.0.12-06fc82da8",
"@libp2p/utils": "6.3.1-06fc82da8",
"@libp2p/interface": "2.4.0-15a70af5f",
"@libp2p/interface-internal": "2.2.2-15a70af5f",
"@libp2p/keychain": "5.0.12-15a70af5f",
"@libp2p/utils": "6.3.1-15a70af5f",
"@multiformats/multiaddr": "^12.3.3",

@@ -68,4 +68,4 @@ "@multiformats/multiaddr-matcher": "^1.6.0",

"devDependencies": {
"@libp2p/logger": "5.1.6-06fc82da8",
"@libp2p/peer-id": "5.0.10-06fc82da8",
"@libp2p/logger": "5.1.6-15a70af5f",
"@libp2p/peer-id": "5.0.10-15a70af5f",
"aegir": "^45.0.5",

@@ -72,0 +72,0 @@ "datastore-core": "^10.0.2",

@@ -46,2 +46,3 @@ # @libp2p/auto-tls

import { autoTLS } from '@libp2p/auto-tls'
import { autoNAT } from '@libp2p/autonat'
import { identify } from '@libp2p/identify'

@@ -69,2 +70,3 @@ import { keychain } from '@libp2p/keychain'

services: {
autoNAT: autoNAT(),
autoTLS: autoTLS(),

@@ -81,3 +83,3 @@ identify: identify(),

// includes public WSS address:
// [ '/ip4/123.123.123.123/tcp/12345/wss ]
// [ '/ip4/123.123.123.123/tcp/12345/tls/ws' ]
```

@@ -84,0 +86,0 @@

@@ -23,2 +23,3 @@ /**

* import { autoTLS } from '@libp2p/auto-tls'
* import { autoNAT } from '@libp2p/autonat'
* import { identify } from '@libp2p/identify'

@@ -46,2 +47,3 @@ * import { keychain } from '@libp2p/keychain'

* services: {
* autoNAT: autoNAT(),
* autoTLS: autoTLS(),

@@ -58,3 +60,3 @@ * identify: identify(),

* // includes public WSS address:
* // [ '/ip4/123.123.123.123/tcp/12345/wss ]
* // [ '/ip4/123.123.123.123/tcp/12345/tls/ws ]
* ```

@@ -61,0 +63,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet