@libp2p/autonat
Advanced tools
Comparing version 0.0.0 to 1.0.0
import type { AutoNATComponents, AutoNATServiceInit } from './index.js'; | ||
import type { Startable } from '@libp2p/interface/startable'; | ||
import type { IncomingStreamData } from '@libp2p/interface-internal/registrar'; | ||
import type { Startable } from '@libp2p/interface'; | ||
import type { IncomingStreamData } from '@libp2p/interface-internal'; | ||
export declare class AutoNATService implements Startable { | ||
@@ -5,0 +5,0 @@ private readonly components; |
@@ -1,3 +0,2 @@ | ||
import { CodeError, ERR_TIMEOUT } from '@libp2p/interface/errors'; | ||
import { setMaxListeners } from '@libp2p/interface/events'; | ||
import { CodeError, ERR_TIMEOUT, setMaxListeners } from '@libp2p/interface'; | ||
import { peerIdFromBytes } from '@libp2p/peer-id'; | ||
@@ -4,0 +3,0 @@ import { createEd25519PeerId } from '@libp2p/peer-id-factory'; |
@@ -21,9 +21,4 @@ /** | ||
*/ | ||
import type { ComponentLogger } from '@libp2p/interface'; | ||
import type { PeerId } from '@libp2p/interface/peer-id'; | ||
import type { PeerRouting } from '@libp2p/interface/peer-routing'; | ||
import type { AddressManager } from '@libp2p/interface-internal/address-manager'; | ||
import type { ConnectionManager } from '@libp2p/interface-internal/connection-manager'; | ||
import type { Registrar } from '@libp2p/interface-internal/registrar'; | ||
import type { TransportManager } from '@libp2p/interface-internal/transport-manager'; | ||
import type { ComponentLogger, PeerId, PeerRouting } from '@libp2p/interface'; | ||
import type { AddressManager, ConnectionManager, Registrar, TransportManager } from '@libp2p/interface-internal'; | ||
export interface AutoNATServiceInit { | ||
@@ -30,0 +25,0 @@ /** |
{ | ||
"name": "@libp2p/autonat", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"description": "Implementation of Autonat Protocol", | ||
"license": "Apache-2.0 OR MIT", | ||
"homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/protocol-autonat#readme", | ||
"homepage": "https://github.com/libp2p/js-libp2p/tree/main/packages/protocol-autonat#readme", | ||
"repository": { | ||
@@ -14,2 +14,6 @@ "type": "git", | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"provenance": true | ||
}, | ||
"type": "module", | ||
@@ -51,5 +55,5 @@ "types": "./dist/src/index.d.ts", | ||
"dependencies": { | ||
"@libp2p/interface": "^0.1.2", | ||
"@libp2p/interface-internal": "^0.1.5", | ||
"@libp2p/peer-id": "^3.0.2", | ||
"@libp2p/interface": "^1.0.0", | ||
"@libp2p/interface-internal": "^0.1.10", | ||
"@libp2p/peer-id": "^4.0.0", | ||
"@multiformats/multiaddr": "^12.1.10", | ||
@@ -66,4 +70,4 @@ "it-first": "^3.0.3", | ||
"devDependencies": { | ||
"@libp2p/logger": "^3.1.0", | ||
"@libp2p/peer-id-factory": "^3.0.4", | ||
"@libp2p/logger": "^4.0.0", | ||
"@libp2p/peer-id-factory": "^3.0.9", | ||
"aegir": "^41.0.2", | ||
@@ -70,0 +74,0 @@ "it-all": "^3.0.3", |
[](http://libp2p.io/) | ||
[](https://discuss.libp2p.io) | ||
[](https://codecov.io/gh/libp2p/js-libp2p) | ||
[](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster) | ||
[](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amain) | ||
@@ -6,0 +6,0 @@ > Implementation of Autonat Protocol |
@@ -1,3 +0,2 @@ | ||
import { CodeError, ERR_TIMEOUT } from '@libp2p/interface/errors' | ||
import { setMaxListeners } from '@libp2p/interface/events' | ||
import { CodeError, ERR_TIMEOUT, setMaxListeners } from '@libp2p/interface' | ||
import { peerIdFromBytes } from '@libp2p/peer-id' | ||
@@ -19,8 +18,4 @@ import { createEd25519PeerId } from '@libp2p/peer-id-factory' | ||
import type { AutoNATComponents, AutoNATServiceInit } from './index.js' | ||
import type { Logger } from '@libp2p/interface' | ||
import type { Connection } from '@libp2p/interface/connection' | ||
import type { PeerId } from '@libp2p/interface/peer-id' | ||
import type { PeerInfo } from '@libp2p/interface/peer-info' | ||
import type { Startable } from '@libp2p/interface/startable' | ||
import type { IncomingStreamData } from '@libp2p/interface-internal/registrar' | ||
import type { Logger, Connection, PeerId, PeerInfo, Startable } from '@libp2p/interface' | ||
import type { IncomingStreamData } from '@libp2p/interface-internal' | ||
@@ -27,0 +22,0 @@ // if more than 3 peers manage to dial us on what we believe to be our external |
@@ -23,9 +23,4 @@ /** | ||
import { AutoNATService } from './autonat.js' | ||
import type { ComponentLogger } from '@libp2p/interface' | ||
import type { PeerId } from '@libp2p/interface/peer-id' | ||
import type { PeerRouting } from '@libp2p/interface/peer-routing' | ||
import type { AddressManager } from '@libp2p/interface-internal/address-manager' | ||
import type { ConnectionManager } from '@libp2p/interface-internal/connection-manager' | ||
import type { Registrar } from '@libp2p/interface-internal/registrar' | ||
import type { TransportManager } from '@libp2p/interface-internal/transport-manager' | ||
import type { ComponentLogger, PeerId, PeerRouting } from '@libp2p/interface' | ||
import type { AddressManager, ConnectionManager, Registrar, TransportManager } from '@libp2p/interface-internal' | ||
@@ -32,0 +27,0 @@ export interface AutoNATServiceInit { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
395136
26
0
2812
+ Added@libp2p/interface@1.7.0(transitive)
+ Added@libp2p/peer-id@4.2.4(transitive)
Updated@libp2p/interface@^1.0.0
Updated@libp2p/peer-id@^4.0.0