bitcoin-sv / ts-sdk

Other
51 stars 12 forks source link

Tone feat req99 #100

Closed tonesnotes closed 4 months ago

tonesnotes commented 4 months ago

Description of Changes

ARC.ts ARC broadcaster was not extracting error details into description property, status into code property in all cases.

ARC.test.ts updated to test broadcast error 460 property extraction.

Linked Issues / Tickets

Closes Feature Request #99

Testing Procedure

New test 'handles error 460' initially called live ARC service to obtain actual error response data format. This was then captured as a static test with the live format hard wired.

Checklist:

tonesnotes commented 4 months ago

Added optional more property as originally requested by @ty-everett to forward unparsed response.data object from underlying (ARC) broadcast service provider.

rob-tkn commented 4 months ago

Thanks for the quick turnaround.