Merge pull request #43 from navi-commons/NTP-31180-connected-fix

NTP-31180 | connected event fix
This commit is contained in:
Podili Varshitha
2025-02-05 17:04:34 +05:30
committed by GitHub
8 changed files with 32 additions and 7 deletions

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.2 (2025-02-04)
**Note:** Version bump only for package @universal-call-sdk/adapter-ameyo
## 1.3.1 (2025-01-30)

View File

@@ -96,6 +96,9 @@ class CallStateManager {
data: this.state.customerInfo
});
break;
case 'connected':
this.sendConnectedMessage();
break;
case 'hungup':
this.handleCallDisconnect();
break;

View File

@@ -37,7 +37,6 @@ import registerEventProcessor from "./eventsProcessor";
import MetricsProcessor from "@universal-call-sdk/common/lib/utils/metricsProcessor";
import ClickStreamProcessor from "@universal-call-sdk/common/lib/utils/clickStreamProcessor";
import {tagManager} from "./htmlTagManager";
import {callStateManager} from "./callStateManager.ts";
import MessagingType from "../types/MessagingType.ts";
import { checkAllPermissions } from "@universal-call-sdk/common/lib/utils/getPermissions.ts";
class AmeyoAdapter implements IAdapter {
@@ -357,7 +356,6 @@ class AmeyoAdapter implements IAdapter {
public acceptCall(): void {
acceptSipCall();
callStateManager.sendConnectedMessage();
}
public rejectCall(): void {

View File

@@ -1,6 +1,6 @@
{
"name": "@universal-call-sdk/adapter-ameyo",
"version": "1.3.1",
"version": "1.3.2",
"type": "module",
"scripts": {
"dev": "vite",
@@ -9,7 +9,7 @@
"preview": "vite preview"
},
"dependencies": {
"@universal-call-sdk/common": "^1.3.1",
"@universal-call-sdk/common": "^1.3.2",
"uuid": "^11.0.3"
},
"devDependencies": {

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.2 (2025-02-04)
**Note:** Version bump only for package @universal-call-sdk/common
## 1.3.1 (2025-01-30)

View File

@@ -1,6 +1,6 @@
{
"name": "@universal-call-sdk/common",
"version": "1.3.1",
"version": "1.3.2",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 1.3.2 (2025-02-04)
**Note:** Version bump only for package @universal-call-sdk/core
## 1.3.1 (2025-01-30)

View File

@@ -1,6 +1,6 @@
{
"name": "@universal-call-sdk/core",
"version": "1.3.1",
"version": "1.3.2",
"type": "module",
"scripts": {
"dev": "vite",