diff --git a/src/dhtOnlineBase.ts b/src/dhtOnlineBase.ts index d759a8f..1782521 100644 --- a/src/dhtOnlineBase.ts +++ b/src/dhtOnlineBase.ts @@ -33,7 +33,7 @@ export default class DHTOnlineBase extends EventEmitter { private _data: {}; get data(): {} { - return this._data; + return { ...this._data }; } set data(value: {}) {