chore: clean up the unused wrap method by joeyzhao2018 · Pull Request #682 · DataDog/datadog-lambda-js

What does this PR do?

Remove the unused obsolete wrap method

Motivation

While wrap is exported from src/utils/index.ts, it is NOT re-exported from the main package entry point src/index.ts, therefore it's not part of the public API.

Now the main wrapper is actually the datadog() function in src/index.ts:127. It uses promisifiedHandler directly instead of using the wrap function. It implements its own wrapping logic inline rather than using the wrap utility