Adding interbtc-types into the lib directly to solve the following issues:
fs.readFile does not work in the browser, ie. breaks our UI, and
importing the definitions from interbtc-types@2.0.1 which exposes it as variable breaks jest / ts-jest
I wasn't able to find a way to get the definitions imported and the tests to not break, so this PR is a compromise until someone smarter than me manages to fix the import / tests-breaking dilemma.
Adding
interbtc-types
into the lib directly to solve the following issues:fs.readFile
does not work in the browser, ie. breaks our UI, andinterbtc-types@2.0.1
which exposes it as variable breaksjest
/ts-jest
I wasn't able to find a way to get the definitions imported and the tests to not break, so this PR is a compromise until someone smarter than me manages to fix the import / tests-breaking dilemma.