diff --git a/lib/utils/ipfs.js b/lib/utils/ipfs.js index 9b75462..f3b1017 100644 --- a/lib/utils/ipfs.js +++ b/lib/utils/ipfs.js @@ -11,6 +11,14 @@ class IPFS { this._config = config; } + get config() { + return this._config; + } + + get peerId() { + return this._ipfsAPI.id(); + } + catAndMerge(data, deserialize) { // if no hash details are found simply return the data; nothing to merge if (!data.hashSize || data.hashSize === 0) {