hldb / welo

peer-to-peer, collaborative states using Merkle-CRDTs
Other
32 stars 2 forks source link

fix: Export address class as value. #83

Closed saul-jb closed 1 year ago

saul-jb commented 1 year ago

This PR simply exports the address class as a value so it can be used to parse strings into addresses. Without it exported I do not see a way to call Welo.fetch.

tabcat commented 1 year ago

Ah right, are you saving the addresses somewhere as strings?

saul-jb commented 1 year ago

Ah right, are you saving the addresses somewhere as strings?

Not so much saving but to transport it to another system as a 'link' to connect to my database.

tabcat commented 1 year ago

Any file can be imported right now because the package.exports field is not used yet. This is still the better option. Plan on using the package.exports field soon.