hyperdeck-connection 2.0.1 → 3.1.0
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/CHANGELOG.md +106 -83
- package/README.md +11 -16
- package/dist/asyncHandlers/configuration.d.ts +4 -4
- package/dist/asyncHandlers/configuration.d.ts.map +1 -1
- package/dist/asyncHandlers/configuration.js +8 -14
- package/dist/asyncHandlers/configuration.js.map +1 -1
- package/dist/asyncHandlers/displayTimecode.d.ts +4 -4
- package/dist/asyncHandlers/displayTimecode.d.ts.map +1 -1
- package/dist/asyncHandlers/displayTimecode.js +4 -10
- package/dist/asyncHandlers/displayTimecode.js.map +1 -1
- package/dist/asyncHandlers/iHandler.d.ts +3 -3
- package/dist/asyncHandlers/iHandler.d.ts.map +1 -1
- package/dist/asyncHandlers/iHandler.js +1 -2
- package/dist/asyncHandlers/iHandler.js.map +1 -1
- package/dist/asyncHandlers/index.d.ts +8 -7
- package/dist/asyncHandlers/index.d.ts.map +1 -1
- package/dist/asyncHandlers/index.js +8 -10
- package/dist/asyncHandlers/index.js.map +1 -1
- package/dist/asyncHandlers/playrange.d.ts +10 -0
- package/dist/asyncHandlers/playrange.d.ts.map +1 -0
- package/dist/asyncHandlers/playrange.js +13 -0
- package/dist/asyncHandlers/playrange.js.map +1 -0
- package/dist/asyncHandlers/remoteInfo.d.ts +4 -4
- package/dist/asyncHandlers/remoteInfo.d.ts.map +1 -1
- package/dist/asyncHandlers/remoteInfo.js +6 -12
- package/dist/asyncHandlers/remoteInfo.js.map +1 -1
- package/dist/asyncHandlers/slotInfo.d.ts +4 -4
- package/dist/asyncHandlers/slotInfo.d.ts.map +1 -1
- package/dist/asyncHandlers/slotInfo.js +7 -12
- package/dist/asyncHandlers/slotInfo.js.map +1 -1
- package/dist/asyncHandlers/timelinePosition.d.ts +4 -4
- package/dist/asyncHandlers/timelinePosition.d.ts.map +1 -1
- package/dist/asyncHandlers/timelinePosition.js +4 -10
- package/dist/asyncHandlers/timelinePosition.js.map +1 -1
- package/dist/asyncHandlers/transportInfo.d.ts +4 -4
- package/dist/asyncHandlers/transportInfo.d.ts.map +1 -1
- package/dist/asyncHandlers/transportInfo.js +14 -19
- package/dist/asyncHandlers/transportInfo.js.map +1 -1
- package/dist/codes.d.ts +3 -2
- package/dist/codes.d.ts.map +1 -1
- package/dist/codes.js +11 -13
- package/dist/codes.js.map +1 -1
- package/dist/commands/abstractCommand.d.ts +2 -2
- package/dist/commands/abstractCommand.d.ts.map +1 -1
- package/dist/commands/abstractCommand.js +4 -12
- package/dist/commands/abstractCommand.js.map +1 -1
- package/dist/commands/cacheInfo.d.ts +3 -3
- package/dist/commands/cacheInfo.d.ts.map +1 -1
- package/dist/commands/cacheInfo.js +4 -11
- package/dist/commands/cacheInfo.js.map +1 -1
- package/dist/commands/clips.d.ts +5 -5
- package/dist/commands/clips.d.ts.map +1 -1
- package/dist/commands/clips.js +15 -18
- package/dist/commands/clips.js.map +1 -1
- package/dist/commands/configuration.d.ts +5 -5
- package/dist/commands/configuration.d.ts.map +1 -1
- package/dist/commands/configuration.js +17 -15
- package/dist/commands/configuration.js.map +1 -1
- package/dist/commands/connect.js +1 -2
- package/dist/commands/deviceInfo.d.ts +3 -3
- package/dist/commands/deviceInfo.d.ts.map +1 -1
- package/dist/commands/deviceInfo.js +4 -11
- package/dist/commands/deviceInfo.js.map +1 -1
- package/dist/commands/diskList.d.ts +3 -3
- package/dist/commands/diskList.d.ts.map +1 -1
- package/dist/commands/diskList.js +5 -8
- package/dist/commands/diskList.js.map +1 -1
- package/dist/commands/dynamicRange.d.ts +4 -4
- package/dist/commands/dynamicRange.d.ts.map +1 -1
- package/dist/commands/dynamicRange.js +7 -13
- package/dist/commands/dynamicRange.js.map +1 -1
- package/dist/commands/format.d.ts +4 -4
- package/dist/commands/format.d.ts.map +1 -1
- package/dist/commands/format.js +10 -13
- package/dist/commands/format.js.map +1 -1
- package/dist/commands/goTo.d.ts +2 -2
- package/dist/commands/goTo.d.ts.map +1 -1
- package/dist/commands/goTo.js +6 -6
- package/dist/commands/goTo.js.map +1 -1
- package/dist/commands/identify.d.ts +2 -2
- package/dist/commands/identify.d.ts.map +1 -1
- package/dist/commands/identify.js +3 -6
- package/dist/commands/identify.js.map +1 -1
- package/dist/commands/index.d.ts +25 -25
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/index.js +25 -30
- package/dist/commands/index.js.map +1 -1
- package/dist/commands/internal.d.ts +4 -4
- package/dist/commands/internal.d.ts.map +1 -1
- package/dist/commands/internal.js +8 -17
- package/dist/commands/internal.js.map +1 -1
- package/dist/commands/jog.d.ts +2 -2
- package/dist/commands/jog.d.ts.map +1 -1
- package/dist/commands/jog.js +3 -6
- package/dist/commands/jog.js.map +1 -1
- package/dist/commands/notify.d.ts +3 -3
- package/dist/commands/notify.d.ts.map +1 -1
- package/dist/commands/notify.js +27 -24
- package/dist/commands/notify.js.map +1 -1
- package/dist/commands/play.d.ts +2 -2
- package/dist/commands/play.d.ts.map +1 -1
- package/dist/commands/play.js +5 -6
- package/dist/commands/play.js.map +1 -1
- package/dist/commands/playOnStartup.d.ts +3 -3
- package/dist/commands/playOnStartup.d.ts.map +1 -1
- package/dist/commands/playOnStartup.js +7 -13
- package/dist/commands/playOnStartup.js.map +1 -1
- package/dist/commands/playOption.d.ts +3 -3
- package/dist/commands/playOption.d.ts.map +1 -1
- package/dist/commands/playOption.js +6 -13
- package/dist/commands/playOption.js.map +1 -1
- package/dist/commands/playrange.d.ts +3 -3
- package/dist/commands/playrange.d.ts.map +1 -1
- package/dist/commands/playrange.js +12 -15
- package/dist/commands/playrange.js.map +1 -1
- package/dist/commands/preview.d.ts +2 -2
- package/dist/commands/preview.d.ts.map +1 -1
- package/dist/commands/preview.js +3 -6
- package/dist/commands/preview.js.map +1 -1
- package/dist/commands/record.d.ts +2 -2
- package/dist/commands/record.d.ts.map +1 -1
- package/dist/commands/record.js +6 -8
- package/dist/commands/record.js.map +1 -1
- package/dist/commands/remote.d.ts +3 -3
- package/dist/commands/remote.d.ts.map +1 -1
- package/dist/commands/remote.js +9 -16
- package/dist/commands/remote.js.map +1 -1
- package/dist/commands/shuttle.d.ts +2 -2
- package/dist/commands/shuttle.d.ts.map +1 -1
- package/dist/commands/shuttle.js +4 -7
- package/dist/commands/shuttle.js.map +1 -1
- package/dist/commands/slotInfo.d.ts +4 -4
- package/dist/commands/slotInfo.d.ts.map +1 -1
- package/dist/commands/slotInfo.js +6 -8
- package/dist/commands/slotInfo.js.map +1 -1
- package/dist/commands/slotSelect.d.ts +3 -3
- package/dist/commands/slotSelect.d.ts.map +1 -1
- package/dist/commands/slotSelect.js +7 -8
- package/dist/commands/slotSelect.js.map +1 -1
- package/dist/commands/stop.d.ts +2 -2
- package/dist/commands/stop.d.ts.map +1 -1
- package/dist/commands/stop.js +2 -6
- package/dist/commands/stop.js.map +1 -1
- package/dist/commands/transportInfo.d.ts +4 -4
- package/dist/commands/transportInfo.d.ts.map +1 -1
- package/dist/commands/transportInfo.js +12 -18
- package/dist/commands/transportInfo.js.map +1 -1
- package/dist/enums.js +10 -13
- package/dist/enums.js.map +1 -1
- package/dist/events.d.ts +7 -2
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -2
- package/dist/events.js.map +1 -1
- package/dist/hyperdeck.d.ts +3 -3
- package/dist/hyperdeck.d.ts.map +1 -1
- package/dist/hyperdeck.js +40 -37
- package/dist/hyperdeck.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -9
- package/dist/index.js.map +1 -1
- package/dist/message.d.ts +1 -1
- package/dist/message.d.ts.map +1 -1
- package/dist/message.js +1 -2
- package/dist/parser.d.ts +1 -1
- package/dist/parser.d.ts.map +1 -1
- package/dist/parser.js +8 -11
- package/dist/parser.js.map +1 -1
- package/dist/util.d.ts +1 -1
- package/dist/util.d.ts.map +1 -1
- package/dist/util.js +5 -13
- package/dist/util.js.map +1 -1
- package/package.json +44 -44
package/CHANGELOG.md
CHANGED
|
@@ -1,38 +1,61 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file. See [
|
|
3
|
+
All notable changes to this project will be documented in this file. See [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#specification) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## [
|
|
5
|
+
## [3.1.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v3.0.0...v3.1.0) (Wed Jul 08 2026)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* support notify.playrange [3bfe159](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/3bfe15929862b524776d8f823ec12c29a03a6b66)
|
|
11
|
+
|
|
12
|
+
## [3.0.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v2.0.1...v3.0.0) (Sat Jun 20 2026)
|
|
13
|
+
|
|
14
|
+
## Breaking changes
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* **!** esm [1d20142](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/1d20142f97d1d9535c57be9d4e11f6550194ef9f)
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* esm [c0dfd63](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/c0dfd635c5f70ab172ba8487f05f36f2b43f4081)
|
|
23
|
+
|
|
24
|
+
### Fixes
|
|
25
|
+
|
|
26
|
+
* ShuttleCommand ignoring 0 speed [93ddd03](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/93ddd03821157876f77b50394b6765cf65c31735)
|
|
27
|
+
|
|
28
|
+
## [2.0.1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v2.0.0...v2.0.1) (Mon Mar 11 2024)
|
|
6
29
|
|
|
7
30
|
### Fixes
|
|
8
31
|
|
|
9
|
-
- don't return videoFormat: null for async transport updates (#32) [de59cab](https://github.com/
|
|
32
|
+
- don't return videoFormat: null for async transport updates (#32) [de59cab](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/de59cabc523590e145cb9936b36653e774f3208b)
|
|
10
33
|
|
|
11
|
-
## [2.0.0](https://github.com/
|
|
34
|
+
## [2.0.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v1.0.0...v2.0.0) (Mon Jan 29 2024)
|
|
12
35
|
|
|
13
36
|
## Breaking changes
|
|
14
37
|
|
|
15
38
|
### Features
|
|
16
39
|
|
|
17
|
-
- **!** remove incorrect SlotId enum [930702d](https://github.com/
|
|
40
|
+
- **!** remove incorrect SlotId enum [930702d](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/930702daac61b9bb59509d138dde49f36e63bc9b)
|
|
18
41
|
|
|
19
42
|
### Fixes
|
|
20
43
|
|
|
21
|
-
- don't reject without an error [c8d9d31](https://github.com/
|
|
22
|
-
- parse slotId correctly in notify.transport messages #12 [07905d7](https://github.com/
|
|
23
|
-
- account for how fractional frame rates are expressed in the timecode [e6f77be](https://github.com/
|
|
24
|
-
- account for how drop-frame content is expressed in the timecode [90858ff](https://github.com/
|
|
25
|
-
- interlaced frame counting [9455421](https://github.com/
|
|
26
|
-
- parse all clip info from the "disk list" command into separate fields [8d2dcb9](https://github.com/
|
|
44
|
+
- don't reject without an error [c8d9d31](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/c8d9d31b4d99b526cdea3974cbd97e6b285464ed)
|
|
45
|
+
- parse slotId correctly in notify.transport messages #12 [07905d7](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/07905d7507a4586b8b57f2cb712506006b25755f)
|
|
46
|
+
- account for how fractional frame rates are expressed in the timecode [e6f77be](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e6f77be12aa327113501bc46604789329f0868c2)
|
|
47
|
+
- account for how drop-frame content is expressed in the timecode [90858ff](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/90858fff7118ea3968a58f65904f239efc1336f6)
|
|
48
|
+
- interlaced frame counting [9455421](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/9455421772b37c22c31342d335be6116ba17bf90)
|
|
49
|
+
- parse all clip info from the "disk list" command into separate fields [8d2dcb9](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/8d2dcb93e71c9aa1fba278bd1914ff03dcf941d6)
|
|
27
50
|
|
|
28
51
|
### Features
|
|
29
52
|
|
|
30
|
-
- add missing video formats [eae2185](https://github.com/
|
|
31
|
-
- add inputVideoFormat to TransportInfoState [af392d0](https://github.com/
|
|
32
|
-
- make event types be strongly defined [93e7573](https://github.com/
|
|
33
|
-
- make `sendCommand` response Promise be typed [fb7a34b](https://github.com/
|
|
53
|
+
- add missing video formats [eae2185](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/eae2185fdf4d8b4321ee2f3cd588f36762b69b25)
|
|
54
|
+
- add inputVideoFormat to TransportInfoState [af392d0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/af392d0ce409a7efcc9f75cd25e47d8386e39156)
|
|
55
|
+
- make event types be strongly defined [93e7573](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/93e7573062b2f82d9235c1b58c5cb896178060af)
|
|
56
|
+
- make `sendCommand` response Promise be typed [fb7a34b](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/fb7a34bda966022b96b6f2c382aae850a4a0ec9a)
|
|
34
57
|
|
|
35
|
-
## [1.0.0](https://github.com/
|
|
58
|
+
## [1.0.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.5.0...v1.0.0) (2022-11-21)
|
|
36
59
|
|
|
37
60
|
### Breaking Changes
|
|
38
61
|
|
|
@@ -40,9 +63,9 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
40
63
|
|
|
41
64
|
### Features
|
|
42
65
|
|
|
43
|
-
- **!** remove node 12 support [65fa9ee](https://github.com/
|
|
66
|
+
- **!** remove node 12 support [65fa9ee](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/65fa9ee766e5856be3bbcd366d0a1d7fd7ed4ffe)
|
|
44
67
|
|
|
45
|
-
## [0.5.0](https://github.com/
|
|
68
|
+
## [0.5.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.4...0.5.0) (2022-04-29)
|
|
46
69
|
|
|
47
70
|
### ⚠ BREAKING CHANGES
|
|
48
71
|
|
|
@@ -50,130 +73,130 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
50
73
|
|
|
51
74
|
### Features
|
|
52
75
|
|
|
53
|
-
- add clips count command [publish] ([6d15db3](https://github.com/
|
|
54
|
-
- configuration async handler [publish] ([e12dfc4](https://github.com/
|
|
55
|
-
- update for protocol v1.11 (firmware V7) ([b25eae5](https://github.com/
|
|
56
|
-
- update for protocol v1.11 (firmware V7) ([680b3ea](https://github.com/
|
|
76
|
+
- add clips count command [publish] ([6d15db3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6d15db3b44e2bb03f976295d8c1b840cf8372def))
|
|
77
|
+
- configuration async handler [publish] ([e12dfc4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e12dfc4e0ccbc50d77bd164d84cadf5204efa4ed))
|
|
78
|
+
- update for protocol v1.11 (firmware V7) ([b25eae5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b25eae50a5031565a2497d66078ab043a0eb0903))
|
|
79
|
+
- update for protocol v1.11 (firmware V7) ([680b3ea](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/680b3ea1f1eb5ffb42a403a6e1123273b87a1a93))
|
|
57
80
|
|
|
58
81
|
### Bug Fixes
|
|
59
82
|
|
|
60
|
-
- 508 transport info may use active slot for slot id ([a3a5ce5](https://github.com/
|
|
61
|
-
- add 3g formats ([b4c9a37](https://github.com/
|
|
62
|
-
- always destroy the socket at the end of disconnect() ([87348bf](https://github.com/
|
|
63
|
-
- always use destroy instead of end ([212192a](https://github.com/
|
|
64
|
-
- avoid emitting errors after disconnect has been called ([43c7769](https://github.com/
|
|
65
|
-
- build errors after formatting ([6bd24a2](https://github.com/
|
|
66
|
-
- missing export for config async handler ([dbd6697](https://github.com/
|
|
67
|
-
- missing response code ([2601917](https://github.com/
|
|
68
|
-
- suppress errors when connection is inactive ([b7e540d](https://github.com/
|
|
69
|
-
- throw error for missing promise ([5edd810](https://github.com/
|
|
70
|
-
- Updated URLs to match the renamed repo ([6644ac8](https://github.com/
|
|
71
|
-
- Updated URLs to match the renamed repo ([046c9b0](https://github.com/
|
|
83
|
+
- 508 transport info may use active slot for slot id ([a3a5ce5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/a3a5ce519a009ea8f6a6c5dd6b5c1cbb7f0a43f2))
|
|
84
|
+
- add 3g formats ([b4c9a37](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b4c9a37e200e603d51d70948da17da615c10395d))
|
|
85
|
+
- always destroy the socket at the end of disconnect() ([87348bf](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/87348bf3f60fd03558d5a5b8509735883e0d54af))
|
|
86
|
+
- always use destroy instead of end ([212192a](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/212192adde21169510e2774b4cb31580eb972909))
|
|
87
|
+
- avoid emitting errors after disconnect has been called ([43c7769](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/43c77693c64aa9cd58afca8b51aae14af9a5984a))
|
|
88
|
+
- build errors after formatting ([6bd24a2](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6bd24a20ec40f924d31510266766eb242e675f36))
|
|
89
|
+
- missing export for config async handler ([dbd6697](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/dbd6697f1eadd2bd998e7ac2a52bc92778f26de2))
|
|
90
|
+
- missing response code ([2601917](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/26019176991d3fe00db3335d71e43dcdf1f9a825))
|
|
91
|
+
- suppress errors when connection is inactive ([b7e540d](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b7e540d8da2bd435a3af93f2c686b0cd4d62634a))
|
|
92
|
+
- throw error for missing promise ([5edd810](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/5edd810f71b633027177c705f5f288adf4b2c647))
|
|
93
|
+
- Updated URLs to match the renamed repo ([6644ac8](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6644ac859adc2423e0daaf2019d05faabc5ecf2a))
|
|
94
|
+
- Updated URLs to match the renamed repo ([046c9b0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/046c9b0efdec00d237adb615c3b12be4a77f8881))
|
|
72
95
|
|
|
73
|
-
- drop node10 support + switch to github actions ([1e9ffb3](https://github.com/
|
|
96
|
+
- drop node10 support + switch to github actions ([1e9ffb3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/1e9ffb386b3d868229f48a1589a81be4a12aa6a3))
|
|
74
97
|
|
|
75
|
-
### [0.4.4](https://github.com/
|
|
98
|
+
### [0.4.4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.3...0.4.4) (2020-10-29)
|
|
76
99
|
|
|
77
100
|
### Features
|
|
78
101
|
|
|
79
|
-
- **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/
|
|
80
|
-
- **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/
|
|
102
|
+
- **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/37b48a4bac0b315ea074a3463cf33a9fbbc2fdc1))
|
|
103
|
+
- **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/37b48a4bac0b315ea074a3463cf33a9fbbc2fdc1))
|
|
81
104
|
|
|
82
|
-
### [0.4.3](https://github.com/
|
|
105
|
+
### [0.4.3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.2...0.4.3) (2020-01-10)
|
|
83
106
|
|
|
84
|
-
### [0.4.2](https://github.com/
|
|
107
|
+
### [0.4.2](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.1...0.4.2) (2019-12-23)
|
|
85
108
|
|
|
86
109
|
### Bug Fixes
|
|
87
110
|
|
|
88
|
-
- FormatCommand response has a colon on newer firmware versions ([5aa9071](https://github.com/
|
|
111
|
+
- FormatCommand response has a colon on newer firmware versions ([5aa9071](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/5aa9071fafb6493e7e664743dc680499a9d2d205))
|
|
89
112
|
|
|
90
|
-
### [0.4.1](https://github.com/
|
|
113
|
+
### [0.4.1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.0...0.4.1) (2019-12-11)
|
|
91
114
|
|
|
92
115
|
### Features
|
|
93
116
|
|
|
94
|
-
- update ci to run for node 8,10,12 ([9ae081a](https://github.com/
|
|
117
|
+
- update ci to run for node 8,10,12 ([9ae081a](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/9ae081a906129447b9bbc3f5a6556a27fe068c3b))
|
|
95
118
|
|
|
96
119
|
### Bug Fixes
|
|
97
120
|
|
|
98
|
-
- goTo command ([aa40de8](https://github.com/
|
|
121
|
+
- goTo command ([aa40de8](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/aa40de8bd9dbbc82cf0d1a8404df0fe9f9063f5d))
|
|
99
122
|
|
|
100
123
|
<a name="0.4.0"></a>
|
|
101
124
|
|
|
102
|
-
# [0.4.0](https://github.com/
|
|
125
|
+
# [0.4.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.3.0...0.4.0) (2019-10-08)
|
|
103
126
|
|
|
104
127
|
### Bug Fixes
|
|
105
128
|
|
|
106
|
-
- Configuration Command ([ab5bf19](https://github.com/
|
|
107
|
-
- Device Info carries slot count and not unique id ([0a8a09e](https://github.com/
|
|
108
|
-
- export shuttle command ([ed33dc5](https://github.com/
|
|
129
|
+
- Configuration Command ([ab5bf19](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ab5bf19))
|
|
130
|
+
- Device Info carries slot count and not unique id ([0a8a09e](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/0a8a09e))
|
|
131
|
+
- export shuttle command ([ed33dc5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ed33dc5))
|
|
109
132
|
|
|
110
133
|
### Features
|
|
111
134
|
|
|
112
|
-
- configuration command ([e7c47d4](https://github.com/
|
|
113
|
-
- goto command ([bc05045](https://github.com/
|
|
114
|
-
- jog command ([cbcd0cf](https://github.com/
|
|
115
|
-
- play command ([14bb340](https://github.com/
|
|
116
|
-
- remote command ([7d8b254](https://github.com/
|
|
117
|
-
- shuttle command ([b412641](https://github.com/
|
|
135
|
+
- configuration command ([e7c47d4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e7c47d4))
|
|
136
|
+
- goto command ([bc05045](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/bc05045))
|
|
137
|
+
- jog command ([cbcd0cf](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/cbcd0cf))
|
|
138
|
+
- play command ([14bb340](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/14bb340))
|
|
139
|
+
- remote command ([7d8b254](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/7d8b254))
|
|
140
|
+
- shuttle command ([b412641](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b412641))
|
|
118
141
|
|
|
119
142
|
<a name="0.3.0"></a>
|
|
120
143
|
|
|
121
|
-
# [0.3.0](https://github.com/
|
|
144
|
+
# [0.3.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.2.0...0.3.0) (2019-09-02)
|
|
122
145
|
|
|
123
146
|
### Features
|
|
124
147
|
|
|
125
|
-
- quit command before closing connection ([ece4982](https://github.com/
|
|
148
|
+
- quit command before closing connection ([ece4982](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ece4982))
|
|
126
149
|
|
|
127
150
|
<a name="0.2.0"></a>
|
|
128
151
|
|
|
129
|
-
# [0.2.0](https://github.com/
|
|
152
|
+
# [0.2.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.5...0.2.0) (2019-08-06)
|
|
130
153
|
|
|
131
154
|
### Features
|
|
132
155
|
|
|
133
|
-
- **SlotInfo:** add optional slot id ([a73084b](https://github.com/
|
|
134
|
-
- disk formatting commands ([6fd124c](https://github.com/
|
|
135
|
-
- slot select command ([c70c509](https://github.com/
|
|
156
|
+
- **SlotInfo:** add optional slot id ([a73084b](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/a73084b))
|
|
157
|
+
- disk formatting commands ([6fd124c](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6fd124c))
|
|
158
|
+
- slot select command ([c70c509](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/c70c509))
|
|
136
159
|
|
|
137
160
|
<a name="0.1.5"></a>
|
|
138
161
|
|
|
139
|
-
## [0.1.5](https://github.com/
|
|
162
|
+
## [0.1.5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.4...0.1.5) (2019-04-25)
|
|
140
163
|
|
|
141
164
|
### Bug Fixes
|
|
142
165
|
|
|
143
|
-
- ping timeouts should trigger reconnect ([1e4a810](https://github.com/
|
|
166
|
+
- ping timeouts should trigger reconnect ([1e4a810](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/1e4a810))
|
|
144
167
|
|
|
145
168
|
<a name="0.1.4"></a>
|
|
146
169
|
|
|
147
|
-
## [0.1.4](https://github.com/
|
|
170
|
+
## [0.1.4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.3...0.1.4) (2019-03-04)
|
|
148
171
|
|
|
149
172
|
### Bug Fixes
|
|
150
173
|
|
|
151
|
-
- audit fix for vulnerabilities ([a739543](https://github.com/
|
|
152
|
-
- remove cpx dependencey. Not used, causes errors ([8b3c5e5](https://github.com/
|
|
174
|
+
- audit fix for vulnerabilities ([a739543](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/a739543))
|
|
175
|
+
- remove cpx dependencey. Not used, causes errors ([8b3c5e5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/8b3c5e5))
|
|
153
176
|
|
|
154
177
|
<a name="0.1.3"></a>
|
|
155
178
|
|
|
156
|
-
## [0.1.3](https://github.com/
|
|
179
|
+
## [0.1.3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.2...0.1.3) (2019-01-25)
|
|
157
180
|
|
|
158
181
|
### Bug Fixes
|
|
159
182
|
|
|
160
|
-
- reconnect logic on close event rather than end ([2688ac1](https://github.com/
|
|
183
|
+
- reconnect logic on close event rather than end ([2688ac1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/2688ac1))
|
|
161
184
|
|
|
162
185
|
<a name="0.1.2"></a>
|
|
163
186
|
|
|
164
|
-
## [0.1.2](https://github.com/
|
|
187
|
+
## [0.1.2](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.1...0.1.2) (2018-10-18)
|
|
165
188
|
|
|
166
189
|
### Bug Fixes
|
|
167
190
|
|
|
168
|
-
- Reconnection not working properly ([6a40896](https://github.com/
|
|
191
|
+
- Reconnection not working properly ([6a40896](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6a40896))
|
|
169
192
|
|
|
170
193
|
<a name="0.1.1"></a>
|
|
171
194
|
|
|
172
|
-
## [0.1.1](https://github.com/
|
|
195
|
+
## [0.1.1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.0...0.1.1) (2018-10-18)
|
|
173
196
|
|
|
174
197
|
### Bug Fixes
|
|
175
198
|
|
|
176
|
-
- no change, just to trigger deploy ([4755900](https://github.com/
|
|
199
|
+
- no change, just to trigger deploy ([4755900](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/4755900))
|
|
177
200
|
|
|
178
201
|
<a name="0.1.0"></a>
|
|
179
202
|
|
|
@@ -181,18 +204,18 @@ All notable changes to this project will be documented in this file. See [Conven
|
|
|
181
204
|
|
|
182
205
|
### Bug Fixes
|
|
183
206
|
|
|
184
|
-
- some typos. Adds some tests for hyperdeck class ([01b4634](https://github.com/
|
|
185
|
-
- Tidying and fixes for integrating with tsr ([58b7d94](https://github.com/
|
|
186
|
-
- transport info changes properties are nowoptional ([83815ab](https://github.com/
|
|
207
|
+
- some typos. Adds some tests for hyperdeck class ([01b4634](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/01b4634))
|
|
208
|
+
- Tidying and fixes for integrating with tsr ([58b7d94](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/58b7d94))
|
|
209
|
+
- transport info changes properties are nowoptional ([83815ab](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/83815ab))
|
|
187
210
|
|
|
188
211
|
### Features
|
|
189
212
|
|
|
190
|
-
- Add some more simple commands and refactor deserialization ([ec6e4b1](https://github.com/
|
|
191
|
-
- connection retry logic. test for ping timeout ([b1f395d](https://github.com/
|
|
192
|
-
- Initial working connection ([e5e264c](https://github.com/
|
|
193
|
-
- Parse transport info and async transport changes ([2bfbd1e](https://github.com/
|
|
194
|
-
- refactor the async handlers to be chosen more dynamically ([0605108](https://github.com/
|
|
195
|
-
- Remove promise from command, and create it when command is queued instead ([6577549](https://github.com/
|
|
196
|
-
- send pings to detect timeouts ([7d4dd3f](https://github.com/
|
|
197
|
-
- slot info command ([af7c0ce](https://github.com/
|
|
198
|
-
- Tidy up remaining todos ([7cea4ad](https://github.com/
|
|
213
|
+
- Add some more simple commands and refactor deserialization ([ec6e4b1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ec6e4b1))
|
|
214
|
+
- connection retry logic. test for ping timeout ([b1f395d](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b1f395d))
|
|
215
|
+
- Initial working connection ([e5e264c](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e5e264c))
|
|
216
|
+
- Parse transport info and async transport changes ([2bfbd1e](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/2bfbd1e))
|
|
217
|
+
- refactor the async handlers to be chosen more dynamically ([0605108](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/0605108))
|
|
218
|
+
- Remove promise from command, and create it when command is queued instead ([6577549](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6577549))
|
|
219
|
+
- send pings to detect timeouts ([7d4dd3f](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/7d4dd3f))
|
|
220
|
+
- slot info command ([af7c0ce](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/af7c0ce))
|
|
221
|
+
- Tidy up remaining todos ([7cea4ad](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/7cea4ad))
|
package/README.md
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
# Sofie HyperDeck Connection Library
|
|
2
|
-
[](https://circleci.com/gh/nrkno/sofie-hyperdeck-connection)
|
|
3
|
-
[](https://codecov.io/gh/nrkno/sofie-hyperdeck-connection)
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
[](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/actions/workflows/node.yaml)
|
|
4
|
+
[](https://codecov.io/gh/Sofie-Automation/sofie-hyperdeck-connection/)
|
|
5
|
+
[](https://www.npmjs.com/package/hyperdeck-connection)
|
|
6
6
|
|
|
7
|
+
This is the _HyperDeck Connection_ library of the [**Sofie** TV Automation System](https://github.com/Sofie-Automation/Sofie-TV-automation/), used for connecting to Blackmagic Design's _HyperDeck_ devices.
|
|
7
8
|
|
|
8
9
|
## General Sofie System Information
|
|
9
|
-
* [_Sofie_ Documentation](https://nrkno.github.io/sofie-core/)
|
|
10
|
-
* [_Sofie_ Releases](https://nrkno.github.io/sofie-core/releases)
|
|
11
|
-
* [Contribution Guidelines](CONTRIBUTING.md)
|
|
12
|
-
* [License](LICENSE)
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
- [_Sofie_ Documentation](https://Sofie-Automation.github.io/sofie-core/)
|
|
12
|
+
- [_Sofie_ Releases](https://Sofie-Automation.github.io/sofie-core/releases)
|
|
13
|
+
- [Contribution Guidelines](CONTRIBUTING.md)
|
|
14
|
+
- [License](LICENSE)
|
|
17
15
|
|
|
18
|
-
|
|
19
|
-
- Yarn
|
|
20
|
-
- Jeststandard-version
|
|
21
|
-
- codecov
|
|
16
|
+
---
|
|
22
17
|
|
|
23
18
|
## Installation
|
|
24
19
|
|
|
@@ -31,7 +26,7 @@ yarn add hyperdeck-connection
|
|
|
31
26
|
For library developers installation steps are as following:
|
|
32
27
|
|
|
33
28
|
```sh
|
|
34
|
-
git clone https://github.com/
|
|
29
|
+
git clone https://github.com/Sofie-Automation/sofie-hyperdeck-connection
|
|
35
30
|
yarn
|
|
36
31
|
yarn build
|
|
37
32
|
```
|
|
@@ -41,7 +36,7 @@ If you want to make a contribution, feel free to open a PR.
|
|
|
41
36
|
## Usage
|
|
42
37
|
|
|
43
38
|
```javascript
|
|
44
|
-
|
|
39
|
+
import { Hyperdeck, Commands } from 'hyperdeck-connection'
|
|
45
40
|
const myHyperdeck = new Hyperdeck()
|
|
46
41
|
|
|
47
42
|
myHyperdeck.connect('192.168.168.100')
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ResponseMessage } from '../message';
|
|
2
|
-
import { IHandler } from './iHandler';
|
|
3
|
-
import { AsynchronousCode } from '../codes';
|
|
4
|
-
import { ConfigurationChangeResponse } from '../events';
|
|
1
|
+
import type { ResponseMessage } from '../message.js';
|
|
2
|
+
import type { IHandler } from './iHandler.js';
|
|
3
|
+
import { AsynchronousCode } from '../codes.js';
|
|
4
|
+
import type { ConfigurationChangeResponse } from '../events.js';
|
|
5
5
|
export declare class ConfigurationChange implements IHandler<'notify.configuration'> {
|
|
6
6
|
responseCode: AsynchronousCode;
|
|
7
7
|
eventName: "notify.configuration";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"configuration.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,cAAc,CAAA;AAE/D,qBAAa,mBAAoB,YAAW,QAAQ,CAAC,sBAAsB,CAAC;IAC3E,YAAY,mBAAiC;IAC7C,SAAS,EAAG,sBAAsB,CAAS;IAE3C,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,2BAA2B;CAkB9D"}
|
|
@@ -1,30 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class ConfigurationChange {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.responseCode = codes_1.AsynchronousCode.Configuration;
|
|
8
|
-
this.eventName = 'notify.configuration';
|
|
9
|
-
}
|
|
1
|
+
import { AsynchronousCode } from '../codes.js';
|
|
2
|
+
export class ConfigurationChange {
|
|
3
|
+
responseCode = AsynchronousCode.Configuration;
|
|
4
|
+
eventName = 'notify.configuration';
|
|
10
5
|
deserialize(msg) {
|
|
11
6
|
const res = {
|
|
12
7
|
audioInput: msg.params['audio input'],
|
|
13
|
-
videoInput: msg.params['video input'],
|
|
14
|
-
fileFormat: msg.params['file format'],
|
|
8
|
+
videoInput: msg.params['video input'], // as ConfigurationChangeResponse['videoInput'],
|
|
9
|
+
fileFormat: msg.params['file format'], // as ConfigurationChangeResponse['fileFormat'],
|
|
15
10
|
// v1.11 optional props:
|
|
16
11
|
audioCodec: msg.params['audio codec'],
|
|
17
12
|
timecodeInput: msg.params['timecode input'],
|
|
18
|
-
timecodePreset: msg.params['timecode preset'],
|
|
13
|
+
timecodePreset: msg.params['timecode preset'], // as ConfigurationChangeResponse['timecodePreset'],
|
|
19
14
|
audioInputChannels: msg.params['audio input channels']
|
|
20
15
|
? parseInt(msg.params['audio input channels'])
|
|
21
16
|
: undefined,
|
|
22
17
|
recordTrigger: msg.params['record trigger'],
|
|
23
|
-
recordPrefix: msg.params['record prefix'],
|
|
18
|
+
recordPrefix: msg.params['record prefix'], // as ConfigurationChangeResponse['recordPrefix'],
|
|
24
19
|
appendTimestamp: msg.params['append timestamp'] ? msg.params['append timestamp'] === 'true' : undefined,
|
|
25
20
|
};
|
|
26
21
|
return res;
|
|
27
22
|
}
|
|
28
23
|
}
|
|
29
|
-
exports.ConfigurationChange = ConfigurationChange;
|
|
30
24
|
//# sourceMappingURL=configuration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/asyncHandlers/configuration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../src/asyncHandlers/configuration.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAG9C,MAAM,OAAO,mBAAmB;IAC/B,YAAY,GAAG,gBAAgB,CAAC,aAAa,CAAA;IAC7C,SAAS,GAAG,sBAA+B,CAAA;IAE3C,WAAW,CAAC,GAAoB;QAC/B,MAAM,GAAG,GAAgC;YACxC,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,CAA8C;YAClF,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,gDAAgD;YACvF,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,gDAAgD;YACvF,wBAAwB;YACxB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,CAA8C;YAClF,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAiD;YAC3F,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,oDAAoD;YACnG,kBAAkB,EAAE,GAAG,CAAC,MAAM,CAAC,sBAAsB,CAAC;gBACrD,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAAC;gBAC9C,CAAC,CAAC,SAAS;YACZ,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAiD;YAC3F,YAAY,EAAE,GAAG,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE,kDAAkD;YAC7F,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,SAAS;SACvG,CAAA;QACD,OAAO,GAAG,CAAA;IACX,CAAC;CACD"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ResponseMessage } from '../message';
|
|
2
|
-
import { IHandler } from './iHandler';
|
|
3
|
-
import { AsynchronousCode } from '../codes';
|
|
4
|
-
import { DisplayTimecodeChangeResponse } from '../events';
|
|
1
|
+
import type { ResponseMessage } from '../message.js';
|
|
2
|
+
import type { IHandler } from './iHandler.js';
|
|
3
|
+
import { AsynchronousCode } from '../codes.js';
|
|
4
|
+
import type { DisplayTimecodeChangeResponse } from '../events.js';
|
|
5
5
|
export declare class DisplayTimecodeChange implements IHandler<'notify.displayTimecode'> {
|
|
6
6
|
responseCode: AsynchronousCode;
|
|
7
7
|
eventName: "notify.displayTimecode";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"displayTimecode.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/displayTimecode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"displayTimecode.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/displayTimecode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAEjE,qBAAa,qBAAsB,YAAW,QAAQ,CAAC,wBAAwB,CAAC;IAC/E,YAAY,mBAAmC;IAC/C,SAAS,EAAG,wBAAwB,CAAS;IAE7C,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,6BAA6B;CAMhE"}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class DisplayTimecodeChange {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.responseCode = codes_1.AsynchronousCode.DisplayTimecode;
|
|
8
|
-
this.eventName = 'notify.displayTimecode';
|
|
9
|
-
}
|
|
1
|
+
import { AsynchronousCode } from '../codes.js';
|
|
2
|
+
export class DisplayTimecodeChange {
|
|
3
|
+
responseCode = AsynchronousCode.DisplayTimecode;
|
|
4
|
+
eventName = 'notify.displayTimecode';
|
|
10
5
|
deserialize(msg) {
|
|
11
6
|
const res = {
|
|
12
7
|
displayTimecode: msg.params['display timecode'],
|
|
@@ -14,5 +9,4 @@ class DisplayTimecodeChange {
|
|
|
14
9
|
return res;
|
|
15
10
|
}
|
|
16
11
|
}
|
|
17
|
-
exports.DisplayTimecodeChange = DisplayTimecodeChange;
|
|
18
12
|
//# sourceMappingURL=displayTimecode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"displayTimecode.js","sourceRoot":"","sources":["../../src/asyncHandlers/displayTimecode.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"displayTimecode.js","sourceRoot":"","sources":["../../src/asyncHandlers/displayTimecode.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAG9C,MAAM,OAAO,qBAAqB;IACjC,YAAY,GAAG,gBAAgB,CAAC,eAAe,CAAA;IAC/C,SAAS,GAAG,wBAAiC,CAAA;IAE7C,WAAW,CAAC,GAAoB;QAC/B,MAAM,GAAG,GAAkC;YAC1C,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,kBAAkB,CAAC;SAC/C,CAAA;QACD,OAAO,GAAG,CAAA;IACX,CAAC;CACD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { HyperdeckAsyncEvents } from '../events';
|
|
2
|
-
import { AsynchronousCode } from '../codes';
|
|
3
|
-
import { ResponseMessage } from '../message';
|
|
1
|
+
import type { HyperdeckAsyncEvents } from '../events.js';
|
|
2
|
+
import { AsynchronousCode } from '../codes.js';
|
|
3
|
+
import type { ResponseMessage } from '../message.js';
|
|
4
4
|
export interface IHandler<TEvent extends keyof HyperdeckAsyncEvents> {
|
|
5
5
|
responseCode: AsynchronousCode;
|
|
6
6
|
eventName: TEvent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iHandler.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/iHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"iHandler.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/iHandler.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAA;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,MAAM,WAAW,QAAQ,CAAC,MAAM,SAAS,MAAM,oBAAoB;IAClE,YAAY,EAAE,gBAAgB,CAAA;IAC9B,SAAS,EAAE,MAAM,CAAA;IAEjB,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA;CAClE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iHandler.js","sourceRoot":"","sources":["../../src/asyncHandlers/iHandler.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"iHandler.js","sourceRoot":"","sources":["../../src/asyncHandlers/iHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export * from './configuration';
|
|
2
|
-
export * from './displayTimecode';
|
|
3
|
-
export * from './iHandler';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
1
|
+
export * from './configuration.js';
|
|
2
|
+
export * from './displayTimecode.js';
|
|
3
|
+
export * from './iHandler.js';
|
|
4
|
+
export * from './playrange.js';
|
|
5
|
+
export * from './remoteInfo.js';
|
|
6
|
+
export * from './slotInfo.js';
|
|
7
|
+
export * from './timelinePosition.js';
|
|
8
|
+
export * from './transportInfo.js';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
tslib_1.__exportStar(require("./timelinePosition"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./transportInfo"), exports);
|
|
1
|
+
export * from './configuration.js';
|
|
2
|
+
export * from './displayTimecode.js';
|
|
3
|
+
export * from './iHandler.js';
|
|
4
|
+
export * from './playrange.js';
|
|
5
|
+
export * from './remoteInfo.js';
|
|
6
|
+
export * from './slotInfo.js';
|
|
7
|
+
export * from './timelinePosition.js';
|
|
8
|
+
export * from './transportInfo.js';
|
|
11
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/asyncHandlers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/asyncHandlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ResponseMessage } from '../message.js';
|
|
2
|
+
import type { IHandler } from './iHandler.js';
|
|
3
|
+
import { AsynchronousCode } from '../codes.js';
|
|
4
|
+
import type { PlayrangeChangeResponse } from '../events.js';
|
|
5
|
+
export declare class PlayrangeChange implements IHandler<'notify.playrange'> {
|
|
6
|
+
responseCode: AsynchronousCode;
|
|
7
|
+
eventName: "notify.playrange";
|
|
8
|
+
deserialize(msg: ResponseMessage): PlayrangeChangeResponse;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=playrange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playrange.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/playrange.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAE3D,qBAAa,eAAgB,YAAW,QAAQ,CAAC,kBAAkB,CAAC;IACnE,YAAY,mBAA6B;IACzC,SAAS,EAAG,kBAAkB,CAAS;IAEvC,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,uBAAuB;CAO1D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AsynchronousCode } from '../codes.js';
|
|
2
|
+
export class PlayrangeChange {
|
|
3
|
+
responseCode = AsynchronousCode.Playrange;
|
|
4
|
+
eventName = 'notify.playrange';
|
|
5
|
+
deserialize(msg) {
|
|
6
|
+
const res = {
|
|
7
|
+
timelineIn: msg.params['timeline in'],
|
|
8
|
+
timelineOut: msg.params['timeline out'],
|
|
9
|
+
};
|
|
10
|
+
return res;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=playrange.js.map
|