All notable changes to dgii-rnc-validator
will be documented in this file.
- Add validation for empty or non-numeric RNC input string. (Thanks to @elminson for the contribution) #Hotfix
- Updating the Status enum by validating all possible Status types from the API. I matched these values by comparing them from the DGII data file shared with all the existing RNC.
- Fixing the getNumbersFromString from the Utils helper function to correctly return all numbers from the given string.
- Using Enum returns over direct values in the rncType function on the DgiiRncValidator library.
- Adding the toCode method to the Types enum.
- Removing the unnecessary fromText method from the Types enum.
- Improving return text from the toString method from the Types enum.
- Adding helper method on the Types enum.
- Fixing namespaces.
- New Feature: RNC Type.
- Initial release.