@zyratalk1/zyra-twilio-wrapper 1.2.6 → 1.2.8
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -403,7 +403,7 @@ var TwilioVoiceAdapter = class {
|
|
|
403
403
|
const callSid = tracked?.callSid ?? input.callId;
|
|
404
404
|
const conferenceName = tracked?.conferenceName ?? this.defaultConferenceName;
|
|
405
405
|
const endpoint = direction === "INBOUND" ? "outgoingCall.addNewCalleeIncoming" : "outgoingCall.addNewCallee";
|
|
406
|
-
const payload = direction === "INBOUND" ? { callSid, newParticipantNo: input.newParticipantNo } : { callSid, newParticipantNo: input.newParticipantNo };
|
|
406
|
+
const payload = direction === "INBOUND" ? { callSid, newParticipantNo: input.newParticipantNo } : { callSid: input.callId, newParticipantNo: input.newParticipantNo };
|
|
407
407
|
console.log("[VOIP SDK] addNewCalleeByDirection() start", {
|
|
408
408
|
callId: input.callId,
|
|
409
409
|
direction,
|
|
@@ -1819,7 +1819,7 @@ var ReactNativeVoipSdk = class {
|
|
|
1819
1819
|
);
|
|
1820
1820
|
}
|
|
1821
1821
|
const result = await this.bridge.nativeModule.addNewCallee({
|
|
1822
|
-
callId: this.activeCallId,
|
|
1822
|
+
callId: callSid ?? this.activeCallId,
|
|
1823
1823
|
newParticipantNo: destination
|
|
1824
1824
|
});
|
|
1825
1825
|
if (!result.success) {
|