@sebbo2002/node-pyatv 4.0.0 → 4.2.0-develop.2

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 (78) hide show
  1. package/CHANGELOG.md +23 -5
  2. package/dist/lib/device-event.d.ts +1 -1
  3. package/dist/lib/device-events.d.ts +1 -2
  4. package/dist/lib/device-events.js +26 -24
  5. package/dist/lib/device-events.js.map +1 -1
  6. package/dist/lib/device.d.ts +1 -1
  7. package/dist/lib/device.js +19 -18
  8. package/dist/lib/device.js.map +1 -1
  9. package/dist/lib/index.d.ts +3 -1
  10. package/dist/lib/index.js +7 -1
  11. package/dist/lib/index.js.map +1 -1
  12. package/dist/lib/instance.d.ts +1 -1
  13. package/dist/lib/instance.js +13 -13
  14. package/dist/lib/instance.js.map +1 -1
  15. package/dist/lib/tools.js +13 -0
  16. package/dist/lib/tools.js.map +1 -1
  17. package/dist/lib/types.d.ts +3 -0
  18. package/docs/coverage/cobertura-coverage.xml +671 -635
  19. package/docs/coverage/device-event.ts.html +2 -2
  20. package/docs/coverage/device-events.ts.html +99 -87
  21. package/docs/coverage/device.ts.html +38 -26
  22. package/docs/coverage/fake-spawn.ts.html +25 -25
  23. package/docs/coverage/index.html +29 -29
  24. package/docs/coverage/index.ts.html +22 -7
  25. package/docs/coverage/instance.ts.html +2 -2
  26. package/docs/coverage/tools.ts.html +149 -107
  27. package/docs/coverage/types.ts.html +11 -2
  28. package/docs/reference/.nojekyll +1 -0
  29. package/docs/reference/assets/highlight.css +99 -0
  30. package/docs/reference/assets/icons.css +1043 -0
  31. package/docs/reference/assets/{images/icons.png → icons.png} +0 -0
  32. package/docs/reference/assets/{images/icons@2x.png → icons@2x.png} +0 -0
  33. package/docs/reference/assets/main.js +52 -0
  34. package/docs/reference/assets/search.js +1 -0
  35. package/docs/reference/assets/style.css +1388 -0
  36. package/docs/reference/assets/{images/widgets.png → widgets.png} +0 -0
  37. package/docs/reference/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
  38. package/docs/reference/classes/NodePyATVDevice.html +147 -0
  39. package/docs/reference/classes/NodePyATVDeviceEvent.html +13 -3190
  40. package/docs/reference/classes/default.html +46 -3402
  41. package/docs/reference/enums/NodePyATVDeviceState.html +1 -3131
  42. package/docs/reference/enums/NodePyATVKeys.html +1 -3341
  43. package/docs/reference/enums/NodePyATVListenerState.html +1 -0
  44. package/docs/reference/enums/NodePyATVMediaType.html +1 -3103
  45. package/docs/reference/enums/NodePyATVPowerState.html +1 -0
  46. package/docs/reference/enums/NodePyATVProtocol.html +1 -3103
  47. package/docs/reference/enums/NodePyATVRepeatState.html +1 -3089
  48. package/docs/reference/enums/NodePyATVShuffleState.html +1 -3089
  49. package/docs/reference/index.html +74 -3150
  50. package/docs/reference/interfaces/NodePyATVDeviceOptions.html +1 -3281
  51. package/docs/reference/interfaces/NodePyATVFindAndInstanceOptions.html +1 -3275
  52. package/docs/reference/interfaces/NodePyATVFindOptions.html +1 -3158
  53. package/docs/reference/interfaces/NodePyATVGetStateOptions.html +1 -3069
  54. package/docs/reference/interfaces/NodePyATVInstanceOptions.html +1 -3157
  55. package/docs/reference/interfaces/NodePyATVState.html +1 -3265
  56. package/docs/reference/interfaces/NodePyATVVersionResponse.html +1 -3083
  57. package/docs/reference/modules.html +1 -3154
  58. package/docs/tests/assets/app.css +1 -1
  59. package/docs/tests/assets/app.js +2 -2
  60. package/docs/tests/assets/app.js.LICENSE.txt +1 -1
  61. package/docs/tests/index.html +1 -1
  62. package/docs/tests/mochawesome.json +793 -698
  63. package/package.json +19 -18
  64. package/src/lib/device-event.ts +1 -1
  65. package/src/lib/device-events.ts +8 -4
  66. package/src/lib/device.ts +12 -8
  67. package/src/lib/index.ts +6 -1
  68. package/src/lib/instance.ts +1 -1
  69. package/src/lib/tools.ts +14 -0
  70. package/src/lib/types.ts +3 -0
  71. package/test/device-events.ts +24 -3
  72. package/test/device.ts +18 -0
  73. package/test/instance.ts +9 -1
  74. package/test/tools.ts +21 -6
  75. package/typedoc.json +2 -2
  76. package/docs/reference/assets/css/main.css +0 -2660
  77. package/docs/reference/assets/js/main.js +0 -248
  78. package/docs/reference/assets/js/search.js +0 -1
@@ -0,0 +1 @@
1
+ <!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>NodePyATVListenerState | node-pyatv - v4.2.0-develop.2</title><meta name="description" content="Documentation for node-pyatv - v4.2.0-develop.2"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">node-pyatv - v4.2.0-develop.2</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">node-pyatv - v4.2.0-develop.2</a></li><li><a href="NodePyATVListenerState.html">NodePyATVListenerState</a></li></ul><h1>Enumeration NodePyATVListenerState</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Enumeration members</h3><ul class="tsd-index-list"><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#started" class="tsd-kind-icon">started</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#starting" class="tsd-kind-icon">starting</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#stopped" class="tsd-kind-icon">stopped</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#stopping" class="tsd-kind-icon">stopping</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Enumeration members</h2><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="started" class="tsd-anchor"></a><h3>started</h3><div class="tsd-signature tsd-kind-icon">started<span class="tsd-signature-symbol"> = 2</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/f835687/src/lib/types.ts#L103">src/lib/types.ts:103</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="starting" class="tsd-anchor"></a><h3>starting</h3><div class="tsd-signature tsd-kind-icon">starting<span class="tsd-signature-symbol"> = 1</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/f835687/src/lib/types.ts#L102">src/lib/types.ts:102</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="stopped" class="tsd-anchor"></a><h3>stopped</h3><div class="tsd-signature tsd-kind-icon">stopped<span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/f835687/src/lib/types.ts#L101">src/lib/types.ts:101</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="stopping" class="tsd-anchor"></a><h3>stopping</h3><div class="tsd-signature tsd-kind-icon">stopping<span class="tsd-signature-symbol"> = 3</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/sebbo2002/node-pyatv/blob/f835687/src/lib/types.ts#L104">src/lib/types.ts:104</a></li></ul></aside></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-enum"><a href="NodePyATVListenerState.html" class="tsd-kind-icon">Node<wbr/>PyATVListener<wbr/>State</a><ul><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#started" class="tsd-kind-icon">started</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#starting" class="tsd-kind-icon">starting</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#stopped" class="tsd-kind-icon">stopped</a></li><li class="tsd-kind-enum-member tsd-parent-kind-enum"><a href="NodePyATVListenerState.html#stopping" class="tsd-kind-icon">stopping</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>