SEP-7 & other improvements
christian-rogobete
released this
05 Oct 17:34
·
24 commits
to master
since this release
SEP-7 improvements and refactoring:
signURI
has been deprecated in favor ofaddSignature
- SEP-7 urls can now be parsed via
tryParseSep7Url
- SEP-7 urls can now be validated via
isValidSep7Url
- Signed SEP-7 urls can now be validated via
isValidSep7SignedUrl
checkUIRSchemeIsValid
has been deprecated in favor ofisValidSep7SignedUrl
verify
has been deprecated in favor ofverifySignature
verifySignature
allows you to verify if a given sep-7 url has been signed by a given public key without having to request it from origin_domaingetParameterValue
has been deprecated in favor oftryParseSep7Url
which returns all query parameters- the new function
uriSchemeReplacementsToString
allows you to build a replace parameter value from a list ofUriSchemeReplacement
objects - the new function
uriSchemeReplacementsFromString
takes a Sep-7 URL-decoded 'replace' string param and parses it to a list of
UriSchemeReplacement
objects for easy of use. - see also sep-7 test cases and sep-7 doc
Other improvements:
- http client is now forwarded to EventSource, see: PR#102
- updated toml to ^0.16.0
- minor fixes