@punks/backend-core 0.0.46 → 0.0.47
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 +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -300,8 +300,8 @@ const jsonSerialize = (obj, options) => {
|
|
|
300
300
|
return `<binary data (${value.length} bytes)>`;
|
|
301
301
|
}
|
|
302
302
|
if (typeof value === "object" &&
|
|
303
|
-
value
|
|
304
|
-
Array.isArray(value
|
|
303
|
+
value?.type === "Buffer" &&
|
|
304
|
+
Array.isArray(value?.data)) {
|
|
305
305
|
return `<binary data (${value.data.length} bytes)>`;
|
|
306
306
|
}
|
|
307
307
|
}
|