@openclaw/whatsapp 2026.9.5 → 2026.9.7

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 (359) hide show
  1. package/assets/icon.png +0 -0
  2. package/dist/.setup/{accounts-D_NGDjCx.mjs → accounts-CtRPAQCL.mjs} +3 -9
  3. package/dist/.setup/{action-runtime-DZZFamfl.mjs → action-runtime-DeVk5V7r.mjs} +2 -2
  4. package/dist/.setup/{agent-tools-login-B6MAs75N.mjs → agent-tools-login-CL5C1rA2.mjs} +5 -1
  5. package/dist/.setup/{approval-handler.runtime-C0hzmMSj.mjs → approval-handler.runtime-CjqMlPOX.mjs} +6 -26
  6. package/dist/.setup/{approval-reactions-BnXw-UZI.mjs → approval-reactions-DiOFvb1s.mjs} +8 -14
  7. package/dist/.setup/{auth-store-Dh8a3cba.mjs → auth-store-BBonwKks.mjs} +9 -33
  8. package/dist/.setup/{channel-CSclZYjU.mjs → channel-CJFE0kD_.mjs} +82 -154
  9. package/dist/.setup/{channel-react-action-1iBiEnq7.mjs → channel-react-action-2r_hjLZV.mjs} +4 -8
  10. package/dist/.setup/{channel.runtime-ddGY37w8.mjs → channel.runtime-C94goLw9.mjs} +4 -4
  11. package/dist/.setup/{channel.setup-CqUl8COe.mjs → channel.setup-CfN1UfdY.mjs} +1 -1
  12. package/dist/.setup/{connection-controller-C60mU7j7.mjs → connection-controller-CHo1oRJA.mjs} +13 -63
  13. package/dist/.setup/{creds-files-Drg3usj1.mjs → creds-files-CDATZWWM.mjs} +5 -11
  14. package/dist/.setup/{directory-config-BHPoBklt.mjs → directory-config-DUiJ5d8I.mjs} +13 -14
  15. package/dist/.setup/doctor-iMwg0Vhr.mjs +222 -0
  16. package/dist/.setup/group-config-path-DZr3ucUO.mjs +40 -0
  17. package/dist/.setup/{group-session-key-D22hYMdE.mjs → group-session-key-2-mja4OF.mjs} +3 -9
  18. package/dist/.setup/{login-2dmd1TfE.mjs → login-BFlvSh9h.mjs} +9 -11
  19. package/dist/.setup/{login-qr-CgKtO_ef.mjs → login-qr-Ayb8i25J.mjs} +29 -77
  20. package/dist/.setup/{monitor-BblvzLpX.mjs → monitor-CGpV2VNN.mjs} +391 -509
  21. package/dist/.setup/{question-reactions-D3Zq9Gbn.mjs → question-reactions-CPyyi5AY.mjs} +2 -2
  22. package/dist/.setup/rolldown-runtime-BBjsoOtd.mjs +27 -0
  23. package/dist/.setup/{send-C6jDmcL9.mjs → send-BGdvf5cC.mjs} +31 -80
  24. package/dist/.setup/{send-api-B4DOt2RJ.mjs → send-api-H4AkQJjT.mjs} +45 -109
  25. package/dist/.setup/{session-errors-JuazczrA.mjs → session-errors-B8UcAnZN.mjs} +1 -4
  26. package/dist/.setup/{session.runtime-DcJuO42v.mjs → session.runtime-st1konFI.mjs} +1 -1
  27. package/dist/.setup/{setup-finalize-BYEgU0hb.mjs → setup-finalize-DmPX4EaW.mjs} +32 -70
  28. package/dist/.setup/setup-plugin-api-vJlxKzca.mjs +3 -0
  29. package/dist/.setup/{setup-surface-Cd3wN5HD.mjs → setup-surface-43fj197P.mjs} +3 -3
  30. package/dist/.setup/{shared-C9OEtKgc.mjs → shared-DgOG5Iqr.mjs} +26 -37
  31. package/dist/.setup/{socket-close-CCVSFufF.mjs → socket-close-CT__V2fz.mjs} +80 -92
  32. package/dist/.setup/{targets-runtime-RBjx3pg_.mjs → targets-runtime-DmiqXIXO.mjs} +2 -7
  33. package/dist/action-runtime-api.js +1 -1
  34. package/dist/action-runtime.runtime.js +1 -1
  35. package/dist/agent-tools-api.js +6 -13
  36. package/dist/api.js +10 -10
  37. package/dist/auth-presence.js +1 -1
  38. package/dist/channel-plugin-api.js +1 -1
  39. package/dist/contract-api.js +2 -2
  40. package/dist/directory-contract-api.js +1 -1
  41. package/dist/doctor-contract-api.js +9 -10
  42. package/dist/light-runtime-api.js +3 -3
  43. package/dist/login-qr-runtime.js +1 -1
  44. package/dist/runtime-api.js +10 -10
  45. package/dist/setup-entry.js +1 -1
  46. package/dist/setup-plugin-api.js +1 -1
  47. package/node_modules/audio-decode/LICENSE +9 -10
  48. package/node_modules/audio-decode/README.md +16 -0
  49. package/node_modules/audio-decode/audio-decode.d.ts +2 -14
  50. package/node_modules/audio-decode/audio-decode.js +4 -92
  51. package/node_modules/audio-decode/meta.js +1 -0
  52. package/node_modules/audio-decode/node_modules/{audio-buffer → @audio/decode}/LICENSE +1 -1
  53. package/node_modules/audio-decode/node_modules/@audio/decode/audio-decode.d.ts +52 -0
  54. package/node_modules/audio-decode/node_modules/@audio/decode/audio-decode.js +242 -0
  55. package/node_modules/audio-decode/node_modules/@audio/decode/meta.js +14 -0
  56. package/node_modules/audio-decode/node_modules/@audio/decode/package.json +114 -0
  57. package/node_modules/audio-decode/node_modules/@audio/decode/readme.md +191 -0
  58. package/node_modules/audio-decode/node_modules/@audio/decode/stream.d.ts +12 -0
  59. package/node_modules/audio-decode/node_modules/@audio/decode/stream.js +1 -0
  60. package/node_modules/audio-decode/node_modules/@audio/decode/test.html +52 -0
  61. package/node_modules/audio-decode/node_modules/@audio/decode-aac/LICENSE +9 -0
  62. package/node_modules/audio-decode/node_modules/@audio/decode-aac/README.md +80 -0
  63. package/node_modules/audio-decode/node_modules/@audio/decode-aac/alac.js +326 -0
  64. package/node_modules/audio-decode/node_modules/@audio/decode-aac/audio.d.ts +15 -0
  65. package/node_modules/audio-decode/node_modules/@audio/decode-aac/audio.js +10 -0
  66. package/node_modules/audio-decode/node_modules/@audio/decode-aac/decode-aac.d.ts +24 -0
  67. package/node_modules/audio-decode/node_modules/@audio/decode-aac/decode-aac.js +452 -0
  68. package/node_modules/audio-decode/node_modules/@audio/decode-aac/meta.js +81 -0
  69. package/node_modules/audio-decode/node_modules/@audio/decode-aac/package.json +63 -0
  70. package/node_modules/audio-decode/node_modules/@audio/decode-aac/src/aac.wasm.js +0 -0
  71. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/LICENSE +12 -0
  72. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/LICENSE.liba52 +340 -0
  73. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/README.md +41 -0
  74. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/audio.d.ts +15 -0
  75. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/audio.js +9 -0
  76. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/decode-ac3.d.ts +20 -0
  77. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/decode-ac3.js +131 -0
  78. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/package.json +64 -0
  79. package/node_modules/audio-decode/node_modules/@audio/decode-ac3/src/ac3.wasm.js +0 -0
  80. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/LICENSE +21 -0
  81. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/README.md +46 -0
  82. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/audio.d.ts +15 -0
  83. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/audio.js +10 -0
  84. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/decode-aiff.d.ts +16 -0
  85. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/decode-aiff.js +583 -0
  86. package/node_modules/audio-decode/node_modules/@audio/decode-aiff/package.json +52 -0
  87. package/node_modules/audio-decode/node_modules/@audio/decode-amr/LICENSE +191 -0
  88. package/node_modules/audio-decode/node_modules/@audio/decode-amr/README.md +65 -0
  89. package/node_modules/audio-decode/node_modules/@audio/decode-amr/audio.d.ts +15 -0
  90. package/node_modules/audio-decode/node_modules/@audio/decode-amr/audio.js +10 -0
  91. package/node_modules/audio-decode/node_modules/@audio/decode-amr/decode-amr.d.ts +16 -0
  92. package/node_modules/audio-decode/node_modules/@audio/decode-amr/decode-amr.js +150 -0
  93. package/node_modules/audio-decode/node_modules/@audio/decode-amr/package.json +58 -0
  94. package/node_modules/audio-decode/node_modules/@audio/decode-amr/src/amr.wasm.js +0 -0
  95. package/node_modules/audio-decode/node_modules/@audio/decode-avi/LICENSE +21 -0
  96. package/node_modules/audio-decode/node_modules/@audio/decode-avi/README.md +53 -0
  97. package/node_modules/audio-decode/node_modules/@audio/decode-avi/audio.d.ts +15 -0
  98. package/node_modules/audio-decode/node_modules/@audio/decode-avi/audio.js +9 -0
  99. package/node_modules/audio-decode/node_modules/@audio/decode-avi/decode-avi.d.ts +21 -0
  100. package/node_modules/audio-decode/node_modules/@audio/decode-avi/decode-avi.js +241 -0
  101. package/node_modules/audio-decode/node_modules/@audio/decode-avi/package.json +66 -0
  102. package/node_modules/audio-decode/node_modules/@audio/decode-caf/LICENSE +21 -0
  103. package/node_modules/audio-decode/node_modules/@audio/decode-caf/README.md +48 -0
  104. package/node_modules/audio-decode/node_modules/@audio/decode-caf/audio.d.ts +15 -0
  105. package/node_modules/audio-decode/node_modules/@audio/decode-caf/audio.js +10 -0
  106. package/node_modules/audio-decode/node_modules/@audio/decode-caf/decode-caf.d.ts +16 -0
  107. package/node_modules/audio-decode/node_modules/@audio/decode-caf/decode-caf.js +238 -0
  108. package/node_modules/audio-decode/node_modules/@audio/decode-caf/package.json +53 -0
  109. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/LICENSE +21 -0
  110. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/README.md +73 -0
  111. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/audio.d.ts +21 -0
  112. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/audio.js +15 -0
  113. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/decode-dsd.d.ts +29 -0
  114. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/decode-dsd.js +423 -0
  115. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/meta.js +40 -0
  116. package/node_modules/audio-decode/node_modules/@audio/decode-dsd/package.json +64 -0
  117. package/node_modules/audio-decode/node_modules/@audio/decode-dts/LICENSE +12 -0
  118. package/node_modules/audio-decode/node_modules/@audio/decode-dts/LICENSE.libdca +339 -0
  119. package/node_modules/audio-decode/node_modules/@audio/decode-dts/README.md +41 -0
  120. package/node_modules/audio-decode/node_modules/@audio/decode-dts/audio.d.ts +15 -0
  121. package/node_modules/audio-decode/node_modules/@audio/decode-dts/audio.js +9 -0
  122. package/node_modules/audio-decode/node_modules/@audio/decode-dts/decode-dts.d.ts +20 -0
  123. package/node_modules/audio-decode/node_modules/@audio/decode-dts/decode-dts.js +139 -0
  124. package/node_modules/audio-decode/node_modules/@audio/decode-dts/package.json +64 -0
  125. package/node_modules/audio-decode/node_modules/@audio/decode-dts/src/dts.wasm.js +0 -0
  126. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/LICENSE +12 -0
  127. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/LICENSE.ffmpeg +502 -0
  128. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/README.md +45 -0
  129. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/audio.d.ts +15 -0
  130. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/audio.js +9 -0
  131. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/decode-eac3.d.ts +20 -0
  132. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/decode-eac3.js +124 -0
  133. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/package.json +68 -0
  134. package/node_modules/audio-decode/node_modules/@audio/decode-eac3/src/eac3.wasm.js +0 -0
  135. package/node_modules/audio-decode/node_modules/@audio/decode-flac/LICENSE +25 -0
  136. package/node_modules/audio-decode/node_modules/@audio/decode-flac/README.md +23 -0
  137. package/node_modules/audio-decode/node_modules/@audio/decode-flac/audio.d.ts +15 -0
  138. package/node_modules/audio-decode/node_modules/@audio/decode-flac/audio.js +10 -0
  139. package/node_modules/audio-decode/node_modules/@audio/decode-flac/decode-flac.d.ts +18 -0
  140. package/node_modules/audio-decode/node_modules/@audio/decode-flac/decode-flac.js +3172 -0
  141. package/node_modules/audio-decode/node_modules/@audio/decode-flac/meta.js +115 -0
  142. package/node_modules/audio-decode/node_modules/@audio/decode-flac/package.json +60 -0
  143. package/node_modules/audio-decode/node_modules/@audio/decode-mod/LICENSE +23 -0
  144. package/node_modules/audio-decode/node_modules/@audio/decode-mod/LICENSE.libopenmpt +25 -0
  145. package/node_modules/audio-decode/node_modules/@audio/decode-mod/README.md +86 -0
  146. package/node_modules/audio-decode/node_modules/@audio/decode-mod/audio.d.ts +20 -0
  147. package/node_modules/audio-decode/node_modules/@audio/decode-mod/audio.js +12 -0
  148. package/node_modules/audio-decode/node_modules/@audio/decode-mod/decode-mod.d.ts +58 -0
  149. package/node_modules/audio-decode/node_modules/@audio/decode-mod/decode-mod.js +148 -0
  150. package/node_modules/audio-decode/node_modules/@audio/decode-mod/package.json +68 -0
  151. package/node_modules/audio-decode/node_modules/@audio/decode-mod/src/mod.wasm.js +0 -0
  152. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/LICENSE +25 -0
  153. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/README.md +20 -0
  154. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/audio.d.ts +15 -0
  155. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/audio.js +10 -0
  156. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/decode-mp3.d.ts +16 -0
  157. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/decode-mp3.js +793 -0
  158. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/meta.js +143 -0
  159. package/node_modules/audio-decode/node_modules/@audio/decode-mp3/package.json +60 -0
  160. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/LICENSE +21 -0
  161. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/README.md +58 -0
  162. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/audio.d.ts +15 -0
  163. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/audio.js +9 -0
  164. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/decode-mp4.d.ts +21 -0
  165. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/decode-mp4.js +455 -0
  166. package/node_modules/audio-decode/node_modules/@audio/decode-mp4/package.json +74 -0
  167. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/LICENSE +31 -0
  168. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/LICENSE.libmpcdec +31 -0
  169. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/README.md +60 -0
  170. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/audio.d.ts +15 -0
  171. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/audio.js +9 -0
  172. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/decode-mpc.d.ts +20 -0
  173. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/decode-mpc.js +158 -0
  174. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/package.json +64 -0
  175. package/node_modules/audio-decode/node_modules/@audio/decode-mpc/src/mpc.wasm.js +0 -0
  176. package/node_modules/audio-decode/node_modules/@audio/decode-opus/LICENSE +25 -0
  177. package/node_modules/audio-decode/node_modules/@audio/decode-opus/LICENSE.libopus +44 -0
  178. package/node_modules/audio-decode/node_modules/@audio/decode-opus/README.md +32 -0
  179. package/node_modules/audio-decode/node_modules/@audio/decode-opus/audio.d.ts +15 -0
  180. package/node_modules/audio-decode/node_modules/@audio/decode-opus/audio.js +10 -0
  181. package/node_modules/audio-decode/node_modules/@audio/decode-opus/core.d.ts +33 -0
  182. package/node_modules/audio-decode/node_modules/@audio/decode-opus/core.js +147 -0
  183. package/node_modules/audio-decode/node_modules/@audio/decode-opus/decode-opus.d.ts +18 -0
  184. package/node_modules/audio-decode/node_modules/@audio/decode-opus/decode-opus.js +1 -0
  185. package/node_modules/audio-decode/node_modules/@audio/decode-opus/meta.js +103 -0
  186. package/node_modules/audio-decode/node_modules/@audio/decode-opus/package.json +68 -0
  187. package/node_modules/audio-decode/node_modules/@audio/decode-opus/src/decode-opus.js +2 -0
  188. package/node_modules/audio-decode/node_modules/@audio/decode-opus/src/opus.wasm.js +0 -0
  189. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/LICENSE +25 -0
  190. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/README.md +19 -0
  191. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/audio.d.ts +15 -0
  192. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/audio.js +10 -0
  193. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/decode-qoa.d.ts +16 -0
  194. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/decode-qoa.js +275 -0
  195. package/node_modules/audio-decode/node_modules/@audio/decode-qoa/package.json +56 -0
  196. package/node_modules/audio-decode/node_modules/@audio/decode-tta/LICENSE +21 -0
  197. package/node_modules/audio-decode/node_modules/@audio/decode-tta/LICENSE.ttadec +39 -0
  198. package/node_modules/audio-decode/node_modules/@audio/decode-tta/README.md +58 -0
  199. package/node_modules/audio-decode/node_modules/@audio/decode-tta/audio.d.ts +15 -0
  200. package/node_modules/audio-decode/node_modules/@audio/decode-tta/audio.js +9 -0
  201. package/node_modules/audio-decode/node_modules/@audio/decode-tta/decode-tta.d.ts +17 -0
  202. package/node_modules/audio-decode/node_modules/@audio/decode-tta/decode-tta.js +302 -0
  203. package/node_modules/audio-decode/node_modules/@audio/decode-tta/package.json +58 -0
  204. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/LICENSE +25 -0
  205. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/README.md +33 -0
  206. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/audio.d.ts +15 -0
  207. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/audio.js +10 -0
  208. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/decode-vorbis.d.ts +18 -0
  209. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/decode-vorbis.js +2984 -0
  210. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/meta.js +102 -0
  211. package/node_modules/audio-decode/node_modules/@audio/decode-vorbis/package.json +60 -0
  212. package/node_modules/audio-decode/node_modules/@audio/decode-wav/LICENSE +21 -0
  213. package/node_modules/audio-decode/node_modules/@audio/decode-wav/README.md +23 -0
  214. package/node_modules/audio-decode/node_modules/@audio/decode-wav/audio.d.ts +15 -0
  215. package/node_modules/audio-decode/node_modules/@audio/decode-wav/audio.js +10 -0
  216. package/node_modules/audio-decode/node_modules/@audio/decode-wav/decode-wav.d.ts +8 -0
  217. package/node_modules/audio-decode/node_modules/@audio/decode-wav/decode-wav.js +256 -0
  218. package/node_modules/audio-decode/node_modules/@audio/decode-wav/meta.js +114 -0
  219. package/node_modules/audio-decode/node_modules/@audio/decode-wav/package.json +52 -0
  220. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/LICENSE +29 -0
  221. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/LICENSE.wavpack +25 -0
  222. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/README.md +41 -0
  223. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/audio.d.ts +15 -0
  224. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/audio.js +9 -0
  225. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/decode-wavpack.d.ts +18 -0
  226. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/decode-wavpack.js +140 -0
  227. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/package.json +62 -0
  228. package/node_modules/audio-decode/node_modules/@audio/decode-wavpack/src/wavpack.wasm.js +0 -0
  229. package/node_modules/audio-decode/node_modules/@audio/decode-webm/LICENSE +21 -0
  230. package/node_modules/audio-decode/node_modules/@audio/decode-webm/LICENSE.libopus +44 -0
  231. package/node_modules/audio-decode/node_modules/@audio/decode-webm/README.md +59 -0
  232. package/node_modules/audio-decode/node_modules/@audio/decode-webm/audio.d.ts +15 -0
  233. package/node_modules/audio-decode/node_modules/@audio/decode-webm/audio.js +10 -0
  234. package/node_modules/audio-decode/node_modules/@audio/decode-webm/decode-webm.d.ts +18 -0
  235. package/node_modules/audio-decode/node_modules/@audio/decode-webm/decode-webm.js +141 -0
  236. package/node_modules/audio-decode/node_modules/@audio/decode-webm/package.json +76 -0
  237. package/node_modules/audio-decode/node_modules/@audio/decode-webm/src/opus.wasm.js +0 -0
  238. package/node_modules/audio-decode/node_modules/@audio/decode-wma/LICENSE +12 -0
  239. package/node_modules/audio-decode/node_modules/@audio/decode-wma/README.md +74 -0
  240. package/node_modules/audio-decode/node_modules/@audio/decode-wma/audio.d.ts +15 -0
  241. package/node_modules/audio-decode/node_modules/@audio/decode-wma/audio.js +10 -0
  242. package/node_modules/audio-decode/node_modules/@audio/decode-wma/decode-wma.d.ts +33 -0
  243. package/node_modules/audio-decode/node_modules/@audio/decode-wma/decode-wma.js +516 -0
  244. package/node_modules/audio-decode/node_modules/@audio/decode-wma/package.json +57 -0
  245. package/node_modules/audio-decode/node_modules/@audio/decode-wma/src/wma.wasm.js +0 -0
  246. package/node_modules/audio-decode/package.json +37 -39
  247. package/node_modules/audio-decode/stream.d.ts +2 -0
  248. package/node_modules/audio-decode/stream.js +2 -0
  249. package/node_modules/baileys/lib/Utils/messages-media.js +1 -1
  250. package/node_modules/baileys/node_modules/file-type/package.json +3 -2
  251. package/node_modules/baileys/node_modules/file-type/readme.md +5 -0
  252. package/node_modules/baileys/node_modules/file-type/source/detectors/zip.js +9 -4
  253. package/node_modules/baileys/node_modules/file-type/source/index.js +28 -1
  254. package/node_modules/baileys/node_modules/file-type/source/supported.js +2 -0
  255. package/node_modules/baileys/node_modules/p-timeout/index.js +3 -0
  256. package/node_modules/baileys/node_modules/p-timeout/package.json +1 -1
  257. package/node_modules/baileys/package.json +1 -1
  258. package/node_modules/typebox/build/compile/code.mjs +1 -2
  259. package/node_modules/typebox/build/compile/validator.mjs +5 -1
  260. package/node_modules/typebox/build/format/iri.mjs +16 -9
  261. package/node_modules/typebox/build/guard/emit.mjs +2 -2
  262. package/node_modules/typebox/build/guard/guard.d.mts +7 -5
  263. package/node_modules/typebox/build/guard/guard.mjs +14 -9
  264. package/node_modules/typebox/build/guard/index.mjs +6 -0
  265. package/node_modules/typebox/build/guard/unicode/unicode.d.mts +6 -0
  266. package/node_modules/typebox/build/guard/unicode/unicode.mjs +35 -0
  267. package/node_modules/typebox/build/guard/{string.mjs → unicode/unicode_segment.mjs} +16 -19
  268. package/node_modules/typebox/build/schema/build.mjs +2 -3
  269. package/node_modules/typebox/build/schema/engine/_pathing.d.mts +1 -0
  270. package/node_modules/typebox/build/schema/engine/_pathing.mjs +11 -0
  271. package/node_modules/typebox/build/schema/engine/_refine.mjs +13 -5
  272. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +2 -1
  273. package/node_modules/typebox/build/schema/engine/dependencies.mjs +2 -1
  274. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +2 -1
  275. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +1 -1
  276. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +2 -2
  277. package/node_modules/typebox/build/schema/engine/format.mjs +9 -2
  278. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +3 -2
  279. package/node_modules/typebox/build/schema/engine/properties.mjs +3 -2
  280. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +2 -1
  281. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +1 -1
  282. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +2 -2
  283. package/node_modules/typebox/build/schema/engine/ref.d.mts +1 -1
  284. package/node_modules/typebox/build/schema/engine/ref.mjs +2 -2
  285. package/node_modules/typebox/build/schema/engine/schema.mjs +24 -24
  286. package/node_modules/typebox/build/schema/parse.mjs +3 -0
  287. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +1 -6
  288. package/node_modules/typebox/build/schema/pointer/pointer.mjs +47 -64
  289. package/node_modules/typebox/build/system/settings/internal.d.mts +2 -0
  290. package/node_modules/typebox/build/system/settings/internal.mjs +20 -0
  291. package/node_modules/typebox/build/system/settings/settings.d.mts +11 -0
  292. package/node_modules/typebox/build/system/settings/settings.mjs +14 -0
  293. package/node_modules/typebox/build/type/extends/inference.d.mts +1 -1
  294. package/node_modules/typebox/build/type/extends/inference.mjs +15 -2
  295. package/node_modules/typebox/build/type/extends/tuple.d.mts +2 -1
  296. package/node_modules/typebox/build/type/extends/tuple.mjs +21 -1
  297. package/node_modules/typebox/build/value/parse/parse.mjs +10 -4
  298. package/node_modules/typebox/package.json +1 -1
  299. package/node_modules/typebox/readme.md +3 -1
  300. package/package.json +6 -6
  301. package/dist/.setup/doctor-BPb-SjdE.mjs +0 -65
  302. package/dist/.setup/group-config-path-BGyzT9Lg.mjs +0 -54
  303. package/dist/.setup/normalize-DdsROMMa.mjs +0 -2
  304. package/dist/.setup/rolldown-runtime-D7D4PA-g.mjs +0 -13
  305. package/dist/.setup/runtime-group-policy-DeSRFXEV.mjs +0 -11
  306. package/dist/.setup/setup-plugin-api-CXfU-7vN.mjs +0 -3
  307. package/dist/.setup/text-runtime-CHl0iPYe.mjs +0 -4
  308. package/node_modules/audio-decode/.eslintrc.json +0 -43
  309. package/node_modules/audio-decode/.github/workflows/test.js.yml +0 -31
  310. package/node_modules/audio-decode/.travis.yml +0 -13
  311. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/README.md +0 -293
  312. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/dist/opus-ml-decoder.min.js +0 -11646
  313. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/dist/opus-ml-decoder.min.js.map +0 -1
  314. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/index.js +0 -8
  315. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/package.json +0 -58
  316. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/src/EmscriptenWasm.js +0 -0
  317. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/src/OpusMLDecoder.js +0 -253
  318. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/src/OpusMLDecoderWebWorker.js +0 -17
  319. package/node_modules/audio-decode/node_modules/@wasm-audio-decoders/opus-ml/types.d.ts +0 -77
  320. package/node_modules/audio-decode/node_modules/audio-buffer/.eslintrc.json +0 -44
  321. package/node_modules/audio-decode/node_modules/audio-buffer/.github/workflows/node.js.yml +0 -31
  322. package/node_modules/audio-decode/node_modules/audio-buffer/.travis.yml +0 -7
  323. package/node_modules/audio-decode/node_modules/audio-buffer/index.js +0 -76
  324. package/node_modules/audio-decode/node_modules/audio-buffer/package.json +0 -37
  325. package/node_modules/audio-decode/node_modules/audio-buffer/readme.md +0 -56
  326. package/node_modules/audio-decode/node_modules/node-wav/README.md +0 -35
  327. package/node_modules/audio-decode/node_modules/node-wav/file.wav +0 -0
  328. package/node_modules/audio-decode/node_modules/node-wav/index.js +0 -291
  329. package/node_modules/audio-decode/node_modules/node-wav/package.json +0 -29
  330. package/node_modules/audio-decode/node_modules/node-wav/tests/file1.wav +0 -0
  331. package/node_modules/audio-decode/node_modules/node-wav/tests/test.js +0 -66
  332. package/node_modules/audio-decode/node_modules/node-wav/x.js +0 -12
  333. package/node_modules/audio-decode/node_modules/node-wav/x.json +0 -86702
  334. package/node_modules/audio-decode/node_modules/node-wav/x.js~ +0 -13
  335. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/README.md +0 -320
  336. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.min.js +0 -232
  337. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.min.js.map +0 -1
  338. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.opus-ml.min.js +0 -0
  339. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/dist/ogg-opus-decoder.opus-ml.min.js.map +0 -1
  340. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/index.js +0 -8
  341. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/package.json +0 -74
  342. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/src/OggOpusDecoder.js +0 -226
  343. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/src/OggOpusDecoderWebWorker.js +0 -17
  344. package/node_modules/audio-decode/node_modules/ogg-opus-decoder/types.d.ts +0 -37
  345. package/node_modules/audio-decode/node_modules/opus-decoder/README.md +0 -265
  346. package/node_modules/audio-decode/node_modules/opus-decoder/dist/opus-decoder.min.js +0 -232
  347. package/node_modules/audio-decode/node_modules/opus-decoder/dist/opus-decoder.min.js.map +0 -1
  348. package/node_modules/audio-decode/node_modules/opus-decoder/index.js +0 -8
  349. package/node_modules/audio-decode/node_modules/opus-decoder/package.json +0 -56
  350. package/node_modules/audio-decode/node_modules/opus-decoder/src/EmscriptenWasm.js +0 -0
  351. package/node_modules/audio-decode/node_modules/opus-decoder/src/OpusDecoder.js +0 -239
  352. package/node_modules/audio-decode/node_modules/opus-decoder/src/OpusDecoderWebWorker.js +0 -17
  353. package/node_modules/audio-decode/node_modules/opus-decoder/types.d.ts +0 -74
  354. package/node_modules/audio-decode/readme.md +0 -49
  355. package/node_modules/audio-decode/tea.yaml +0 -6
  356. package/node_modules/audio-decode/test-case.js +0 -11
  357. package/node_modules/audio-decode/test.html +0 -15
  358. package/node_modules/audio-decode/test.js +0 -107
  359. /package/node_modules/typebox/build/guard/{string.d.mts → unicode/unicode_segment.d.mts} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"names":["global","factory","this","exports","NodeWorker","t","n","e","r","Int32Array","o","s","i","c","length","Uint8Array","map","parseInt","substring","Map","forEach","set","a","l","f","g","h","p","u","DataView","buffer","getInt32","d","charCodeAt","get","m","subarray","console","error","Error","WASMAudioDecoderCommon","uint8Array","float32Array","Float32Array","modules","Object","defineProperties","value","WeakMap","setModule","Ref","module","Promise","resolve","getModule","wasmString","WebAssembly","compile","wasm","inflateDynEncodeString","then","data","concatFloat32","buffers","ret","offset","getDecodedAudio","errors","channelData","samplesDecoded","sampleRate","bitDepth","getDecodedAudioMultiChannel","input","channelsDecoded","j","channel","push","source","puffString","String","raw","instantiate","instanceExports","entries","puff","memory","dataArray","heapView","heapPos","sourceLength","sourceLengthPtr","setInt32","sourcePtr","destLengthPtr","byteLength","slice","defineProperty","enumerable","_wasm","getOutputChannels","outputData","output","allocateTypedArray","len","TypedArray","setPointer","ptr","malloc","BYTES_PER_ELEMENT","_pointers","add","buf","HEAP","free","clear","codeToString","characters","heap","character","fromCharCode","apply","addError","message","frameLength","frameNumber","inputBytes","outputSamples","_EmscriptenWASM","_module","Set","ready","WASMAudioDecoderWorker","globalThis","Worker","getWorker","constructor","options","name","Decoder","EmscriptenWASM","isNode","type","webworkerSourceCode","_Decoder","_WASMAudioDecoderCommon","decoder","moduleResolve","modulePromise","self","onmessage","id","command","transferList","messagePromise","messagePayload","isWebWorker","reset","assign","Array","isArray","postMessage","process","versions","node","Buffer","from","toString","URL","createObjectURL","Blob","super","_id","Number","MIN_SAFE_INTEGER","_enqueuedOperations","rest","delete","postToDecoder","finally","terminate","assignNames","Class","abort","what","HEAPU8","wasmMemory","UTF8Decoder","TextDecoder","UTF8ToString","maxBytesToRead","maxPtr","end","decode","timers","base64ReverseLookup","_opus_ml_frame_decoder_create","_malloc","_opus_ml_frame_decode_float_deinterleaved","_opus_ml_frame_decoder_destroy","_free","__emscripten_timeout","wasmImports","condition","filename","line","func","__emscripten_runtime_keepalive_clear","__setitimer_js","which","timeout_ms","clearTimeout","setTimeout","performance","now","requestedSize","_proc_exit","code","imports","instance","wasmExports","b","assignWasmExports","BigInt64Array","BigUint64Array","initRuntime","opus_ml_frame_decoder_create","opus_ml_frame_decode_float_deinterleaved","opus_ml_frame_decoder_destroy","OpusMLDecoder","_init","common","_common","_inputBytes","_outputSamples","_frameNumber","_input","_inputSize","_output","_outputChannels","_outputChannelSize","mapping","_channels","_channelMappingTable","_decoder","_sampleRate","_streamCount","_coupledStreamCount","_preSkip","_complexity","_forceStereo","_ready","_decode","opusFrame","outputBuffer","decodeFrame","decoded","decodeFrames","opusFrames","outputBuffers","_isWebWorker","isNumber","param","channels","streamCount","coupledStreamCount","channelMappingTable","preSk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I,WAA6BA,WAAarI,GAAUqJ,MAAqB,WAAa,CAAC,EAAGrJ,EAAOsI","ignoreList":[]}
