hyperdeck-connection 2.0.1 → 3.0.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.
Files changed (169) hide show
  1. package/CHANGELOG.md +99 -83
  2. package/README.md +11 -16
  3. package/dist/asyncHandlers/configuration.d.ts +4 -4
  4. package/dist/asyncHandlers/configuration.d.ts.map +1 -1
  5. package/dist/asyncHandlers/configuration.js +8 -14
  6. package/dist/asyncHandlers/configuration.js.map +1 -1
  7. package/dist/asyncHandlers/displayTimecode.d.ts +4 -4
  8. package/dist/asyncHandlers/displayTimecode.d.ts.map +1 -1
  9. package/dist/asyncHandlers/displayTimecode.js +4 -10
  10. package/dist/asyncHandlers/displayTimecode.js.map +1 -1
  11. package/dist/asyncHandlers/iHandler.d.ts +3 -3
  12. package/dist/asyncHandlers/iHandler.d.ts.map +1 -1
  13. package/dist/asyncHandlers/iHandler.js +1 -2
  14. package/dist/asyncHandlers/iHandler.js.map +1 -1
  15. package/dist/asyncHandlers/index.d.ts +7 -7
  16. package/dist/asyncHandlers/index.d.ts.map +1 -1
  17. package/dist/asyncHandlers/index.js +7 -10
  18. package/dist/asyncHandlers/index.js.map +1 -1
  19. package/dist/asyncHandlers/remoteInfo.d.ts +4 -4
  20. package/dist/asyncHandlers/remoteInfo.d.ts.map +1 -1
  21. package/dist/asyncHandlers/remoteInfo.js +6 -12
  22. package/dist/asyncHandlers/remoteInfo.js.map +1 -1
  23. package/dist/asyncHandlers/slotInfo.d.ts +4 -4
  24. package/dist/asyncHandlers/slotInfo.d.ts.map +1 -1
  25. package/dist/asyncHandlers/slotInfo.js +7 -12
  26. package/dist/asyncHandlers/slotInfo.js.map +1 -1
  27. package/dist/asyncHandlers/timelinePosition.d.ts +4 -4
  28. package/dist/asyncHandlers/timelinePosition.d.ts.map +1 -1
  29. package/dist/asyncHandlers/timelinePosition.js +4 -10
  30. package/dist/asyncHandlers/timelinePosition.js.map +1 -1
  31. package/dist/asyncHandlers/transportInfo.d.ts +4 -4
  32. package/dist/asyncHandlers/transportInfo.d.ts.map +1 -1
  33. package/dist/asyncHandlers/transportInfo.js +14 -19
  34. package/dist/asyncHandlers/transportInfo.js.map +1 -1
  35. package/dist/codes.d.ts +1 -1
  36. package/dist/codes.d.ts.map +1 -1
  37. package/dist/codes.js +10 -13
  38. package/dist/codes.js.map +1 -1
  39. package/dist/commands/abstractCommand.d.ts +2 -2
  40. package/dist/commands/abstractCommand.d.ts.map +1 -1
  41. package/dist/commands/abstractCommand.js +4 -12
  42. package/dist/commands/abstractCommand.js.map +1 -1
  43. package/dist/commands/cacheInfo.d.ts +3 -3
  44. package/dist/commands/cacheInfo.d.ts.map +1 -1
  45. package/dist/commands/cacheInfo.js +4 -11
  46. package/dist/commands/cacheInfo.js.map +1 -1
  47. package/dist/commands/clips.d.ts +5 -5
  48. package/dist/commands/clips.d.ts.map +1 -1
  49. package/dist/commands/clips.js +15 -18
  50. package/dist/commands/clips.js.map +1 -1
  51. package/dist/commands/configuration.d.ts +5 -5
  52. package/dist/commands/configuration.d.ts.map +1 -1
  53. package/dist/commands/configuration.js +17 -15
  54. package/dist/commands/configuration.js.map +1 -1
  55. package/dist/commands/connect.js +1 -2
  56. package/dist/commands/deviceInfo.d.ts +3 -3
  57. package/dist/commands/deviceInfo.d.ts.map +1 -1
  58. package/dist/commands/deviceInfo.js +4 -11
  59. package/dist/commands/deviceInfo.js.map +1 -1
  60. package/dist/commands/diskList.d.ts +3 -3
  61. package/dist/commands/diskList.d.ts.map +1 -1
  62. package/dist/commands/diskList.js +5 -8
  63. package/dist/commands/diskList.js.map +1 -1
  64. package/dist/commands/dynamicRange.d.ts +4 -4
  65. package/dist/commands/dynamicRange.d.ts.map +1 -1
  66. package/dist/commands/dynamicRange.js +7 -13
  67. package/dist/commands/dynamicRange.js.map +1 -1
  68. package/dist/commands/format.d.ts +4 -4
  69. package/dist/commands/format.d.ts.map +1 -1
  70. package/dist/commands/format.js +10 -13
  71. package/dist/commands/format.js.map +1 -1
  72. package/dist/commands/goTo.d.ts +2 -2
  73. package/dist/commands/goTo.d.ts.map +1 -1
  74. package/dist/commands/goTo.js +6 -6
  75. package/dist/commands/goTo.js.map +1 -1
  76. package/dist/commands/identify.d.ts +2 -2
  77. package/dist/commands/identify.d.ts.map +1 -1
  78. package/dist/commands/identify.js +3 -6
  79. package/dist/commands/identify.js.map +1 -1
  80. package/dist/commands/index.d.ts +25 -25
  81. package/dist/commands/index.d.ts.map +1 -1
  82. package/dist/commands/index.js +25 -30
  83. package/dist/commands/index.js.map +1 -1
  84. package/dist/commands/internal.d.ts +4 -4
  85. package/dist/commands/internal.d.ts.map +1 -1
  86. package/dist/commands/internal.js +8 -17
  87. package/dist/commands/internal.js.map +1 -1
  88. package/dist/commands/jog.d.ts +2 -2
  89. package/dist/commands/jog.d.ts.map +1 -1
  90. package/dist/commands/jog.js +3 -6
  91. package/dist/commands/jog.js.map +1 -1
  92. package/dist/commands/notify.d.ts +3 -3
  93. package/dist/commands/notify.d.ts.map +1 -1
  94. package/dist/commands/notify.js +27 -24
  95. package/dist/commands/notify.js.map +1 -1
  96. package/dist/commands/play.d.ts +2 -2
  97. package/dist/commands/play.d.ts.map +1 -1
  98. package/dist/commands/play.js +5 -6
  99. package/dist/commands/play.js.map +1 -1
  100. package/dist/commands/playOnStartup.d.ts +3 -3
  101. package/dist/commands/playOnStartup.d.ts.map +1 -1
  102. package/dist/commands/playOnStartup.js +7 -13
  103. package/dist/commands/playOnStartup.js.map +1 -1
  104. package/dist/commands/playOption.d.ts +3 -3
  105. package/dist/commands/playOption.d.ts.map +1 -1
  106. package/dist/commands/playOption.js +6 -13
  107. package/dist/commands/playOption.js.map +1 -1
  108. package/dist/commands/playrange.d.ts +3 -3
  109. package/dist/commands/playrange.d.ts.map +1 -1
  110. package/dist/commands/playrange.js +12 -15
  111. package/dist/commands/playrange.js.map +1 -1
  112. package/dist/commands/preview.d.ts +2 -2
  113. package/dist/commands/preview.d.ts.map +1 -1
  114. package/dist/commands/preview.js +3 -6
  115. package/dist/commands/preview.js.map +1 -1
  116. package/dist/commands/record.d.ts +2 -2
  117. package/dist/commands/record.d.ts.map +1 -1
  118. package/dist/commands/record.js +6 -8
  119. package/dist/commands/record.js.map +1 -1
  120. package/dist/commands/remote.d.ts +3 -3
  121. package/dist/commands/remote.d.ts.map +1 -1
  122. package/dist/commands/remote.js +9 -16
  123. package/dist/commands/remote.js.map +1 -1
  124. package/dist/commands/shuttle.d.ts +2 -2
  125. package/dist/commands/shuttle.d.ts.map +1 -1
  126. package/dist/commands/shuttle.js +4 -7
  127. package/dist/commands/shuttle.js.map +1 -1
  128. package/dist/commands/slotInfo.d.ts +4 -4
  129. package/dist/commands/slotInfo.d.ts.map +1 -1
  130. package/dist/commands/slotInfo.js +6 -8
  131. package/dist/commands/slotInfo.js.map +1 -1
  132. package/dist/commands/slotSelect.d.ts +3 -3
  133. package/dist/commands/slotSelect.d.ts.map +1 -1
  134. package/dist/commands/slotSelect.js +7 -8
  135. package/dist/commands/slotSelect.js.map +1 -1
  136. package/dist/commands/stop.d.ts +2 -2
  137. package/dist/commands/stop.d.ts.map +1 -1
  138. package/dist/commands/stop.js +2 -6
  139. package/dist/commands/stop.js.map +1 -1
  140. package/dist/commands/transportInfo.d.ts +4 -4
  141. package/dist/commands/transportInfo.d.ts.map +1 -1
  142. package/dist/commands/transportInfo.js +12 -18
  143. package/dist/commands/transportInfo.js.map +1 -1
  144. package/dist/enums.js +10 -13
  145. package/dist/enums.js.map +1 -1
  146. package/dist/events.d.ts +2 -2
  147. package/dist/events.d.ts.map +1 -1
  148. package/dist/events.js +1 -2
  149. package/dist/events.js.map +1 -1
  150. package/dist/hyperdeck.d.ts +3 -3
  151. package/dist/hyperdeck.d.ts.map +1 -1
  152. package/dist/hyperdeck.js +40 -37
  153. package/dist/hyperdeck.js.map +1 -1
  154. package/dist/index.d.ts +4 -4
  155. package/dist/index.d.ts.map +1 -1
  156. package/dist/index.js +5 -9
  157. package/dist/index.js.map +1 -1
  158. package/dist/message.d.ts +1 -1
  159. package/dist/message.d.ts.map +1 -1
  160. package/dist/message.js +1 -2
  161. package/dist/parser.d.ts +1 -1
  162. package/dist/parser.d.ts.map +1 -1
  163. package/dist/parser.js +8 -11
  164. package/dist/parser.js.map +1 -1
  165. package/dist/util.d.ts +1 -1
  166. package/dist/util.d.ts.map +1 -1
  167. package/dist/util.js +5 -13
  168. package/dist/util.js.map +1 -1
  169. package/package.json +44 -44
