@matterbridge/dgram 3.6.0-dev-20260304-ce7cc65 → 3.6.0-dev-20260304-776ca2f

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.
Files changed (2) hide show
  1. package/dist/coap.js +1 -1
  2. package/package.json +2 -2
package/dist/coap.js CHANGED
@@ -202,7 +202,7 @@ export class Coap extends Multicast {
202
202
  messageId,
203
203
  token: token ? Buffer.from(token) : Buffer.alloc(0),
204
204
  options,
205
- payload: payload ? Buffer.from(JSON.stringify(payload)) : undefined,
205
+ payload: payload !== undefined ? Buffer.from(JSON.stringify(payload)) : undefined,
206
206
  };
207
207
  const encodedBuffer = this.encodeCoapMessage(coapMessage);
208
208
  this.send(encodedBuffer, address ?? COAP_MULTICAST_IPV4_ADDRESS, port ?? COAP_MULTICAST_PORT);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/dgram",
3
- "version": "3.6.0-dev-20260304-ce7cc65",
3
+ "version": "3.6.0-dev-20260304-776ca2f",
4
4
  "description": "Matterbridge dgram library",
5
5
  "author": "https://github.com/Luligu",
6
6
  "homepage": "https://matterbridge.io/",
@@ -61,7 +61,7 @@
61
61
  "CHANGELOG.md"
62
62
  ],
63
63
  "dependencies": {
64
- "@matterbridge/jest-utils": "3.6.0-dev-20260304-ce7cc65",
64
+ "@matterbridge/jest-utils": "3.6.0-dev-20260304-776ca2f",
65
65
  "node-ansi-logger": "3.2.0"
66
66
  }
67
67
  }