← Developer Forum

Price Feeds·help question

@pythnetwork/pyth-sui-js node:buffer issue

Open on dev-forum →Back to forum

node:bufferdoes not work well in browser environment. e.g. though next.js will polyfill it, the polyfilled version does not have readUint8 but readUInt8 (they differ in the case) and user will get readUint8 is not a function when calling updatePriceFeed.buffer from npm is more recommended then node:buffer

Showing the original post only. Read the full thread on dev-forum.pyth.network ↗

Replies: 2
Views: 259
Likes: 0
Posted: 11/28/2025

Source: https://dev-forum.pyth.network/t/pythnetwork-pyth-sui-js-node-buffer-issue/478 · external id 478