Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
ylecuyer committed Aug 2, 2024
1 parent 56ed889 commit eb75e03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html><head><script type="module" src="index.ff75d985.js"></script><link rel="stylesheet" href="index.f01e0bc4.css"><script type="module" src="index.runtime.493c244f.js"></script><link rel="icon shortcut" href="favicon.4a73512e.png"><title>RingCentral WebPhone Demo</title></head><body> <div class="container"> <h1>RingCentral WebPhone Demo</h1> <div id="app"></div> </div> <video id="remoteVideo" hidden></video> <video id="localVideo" hidden muted></video> <script type="text/html" id="template-incoming">
<!doctype html><html><head><script type="module" src="index.ff75d985.js"></script><link rel="stylesheet" href="index.f01e0bc4.css"><script type="module" src="index.runtime.97721fbc.js"></script><link rel="icon shortcut" href="favicon.4a73512e.png"><title>RingCentral WebPhone Demo</title></head><body> <div class="container"> <h1>RingCentral WebPhone Demo</h1> <div id="app"></div> </div> <video id="remoteVideo" hidden></video> <video id="localVideo" hidden muted></video> <script type="text/html" id="template-incoming">
<div class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
Expand Down Expand Up @@ -179,4 +179,4 @@ <h4 class="modal-title">
</div>
</div>
</div>
</script> <script type="module" src="index.1ead014f.js"></script> </body></html>
</script> <script type="module" src="index.ff67e3d5.js"></script> </body></html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ringcentral-web-phone",
"version": "1.0.26",
"version": "1.0.27",
"homepage": "https://github.com/ringcentral/ringcentral-web-phone",
"bugs": {
"url": "https://github.com/ringcentral/ringcentral-web-phone/issues"
Expand Down
6 changes: 5 additions & 1 deletion src/userAgent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ export function createWebPhoneUserAgent(
userAgent.addListener = eventEmitter.addListener.bind(eventEmitter);
userAgent.removeListener = eventEmitter.removeListener.bind(eventEmitter);
userAgent.removeAllListeners = eventEmitter.removeAllListeners.bind(eventEmitter);
userAgent.defaultHeaders = [`P-rc-endpoint-id: ${id}`, `Client-id: ${options.clientId}`];//, `P-RC-Supported-Ept-Roles: rc-engage-agent-ept`];
//, `P-RC-Supported-Ept-Roles: rc-engage-agent-ept`];
userAgent.defaultHeaders = [`P-rc-endpoint-id: ${id}`];
if (typeof options.clientId !== 'undefined') {
userAgent.defaultHeaders.push(`Client-id: ${options.clientId}`);
}
userAgent.regId = options.regId;
userAgent.media = {};
userAgent.enableQos = options.enableQos;
Expand Down

0 comments on commit eb75e03

Please sign in to comment.