@@ -1,8 +0,0 @@
1
- import OpusMLDecoder from "./src/OpusMLDecoder.js";
2
- import OpusMLDecoderWebWorker from "./src/OpusMLDecoderWebWorker.js";
3
- import { assignNames } from "@wasm-audio-decoders/common";
4
-
5
- assignNames(OpusMLDecoder, "OpusMLDecoder");
6
- assignNames(OpusMLDecoderWebWorker, "OpusMLDecoderWebWorker");
7
-
8
- export { OpusMLDecoder, OpusMLDecoderWebWorker };
@@ -1,58 +0,0 @@
1
- {
2
- "name": "@wasm-audio-decoders/opus-ml",
3
- "version": "0.0.3",
4
- "description": "Web Assembly streaming Opus decoder with Machine Learning enhancements",
5
- "type": "module",
6
- "main": "./index.js",
7
- "exports": {
8
- "types": "./types.d.ts",
9
- "default": "./index.js"
10
- },
11
- "sideEffects": false,
12
- "types": "types.d.ts",
13
- "files": [
14
- "index.js",
15
- "types.d.ts",
16
- "src/EmscriptenWasm.js",
17
- "src/OpusMLDecoder.js",
18
- "src/OpusMLDecoderWebWorker.js",
19
- "dist/opus-ml-decoder.min.js",
20
- "dist/opus-ml-decoder.min.js.map"
21
- ],
22
- "keywords": [
23
- "Opus",
24
- "audio",
25
- "decoder",
26
- "multichannel",
27
- "surround",
28
- "stream",
29
- "streams",
30
- "libopus",
31
- "Web Assembly",
32
- "Wasm",
33
- "Web Worker",
34
- "speech",
35
- "machine learning"
36
- ],
37
- "author": {
38
- "name": "Ethan Halsall",
39
- "email": "ethanhalsall@pm.me"
40
- },
41
- "license": "MIT",
42
- "bugs": {
43
- "url": "https://github.com/eshaz/wasm-audio-decoders/issues"
44
- },
45
- "homepage": "https://github.com/eshaz/wasm-audio-decoders/tree/main/src/opus-ml",
46
- "repository": {
47
- "type": "git",
48
- "url": "git+https://github.com/eshaz/wasm-audio-decoders.git",
49
- "directory": "src/opus-ml"
50
- },
51
- "funding": {
52
- "type": "individual",
53
- "url": "https://github.com/sponsors/eshaz"
54
- },
55
- "dependencies": {
56
- "@wasm-audio-decoders/common": "9.0.7"
57
- }
58
- }
@@ -1,253 +0,0 @@
1
- import { WASMAudioDecoderCommon } from "@wasm-audio-decoders/common";
2
-
3
- import EmscriptenWASM from "./EmscriptenWasm.js";
4
-
5
- export default function OpusMLDecoder(options = {}) {
6
- // static properties
7
- if (!OpusMLDecoder.errors) {
8
- // prettier-ignore
9
- Object.defineProperties(OpusMLDecoder, {
10
- errors: {
11
- value: new Map([
12
- [-1, "OPUS_BAD_ARG: One or more invalid/out of range arguments"],
13
- [-2, "OPUS_BUFFER_TOO_SMALL: Not enough bytes allocated in the buffer"],
14
- [-3, "OPUS_INTERNAL_ERROR: An internal error was detected"],
15
- [-4, "OPUS_INVALID_PACKET: The compressed data passed is corrupted"],
16
- [-5, "OPUS_UNIMPLEMENTED: Invalid/unsupported request number"],
17
- [-6, "OPUS_INVALID_STATE: An encoder or decoder structure is invalid or already freed"],
18
- [-7, "OPUS_ALLOC_FAIL: Memory allocation has failed"],
19
- ]),
20
- },
21
- });
22
- }
23
-
24
- // injects dependencies when running as a web worker
25
- // async
26
- this._init = () =>
27
- new this._WASMAudioDecoderCommon(this)
28
- .instantiate(this._EmscriptenWASM, this._module)
29
- .then((common) => {
30
- this._common = common;
31
-
32
- this._inputBytes = 0;
33
- this._outputSamples = 0;
34
- this._frameNumber = 0;
35
-
36
- this._input = this._common.allocateTypedArray(
37
- this._inputSize,
38
- Uint8Array,
39
- );
40
-
41
- this._output = this._common.allocateTypedArray(
42
- this._outputChannels * this._outputChannelSize,
43
- Float32Array,
44
- );
45
-
46
- const mapping = this._common.allocateTypedArray(
47
- this._channels,
48
- Uint8Array,
49
- );
50
-
51
- mapping.buf.set(this._channelMappingTable);
52
-
53
- this._decoder = this._common.wasm.opus_ml_frame_decoder_create(
54
- this._sampleRate,
55
- this._channels,
56
- this._streamCount,
57
- this._coupledStreamCount,
58
- mapping.ptr,
59
- this._preSkip,
60
- this._complexity,
61
- this._forceStereo,
62
- );
63
- });
64
-
65
- Object.defineProperty(this, "ready", {
66
- enumerable: true,
67
- get: () => this._ready,
68
- });
69
-
70
- // async
71
- this.reset = () => {
72
- this.free();
73
- return this._init();
74
- };
75
-
76
- this.free = () => {
77
- this._common.free();
78
- this._common.wasm.opus_ml_frame_decoder_destroy(this._decoder);
79
- this._common.wasm.free(this._decoder);
80
- };
81
-
82
- this._decode = (opusFrame) => {
83
- if (!(opusFrame instanceof Uint8Array))
84
- throw Error(
85
- "Data to decode must be Uint8Array. Instead got " + typeof opusFrame,
86
- );
87
-
88
- this._input.buf.set(opusFrame);
89
-
90
- let samplesDecoded =
91
- this._common.wasm.opus_ml_frame_decode_float_deinterleaved(
92
- this._decoder,
93
- this._input.ptr,
94
- opusFrame.length,
95
- this._output.ptr,
96
- );
97
-
98
- let error;
99
-
100
- if (samplesDecoded < 0) {
101
- error =
102
- "libopus " +
103
- samplesDecoded +
104
- " " +
105
- (OpusMLDecoder.errors.get(samplesDecoded) || "Unknown Error");
106
-
107
- console.error(error);
108
- samplesDecoded = 0;
109
- }
110
-
111
- return {
112
- outputBuffer: this._common.getOutputChannels(
113
- this._output.buf,
114
- this._outputChannels,
115
- samplesDecoded,
116
- ),
117
- samplesDecoded: samplesDecoded,
118
- error: error,
119
- };
120
- };
121
-
122
- this.decodeFrame = (opusFrame) => {
123
- let errors = [];
124
-
125
- const decoded = this._decode(opusFrame);
126
-
127
- if (decoded.error)
128
- this._common.addError(
129
- errors,
130
- decoded.error,
131
- opusFrame.length,
132
- this._frameNumber,
133
- this._inputBytes,
134
- this._outputSamples,
135
- );
136
-
137
- this._frameNumber++;
138
- this._inputBytes += opusFrame.length;
139
- this._outputSamples += decoded.samplesDecoded;
140
-
141
- return this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
142
- errors,
143
- [decoded.outputBuffer],
144
- this._outputChannels,
145
- decoded.samplesDecoded,
146
- this._sampleRate,
147
- );
148
- };
149
-
150
- this.decodeFrames = (opusFrames) => {
151
- let outputBuffers = [],
152
- errors = [],
153
- samplesDecoded = 0,
154
- i = 0;
155
-
156
- while (i < opusFrames.length) {
157
- const opusFrame = opusFrames[i++];
158
- const decoded = this._decode(opusFrame);
159
-
160
- outputBuffers.push(decoded.outputBuffer);
161
- samplesDecoded += decoded.samplesDecoded;
162
-
163
- if (decoded.error)
164
- this._common.addError(
165
- errors,
166
- decoded.error,
167
- opusFrame.length,
168
- this._frameNumber,
169
- this._inputBytes,
170
- this._outputSamples,
171
- );
172
-
173
- this._frameNumber++;
174
- this._inputBytes += opusFrame.length;
175
- this._outputSamples += decoded.samplesDecoded;
176
- }
177
-
178
- return this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
179
- errors,
180
- outputBuffers,
181
- this._outputChannels,
182
- samplesDecoded,
183
- this._sampleRate,
184
- );
185
- };
186
-
187
- // injects dependencies when running as a web worker
188
- this._isWebWorker = OpusMLDecoder.isWebWorker;
189
- this._WASMAudioDecoderCommon =
190
- OpusMLDecoder.WASMAudioDecoderCommon || WASMAudioDecoderCommon;
191
- this._EmscriptenWASM = OpusMLDecoder.EmscriptenWASM || EmscriptenWASM;
192
- this._module = OpusMLDecoder.module;
193
-
194
- const MAX_FORCE_STEREO_CHANNELS = 8;
195
- const isNumber = (param) => typeof param === "number";
196
-
197
- const sampleRate = options.sampleRate;
198
- const channels = options.channels;
199
- const streamCount = options.streamCount;
200
- const coupledStreamCount = options.coupledStreamCount;
201
- const channelMappingTable = options.channelMappingTable;
202
- const preSkip = options.preSkip;
203
- const speechQualityEnhancement = options.speechQualityEnhancement;
204
- const forceStereo = options.forceStereo ? 1 : 0;
205
-
206
- // channel mapping family >= 1
207
- if (
208
- channels > 2 &&
209
- (!isNumber(streamCount) ||
210
- !isNumber(coupledStreamCount) ||
211
- !Array.isArray(channelMappingTable))
212
- ) {
213
- throw new Error("Invalid Opus Decoder Options for multichannel decoding.");
214
- }
215
-
216
- // libopus sample rate
217
- this._sampleRate = [8e3, 12e3, 16e3, 24e3, 48e3].includes(sampleRate)
218
- ? sampleRate
219
- : 48000;
220
-
221
- // channel mapping family 0
222
- this._channels = isNumber(channels) ? channels : 2;
223
- this._streamCount = isNumber(streamCount) ? streamCount : 1;
224
- this._coupledStreamCount = isNumber(coupledStreamCount)
225
- ? coupledStreamCount
226
- : this._channels - 1;
227
- this._channelMappingTable =
228
- channelMappingTable || (this._channels === 2 ? [0, 1] : [0]);
229
- this._preSkip = preSkip || 0;
230
-
231
- switch (speechQualityEnhancement) {
232
- case "none":
233
- this._complexity = 0;
234
- break;
235
- case "lace":
236
- this._complexity = 6;
237
- break;
238
- case "nolace":
239
- default:
240
- this._complexity = 7;
241
- }
242
-
243
- this._forceStereo =
244
- channels <= MAX_FORCE_STEREO_CHANNELS && channels != 2 ? forceStereo : 0;
245
-
246
- this._inputSize = 32000 * 0.12 * this._channels; // 256kbs per channel
247
- this._outputChannelSize = 120 * 48;
248
- this._outputChannels = this._forceStereo ? 2 : this._channels;
249
-
250
- this._ready = this._init();
251
-
252
- return this;
253
- }
@@ -1,17 +0,0 @@
1
- import { WASMAudioDecoderWorker } from "@wasm-audio-decoders/common";
2
- import EmscriptenWASM from "./EmscriptenWasm.js";
3
- import OpusMLDecoder from "./OpusMLDecoder.js";
4
-
5
- export default class OpusMLDecoderWebWorker extends WASMAudioDecoderWorker {
6
- constructor(options) {
7
- super(options, "opus-ml", OpusMLDecoder, EmscriptenWASM);
8
- }
9
-
10
- async decodeFrame(data) {
11
- return this.postToDecoder("decodeFrame", data);
12
- }
13
-
14
- async decodeFrames(data) {
15
- return this.postToDecoder("decodeFrames", data);
16
- }
17
- }
@@ -1,77 +0,0 @@
1
- import { DecodeError } from "@wasm-audio-decoders/common";
2
-
3
- export type OpusMLDecoderDefaultSampleRate = 48000;
4
- export type OpusMLDecoderSampleRate =
5
- 8000 | 12000 | 16000 | 24000 | OpusMLDecoderDefaultSampleRate;
6
- export type OpusMLSpeechQualityEnhancementOption = "none" | "lace" | "nolace";
7
-
8
- export interface OpusMLDecodedAudio<
9
- SampleRate extends OpusMLDecoderSampleRate = OpusMLDecoderDefaultSampleRate,
10
- > {
11
- channelData: Float32Array[];
12
- samplesDecoded: number;
13
- sampleRate: SampleRate;
14
- errors: DecodeError[];
15
- }
16
-
17
- export class OpusMLDecoder<
18
- SampleRate extends OpusMLDecoderSampleRate | undefined = undefined,
19
- > {
20
- constructor(options?: {
21
- forceStereo?: boolean;
22
- speechQualityEnhancement?: OpusMLSpeechQualityEnhancementOption;
23
- sampleRate?: SampleRate;
24
- preSkip?: number;
25
- channels?: number;
26
- streamCount?: number;
27
- coupledStreamCount?: number;
28
- channelMappingTable?: number[];
29
- });
30
- ready: Promise<void>;
31
- reset: () => Promise<void>;
32
- free: () => void;
33
- decodeFrame: (
34
- opusFrame: Uint8Array,
35
- ) => OpusMLDecodedAudio<
36
- SampleRate extends undefined ? OpusMLDecoderDefaultSampleRate : SampleRate
37
- >;
38
- decodeFrames: (
39
- opusFrames: Uint8Array[],
40
- ) => OpusMLDecodedAudio<
41
- SampleRate extends undefined ? OpusMLDecoderDefaultSampleRate : SampleRate
42
- >;
43
- }
44
-
45
- export class OpusMLDecoderWebWorker<
46
- SampleRate extends OpusMLDecoderSampleRate | undefined = undefined,
47
- > {
48
- constructor(options?: {
49
- forceStereo?: boolean;
50
- speechQualityEnhancement?: OpusMLSpeechQualityEnhancementOption;
51
- sampleRate?: SampleRate;
52
- preSkip?: number;
53
- channels?: number;
54
- streamCount?: number;
55
- coupledStreamCount?: number;
56
- channelMappingTable?: number[];
57
- });
58
- ready: Promise<void>;
59
- reset: () => Promise<void>;
60
- free: () => Promise<void>;
61
- decodeFrame: (
62
- opusFrame: Uint8Array,
63
- ) => Promise<
64
- OpusMLDecodedAudio<
65
- SampleRate extends undefined ? OpusMLDecoderDefaultSampleRate : SampleRate
66
- >
67
- >;
68
- decodeFrames: (
69
- opusFrames: Uint8Array[],
70
- ) => Promise<
71
- OpusMLDecodedAudio<
72
- SampleRate extends undefined ? OpusMLDecoderDefaultSampleRate : SampleRate
73
- >
74
- >;
75
- }
76
-
77
- export { DecodeError };
@@ -1,44 +0,0 @@
1
- {
2
- "env": {
3
- "browser": true,
4
- "node": true,
5
- "commonjs": true,
6
- "es6": true
7
- },
8
- "extends": "eslint:recommended",
9
- "rules": {
10
- "strict": 2,
11
- "indent": 0,
12
- "linebreak-style": 0,
13
- "quotes": 0,
14
- "semi": 0,
15
- "no-cond-assign": 1,
16
- "no-constant-condition": 1,
17
- "no-duplicate-case": 1,
18
- "no-empty": 1,
19
- "no-ex-assign": 1,
20
- "no-extra-boolean-cast": 1,
21
- "no-extra-semi": 1,
22
- "no-fallthrough": 1,
23
- "no-func-assign": 1,
24
- "no-global-assign": 1,
25
- "no-implicit-globals": 2,
26
- "no-inner-declarations": ["error", "functions"],
27
- "no-irregular-whitespace": 2,
28
- "no-loop-func": 1,
29
- "no-magic-numbers": ["warn", { "ignore": [1, 0, -1], "ignoreArrayIndexes": true}],
30
- "no-multi-str": 1,
31
- "no-mixed-spaces-and-tabs": 1,
32
- "no-proto": 1,
33
- "no-sequences": 1,
34
- "no-throw-literal": 1,
35
- "no-unmodified-loop-condition": 1,
36
- "no-useless-call": 1,
37
- "no-void": 1,
38
- "no-with": 2,
39
- "wrap-iife": 1,
40
- "no-redeclare": 1,
41
- "no-unused-vars": ["error", { "vars": "all", "args": "none" }],
42
- "no-sparse-arrays": 1
43
- }
44
- }
@@ -1,31 +0,0 @@
1
- # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
- # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3
-
4
- name: Test
5
-
6
- on:
7
- push:
8
- branches: [ "master" ]
9
- pull_request:
10
- branches: [ "master" ]
11
-
12
- jobs:
13
- build:
14
-
15
- runs-on: ubuntu-latest
16
-
17
- strategy:
18
- matrix:
19
- node-version: [14.x, 16.x, 18.x]
20
- # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
-
22
- steps:
23
- - uses: actions/checkout@v3
24
- - name: Use Node.js ${{ matrix.node-version }}
25
- uses: actions/setup-node@v3
26
- with:
27
- node-version: ${{ matrix.node-version }}
28
- cache: 'npm'
29
- - run: npm ci
30
- - run: npm run build --if-present
31
- - run: npm test
@@ -1,7 +0,0 @@
1
- sudo: false
2
- language: node_js
3
- node_js:
4
- - 'node'
5
- - '6'
6
- - '5'
7
- - '4'
@@ -1,76 +0,0 @@
1
- /**
2
- * AudioBuffer class
3
- */
4
- export default class AudioBuffer {
5
- /**
6
- * Create AudioBuffer instance.
7
- * @constructor
8
- * @param {Object} options - buffer init options.
9
- * @param {number} options.length - buffer length in samples.
10
- * @param {number} options.sampleRate - buffer sample rate.
11
- * @param {number} options.numberOfChannels - number of channels.
12
- */
13
- constructor(options) {
14
- if (!options) throw TypeError('options argument is required')
15
- if (!options.sampleRate) throw TypeError('options.sampleRate is required')
16
- if (options.sampleRate < 3000 || options.sampleRate > 768000) throw TypeError('options.sampleRate must be within 3000..768000')
17
- if (!options.length) throw TypeError('options.length must be more than 0')
18
-
19
- this.sampleRate = options.sampleRate
20
- this.numberOfChannels = options.numberOfChannels || 1
21
- this.length = options.length | 0
22
- this.duration = this.length / this.sampleRate
23
-
24
- //data is stored as a planar sequence
25
- this._data = new Float32Array(this.length * this.numberOfChannels)
26
-
27
- //channels data is cached as subarrays
28
- this._channelData = []
29
- for (let c = 0; c < this.numberOfChannels; c++) {
30
- this._channelData.push(this._data.subarray(c * this.length, (c+1) * this.length))
31
- }
32
- }
33
-
34
- /**
35
- * Return data associated with the channel.
36
- * @param {number} channel - Channel index, starting from 0.
37
- * @return {Float32Array} Array containing the data.
38
- */
39
- getChannelData (channel) {
40
- if (channel >= this.numberOfChannels || channel < 0 || channel == null) throw Error('Cannot getChannelData: channel number (' + channel + ') exceeds number of channels (' + this.numberOfChannels + ')');
41
-
42
- return this._channelData[channel]
43
- }
44
-
45
-
46
- /**
47
- * Place data to the destination buffer, starting from the position.
48
- * @param {Float32Array} destination - Destination array to write data to.
49
- * @param {number} channelNumber - Channel to take data from.
50
- * @param {number} startInChannel - Data offset in channel to read from.
51
- */
52
- copyFromChannel (destination, channelNumber, startInChannel) {
53
- if (startInChannel == null) startInChannel = 0;
54
- var data = this._channelData[channelNumber]
55
- for (var i = startInChannel, j = 0; i < this.length && j < destination.length; i++, j++) {
56
- destination[j] = data[i];
57
- }
58
- }
59
-
60
-
61
- /**
62
- * Place data from the source to the channel, starting (in self) from the position.
63
- * @param {Float32Array | Array} source - source array to read data from.
64
- * @param {number} channelNumber - channel index to copy data to.
65
- * @param {number} startInChannel - offset in channel to copy data to.
66
- */
67
- copyToChannel (source, channelNumber, startInChannel) {
68
- var data = this._channelData[channelNumber]
69
-
70
- if (!startInChannel) startInChannel = 0;
71
-
72
- for (var i = startInChannel, j = 0; i < this.length && j < source.length; i++, j++) {
73
- data[i] = source[j];
74
- }
75
- }
76
- }