Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[api] Map React SDK stream fetches to the backend detail contract

Aperta
#1,704 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

@intelliDean ci sta già lavorando.

Dal 21/10/2026.

  • #1718 di @intelliDean — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

api points: 150 sdk Stellar Wave

Labels: api, sdk, points: 150
File/location: packages/flowfi-react/src/hooks/useStream.ts:27

Description:
When rpcUrl is provided, useStream requests a list URL with ?id= rather than /:streamId. The REST list ignores id and returns a collection, which is assigned as a FlowFiStream without mapping its fields.

Acceptance Criteria:

  • Fetch a stream via the documented detail endpoint regardless of whether a Soroban RPC URL is configured; keep REST and RPC configuration separate.
  • Map the real backend response into FlowFiStream, and cover a configured provider, not-found response and switching stream IDs.

Notes:
Source trace: rpcUrl selects ?id= on a list endpoint and JSON is cast without the FlowFiStream mapping.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1475. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

Lingua principale
TypeScript
Stelle
18
Fork
250
Merge medio
5g 23h
PR unite (30g)
72

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LabsCrypt/flowfi

Tutte le issue di LabsCrypt/flowfi

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.