maidsafe-archive / safe_app_nodejs

BSD 3-Clause "New" or "Revised" License
28 stars 23 forks source link

Allow to get the XOR-URL of an ImmutableData fetched #353

Closed bochaco closed 5 years ago

bochaco commented 5 years ago

Currently it's only possible to generate the XOR-UR of an immutable data only when it's being written to the network, more precisely when invoking the close function of the ImmDWritter. It should be possible and usefull to also be able to get the XOR-URL from an ImmDReader instance. This should be of course be allowed only when the experimental API flag is set.