@libp2p/interface
Advanced tools
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81591
300879
124
7435
1
34
71
0
312