chore(deps): update dependency astro to v5.18.1 - abandoned#80
Open
renovate[bot] wants to merge 19 commits intomainfrom
Open
chore(deps): update dependency astro to v5.18.1 - abandoned#80renovate[bot] wants to merge 19 commits intomainfrom
renovate[bot] wants to merge 19 commits intomainfrom
Conversation
- discover() now delegates to diagnoseEndpoint() instead of quote() with a separate 5s timeout — single source of truth for endpoint probing - hasPaymentHeaders → hasValidPaymentHeaders: x-payment must be valid base64 JSON, not just present - buildPaidResult returns "ambiguous" when no probe succeeds AND no valid format is detected (was incorrectly returning "paid") - Add HTTP 5xx patterns (bad gateway, service unavailable, gateway timeout) to transient retry patterns - Fix VERSION drift: sdk exports "0.2.1" matching package.json - Add intent comments to all empty catch blocks (RULES.md compliance) - New toDiscoverStatus() maps DiagnoseResult → DiscoverEntryStatus - 573 tests pass (5 new for toDiscoverStatus)
- DiagnoseInput accepts optional signal, propagated to timedFetch for
real abort support in discover({ signal })
- Remove classifyProbeError and DISCOVER_PROBE_TIMEOUT_MS (dead code
after diagnose unification)
- Add test: invalid x-payment header rejects as free_confirmed
- Add test: 402 without parseable payment options classifies as ambiguous
- Intent comments on remaining empty catch blocks
- classifyHealth: Stellar gets 5s threshold instead of flat 1s; no longer auto-degraded. Prices >$100/request flagged as degraded. - parseWwwAuthenticate: tolerant regex handles spaces around =, unquoted values, and case-insensitive param names - diagnoseEndpoint: manual redirect following with cycle detection (max 5 hops, Set of visited URLs) replaces naive redirect: "follow" - 10 new tests (7 classifyHealth + 3 www-authenticate tolerance)
Parse WWW-Authenticate: Payment challenges (IETF draft) to classify MPP endpoints as "paid" instead of "ambiguous". Extracts method, intent, price, network, and recipient from base64url request payload. Supports multi-method headers (e.g. Browserbase tempo+stripe) and session intents for streaming. No payment execution — detection only.
Anchor hasMppScheme regex to reject Payment inside other schemes, make splitChallenges quote-aware to avoid splitting on Payment in quoted param values, and clone response before tryDetectMpp.
- Add MppMethodQuote interface with method, intent, amount, currency fields - Extend ProtocolQuote with optional allMethods, selectedMethod, priceUnknown - Add MppQuoteError and MppPaymentError in adapter-error.ts - Export new types from core and protocols index
- Install mppx@0.4.7 as exact devDependency - 16 Challenge tests covering full API surface - 8 Credential tests covering full API surface - 8 PaymentRequest tests with transform discovery
- MppMethodSelector: wallet-first + cheapest-first + preference override - buildMppQuote: MppChallenge[] to ProtocolQuote with currency conversion - Static wallet-to-method mapping (nwc->lightning, stripe-mpp->stripe, etc) - 21 new tests covering selection logic and quote building
- Add stripe-mpp, tempo, visa-mpp wallet schemas to WalletSchema - Add mppPreferredMethods optional config field - Existing coinbase/nwc wallets unchanged (backward compatible) - 16 new config validation tests for MPP wallet types
- 12 Method tests: from, toClient, tempo/stripe schemas - 8 Receipt tests: from, serialize, deserialize, fromResponse - 19 Errors tests: all 18 error classes verified - 10 Session tests: schema, challenge, lifecycle payloads - Integration test file with skipped endpoint probes
- Extend ResolvedWallet type to include mpp wallet types - Add explicit nwc guard in createResolvedWallet - Widen DryRunResult wallet type to string for extensibility
- MppAdapter implements ResponseAwareAdapter interface - detect() probes for 402 + WWW-Authenticate: Payment header - quote() parses MPP challenges into ProtocolQuote - quoteFromResponse() extracts quote from existing response - execute() throws MppPaymentError (deferred to Phase 18) - 23 unit tests with mocked fetch covering all behaviors
- MppAdapter added to @boltzpay/protocols barrel export - Full monorepo build passes (core, protocols, sdk, mcp, cli, ai-sdk) - All 1175 tests pass across core, protocols, and sdk
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.18.0→5.18.1Release Notes
withastro/astro (astro)
v5.18.1Compare Source
Patch Changes
c2cd371]:Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled because a matching PR was automerged previously.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.