@helia/interface 5.1.0 → 5.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/src/routing.d.ts +2 -2
- package/dist/src/routing.d.ts.map +1 -1
- package/package.json +9 -9
- package/src/routing.ts +2 -2
- package/LICENSE +0 -4
package/README.md
CHANGED
|
@@ -56,8 +56,8 @@ $ npm i @helia/interface
|
|
|
56
56
|
|
|
57
57
|
Licensed under either of
|
|
58
58
|
|
|
59
|
-
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
|
|
60
|
-
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
|
|
59
|
+
- Apache 2.0, ([LICENSE-APACHE](https://github.com/ipfs/helia/blob/main/packages/interface/LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
|
|
60
|
+
- MIT ([LICENSE-MIT](https://github.com/ipfs/helia/blob/main/packages/interface/LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
|
|
61
61
|
|
|
62
62
|
# Contribute
|
|
63
63
|
|
package/dist/src/routing.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AbortOptions, PeerId, PeerInfo } from '@libp2p/interface';
|
|
1
|
+
import type { AbortOptions, PeerId, PeerInfo, TraceOptions } from '@libp2p/interface';
|
|
2
2
|
import type { CID } from 'multiformats/cid';
|
|
3
3
|
import type { ProgressOptions } from 'progress-events';
|
|
4
4
|
/**
|
|
@@ -7,7 +7,7 @@ import type { ProgressOptions } from 'progress-events';
|
|
|
7
7
|
* local cache that may be used in preference over network calls, for example
|
|
8
8
|
* when a record has a TTL.
|
|
9
9
|
*/
|
|
10
|
-
export interface RoutingOptions extends AbortOptions, ProgressOptions {
|
|
10
|
+
export interface RoutingOptions extends AbortOptions, ProgressOptions, TraceOptions {
|
|
11
11
|
/**
|
|
12
12
|
* Pass `false` to not use the network
|
|
13
13
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/routing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../../src/routing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrF,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,cAAe,SAAQ,YAAY,EAAE,eAAe,EAAE,YAAY;IACjF;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,QAAS,SAAQ,QAAQ;IACxC;;;;;;;;;;;OAWG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB;AAED,MAAM,WAAW,OAAO;IACtB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAE1D;;;;;;;;;;OAUG;IACH,eAAe,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhE;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAA;IAE1E;;;;;;;;;;;;;OAaG;IACH,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEhF;;;;;;;;;;;OAWG;IACH,GAAG,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,CAAC,CAAA;IAEnE;;;;;;;;;OASG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAA;IAErE;;;;;;;;;;;;OAYG;IACH,eAAe,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAA;CACpF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/interface",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"description": "The Helia API",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia/tree/main/packages/interface#readme",
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"build": "aegir build"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@libp2p/interface": "^2.
|
|
75
|
-
"@multiformats/dns": "^1.0.
|
|
76
|
-
"interface-blockstore": "^5.
|
|
77
|
-
"interface-datastore": "^8.
|
|
78
|
-
"interface-store": "^6.0.
|
|
79
|
-
"multiformats": "^13.1
|
|
80
|
-
"progress-events": "^1.0.
|
|
74
|
+
"@libp2p/interface": "^2.2.1",
|
|
75
|
+
"@multiformats/dns": "^1.0.6",
|
|
76
|
+
"interface-blockstore": "^5.3.1",
|
|
77
|
+
"interface-datastore": "^8.3.1",
|
|
78
|
+
"interface-store": "^6.0.2",
|
|
79
|
+
"multiformats": "^13.3.1",
|
|
80
|
+
"progress-events": "^1.0.1"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"aegir": "^45.0.
|
|
83
|
+
"aegir": "^45.0.6"
|
|
84
84
|
},
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/routing.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AbortOptions, PeerId, PeerInfo } from '@libp2p/interface'
|
|
1
|
+
import type { AbortOptions, PeerId, PeerInfo, TraceOptions } from '@libp2p/interface'
|
|
2
2
|
import type { CID } from 'multiformats/cid'
|
|
3
3
|
import type { ProgressOptions } from 'progress-events'
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@ import type { ProgressOptions } from 'progress-events'
|
|
|
8
8
|
* local cache that may be used in preference over network calls, for example
|
|
9
9
|
* when a record has a TTL.
|
|
10
10
|
*/
|
|
11
|
-
export interface RoutingOptions extends AbortOptions, ProgressOptions {
|
|
11
|
+
export interface RoutingOptions extends AbortOptions, ProgressOptions, TraceOptions {
|
|
12
12
|
/**
|
|
13
13
|
* Pass `false` to not use the network
|
|
14
14
|
*
|
package/LICENSE
DELETED