@helia/interface 3.0.1-5a87bbd → 3.0.1-76220cd
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/dist/src/index.d.ts +0 -11
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +0 -13
package/dist/src/index.d.ts
CHANGED
|
@@ -18,7 +18,6 @@ import type { Pins } from './pins.js';
|
|
|
18
18
|
import type { Routing } from './routing.js';
|
|
19
19
|
import type { AbortOptions, ComponentLogger } from '@libp2p/interface';
|
|
20
20
|
import type { Datastore } from 'interface-datastore';
|
|
21
|
-
import type { MultihashHasher } from 'multiformats';
|
|
22
21
|
import type { CID } from 'multiformats/cid';
|
|
23
22
|
import type { ProgressEvent, ProgressOptions } from 'progress-events';
|
|
24
23
|
export type { Await, AwaitIterable } from 'interface-store';
|
|
@@ -47,16 +46,6 @@ export interface Helia {
|
|
|
47
46
|
* content providers, information about peers, etc.
|
|
48
47
|
*/
|
|
49
48
|
routing: Routing;
|
|
50
|
-
/**
|
|
51
|
-
* DAGWalkers are codec-specific implementations that know how to yield all
|
|
52
|
-
* CIDs contained within a block that corresponds to that codec.
|
|
53
|
-
*/
|
|
54
|
-
dagWalkers: Record<number, DAGWalker>;
|
|
55
|
-
/**
|
|
56
|
-
* Hashers can be used to hash a piece of data with the specified hashing
|
|
57
|
-
* algorithm.
|
|
58
|
-
*/
|
|
59
|
-
hashers: Record<number, MultihashHasher>;
|
|
60
49
|
/**
|
|
61
50
|
* Starts the Helia node
|
|
62
51
|
*/
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACzC,OAAO,KAAK,EAAE,IAAI,EAA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,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACvC;AAED,MAAM,MAAM,QAAQ,GAClB,aAAa,CAAC,kBAAkB,EAAE,GAAG,CAAC,GACtC,aAAa,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAA;AAExC,MAAM,WAAW,SAAU,SAAQ,YAAY,EAAE,eAAe,CAAC,QAAQ,CAAC;CAEzE;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG,EAAE,IAAI,EAAE,SAAS,CAAC,CAAA;CACzD;AAED,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA"}
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0EH,cAAc,aAAa,CAAA;AAC3B,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -19,7 +19,6 @@ import type { Pins } from './pins.js'
|
|
|
19
19
|
import type { Routing } from './routing.js'
|
|
20
20
|
import type { AbortOptions, ComponentLogger } from '@libp2p/interface'
|
|
21
21
|
import type { Datastore } from 'interface-datastore'
|
|
22
|
-
import type { MultihashHasher } from 'multiformats'
|
|
23
22
|
import type { CID } from 'multiformats/cid'
|
|
24
23
|
import type { ProgressEvent, ProgressOptions } from 'progress-events'
|
|
25
24
|
|
|
@@ -55,18 +54,6 @@ export interface Helia {
|
|
|
55
54
|
*/
|
|
56
55
|
routing: Routing
|
|
57
56
|
|
|
58
|
-
/**
|
|
59
|
-
* DAGWalkers are codec-specific implementations that know how to yield all
|
|
60
|
-
* CIDs contained within a block that corresponds to that codec.
|
|
61
|
-
*/
|
|
62
|
-
dagWalkers: Record<number, DAGWalker>
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Hashers can be used to hash a piece of data with the specified hashing
|
|
66
|
-
* algorithm.
|
|
67
|
-
*/
|
|
68
|
-
hashers: Record<number, MultihashHasher>
|
|
69
|
-
|
|
70
57
|
/**
|
|
71
58
|
* Starts the Helia node
|
|
72
59
|
*/
|