Thanks to visit codestin.com
Credit goes to github.com

Skip to content

REF: bump bitcoinjs and silent-payments#8179

Merged
Overtorment merged 2 commits into
masterfrom
ref-bump-bitcoinjs-and-sp
Nov 23, 2025
Merged

REF: bump bitcoinjs and silent-payments#8179
Overtorment merged 2 commits into
masterfrom
ref-bump-bitcoinjs-and-sp

Conversation

@Overtorment

@Overtorment Overtorment commented Nov 22, 2025

Copy link
Copy Markdown
Member

Note

Upgrades bitcoinjs-lib and related deps, adds a Node.js expo/fetch polyfill used in Jest, and simplifies VtxoManager initialization.

  • Dependencies:
    • Upgrade bitcoinjs-lib to 7.0.0, silent-payments to latest, @arkade-os/boltz-swap to 0.2.9, @arkade-os/sdk to 0.3.7, and typescript to ^5.9.3.
  • Testing/Infra:
    • Map expo/fetch to new Node.js polyfill util/expo-fetch-nodejs.js in jest.config.js.
    • Add util/expo-fetch-nodejs.js providing streaming, AbortController, and header handling.
  • Ark Wallet:
    • Remove thresholdPercentage option when creating VtxoManager in class/wallets/lightning-ark-wallet.ts.

Written by Cursor Bugbot for commit 36a243c. This will update automatically on new commits. Configure here.

@socket-security

socket-security Bot commented Nov 22, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​arkade-os/​sdk@​0.3.5 ⏵ 0.3.775 +110099 +199 +1100
Updatednpm/​@​arkade-os/​boltz-swap@​0.2.8 ⏵ 0.2.9781009999 +1100
Updatednpm/​bitcoinjs-lib@​7.0.0-rc.0 ⏵ 7.0.099 +1100100 +187100

View full report

@GladosBlueWallet

Copy link
Copy Markdown
Collaborator

Wake the fuck up samurai, we have PRs to merge

image

[all PRs for @marcosrdz] https://github.com/BlueWallet/BlueWallet/pulls/review-requested/marcosrdz

Comment thread util/expo-fetch-nodejs.js
if (k) this._map.set(k.toLowerCase(), v);
}
});
} else if (typeof init === 'object' && init !== null) {
Comment thread util/expo-fetch-nodejs.js
function normalizeHeaders(h) {
const out = {};
if (!h) return out;
if (typeof h === 'object' && h !== null) {
Comment thread util/expo-fetch-nodejs.js
} else {
// Fallback: JSON
const jsonBody = JSON.stringify(body);
if (!headers['content-type']) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: Case-sensitive content-type header check fails

The check !headers['content-type'] uses lowercase but normalizeHeaders preserves the original header casing. If a caller provides Content-Type with different casing, the check incorrectly evaluates as false, potentially adding a duplicate header or missing the existing one. This causes inconsistent behavior when JSON bodies are sent with custom header casing.

Fix in Cursor Fix in Web

@Overtorment Overtorment merged commit 839a1a6 into master Nov 23, 2025
15 checks passed
@Overtorment Overtorment deleted the ref-bump-bitcoinjs-and-sp branch November 23, 2025 18:04
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