dht-universal
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "dht-universal", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Universal wrapper for @hyperswarm/dht and @hyperswarm/dht-relay working in Node.js and the Browser", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -74,2 +74,6 @@ /// <reference types="node" /> | ||
static keyPair: (seed?: Uint8Array) => KeyPair; | ||
/** Return an instance of the DHT after trying to open one of the relay sockets in the browser, and awaits node.ready() */ | ||
static create: (opts: DHTOpts & { | ||
relays?: string[]; | ||
}) => Promise<DHT>; | ||
/** Returns a promise that resolves after the node is bootstrapped */ | ||
@@ -101,6 +105,3 @@ ready(): Promise<void>; | ||
announce: (topic: Uint8Array, keyPair?: KeyPair) => Query; | ||
create: (opts: DHTOpts & { | ||
relays?: string[]; | ||
}) => Promise<DHT>; | ||
} | ||
//# sourceMappingURL=interfaces.d.ts.map |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
26226
263
0