@app-connect/core 1.7.3 → 1.7.4

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.
@@ -531,7 +531,7 @@ function upsertAiNote({ body, aiNote, logFormat }) {
531
531
  if (aiNoteRegex.test(result)) {
532
532
  result = result.replace(aiNoteRegex, `- AI Note:\n${clearedAiNote}\n--- END`);
533
533
  } else {
534
- result += `- AI Note:\n${clearedAiNote}\n--- END\n`;
534
+ result += `\n- AI Note:\n${clearedAiNote}\n--- END\n`;
535
535
  }
536
536
  }
537
537
  return result;
@@ -563,7 +563,7 @@ function upsertTranscript({ body, transcript, logFormat }) {
563
563
  if (transcriptRegex.test(result)) {
564
564
  result = result.replace(transcriptRegex, `- Transcript:\n${transcript}\n--- END`);
565
565
  } else {
566
- result += `- Transcript:\n${transcript}\n--- END\n`;
566
+ result += `\n- Transcript:\n${transcript}\n--- END\n`;
567
567
  }
568
568
  }
569
569
  return result;
@@ -669,7 +669,7 @@ function upsertRingSenseTranscript({ body, transcript, logFormat }) {
669
669
  if (transcriptRegex.test(result)) {
670
670
  result = result.replace(transcriptRegex, `- RingSense transcript:\n${clearedTranscript}\n--- END`);
671
671
  } else {
672
- result += `- RingSense transcript:\n${clearedTranscript}\n--- END\n`;
672
+ result += `\n- RingSense transcript:\n${clearedTranscript}\n--- END\n`;
673
673
  }
674
674
  }
675
675
  return result;
@@ -701,7 +701,7 @@ function upsertRingSenseSummary({ body, summary, logFormat }) {
701
701
  if (summaryRegex.test(result)) {
702
702
  result = result.replace(summaryRegex, `- RingSense summary:\n${summary}\n--- END`);
703
703
  } else {
704
- result += `- RingSense summary:\n${summary}\n--- END\n`;
704
+ result += `\n- RingSense summary:\n${summary}\n--- END\n`;
705
705
  }
706
706
  }
707
707
  return result;
@@ -761,7 +761,7 @@ function upsertRingSenseBulletedSummary({ body, summary, logFormat }) {
761
761
  if (summaryRegex.test(result)) {
762
762
  result = result.replace(summaryRegex, `- RingSense bulleted summary:\n${summary}\n--- END`);
763
763
  } else {
764
- result += `- RingSense bulleted summary:\n${summary}\n--- END\n`;
764
+ result += `\n- RingSense bulleted summary:\n${summary}\n--- END\n`;
765
765
  }
766
766
  }
767
767
  return result;
