maidsafe-archive / safe_app_nodejs

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

feat/XOR-URL: added `getXorUrl` experimental function to the ImmutableData Reader #354

Closed bochaco closed 5 years ago

bochaco commented 5 years ago

Adding getXorUrl experimental function to the ImmutableData Reader which generates the XOR-URL of an already existing and fetched ImmutableData. Up until now you can get ImmD XOR-URL only when storing it on the network, with this you can get it after fetching it with its xorname.

Resolves #353

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.01%) to 96.499% when pulling 9107bbb2336963ba5246426736c8807d60a2502c on bochaco:issue-353-immd-xor-url into 32d7a6efa3c32f31274d72f3e44ef6967ba43898 on maidsafe:master.