@jazzdev/dpd-local-sdk 1.0.2 → 1.0.3

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/index.js CHANGED
@@ -539,6 +539,7 @@ async function generateLabel(credentials, params) {
539
539
  Accept: getAcceptHeader(format)
540
540
  }
541
541
  });
542
+ console.log({ endpoint, format, header: getAcceptHeader(format), response });
542
543
  if (!response || typeof response === "object" && !response.data) {
543
544
  return {
544
545
  success: false,
package/dist/index.mjs CHANGED
@@ -451,6 +451,7 @@ async function generateLabel(credentials, params) {
451
451
  Accept: getAcceptHeader(format)
452
452
  }
453
453
  });
454
+ console.log({ endpoint, format, header: getAcceptHeader(format), response });
454
455
  if (!response || typeof response === "object" && !response.data) {
455
456
  return {
456
457
  success: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jazzdev/dpd-local-sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "TypeScript SDK for DPD Local shipping API integration - database-agnostic and framework-independent",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",