@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.js
CHANGED
|
@@ -5580,7 +5580,6 @@ function buildPacket(hdr, body, sig, flags = 0) {
|
|
|
5580
5580
|
const nonce = hm.get(T.NONCE)?.[0];
|
|
5581
5581
|
const tsMs = asBigint64BE(hm.get(T.TS_MS)?.[0]);
|
|
5582
5582
|
if (!intent) throw new Error("PACKET_MISSING_INTENT");
|
|
5583
|
-
if (!actorId) throw new Error("PACKET_MISSING_ACTOR_ID");
|
|
5584
5583
|
if (!nonce || nonce.length < 16 || nonce.length > 32)
|
|
5585
5584
|
throw new Error("PACKET_BAD_NONCE");
|
|
5586
5585
|
if (!pid) throw new Error("PACKET_MISSING_PID");
|