ar-io / arns-service

Koa microservice that leverages Warp to support the ArNS Portal and ar.io observers.
https://api.arns.app
GNU Affero General Public License v3.0
19 stars 4 forks source link

fix(regex): remove field regex for contract fields #59

Closed dtfiedler closed 9 months ago

dtfiedler commented 9 months ago

We were using a regex to prevent arbitaray requests creating potential issues in the service. Given the expanding set of fields, and the desire to support ant contracts that may have extended schemas, we can remove this regex in the service. If the field does not exist on the state, a 404 will be returned.