Skip to content

v1.7.5

Choose a tag to compare

@WaAPIapp WaAPIapp released this 04 Sep 16:09
· 5 commits to main since this release

Fixes installation in n8n, broken since 1.7.2.

Fixed

  • n8n does not import whatever a node file exports. It derives the export name from the file name — path.parse(sourcePath).name.split('.')[0] — and throws if that exact name is missing. 1.7.2 renamed WaAPI.node.ts to Waapi.node.ts to satisfy a lint rule and left the class called WaAPI, so n8n looked for Waapi and found nothing. Its only message for this is "The specified package could not be loaded", which names neither the class nor the file, and the package loads correctly under plain require.

    The class is now Waapi. description.name stays waapi, so saved workflows are unaffected.

Added

  • The test suite and CI both replicate n8n's derivation and assert the class is there, so a rename cannot quietly break installation again.