cmawhorter / urn-lib

Parse, validate, and format urn:, arn:, or your own custom scheme.
MIT License
4 stars 1 forks source link

passing protocol to build() should be ignored #8

Open cmawhorter opened 3 years ago

cmawhorter commented 3 years ago

currently, calling urn = create('something'); urn.build({ protocol: 'else' }) works but nothing can be done with the result. format ignores the changed protocol.

build should be updated to also ignore protocol to bring it inline with everything else.