chore(deps-dev): bump @types/node from 20.19.39 to 25.6.0#10
Closed
dependabot[bot] wants to merge 1 commit into
Closed
chore(deps-dev): bump @types/node from 20.19.39 to 25.6.0#10dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Author
|
Dependabot couldn't fetch all your path-based dependencies. Because of this, Dependabot cannot update this pull request. |
c42193f to
576c7e6
Compare
sshdopey
added a commit
that referenced
this pull request
Apr 20, 2026
The trustline error (#13) is now followed by an insufficient-balance error (#10) once users opt in to USDC but have zero balance. Same UX pattern as the trustline fix: 1. Detect the chain error - subscribe handler now matches both 'resulting balance is not within the allowed range' and 'Error(Contract, #10)' patterns - Sets needsFunding flag instead of showing the raw chain trace 2. Inline 'Insufficient USDC balance' panel - Replaces the generic error with a clear explanation - 'Get 1000 test USDC' button calls /api/faucet 3. /api/faucet route - POST { address } returns { hash, amount, asset } - Validates address with StrKey.isValidEd25519PublicKey - Verifies destination has TUSDC trustline (better error if not) - Sends 1000 TUSDC payment from issuer (classic Stellar payment, no SAC mint call needed since it's a wrapped classic asset) - Requires VOWENA_ISSUER_SECRET env var server-side; returns 503 with a clear message if not configured 4. Success state - After funding, shows green 'Sent 1000 TUSDC. Try Subscribe again.' and re-enables the Subscribe button Setup for the dashboard env (local): export VOWENA_ISSUER_SECRET=$(stellar keys secret issuer) For Vercel: add VOWENA_ISSUER_SECRET as an environment variable in the project settings.
sshdopey
added a commit
that referenced
this pull request
Apr 21, 2026
The user kept seeing 'Plan not found Simulation failed: HostError: Error(Contract, #6)...' style multi-paragraph chain errors in the UI. Centralized this so every catch site emits a clean, one-line, human message instead. New file lib/chain-errors.ts: - VOWENA_ERRORS map: every contract error code (1-13 from protocol/src/errors.rs) gets a friendly message #6 PlanNotFound -> 'Plan not found. The link may be outdated or the plan was deleted.' #9 Unauthorized -> 'You're not authorized to do that.' #10 AmountExceedsCeiling -> 'The new amount exceeds the plan's price ceiling.' etc. - PATTERN_MAP: keyword detection for token contract + Stellar core errors 'trustline entry is missing' -> trustline panel hint 'resulting balance is not within the allowed range' -> balance hint 'account not found' -> activate-wallet hint 'tx_bad_seq', 'op_underfunded', timeout, network errors, etc. - formatChainError(err, fallback?): the single entry point. Tries Vowena error code first, then pattern map, then takes the first short sentence, finally falls back to a generic. - Disambiguates Vowena #10 (AmountExceedsCeiling) vs token #10 (insufficient balance) via surrounding context. - Helper predicates: isTrustlineMissing, isInsufficientBalance, isAccountNotFound (lets call sites swap to inline fix panels). Sweep across the dashboard: - Checkout page (plan-load, subscribe, activate, fund, trustline) — all replaced - Plans tab create flow - Create project modal - Subscribers tab cancel flow Wrong plan ID now shows 'Plan not found. The link may be outdated or the plan was deleted.' instead of the chain stack trace.
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.19.39 to 25.6.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 25.6.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
576c7e6 to
5a4077f
Compare
Author
|
Superseded by #29. |
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.
Bumps @types/node from 20.19.39 to 25.6.0.
Commits