*Rename library to better reflect its purpose
This commit is contained in:
parent
23e1644be9
commit
f529597a61
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "@lumeweb/dht-online",
|
||||
"name": "@lumeweb/dht-data",
|
||||
"type": "commonjs",
|
||||
"version": "0.1.0",
|
||||
"main": "dist/index.js",
|
||||
|
|
|
@ -15,7 +15,7 @@ type Bootstrap = {
|
|||
[key: string]: State;
|
||||
};
|
||||
|
||||
export default class DHTOnlineBase extends EventEmitter {
|
||||
export default class DHTDataBase extends EventEmitter {
|
||||
protected swarm: any;
|
||||
private id: Buffer;
|
||||
private bootstrapped: boolean;
|
|
@ -1,9 +1,9 @@
|
|||
import DHTOnlineBase from "./dhtOnlineBase.js";
|
||||
import DHTDataBase from "./DHTDataBase.js";
|
||||
import DHTFlood from "@lumeweb/dht-flood";
|
||||
|
||||
const DISCONNECT_SMOOTH = 500;
|
||||
|
||||
export default class DHTOnline extends DHTOnlineBase {
|
||||
export default class DHTData extends DHTDataBase {
|
||||
private flood: DHTFlood;
|
||||
|
||||
constructor(
|
||||
|
|
Loading…
Reference in New Issue