I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Despite TS types stating that jsonPath field in JsonParameter is optional, the runtime error is thrown every time jsonPath is not passed in.
This essentially prohibits creating requests of any patter that looks like this
/{bigmap}/keys?key.nat={tokenId}&value.gt=0
Value filter for creating this request should have jsonPath: undefined or not passed in at all.
Summary Despite TS types stating that
jsonPath
field inJsonParameter
is optional, the runtime error is thrown every timejsonPath
is not passed in.This essentially prohibits creating requests of any patter that looks like this
/{bigmap}/keys?key.nat={tokenId}&value.gt=0
Value filter for creating this request should havejsonPath: undefined
or not passed in at all.