This is a mistake and will be fixed in the next release, thank you for reporting this.
In the meantime, the ESM module is still there, it just does not have the .mjs extension, instead it is nakama-js.esm.js. You should be able to rename this file to .mjs and use it as normal.