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

@libp2p/interface

Package Overview
Dependencies
Maintainers
6
Versions
538
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface - npm Package Compare versions

Comparing version 2.2.1-f53f65d18 to 2.2.1-f8da60e73

19

dist/src/index.d.ts

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

12

package.json
{
"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

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