Add configure(clientSideKey: string, origin: string?) method to DataDome. Calling it with an origin will send a payload as soon as the method is executed.
Change the paradigm of the source code from CommonJS to ES Module
Change the signature of the handler function from callback-based to async/await to be compatible with Node.js runtimes 24.x and newer
Change the download link of the module for https://s3.amazonaws.com/dd-lambda-edge/datadome-lambda-edge-v2-latest.zip until the deprecation of the v1 in April 2027.