leather-io / mono

Leather monorepo
https://leather.io
MIT License
12 stars 5 forks source link

refactor(rpc): migrate `signPsbt` methods #658

Open kyranjamie opened 5 days ago

kyranjamie commented 5 days ago

This PR migrates over all the methods used in the extension for signPsbt. Everything we had in here was from Btckit and some properties had since changed.

codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 29.41%. Comparing base (d61f889) to head (cf371af).

Files with missing lines Patch % Lines
packages/utils/src/index.ts 25.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #658 +/- ## ========================================== - Coverage 29.41% 29.41% -0.01% ========================================== Files 175 175 Lines 6836 6840 +4 Branches 457 457 ========================================== + Hits 2011 2012 +1 - Misses 4825 4828 +3 ``` | [Files with missing lines](https://app.codecov.io/gh/leather-io/mono/pull/658?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | Coverage Δ | | |---|---|---| | [packages/utils/src/index.ts](https://app.codecov.io/gh/leather-io/mono/pull/658?src=pr&el=tree&filepath=packages%2Futils%2Fsrc%2Findex.ts&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io#diff-cGFja2FnZXMvdXRpbHMvc3JjL2luZGV4LnRz) | `31.21% <25.00%> (-0.17%)` | :arrow_down: | | [Components](https://app.codecov.io/gh/leather-io/mono/pull/658/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | Coverage Δ | | |---|---|---| | [bitcoin](https://app.codecov.io/gh/leather-io/mono/pull/658/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | `71.25% <ø> (ø)` | | | [query](https://app.codecov.io/gh/leather-io/mono/pull/658/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | `12.65% <ø> (ø)` | | | [utils](https://app.codecov.io/gh/leather-io/mono/pull/658/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | `49.00% <25.00%> (-0.20%)` | :arrow_down: | | [crypto](https://app.codecov.io/gh/leather-io/mono/pull/658/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | `68.21% <ø> (ø)` | | | [stacks](https://app.codecov.io/gh/leather-io/mono/pull/658/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=leather-io) | `72.38% <ø> (ø)` | |