Skip to content

Commit

Permalink
Support new init event
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdong262 committed Dec 26, 2019
1 parent 265c923 commit 784c744
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "engage-voice-browser-extension-hubspot",
"version": "0.0.1",
"version": "0.0.2",
"description": "Experimental Engage Voice browser extension for Hubspot",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"npm-run-all": "4.1.3",
"pug-html-loader": "1.1.5",
"recursive-assign": "0.2.0",
"ringcentral-embeddable-extension-common": "0.7.3-b1",
"ringcentral-embeddable-extension-common": "0.7.3-b2",
"shelljs": "0.8.2",
"standard": "^12.0.1",
"style-loader": "0.21.0",
Expand Down
2 changes: 1 addition & 1 deletion src/feat/log-sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ async function doSyncOne (contact, body, formData) {
let ctype = _.get(body, 'conversation.type')
let isVoiceMail = ctype === 'VoiceMail'
if (body.call) {
mainBody = `[${_.get(body, 'call.direction')} ${_.get(body, 'call.result')}] CALL from <b>${body.call.fromMatches.map(d => d.name).join(', ')}</b>(<b>${formatPhoneLocal(fromNumber)}</b>) to <b>${body.call.toMatches.map(d => d.name).join(', ')}</b>(<b>${formatPhoneLocal(toNumber)}</b>)`
mainBody = `[${_.get(body, 'call.direction')} ${_.get(body, 'call.result') || ''}] CALL from <b>${(body.call.fromMatches || []).map(d => d.name).join(', ')}</b>(<b>${formatPhoneLocal(fromNumber)}</b>) to <b>${(body.call.toMatches || []).map(d => d.name).join(', ')}</b>(<b>${formatPhoneLocal(toNumber)}</b>)`
} else if (ctype === 'SMS') {
mainBody = buildMsgs(body)
} else if (isVoiceMail) {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest-firefox.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "RingCentral Embeddable Engage Voice for HubSpot",
"description": "Experimental Engage Voice browser extension for Hubspot",
"version": "0.0.1",
"version": "0.0.2",
"permissions": [
"http://*/",
"https://*/",
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "RingCentral Embeddable Engage Voice for HubSpot",
"description": "Experimental Engage Voice browser extension for Hubspot",
"version": "0.0.1",
"version": "0.0.2",
"permissions": [
"http://*/",
"https://*/",
Expand Down

0 comments on commit 784c744

Please sign in to comment.