The latest tag on npm, which is what is installed by default with npm install @duckdb/duckdb-wasm, is still 1.30.0 despite two newer stable releases 1.31.0 and 1.32.0. The latest tag should be updated whenever there is a new stable release; there might be a bug in your publish workflow.
This a a continuation of #1994.