@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.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5476,7 +5476,6 @@ function buildPacket(hdr, body, sig, flags = 0) {
|
|
|
5476
5476
|
const nonce = hm.get(T.NONCE)?.[0];
|
|
5477
5477
|
const tsMs = asBigint64BE(hm.get(T.TS_MS)?.[0]);
|
|
5478
5478
|
if (!intent) throw new Error("PACKET_MISSING_INTENT");
|
|
5479
|
-
if (!actorId) throw new Error("PACKET_MISSING_ACTOR_ID");
|
|
5480
5479
|
if (!nonce || nonce.length < 16 || nonce.length > 32)
|
|
5481
5480
|
throw new Error("PACKET_BAD_NONCE");
|
|
5482
5481
|
if (!pid) throw new Error("PACKET_MISSING_PID");
|