src/main.tsx explicitly does import { Buffer } from 'buffer' and polyfills window.Buffer for the Stellar SDK, but buffer does not appear in package.json's dependencies — it's only present in package-lock.json as a transitive dependency (currently pulled in indirectly, likely via @stellar/stellar-sdk).
If that transitive chain ever changes (an SDK upgrade, a lockfile regeneration), the app will fail to build/run with a confusing "module not found" error. Add buffer as an explicit direct dependency to pin this intentional usage.
src/main.tsxexplicitly doesimport { Buffer } from 'buffer'and polyfillswindow.Bufferfor the Stellar SDK, butbufferdoes not appear inpackage.json'sdependencies— it's only present inpackage-lock.jsonas a transitive dependency (currently pulled in indirectly, likely via@stellar/stellar-sdk).If that transitive chain ever changes (an SDK upgrade, a lockfile regeneration), the app will fail to build/run with a confusing "module not found" error. Add
bufferas an explicit direct dependency to pin this intentional usage.