Skip to content

Commit

Permalink
fix: remove extra interface
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jun 7, 2023
1 parent 3344234 commit d577c61
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/helia/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import type { PubSub } from '@libp2p/interface-pubsub'
import type { DualKadDHT } from '@libp2p/kad-dht'
import type { Blockstore } from 'interface-blockstore'
import type { Datastore } from 'interface-datastore'
import type { AbortOptions } from 'interface-store'
import type { Libp2pOptions } from 'libp2p'
import type { CID } from 'multiformats/cid'
import type { MultihashHasher } from 'multiformats/hashes/interface'
Expand All @@ -48,11 +47,6 @@ export interface DAGWalker {
walk: (block: Uint8Array) => AsyncGenerator<CID, void, undefined>
}

export interface Thing {
fetch: (cid: CID, options?: AbortOptions) => Promise<Uint8Array>
notify?: (cid: CID, block: Uint8Array, options?: AbortOptions) => void
}

/**
* Options used to create a Helia node.
*/
Expand Down

0 comments on commit d577c61

Please sign in to comment.