I just updated from binaryen from version 116.0.0 to 123.0.0. I have not changed any of my source code. I now get this error:
module.getMemorySegmentInfoByIndex is not a function
binaryen's index.d.ts file lists this function as available, so I have no TypeScript errors. But when I log my created module object, I do not see getMemorySegmentInfoByIndex. I do however see getMemorySegmentInfo.