Use named export instead of default
Changes
This version moves from using a default export for the merge function, to exporting it as a named function. This is to avoid some issues that some native ESM TypeScript projects were facing where it couldn't resolve the types correctly.