@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 +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
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