I am using the MorphCast AI SDK with this repository's code, which has been converted to TypeScript. However, I am getting a warning that might not be specific to the React integration. The warning message is as follows:
Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently.
The warnings originate from the ai-sdk.js file.
I have searched for a way to make this change locally, but I could not find one. Could someone please help me resolve this issue?