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

@libp2p/interface

Package Overview
Dependencies
Maintainers
0
Versions
535
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.1.3 to 2.2.0-0a3406a05

8

dist/src/content-routing/index.d.ts

@@ -1,2 +0,2 @@

import type { RoutingOptions } from '../index.js';
import type { AbortOptions, RoutingOptions } from '../index.js';
import type { PeerInfo } from '../peer-info/index.js';

@@ -45,2 +45,8 @@ import type { CID } from 'multiformats/cid';

/**
* If network peers need to be periodically reminded that the caller can
* provide content corresponding to the passed CID, call this function to no
* longer remind them.
*/
cancelReprovide(key: CID, options?: AbortOptions): Promise<void>;
/**
* Find the providers of the passed CID.

@@ -47,0 +53,0 @@ *

2

package.json
{
"name": "@libp2p/interface",
"version": "2.1.3",
"version": "2.2.0-0a3406a05",
"description": "The interface implemented by a libp2p node",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -1,2 +0,2 @@

import type { RoutingOptions } from '../index.js'
import type { AbortOptions, RoutingOptions } from '../index.js'
import type { PeerInfo } from '../peer-info/index.js'

@@ -49,2 +49,9 @@ import type { CID } from 'multiformats/cid'

/**
* If network peers need to be periodically reminded that the caller can
* provide content corresponding to the passed CID, call this function to no
* longer remind them.
*/
cancelReprovide (key: CID, options?: AbortOptions): Promise<void>
/**
* Find the providers of the passed CID.

@@ -51,0 +58,0 @@ *

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