UNPKG

@test-org122/hypernet-core

Version:

Hypernet Core. Represents the SDK for running the Hypernet Protocol.

13 lines (11 loc) 426 B
import { ResultAsync } from "@interfaces/objects"; import { VectorError } from "@interfaces/objects/errors"; import { IBrowserNode } from "./IBrowserNode"; /** * IBrowserNodeProvider exists only to centralize the supply of * the Vector browser node. It wraps a global object, and simplifies * testing of it. */ export interface IBrowserNodeProvider { getBrowserNode(): ResultAsync<IBrowserNode, VectorError | Error>; }