@ipcom/asterisk-ari 0.0.118 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.cjs
CHANGED
|
@@ -1961,6 +1961,7 @@ var WebSocketClient = class extends import_events3.EventEmitter {
|
|
|
1961
1961
|
handleMessage(rawData) {
|
|
1962
1962
|
try {
|
|
1963
1963
|
const decodedData = JSON.parse(rawData.toString());
|
|
1964
|
+
console.log({ tipo: decodedData?.type });
|
|
1964
1965
|
if (decodedData?.type && decodedData?.application) {
|
|
1965
1966
|
const scopedEvent = `${decodedData.application}:${decodedData.type}`;
|
|
1966
1967
|
if ("channel" in decodedData && decodedData.channel?.id) {
|