LibertyDSNP / eth-sdk-ts

TypeScript SDK for DSNP on Ethereum
Apache License 2.0
9 stars 1 forks source link

Removed put from store interface #96

Closed rosalinekarr closed 3 years ago

rosalinekarr commented 3 years ago

No story for this, just something we've been needing to do that I knocked out in my spare time.

Problem

We didn't know how we'd use the store adapter when we first wrote the interface for it, and now we have redundant put methods, put() and putStream(), where only one is really needed.

Solution

Remove put() from the store interface