blockades / scuttle-dark-crystal

API for validating, building, publishing and reading Dark Crystal records
http://darkcrystal.pw
MIT License
42 stars 2 forks source link

Replies have shard version #38

Closed ameba23 closed 5 years ago

ameba23 commented 5 years ago

Our recover.async.reply method now gives invite-reply messages an additional property shardVersion which is the version of the included shard.

This is done without modification to scuttle-invite and is not a breaking change.

Since the orginal version of scuttle-dark-crystal did not have this behaviour, if invite-reply messages do not have this property, the shard version is assumed to be '1.0.0'.

ameba23 commented 5 years ago

This will need updating once we merge changes to the recombine method.

m4gpi commented 5 years ago

Nice work :ok_hand: