ssbc / ssb-uri2

Utilities for recognizing and converting SSB URIs
GNU Lesser General Public License v3.0
10 stars 3 forks source link

Only allow passing in correct input to from* #19

Closed Powersource closed 1 year ago

Powersource commented 1 year ago

Fixes https://github.com/ssbc/ssb-uri2/issues/18

Slightly weird to return null but that was the pattern that was already used for to*

Powersource commented 1 year ago

@staltz @mixmix

staltz commented 1 year ago

Slightly weird to return null but that was the pattern that was already used for to*

Yeah, that's a good call.

staltz commented 1 year ago

Thanks! Released 2.4.1