package/package.json CHANGED
@@ -1,67 +1,67 @@
1
- {
2
- "name": "@app-connect/core",
3
- "version": "1.7.3",
4
- "description": "RingCentral App Connect Core",
5
- "main": "index.js",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/ringcentral/rc-unified-crm-extension.git"
9
- },
10
- "keywords": [
11
- "RingCentral",
12
- "App Connect"
13
- ],
14
- "author": "RingCentral Labs",
15
- "license": "MIT",
16
- "peerDependencies": {
17
- "axios": "^1.12.2",
18
- "express": "^4.21.2",
19
- "pg": "^8.8.0",
20
- "sequelize": "^6.29.0",
21
- "moment": "^2.29.4",
22
- "moment-timezone": "^0.5.39"
23
- },
24
- "dependencies": {
25
- "@aws-sdk/client-dynamodb": "^3.751.0",
26
- "body-parser": "^1.20.3",
27
- "client-oauth2": "^4.3.3",
28
- "cors": "^2.8.5",
29
- "country-state-city": "^3.2.1",
30
- "dotenv": "^16.0.3",
31
- "dynamoose": "^4.0.3",
32
- "jsonwebtoken": "^9.0.0",
33
- "mixpanel": "^0.18.0",
34
- "shortid": "^2.2.17",
35
- "tz-lookup": "^6.1.25",
36
- "ua-parser-js": "^1.0.38"
37
- },
38
- "scripts": {
39
- "test": "jest",
40
- "test:watch": "jest --watch",
41
- "test:coverage": "jest --coverage",
42
- "test:ci": "jest --ci --coverage --watchAll=false"
43
- },
44
- "devDependencies": {
45
- "@eslint/js": "^9.22.0",
46
- "@octokit/rest": "^19.0.5",
47
- "axios": "^1.12.2",
48
- "express": "^4.21.2",
49
- "eslint": "^9.22.0",
50
- "globals": "^16.0.0",
51
- "jest": "^29.3.1",
52
- "moment": "^2.29.4",
53
- "moment-timezone": "^0.5.39",
54
- "nock": "^13.2.9",
55
- "pg": "^8.8.0",
56
- "sequelize": "^6.29.0",
57
- "sqlite3": "^5.1.2",
58
- "supertest": "^6.3.1"
59
- },
60
- "overrides": {
61
- "js-object-utilities": "2.2.1"
62
- },
63
- "bugs": {
64
- "url": "https://github.com/ringcentral/rc-unified-crm-extension/issues"
65
- },
66
- "homepage": "https://github.com/ringcentral/rc-unified-crm-extension#readme"
67
- }
1
+ {
2
+ "name": "@app-connect/core",
3
+ "version": "1.7.4",
4
+ "description": "RingCentral App Connect Core",
5
+ "main": "index.js",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/ringcentral/rc-unified-crm-extension.git"
9
+ },
10
+ "keywords": [
11
+ "RingCentral",
12
+ "App Connect"
13
+ ],
14
+ "author": "RingCentral Labs",
15
+ "license": "MIT",
16
+ "peerDependencies": {
17
+ "axios": "^1.12.2",
18
+ "express": "^4.21.2",
19
+ "pg": "^8.8.0",
20
+ "sequelize": "^6.29.0",
21
+ "moment": "^2.29.4",
22
+ "moment-timezone": "^0.5.39"
23
+ },
24
+ "dependencies": {
25
+ "@aws-sdk/client-dynamodb": "^3.751.0",
26
+ "body-parser": "^1.20.3",
27
+ "client-oauth2": "^4.3.3",
28
+ "cors": "^2.8.5",
29
+ "country-state-city": "^3.2.1",
30
+ "dotenv": "^16.0.3",
31
+ "dynamoose": "^4.0.3",
32
+ "jsonwebtoken": "^9.0.0",
33
+ "mixpanel": "^0.18.0",
34
+ "shortid": "^2.2.17",
35
+ "tz-lookup": "^6.1.25",
36
+ "ua-parser-js": "^1.0.38"
37
+ },
38
+ "scripts": {
39
+ "test": "jest",
40
+ "test:watch": "jest --watch",
41
+ "test:coverage": "jest --coverage",
42
+ "test:ci": "jest --ci --coverage --watchAll=false"
43
+ },
44
+ "devDependencies": {
45
+ "@eslint/js": "^9.22.0",
46
+ "@octokit/rest": "^19.0.5",
47
+ "axios": "^1.12.2",
48
+ "express": "^4.21.2",
49
+ "eslint": "^9.22.0",
50
+ "globals": "^16.0.0",
51
+ "jest": "^29.3.1",
52
+ "moment": "^2.29.4",
53
+ "moment-timezone": "^0.5.39",
54
+ "nock": "^13.2.9",
55
+ "pg": "^8.8.0",
56
+ "sequelize": "^6.29.0",
57
+ "sqlite3": "^5.1.2",
58
+ "supertest": "^6.3.1"
59
+ },
60
+ "overrides": {
61
+ "js-object-utilities": "2.2.1"
62
+ },
63
+ "bugs": {
64
+ "url": "https://github.com/ringcentral/rc-unified-crm-extension/issues"
65
+ },
66
+ "homepage": "https://github.com/ringcentral/rc-unified-crm-extension#readme"
67
+ }
package/releaseNotes.json CHANGED
@@ -1,4 +1,24 @@
1
1
  {
2
+ "1.7.4": {
3
+ "global": [
4
+ {
5
+ "type": "New",
6
+ "description": "Auto restart server-side logging when call log details setting changed"
7
+ },
8
+ {
9
+ "type": "New",
10
+ "description": "Support to change quick access button size"
11
+ },
12
+ {
13
+ "type": "New",
14
+ "description": "Support to open log form when during a call"
15
+ },
16
+ {
17
+ "type": "Fix",
18
+ "description": "An edge case of unwanted call log in call queue scenario"
19
+ }
20
+ ]
21
+ },
2
22
  "1.7.3": {
3
23
  "global": [
4
24
  {
@@ -39,6 +59,18 @@
39
59
  }
40
60
  ]
41
61
  },
62
+ "1.6.12": {
63
+ "global": [
64
+ {
65
+ "type": "New",
66
+ "description": "Support RingSense logging with server-side logging"
67
+ },
68
+ {
69
+ "type": "Fix",
70
+ "description": "An edge case of unwanted call log in call queue scenario"
71
+ }
72
+ ]
73
+ },
42
74
  "1.6.11":{
43
75
  "global": [
44
76
  {