Epicor Rest Helper for Node (npm) V2.0

Version 1.2.3
feat: Enhance EpicorRestService with error handling and new environment retrieval

  • Updated EpicorRestService methods (BoGet, BoPost, BoPatch, BoDelete, BaqGet, BaqPatch, EfxPost) to return typed responses or EpicorError instances.

  • Added GetEnvironment method to retrieve environment details.

  • Introduced EpicorError class for structured error handling.

  • Created EpicorEnvironment interface to define environment structure.

  • Updated TypeScript definitions and JavaScript implementations accordingly.

Most signficant update here is the introduction of Error class and specific async / await handling within the implementation (for error checking)

Also we added GetEnvironment() which returns a Typed EpicorEnvironment object

See Read Me for all details:

6 Likes