interbtc-api
interbtc-api copied to clipboard
interBTC TypeScript SDK
Investigate how much effort it takes to add tests for code snippets in our readmes to be tested using this library: https://github.com/bbc/typescript-docs-verifier The goal is to be able to fail...
We want the returned errors from the API to be easier to parse than just having a (hard-coded) string. It would also be more useful if the error itself could...
1) Move ATOMIC_UNIT constant to [monetary](https://github.com/interlay/monetary) See PR comment: [https://github.com/interlay/interbtc-api/pull/435#pullrequestreview-1049359039](https://github.com/interlay/interbtc-api/pull/435#pullrequestreview-1049359039) 2) Recreate `atomicToBaseAmount()` in monetary See PR comment: [https://github.com/interlay/interbtc-api/pull/435#pullrequestreview-1049295459](https://github.com/interlay/interbtc-api/pull/435#pullrequestreview-1049295459) 3) Recreate static method `newMonetaryAmount()` (in `src/util/currency.ts`) in monetary-js 4) Mark...
A recent change has been made to this function to return a rejected promise if globalStake is 0 (see https://github.com/interlay/interbtc-api/pull/414/) We still want an additional unit test for the rejection...
`OracleApi.getOnlineTimeout()` currently returns a `number` which can lead to errors for particularly big values - which can be set in test environments to avoid oracle values from timing out. Change...
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.3. Release notes Sourced from typescript's releases. TypeScript 5.5.3 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Bumps [typedoc](https://github.com/TypeStrong/TypeDoc) from 0.25.13 to 0.26.3. Release notes Sourced from typedoc's releases. v0.26.3 Features "On This Page" navigation now includes the page groups in collapsible sections, #2616. Bug Fixes mailto:...
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 1.0.1 to 1.0.2. Release notes Sourced from actions/add-to-project's releases. v1.0.2 What's Changed build(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in actions/add-to-project#583 build(deps-dev): bump @types/node from...
Bumps [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) from 5.2.0 to 6.1.6. Changelog Sourced from bitcoinjs-lib's changelog. 6.1.6 fixed Fix sighash treatment when signing taproot script sign scripts using Psbt (#2104) Fix error for invalid scripts...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 7.18.0 to 8.5.0. Release notes Sourced from @typescript-eslint/eslint-plugin's releases. v8.5.0 8.5.0 (2024-09-09) 🚀 Features eslint-plugin: [no-duplicate-type-constituents] prevent unnecessary | undefined for optional parameters (#9479) eslint-plugin: [no-unsafe-argument] differentiate...