camstreamerlib 4.0.37 → 5.0.0-5bbcf7f
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/README.md +21 -2
- package/cjs/CamOverlayAPI.d.ts +223 -208
- package/cjs/CamStreamerAPI.d.ts +330 -311
- package/cjs/CamStreamerAPI.js +1 -1
- package/cjs/CamSwitcherAPI.d.ts +30 -30
- package/cjs/PlaneTrackerAPI.d.ts +101 -41
- package/cjs/VapixAPI.d.ts +31 -17
- package/cjs/VapixAPI.js +1 -1
- package/cjs/internal/versionCompare.d.ts +2 -2
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
- package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
- package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
- package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
- package/cjs/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
- package/cjs/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
- package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
- package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
- package/cjs/types/CamOverlayAPI/pipSchema.d.ts +12 -97
- package/cjs/types/CamOverlayAPI/pipSchema.js +2 -2
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
- package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
- package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
- package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
- package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
- package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
- package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
- package/cjs/types/CamScripterAPI.d.ts +11 -81
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
- package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
- package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
- package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
- package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
- package/cjs/types/CamStreamerAPI/windySchema.d.ts +36 -476
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/cjs/types/CamSwitcherAPI.d.ts +74 -700
- package/cjs/types/GenetecAgent.d.ts +12 -132
- package/cjs/types/MilestoneAgent.d.ts +4 -46
- package/cjs/types/PlaneTrackerAPI.d.ts +265 -1205
- package/cjs/types/PlaneTrackerAPI.js +5 -5
- package/cjs/types/VapixAPI.d.ts +129 -1653
- package/cjs/types/VapixAPI.js +1 -1
- package/cjs/types/common.d.ts +11 -35
- package/cjs/types/common.js +1 -1
- package/cjs/types/ws/CamOverlayEvents.d.ts +9 -69
- package/cjs/types/ws/CamStreamerEvents.d.ts +19 -217
- package/cjs/types/ws/CamSwitcherEvents.d.ts +46 -452
- package/cjs/types/ws/PlaneTrackerEvents.d.ts +361 -3522
- package/cjs/types/ws/PlaneTrackerEvents.js +1 -1
- package/esm/CamStreamerAPI.js +1 -1
- package/esm/VapixAPI.js +1 -1
- package/esm/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
- package/esm/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
- package/esm/types/CamOverlayAPI/pipSchema.js +2 -2
- package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
- package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/esm/types/PlaneTrackerAPI.js +5 -5
- package/esm/types/VapixAPI.js +1 -1
- package/esm/types/common.js +1 -1
- package/esm/types/ws/PlaneTrackerEvents.js +1 -1
- package/package.json +107 -107
- package/types/CamOverlayAPI.d.ts +223 -208
- package/types/CamStreamerAPI.d.ts +330 -311
- package/types/CamSwitcherAPI.d.ts +30 -30
- package/types/PlaneTrackerAPI.d.ts +101 -41
- package/types/VapixAPI.d.ts +31 -17
- package/types/internal/versionCompare.d.ts +2 -2
- package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
- package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
- package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
- package/types/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
- package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
- package/types/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
- package/types/types/CamOverlayAPI/pipSchema.d.ts +12 -97
- package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
- package/types/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
- package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
- package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
- package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
- package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
- package/types/types/CamScripterAPI.d.ts +11 -81
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
- package/types/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
- package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
- package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
- package/types/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
- package/types/types/CamStreamerAPI/windySchema.d.ts +36 -476
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
- package/types/types/CamSwitcherAPI.d.ts +74 -700
- package/types/types/GenetecAgent.d.ts +12 -132
- package/types/types/MilestoneAgent.d.ts +4 -46
- package/types/types/PlaneTrackerAPI.d.ts +265 -1205
- package/types/types/VapixAPI.d.ts +129 -1653
- package/types/types/common.d.ts +11 -35
- package/types/types/ws/CamOverlayEvents.d.ts +9 -69
- package/types/types/ws/CamStreamerEvents.d.ts +19 -217
- package/types/types/ws/CamSwitcherEvents.d.ts +46 -452
- package/types/types/ws/PlaneTrackerEvents.d.ts +361 -3522
package/README.md
CHANGED
|
@@ -52,9 +52,28 @@ npm install camstreamerlib
|
|
|
52
52
|
|
|
53
53
|
<details open>
|
|
54
54
|
|
|
55
|
-
<summary>from version
|
|
55
|
+
<summary>from version 4.\*.\* to 5.\*.\* (latest)</summary>
|
|
56
56
|
|
|
57
|
-
### Breaking changes when moving from version
|
|
57
|
+
### Breaking changes when moving from version 4.\*.\* to 5.\*.\* (latest)
|
|
58
|
+
|
|
59
|
+
<hr/>
|
|
60
|
+
|
|
61
|
+
### Zod Upgraded to v4
|
|
62
|
+
|
|
63
|
+
The library now depends on `zod` v4 (`^4.6.7`) instead of v3 (fixes [GHSA-mrhx-c7xc-m3w5](https://github.com/advisories/GHSA-mrhx-c7xc-m3w5)). All exported schemas are zod v4 schemas.
|
|
64
|
+
|
|
65
|
+
- If your project uses the exported schemas together with its own `zod` (e.g. `z.array(domainIdSchema)`, `schema.extend(...)`, `z.infer<typeof schema>`, form resolvers), upgrade your `zod` to v4 as well. Mixing zod v3 and v4 schemas does not work.
|
|
66
|
+
- Object keys declared as `z.unknown()` / `z.any()` are now required in the inferred types (e.g. `TGuardTour` fields, `postJsonBody` in PlaneTracker events).
|
|
67
|
+
- See the [zod v4 migration guide](https://zod.dev/v4/changelog) for changes in your own schemas.
|
|
68
|
+
|
|
69
|
+
<hr/>
|
|
70
|
+
</details>
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
|
|
74
|
+
<summary>from version 3.\*.\* to 4.\*.\*</summary>
|
|
75
|
+
|
|
76
|
+
### Breaking changes when moving from version 3.\*.\* to 4.\*.\*
|
|
58
77
|
|
|
59
78
|
<hr/>
|
|
60
79
|
|