@nextera.one/axis-server-sdk 2.3.19 → 2.3.20
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/sensors/index.js +0 -1
- package/dist/sensors/index.js.map +1 -1
- package/dist/sensors/index.mjs +0 -1
- package/dist/sensors/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/sensors/index.mjs
CHANGED
|
@@ -5654,7 +5654,6 @@ function buildPacket(hdr, body, sig, flags = 0) {
|
|
|
5654
5654
|
const nonce = hm.get(T.NONCE)?.[0];
|
|
5655
5655
|
const tsMs = asBigint64BE(hm.get(T.TS_MS)?.[0]);
|
|
5656
5656
|
if (!intent) throw new Error("PACKET_MISSING_INTENT");
|
|
5657
|
-
if (!actorId) throw new Error("PACKET_MISSING_ACTOR_ID");
|
|
5658
5657
|
if (!nonce || nonce.length < 16 || nonce.length > 32)
|
|
5659
5658
|
throw new Error("PACKET_BAD_NONCE");
|
|
5660
5659
|
if (!pid) throw new Error("PACKET_MISSING_PID");
|