coapjs / node-coap

CoAP - Node.js style
MIT License
528 stars 154 forks source link

feat: allow numeric input for Content-Format and Accept options #363

Closed JKRhb closed 1 year ago

JKRhb commented 1 year ago

This PR introduces the possibility of passing numeric Content-Formats as option values to the setHeader method and adjusts the allowed request parameters.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3850969466


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/option_converter.ts 17 19 89.47%
<!-- Total: 17 19 89.47% -->
Totals Coverage Status
Change from base Build 3820725058: -0.1%
Covered Lines: 2854
Relevant Lines: 3069

💛 - Coveralls
coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 3852188808


Totals Coverage Status
Change from base Build 3820725058: 0.05%
Covered Lines: 2866
Relevant Lines: 3077

💛 - Coveralls
Apollon77 commented 1 year ago

All fine, ok for me to merge