package/CHANGELOG.md CHANGED
@@ -1,38 +1,54 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file. See [Convential Commits](https://www.conventionalcommits.org/en/v1.0.0/#specification) for commit guidelines.
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
- ## [2.0.1](https://github.com/nrkno/sofie-hyperdeck-connection/compare/v2.0.0...v2.0.1) (Mon Mar 11 2024)
5
+ ## [3.0.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v2.0.1...v3.0.0) (Sat Jun 20 2026)
6
+
7
+ ## Breaking changes
8
+
9
+ ### Features
10
+
11
+ * **!** esm [1d20142](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/1d20142f97d1d9535c57be9d4e11f6550194ef9f)
12
+
13
+ ### Features
14
+
15
+ * esm [c0dfd63](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/c0dfd635c5f70ab172ba8487f05f36f2b43f4081)
16
+
17
+ ### Fixes
18
+
19
+ * ShuttleCommand ignoring 0 speed [93ddd03](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/93ddd03821157876f77b50394b6765cf65c31735)
20
+
21
+ ## [2.0.1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v2.0.0...v2.0.1) (Mon Mar 11 2024)
6
22
 
7
23
  ### Fixes
8
24
 
9
- - don't return videoFormat: null for async transport updates (#32) [de59cab](https://github.com/nrkno/sofie-hyperdeck-connection/commit/de59cabc523590e145cb9936b36653e774f3208b)
25
+ - don't return videoFormat: null for async transport updates (#32) [de59cab](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/de59cabc523590e145cb9936b36653e774f3208b)
10
26
 
11
- ## [2.0.0](https://github.com/nrkno/sofie-hyperdeck-connection/compare/v1.0.0...v2.0.0) (Mon Jan 29 2024)
27
+ ## [2.0.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/v1.0.0...v2.0.0) (Mon Jan 29 2024)
12
28
 
13
29
  ## Breaking changes
14
30
 
15
31
  ### Features
16
32
 
17
- - **!** remove incorrect SlotId enum [930702d](https://github.com/nrkno/sofie-hyperdeck-connection/commit/930702daac61b9bb59509d138dde49f36e63bc9b)
33
+ - **!** remove incorrect SlotId enum [930702d](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/930702daac61b9bb59509d138dde49f36e63bc9b)
18
34
 
19
35
  ### Fixes
20
36
 
21
- - don't reject without an error [c8d9d31](https://github.com/nrkno/sofie-hyperdeck-connection/commit/c8d9d31b4d99b526cdea3974cbd97e6b285464ed)
22
- - parse slotId correctly in notify.transport messages #12 [07905d7](https://github.com/nrkno/sofie-hyperdeck-connection/commit/07905d7507a4586b8b57f2cb712506006b25755f)
23
- - account for how fractional frame rates are expressed in the timecode [e6f77be](https://github.com/nrkno/sofie-hyperdeck-connection/commit/e6f77be12aa327113501bc46604789329f0868c2)
24
- - account for how drop-frame content is expressed in the timecode [90858ff](https://github.com/nrkno/sofie-hyperdeck-connection/commit/90858fff7118ea3968a58f65904f239efc1336f6)
25
- - interlaced frame counting [9455421](https://github.com/nrkno/sofie-hyperdeck-connection/commit/9455421772b37c22c31342d335be6116ba17bf90)
26
- - parse all clip info from the "disk list" command into separate fields [8d2dcb9](https://github.com/nrkno/sofie-hyperdeck-connection/commit/8d2dcb93e71c9aa1fba278bd1914ff03dcf941d6)
37
+ - don't reject without an error [c8d9d31](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/c8d9d31b4d99b526cdea3974cbd97e6b285464ed)
38
+ - parse slotId correctly in notify.transport messages #12 [07905d7](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/07905d7507a4586b8b57f2cb712506006b25755f)
39
+ - account for how fractional frame rates are expressed in the timecode [e6f77be](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e6f77be12aa327113501bc46604789329f0868c2)
40
+ - account for how drop-frame content is expressed in the timecode [90858ff](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/90858fff7118ea3968a58f65904f239efc1336f6)
41
+ - interlaced frame counting [9455421](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/9455421772b37c22c31342d335be6116ba17bf90)
42
+ - parse all clip info from the "disk list" command into separate fields [8d2dcb9](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/8d2dcb93e71c9aa1fba278bd1914ff03dcf941d6)
27
43
 
28
44
  ### Features
29
45
 
30
- - add missing video formats [eae2185](https://github.com/nrkno/sofie-hyperdeck-connection/commit/eae2185fdf4d8b4321ee2f3cd588f36762b69b25)
31
- - add inputVideoFormat to TransportInfoState [af392d0](https://github.com/nrkno/sofie-hyperdeck-connection/commit/af392d0ce409a7efcc9f75cd25e47d8386e39156)
32
- - make event types be strongly defined [93e7573](https://github.com/nrkno/sofie-hyperdeck-connection/commit/93e7573062b2f82d9235c1b58c5cb896178060af)
33
- - make `sendCommand` response Promise be typed [fb7a34b](https://github.com/nrkno/sofie-hyperdeck-connection/commit/fb7a34bda966022b96b6f2c382aae850a4a0ec9a)
46
+ - add missing video formats [eae2185](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/eae2185fdf4d8b4321ee2f3cd588f36762b69b25)
47
+ - add inputVideoFormat to TransportInfoState [af392d0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/af392d0ce409a7efcc9f75cd25e47d8386e39156)
48
+ - make event types be strongly defined [93e7573](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/93e7573062b2f82d9235c1b58c5cb896178060af)
49
+ - make `sendCommand` response Promise be typed [fb7a34b](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/fb7a34bda966022b96b6f2c382aae850a4a0ec9a)
34
50
 
35
- ## [1.0.0](https://github.com/nrkno/sofie-hyperdeck-connection/compare/0.5.0...v1.0.0) (2022-11-21)
51
+ ## [1.0.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.5.0...v1.0.0) (2022-11-21)
36
52
 
37
53
  ### Breaking Changes
38
54
 
@@ -40,9 +56,9 @@ All notable changes to this project will be documented in this file. See [Conven
40
56
 
41
57
  ### Features
42
58
 
43
- - **!** remove node 12 support [65fa9ee](https://github.com/nrkno/sofie-hyperdeck-connection/commit/65fa9ee766e5856be3bbcd366d0a1d7fd7ed4ffe)
59
+ - **!** remove node 12 support [65fa9ee](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/65fa9ee766e5856be3bbcd366d0a1d7fd7ed4ffe)
44
60
 
45
- ## [0.5.0](https://github.com/nrkno/sofie-hyperdeck-connection/compare/0.4.4...0.5.0) (2022-04-29)
61
+ ## [0.5.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.4...0.5.0) (2022-04-29)
46
62
 
47
63
  ### ⚠ BREAKING CHANGES
48
64
 
@@ -50,130 +66,130 @@ All notable changes to this project will be documented in this file. See [Conven
50
66
 
51
67
  ### Features
52
68
 
53
- - add clips count command [publish] ([6d15db3](https://github.com/nrkno/sofie-hyperdeck-connection/commit/6d15db3b44e2bb03f976295d8c1b840cf8372def))
54
- - configuration async handler [publish] ([e12dfc4](https://github.com/nrkno/sofie-hyperdeck-connection/commit/e12dfc4e0ccbc50d77bd164d84cadf5204efa4ed))
55
- - update for protocol v1.11 (firmware V7) ([b25eae5](https://github.com/nrkno/sofie-hyperdeck-connection/commit/b25eae50a5031565a2497d66078ab043a0eb0903))
56
- - update for protocol v1.11 (firmware V7) ([680b3ea](https://github.com/nrkno/sofie-hyperdeck-connection/commit/680b3ea1f1eb5ffb42a403a6e1123273b87a1a93))
69
+ - add clips count command [publish] ([6d15db3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6d15db3b44e2bb03f976295d8c1b840cf8372def))
70
+ - configuration async handler [publish] ([e12dfc4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e12dfc4e0ccbc50d77bd164d84cadf5204efa4ed))
71
+ - update for protocol v1.11 (firmware V7) ([b25eae5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b25eae50a5031565a2497d66078ab043a0eb0903))
72
+ - update for protocol v1.11 (firmware V7) ([680b3ea](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/680b3ea1f1eb5ffb42a403a6e1123273b87a1a93))
57
73
 
58
74
  ### Bug Fixes
59
75
 
60
- - 508 transport info may use active slot for slot id ([a3a5ce5](https://github.com/nrkno/sofie-hyperdeck-connection/commit/a3a5ce519a009ea8f6a6c5dd6b5c1cbb7f0a43f2))
61
- - add 3g formats ([b4c9a37](https://github.com/nrkno/sofie-hyperdeck-connection/commit/b4c9a37e200e603d51d70948da17da615c10395d))
62
- - always destroy the socket at the end of disconnect() ([87348bf](https://github.com/nrkno/sofie-hyperdeck-connection/commit/87348bf3f60fd03558d5a5b8509735883e0d54af))
63
- - always use destroy instead of end ([212192a](https://github.com/nrkno/sofie-hyperdeck-connection/commit/212192adde21169510e2774b4cb31580eb972909))
64
- - avoid emitting errors after disconnect has been called ([43c7769](https://github.com/nrkno/sofie-hyperdeck-connection/commit/43c77693c64aa9cd58afca8b51aae14af9a5984a))
65
- - build errors after formatting ([6bd24a2](https://github.com/nrkno/sofie-hyperdeck-connection/commit/6bd24a20ec40f924d31510266766eb242e675f36))
66
- - missing export for config async handler ([dbd6697](https://github.com/nrkno/sofie-hyperdeck-connection/commit/dbd6697f1eadd2bd998e7ac2a52bc92778f26de2))
67
- - missing response code ([2601917](https://github.com/nrkno/sofie-hyperdeck-connection/commit/26019176991d3fe00db3335d71e43dcdf1f9a825))
68
- - suppress errors when connection is inactive ([b7e540d](https://github.com/nrkno/sofie-hyperdeck-connection/commit/b7e540d8da2bd435a3af93f2c686b0cd4d62634a))
69
- - throw error for missing promise ([5edd810](https://github.com/nrkno/sofie-hyperdeck-connection/commit/5edd810f71b633027177c705f5f288adf4b2c647))
70
- - Updated URLs to match the renamed repo ([6644ac8](https://github.com/nrkno/sofie-hyperdeck-connection/commit/6644ac859adc2423e0daaf2019d05faabc5ecf2a))
71
- - Updated URLs to match the renamed repo ([046c9b0](https://github.com/nrkno/sofie-hyperdeck-connection/commit/046c9b0efdec00d237adb615c3b12be4a77f8881))
76
+ - 508 transport info may use active slot for slot id ([a3a5ce5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/a3a5ce519a009ea8f6a6c5dd6b5c1cbb7f0a43f2))
77
+ - add 3g formats ([b4c9a37](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b4c9a37e200e603d51d70948da17da615c10395d))
78
+ - always destroy the socket at the end of disconnect() ([87348bf](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/87348bf3f60fd03558d5a5b8509735883e0d54af))
79
+ - always use destroy instead of end ([212192a](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/212192adde21169510e2774b4cb31580eb972909))
80
+ - avoid emitting errors after disconnect has been called ([43c7769](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/43c77693c64aa9cd58afca8b51aae14af9a5984a))
81
+ - build errors after formatting ([6bd24a2](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6bd24a20ec40f924d31510266766eb242e675f36))
82
+ - missing export for config async handler ([dbd6697](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/dbd6697f1eadd2bd998e7ac2a52bc92778f26de2))
83
+ - missing response code ([2601917](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/26019176991d3fe00db3335d71e43dcdf1f9a825))
84
+ - suppress errors when connection is inactive ([b7e540d](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b7e540d8da2bd435a3af93f2c686b0cd4d62634a))
85
+ - throw error for missing promise ([5edd810](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/5edd810f71b633027177c705f5f288adf4b2c647))
86
+ - Updated URLs to match the renamed repo ([6644ac8](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6644ac859adc2423e0daaf2019d05faabc5ecf2a))
87
+ - Updated URLs to match the renamed repo ([046c9b0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/046c9b0efdec00d237adb615c3b12be4a77f8881))
72
88
 
73
- - drop node10 support + switch to github actions ([1e9ffb3](https://github.com/nrkno/sofie-hyperdeck-connection/commit/1e9ffb386b3d868229f48a1589a81be4a12aa6a3))
89
+ - drop node10 support + switch to github actions ([1e9ffb3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/1e9ffb386b3d868229f48a1589a81be4a12aa6a3))
74
90
 
75
- ### [0.4.4](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.4.3...0.4.4) (2020-10-29)
91
+ ### [0.4.4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.3...0.4.4) (2020-10-29)
76
92
 
77
93
  ### Features
78
94
 
79
- - **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/37b48a4bac0b315ea074a3463cf33a9fbbc2fdc1))
80
- - **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/37b48a4bac0b315ea074a3463cf33a9fbbc2fdc1))
95
+ - **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/37b48a4bac0b315ea074a3463cf33a9fbbc2fdc1))
96
+ - **ci:** prereleases flow & optional audit skip [skip ci] ([37b48a4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/37b48a4bac0b315ea074a3463cf33a9fbbc2fdc1))
81
97
 
82
- ### [0.4.3](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.4.2...0.4.3) (2020-01-10)
98
+ ### [0.4.3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.2...0.4.3) (2020-01-10)
83
99
 
84
- ### [0.4.2](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.4.1...0.4.2) (2019-12-23)
100
+ ### [0.4.2](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.1...0.4.2) (2019-12-23)
85
101
 
86
102
  ### Bug Fixes
87
103
 
88
- - FormatCommand response has a colon on newer firmware versions ([5aa9071](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/5aa9071fafb6493e7e664743dc680499a9d2d205))
104
+ - FormatCommand response has a colon on newer firmware versions ([5aa9071](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/5aa9071fafb6493e7e664743dc680499a9d2d205))
89
105
 
90
- ### [0.4.1](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.4.0...0.4.1) (2019-12-11)
106
+ ### [0.4.1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.4.0...0.4.1) (2019-12-11)
91
107
 
92
108
  ### Features
93
109
 
94
- - update ci to run for node 8,10,12 ([9ae081a](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/9ae081a906129447b9bbc3f5a6556a27fe068c3b))
110
+ - update ci to run for node 8,10,12 ([9ae081a](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/9ae081a906129447b9bbc3f5a6556a27fe068c3b))
95
111
 
96
112
  ### Bug Fixes
97
113
 
98
- - goTo command ([aa40de8](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/aa40de8bd9dbbc82cf0d1a8404df0fe9f9063f5d))
114
+ - goTo command ([aa40de8](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/aa40de8bd9dbbc82cf0d1a8404df0fe9f9063f5d))
99
115
 
100
116
  <a name="0.4.0"></a>
101
117
 
102
- # [0.4.0](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.3.0...0.4.0) (2019-10-08)
118
+ # [0.4.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.3.0...0.4.0) (2019-10-08)
103
119
 
104
120
  ### Bug Fixes
105
121
 
106
- - Configuration Command ([ab5bf19](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/ab5bf19))
107
- - Device Info carries slot count and not unique id ([0a8a09e](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/0a8a09e))
108
- - export shuttle command ([ed33dc5](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/ed33dc5))
122
+ - Configuration Command ([ab5bf19](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ab5bf19))
123
+ - Device Info carries slot count and not unique id ([0a8a09e](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/0a8a09e))
124
+ - export shuttle command ([ed33dc5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ed33dc5))
109
125
 
110
126
  ### Features
111
127
 
112
- - configuration command ([e7c47d4](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/e7c47d4))
113
- - goto command ([bc05045](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/bc05045))
114
- - jog command ([cbcd0cf](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/cbcd0cf))
115
- - play command ([14bb340](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/14bb340))
116
- - remote command ([7d8b254](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/7d8b254))
117
- - shuttle command ([b412641](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/b412641))
128
+ - configuration command ([e7c47d4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e7c47d4))
129
+ - goto command ([bc05045](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/bc05045))
130
+ - jog command ([cbcd0cf](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/cbcd0cf))
131
+ - play command ([14bb340](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/14bb340))
132
+ - remote command ([7d8b254](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/7d8b254))
133
+ - shuttle command ([b412641](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b412641))
118
134
 
119
135
  <a name="0.3.0"></a>
120
136
 
121
- # [0.3.0](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.2.0...0.3.0) (2019-09-02)
137
+ # [0.3.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.2.0...0.3.0) (2019-09-02)
122
138
 
123
139
  ### Features
124
140
 
125
- - quit command before closing connection ([ece4982](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/ece4982))
141
+ - quit command before closing connection ([ece4982](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ece4982))
126
142
 
127
143
  <a name="0.2.0"></a>
128
144
 
129
- # [0.2.0](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.1.5...0.2.0) (2019-08-06)
145
+ # [0.2.0](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.5...0.2.0) (2019-08-06)
130
146
 
131
147
  ### Features
132
148
 
133
- - **SlotInfo:** add optional slot id ([a73084b](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/a73084b))
134
- - disk formatting commands ([6fd124c](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/6fd124c))
135
- - slot select command ([c70c509](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/c70c509))
149
+ - **SlotInfo:** add optional slot id ([a73084b](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/a73084b))
150
+ - disk formatting commands ([6fd124c](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6fd124c))
151
+ - slot select command ([c70c509](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/c70c509))
136
152
 
137
153
  <a name="0.1.5"></a>
138
154
 
139
- ## [0.1.5](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.1.4...0.1.5) (2019-04-25)
155
+ ## [0.1.5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.4...0.1.5) (2019-04-25)
140
156
 
141
157
  ### Bug Fixes
142
158
 
143
- - ping timeouts should trigger reconnect ([1e4a810](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/1e4a810))
159
+ - ping timeouts should trigger reconnect ([1e4a810](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/1e4a810))
144
160
 
145
161
  <a name="0.1.4"></a>
146
162
 
147
- ## [0.1.4](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.1.3...0.1.4) (2019-03-04)
163
+ ## [0.1.4](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.3...0.1.4) (2019-03-04)
148
164
 
149
165
  ### Bug Fixes
150
166
 
151
- - audit fix for vulnerabilities ([a739543](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/a739543))
152
- - remove cpx dependencey. Not used, causes errors ([8b3c5e5](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/8b3c5e5))
167
+ - audit fix for vulnerabilities ([a739543](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/a739543))
168
+ - remove cpx dependencey. Not used, causes errors ([8b3c5e5](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/8b3c5e5))
153
169
 
154
170
  <a name="0.1.3"></a>
155
171
 
156
- ## [0.1.3](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.1.2...0.1.3) (2019-01-25)
172
+ ## [0.1.3](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.2...0.1.3) (2019-01-25)
157
173
 
158
174
  ### Bug Fixes
159
175
 
160
- - reconnect logic on close event rather than end ([2688ac1](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/2688ac1))
176
+ - reconnect logic on close event rather than end ([2688ac1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/2688ac1))
161
177
 
162
178
  <a name="0.1.2"></a>
163
179
 
164
- ## [0.1.2](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.1.1...0.1.2) (2018-10-18)
180
+ ## [0.1.2](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.1...0.1.2) (2018-10-18)
165
181
 
166
182
  ### Bug Fixes
167
183
 
168
- - Reconnection not working properly ([6a40896](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/6a40896))
184
+ - Reconnection not working properly ([6a40896](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6a40896))
169
185
 
170
186
  <a name="0.1.1"></a>
171
187
 
172
- ## [0.1.1](https://github.com/nrkno/tv-automation-hyperdeck-connection/compare/0.1.0...0.1.1) (2018-10-18)
188
+ ## [0.1.1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/compare/0.1.0...0.1.1) (2018-10-18)
173
189
 
174
190
  ### Bug Fixes
175
191
 
176
- - no change, just to trigger deploy ([4755900](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/4755900))
192
+ - no change, just to trigger deploy ([4755900](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/4755900))
177
193
 
178
194
  <a name="0.1.0"></a>
179
195
 
@@ -181,18 +197,18 @@ All notable changes to this project will be documented in this file. See [Conven
181
197
 
182
198
  ### Bug Fixes
183
199
 
184
- - some typos. Adds some tests for hyperdeck class ([01b4634](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/01b4634))
185
- - Tidying and fixes for integrating with tsr ([58b7d94](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/58b7d94))
186
- - transport info changes properties are nowoptional ([83815ab](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/83815ab))
200
+ - some typos. Adds some tests for hyperdeck class ([01b4634](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/01b4634))
201
+ - Tidying and fixes for integrating with tsr ([58b7d94](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/58b7d94))
202
+ - transport info changes properties are nowoptional ([83815ab](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/83815ab))
187
203
 
188
204
  ### Features
189
205
 
190
- - Add some more simple commands and refactor deserialization ([ec6e4b1](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/ec6e4b1))
191
- - connection retry logic. test for ping timeout ([b1f395d](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/b1f395d))
192
- - Initial working connection ([e5e264c](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/e5e264c))
193
- - Parse transport info and async transport changes ([2bfbd1e](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/2bfbd1e))
194
- - refactor the async handlers to be chosen more dynamically ([0605108](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/0605108))
195
- - Remove promise from command, and create it when command is queued instead ([6577549](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/6577549))
196
- - send pings to detect timeouts ([7d4dd3f](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/7d4dd3f))
197
- - slot info command ([af7c0ce](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/af7c0ce))
198
- - Tidy up remaining todos ([7cea4ad](https://github.com/nrkno/tv-automation-hyperdeck-connection/commit/7cea4ad))
206
+ - Add some more simple commands and refactor deserialization ([ec6e4b1](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/ec6e4b1))
207
+ - connection retry logic. test for ping timeout ([b1f395d](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/b1f395d))
208
+ - Initial working connection ([e5e264c](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/e5e264c))
209
+ - Parse transport info and async transport changes ([2bfbd1e](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/2bfbd1e))
210
+ - refactor the async handlers to be chosen more dynamically ([0605108](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/0605108))
211
+ - Remove promise from command, and create it when command is queued instead ([6577549](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/6577549))
212
+ - send pings to detect timeouts ([7d4dd3f](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/7d4dd3f))
213
+ - slot info command ([af7c0ce](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/commit/af7c0ce))
214
+ - 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
- [![CircleCI](https://circleci.com/gh/nrkno/sofie-hyperdeck-connection.svg?style=svg)](https://circleci.com/gh/nrkno/sofie-hyperdeck-connection)
3
- [![codecov](https://codecov.io/gh/nrkno/sofie-hyperdeck-connection/branch/master/graph/badge.svg)](https://codecov.io/gh/nrkno/sofie-hyperdeck-connection)
4
2
 
5
- This is the _HyperDeck Connection_ library of the [**Sofie** TV Automation System](https://github.com/nrkno/Sofie-TV-automation/), used for connecting to Blackmagic Design's _HyperDeck_ devices.
3
+ [![Node CI](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/actions/workflows/node.yaml/badge.svg)](https://github.com/Sofie-Automation/sofie-hyperdeck-connection/actions/workflows/node.yaml)
4
+ [![codecov](https://codecov.io/gh/Sofie-Automation/sofie-hyperdeck-connection/branch/main/graph/badge.svg)](https://codecov.io/gh/Sofie-Automation/sofie-hyperdeck-connection/)
5
+ [![npm](https://img.shields.io/npm/v/hyperdeck-connection)](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
- ## Technology Highlights
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
- - Typescript
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/nrkno/tv-automation-hyperdeck-connection
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
- const { Hyperdeck, Commands } = require('hyperdeck-connection')
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,YAAY,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAA;AAEvD,qBAAa,mBAAoB,YAAW,QAAQ,CAAC,sBAAsB,CAAC;IAC3E,YAAY,mBAAiC;IAC7C,SAAS,yBAAkC;IAE3C,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,2BAA2B;CAkB9D"}
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
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ConfigurationChange = void 0;
4
- const codes_1 = require("../codes");
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":";;;AAEA,oCAA2C;AAG3C,MAAa,mBAAmB;IAAhC;QACC,iBAAY,GAAG,wBAAgB,CAAC,aAAa,CAAA;QAC7C,cAAS,GAAG,sBAA+B,CAAA;IAoB5C,CAAC;IAlBA,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,CAA8C;YAClF,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,aAAa,CAA8C;YAClF,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,CAAkD;YAC9F,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,CAAgD;YACxF,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;AAtBD,kDAsBC"}
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,YAAY,CAAA;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,WAAW,CAAA;AAEzD,qBAAa,qBAAsB,YAAW,QAAQ,CAAC,wBAAwB,CAAC;IAC/E,YAAY,mBAAmC;IAC/C,SAAS,2BAAoC;IAE7C,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,6BAA6B;CAMhE"}
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
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DisplayTimecodeChange = void 0;
4
- const codes_1 = require("../codes");
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":";;;AAEA,oCAA2C;AAG3C,MAAa,qBAAqB;IAAlC;QACC,iBAAY,GAAG,wBAAgB,CAAC,eAAe,CAAA;QAC/C,cAAS,GAAG,wBAAiC,CAAA;IAQ9C,CAAC;IANA,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;AAVD,sDAUC"}
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,WAAW,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAE5C,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
+ {"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,3 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ import { AsynchronousCode } from '../codes.js';
3
2
  //# sourceMappingURL=iHandler.js.map
@@ -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,8 @@
1
- export * from './configuration';
2
- export * from './displayTimecode';
3
- export * from './iHandler';
4
- export * from './remoteInfo';
5
- export * from './slotInfo';
6
- export * from './timelinePosition';
7
- export * from './transportInfo';
1
+ export * from './configuration.js';
2
+ export * from './displayTimecode.js';
3
+ export * from './iHandler.js';
4
+ export * from './remoteInfo.js';
5
+ export * from './slotInfo.js';
6
+ export * from './timelinePosition.js';
7
+ export * from './transportInfo.js';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,oBAAoB,CAAA;AAClC,cAAc,iBAAiB,CAAA"}
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,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./configuration"), exports);
5
- tslib_1.__exportStar(require("./displayTimecode"), exports);
6
- tslib_1.__exportStar(require("./iHandler"), exports);
7
- tslib_1.__exportStar(require("./remoteInfo"), exports);
8
- tslib_1.__exportStar(require("./slotInfo"), exports);
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 './remoteInfo.js';
5
+ export * from './slotInfo.js';
6
+ export * from './timelinePosition.js';
7
+ export * from './transportInfo.js';
11
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/asyncHandlers/index.ts"],"names":[],"mappings":";;;AAAA,0DAA+B;AAC/B,4DAAiC;AACjC,qDAA0B;AAC1B,uDAA4B;AAC5B,qDAA0B;AAC1B,6DAAkC;AAClC,0DAA+B"}
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,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA"}
@@ -1,7 +1,7 @@
1
- import { ResponseMessage } from '../message';
2
- import { IHandler } from './iHandler';
3
- import { AsynchronousCode } from '../codes';
4
- import { RemoteInfoChangeResponse } 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 { RemoteInfoChangeResponse } from '../events.js';
5
5
  export declare class RemoteInfoChange implements IHandler<'notify.remote'> {
6
6
  responseCode: AsynchronousCode;
7
7
  eventName: "notify.remote";
@@ -1 +1 @@
1
- {"version":3,"file":"remoteInfo.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/remoteInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AAEpD,qBAAa,gBAAiB,YAAW,QAAQ,CAAC,eAAe,CAAC;IACjE,YAAY,mBAA8B;IAC1C,SAAS,kBAA2B;IAEpC,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,wBAAwB;CAM3D"}
1
+ {"version":3,"file":"remoteInfo.d.ts","sourceRoot":"","sources":["../../src/asyncHandlers/remoteInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAE5D,qBAAa,gBAAiB,YAAW,QAAQ,CAAC,eAAe,CAAC;IACjE,YAAY,mBAA8B;IAC1C,SAAS,EAAG,eAAe,CAAS;IAEpC,WAAW,CAAC,GAAG,EAAE,eAAe,GAAG,wBAAwB;CAM3D"}