Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add bns v2 client and zonefile request #615

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

alter-eggo
Copy link
Contributor

This pr adds bns v2 client and zonefile request

const network = useLeatherNetwork();
const basePath = whenNetwork(bitcoinNetworkModeToCoreNetworkMode(network.chain.bitcoin.mode))({
mainnet: BNS_V2_API_BASE_URL,
testnet: BNS_V2_API_BASE_URL,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure though if there will be testnet

Copy link

codecov bot commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 7.50000% with 74 lines in your changes missing coverage. Please review.

Project coverage is 23.84%. Comparing base (9b342af) to head (0814345).
Report is 1 commits behind head on dev.

Files with missing lines Patch % Lines
packages/query/src/stacks/bns/bns-v2-client.ts 0.00% 27 Missing ⚠️
packages/query/src/stacks/bns/bns.query.ts 0.00% 19 Missing ⚠️
packages/query/src/stacks/bns/bns.utils.ts 16.66% 15 Missing ⚠️
packages/query/src/stacks/bns/bns.schemas.ts 0.00% 10 Missing ⚠️
packages/query/index.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #615      +/-   ##
==========================================
- Coverage   24.07%   23.84%   -0.24%     
==========================================
  Files         164      165       +1     
  Lines        6085     6148      +63     
  Branches      333      335       +2     
==========================================
+ Hits         1465     1466       +1     
- Misses       4620     4682      +62     
Files with missing lines Coverage Δ
packages/query/src/query-prefixes.ts 100.00% <100.00%> (ø)
packages/query/index.ts 0.00% <0.00%> (ø)
packages/query/src/stacks/bns/bns.schemas.ts 0.00% <0.00%> (ø)
packages/query/src/stacks/bns/bns.utils.ts 41.93% <16.66%> (-6.35%) ⬇️
packages/query/src/stacks/bns/bns.query.ts 0.00% <0.00%> (ø)
packages/query/src/stacks/bns/bns-v2-client.ts 0.00% <0.00%> (ø)
Components Coverage Δ
bitcoin 62.04% <ø> (ø)
query 12.77% <7.50%> (-0.18%) ⬇️
utils 48.31% <ø> (ø)
crypto 68.21% <ø> (ø)
stacks 54.71% <ø> (ø)

@kyranjamie kyranjamie added this pull request to the merge queue Nov 13, 2024
Merged via the queue into dev with commit b4ec0e5 Nov 13, 2024
13 checks passed
@kyranjamie kyranjamie deleted the feat/bns-v2-zonefile branch November 13, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants