dht-universal
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "dht-universal", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Universal wrapper for @hyperswarm/dht and @hyperswarm/dht-relay working in Node.js and the Browser", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
"dep-check": "aegir dep-check", | ||
"publish": "npm run lint && npm run test && npm publish dist" | ||
"publish": "npm publish dist" | ||
}, | ||
@@ -49,0 +49,0 @@ "dependencies": { |
@@ -63,3 +63,3 @@ /// <reference types="node" /> | ||
*/ | ||
createServer: (() => Server) | ((onconnection?: Server['on']) => Server) | ((options?: ServerOpts, onconnection?: Server['on']) => Server); | ||
createServer: (options?: ServerOpts | ((encryptedSocket: SecretStream) => void), onconnection?: (encryptedSocket: SecretStream) => void) => Server; | ||
/** | ||
@@ -66,0 +66,0 @@ * @param {Uint8Array} remotePublicKey |
Sorry, the diff of this file is not supported yet
11618