Source maps in the npm library are referencing the source file which are not included in the npm library. Currently test runs with vitest result in a wall of warnings like this:
Sourcemap for "<project_path>/node_modules/@web-eid/web-eid-library/errors/NativeUnavailableError.js" points to missing source files
For the sourcemaps to work in this form, you need to include the source files in the npm package.