Skip to content

chore(deps-dev): bump @types/node from 20.19.39 to 25.6.0#10

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/types/node-25.6.0
Closed

chore(deps-dev): bump @types/node from 20.19.39 to 25.6.0#10
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/types/node-25.6.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Bumps @types/node from 20.19.39 to 25.6.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Apr 13, 2026
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vowena-dashboard Ready Ready Preview, Comment Apr 21, 2026 2:28pm

Request Review

@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github Apr 20, 2026

Dependabot couldn't fetch all your path-based dependencies. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/types/node-25.6.0 branch from c42193f to 576c7e6 Compare April 20, 2026 11:32
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>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/types/node-25.6.0 branch from 576c7e6 to 5a4077f Compare April 21, 2026 14:28
@dependabot @github
Copy link
Copy Markdown
Author

dependabot Bot commented on behalf of github May 11, 2026

Superseded by #29.

@dependabot dependabot Bot closed this May 11, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/types/node-25.6.0 branch May 11, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants