@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/index.mjs
CHANGED
|
@@ -5550,7 +5550,6 @@ function buildPacket(hdr, body, sig, flags = 0) {
|
|
|
5550
5550
|
const nonce = hm.get(T.NONCE)?.[0];
|
|
5551
5551
|
const tsMs = asBigint64BE(hm.get(T.TS_MS)?.[0]);
|
|
5552
5552
|
if (!intent) throw new Error("PACKET_MISSING_INTENT");
|
|
5553
|
-
if (!actorId) throw new Error("PACKET_MISSING_ACTOR_ID");
|
|
5554
5553
|
if (!nonce || nonce.length < 16 || nonce.length > 32)
|
|
5555
5554
|
throw new Error("PACKET_BAD_NONCE");
|
|
5556
5555
|
if (!pid) throw new Error("PACKET_MISSING_PID");
|