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

@libp2p/interface

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-665769021

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

{
"name": "@libp2p/interface",
"version": "2.1.3",
"version": "2.2.0-665769021",
"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