@libp2p/interface
Advanced tools
Comparing version 2.2.1-f53f65d18 to 2.2.1-f8da60e73
@@ -51,2 +51,12 @@ /** | ||
} | ||
export interface TLSCertificate { | ||
/** | ||
* The private key that corresponds to the certificate in PEM format | ||
*/ | ||
key: string; | ||
/** | ||
* The certificate chain in PEM format | ||
*/ | ||
cert: string; | ||
} | ||
/** | ||
@@ -244,2 +254,11 @@ * Data returned from a successful identify response | ||
/** | ||
* This event notifies listeners that a TLS certificate is available for use | ||
*/ | ||
'certificate:provision': CustomEvent<TLSCertificate>; | ||
/** | ||
* This event notifies listeners that a new TLS certificate is available for | ||
* use. Any previous certificate may no longer be valid. | ||
*/ | ||
'certificate:renew': CustomEvent<TLSCertificate>; | ||
/** | ||
* This event notifies listeners that the node has started | ||
@@ -246,0 +265,0 @@ * |
{ | ||
"name": "@libp2p/interface", | ||
"version": "2.2.1-f53f65d18", | ||
"version": "2.2.1-f8da60e73", | ||
"description": "The interface implemented by a libp2p node", | ||
@@ -51,11 +51,11 @@ "license": "Apache-2.0 OR MIT", | ||
"dependencies": { | ||
"@multiformats/multiaddr": "^12.2.3", | ||
"@multiformats/multiaddr": "^12.3.3", | ||
"it-pushable": "^3.2.3", | ||
"it-stream-types": "^2.0.1", | ||
"multiformats": "^13.1.0", | ||
"progress-events": "^1.0.0", | ||
"it-stream-types": "^2.0.2", | ||
"multiformats": "^13.3.1", | ||
"progress-events": "^1.0.1", | ||
"uint8arraylist": "^2.4.8" | ||
}, | ||
"devDependencies": { | ||
"aegir": "^44.0.1" | ||
"aegir": "^45.0.5" | ||
}, | ||
@@ -62,0 +62,0 @@ "browser": { |
@@ -56,2 +56,14 @@ /** | ||
export interface TLSCertificate { | ||
/** | ||
* The private key that corresponds to the certificate in PEM format | ||
*/ | ||
key: string | ||
/** | ||
* The certificate chain in PEM format | ||
*/ | ||
cert: string | ||
} | ||
/** | ||
@@ -272,2 +284,13 @@ * Data returned from a successful identify response | ||
/** | ||
* This event notifies listeners that a TLS certificate is available for use | ||
*/ | ||
'certificate:provision': CustomEvent<TLSCertificate> | ||
/** | ||
* This event notifies listeners that a new TLS certificate is available for | ||
* use. Any previous certificate may no longer be valid. | ||
*/ | ||
'certificate:renew': CustomEvent<TLSCertificate> | ||
/** | ||
* This event notifies listeners that the node has started | ||
@@ -274,0 +297,0 @@ * |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
303208
0
100
7505
123
+ Added@multiformats/multiaddr@12.3.5(transitive)
+ Added@types/node@22.13.1(transitive)
- Removed@multiformats/multiaddr@12.3.4(transitive)
- Removed@types/node@22.13.0(transitive)
Updatedit-stream-types@^2.0.2
Updatedmultiformats@^13.3.1
Updatedprogress-events@^1.0.1