@punks/backend-core 0.0.53 → 0.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -28462,6 +28462,9 @@ class InternalLogger {
28462
28462
  return this.container.instances.filter((x) => x.options.enabled && x.options.level <= level);
28463
28463
  }
28464
28464
  serializeMeta(options, meta) {
28465
+ if (meta && typeof meta === "string") {
28466
+ return meta;
28467
+ }
28465
28468
  const serializedMeta = meta
28466
28469
  ? jsonSerialize(meta, {
28467
28470
  prettify: true,
@@ -28542,7 +28545,7 @@ class ConsoleLogger {
28542
28545
 
28543
28546
  const createHttpTransportOptions = (settings) => ({
28544
28547
  host: `http-intake.logs.${settings.datadog.site}`,
28545
- path: `/api/v2/logs?dd-api-key=${settings.datadog.apiKey}?ddsource=nodejs&service=${settings.service.serviceName}`,
28548
+ path: `/api/v2/logs?dd-api-key=${settings.datadog.apiKey}&ddsource=nodejs&service=${settings.service.serviceName}`,
28546
28549
  ssl: true,
28547
28550
  });
28548
28551
  const createLoggerInstance = (settings) => {