@jazzdev/dpd-local-sdk 1.0.2 → 1.0.4

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
@@ -536,7 +536,7 @@ async function generateLabel(credentials, params) {
536
536
  method: "GET",
537
537
  endpoint,
538
538
  headers: {
539
- Accept: getAcceptHeader(format)
539
+ Accept: getAcceptHeader(format, "zebra-zpl")
540
540
  }
541
541
  });
542
542
  if (!response || typeof response === "object" && !response.data) {
package/dist/index.mjs CHANGED
@@ -448,7 +448,7 @@ async function generateLabel(credentials, params) {
448
448
  method: "GET",
449
449
  endpoint,
450
450
  headers: {
451
- Accept: getAcceptHeader(format)
451
+ Accept: getAcceptHeader(format, "zebra-zpl")
452
452
  }
453
453
  });
454
454
  if (!response || typeof response === "object" && !response.data) {
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.4",
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",