feat: add boostLevel
prop and support value segmentation
#374
+130
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @zpao, I've been using this lib for some time now and its been great! My most recent project has very specific requirements for the version and ECL which requires the following features to be added:
boostLevel
prop which gets passed intoencodeSegments
(Closes Missing “Boost ECC” flag causing discrepancy with other libraries #356)L
, it gets boosted toM
https://foo.bar.com/ABC/DEF123
will become version 3, but if split like this['https://foo.bar.com', '/ABC/DEF123']
, it will become version 2 since the first segment is Bit and the second is alphanumeric.