WIP: IPFS cleanup #107
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user