@letscooee/web-sdk 1.3.5 → 1.4.0

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/karma.conf.js CHANGED
@@ -24,10 +24,10 @@ module.exports = function (config) {
24
24
  // for example, you can disable the random execution with `random: false`
25
25
  // or set a specific seed with `seed: 4321`
26
26
  },
27
- clearContext: false // leave Jasmine Spec Runner output visible in browser
27
+ clearContext: false, // leave Jasmine Spec Runner output visible in browser
28
28
  },
29
29
  jasmineHtmlReporter: {
30
- suppressAll: true // removes the duplicated traces
30
+ suppressAll: true, // removes the duplicated traces
31
31
  },
32
32
  junitReporter: {
33
33
  outputDir: './tmp/test-reports',
@@ -39,8 +39,8 @@ module.exports = function (config) {
39
39
  reporters: [
40
40
  {type: 'html'},
41
41
  {type: 'cobertura'},
42
- {type: 'text-summary'}
43
- ]
42
+ {type: 'text-summary'},
43
+ ],
44
44
  },
45
45
  preprocessors: {
46
46
  [testCode]: ['webpack', 'coverage'],
@@ -55,8 +55,8 @@ module.exports = function (config) {
55
55
  // https://github.com/karma-runner/karma-chrome-launcher/issues/158#issuecomment-339265457
56
56
  ChromeHeadlessNoSandbox: {
57
57
  base: 'ChromeHeadless',
58
- flags: ['--no-sandbox']
59
- }
58
+ flags: ['--no-sandbox'],
59
+ },
60
60
  },
61
61
  singleRun: true,
62
62
  restartOnFileChange: true,
@@ -78,7 +78,7 @@ module.exports = function (config) {
78
78
  });
79
79
 
80
80
  if (process.env.GITLAB_CI) {
81
- process.env.CHROME_BIN = '/usr/bin/google-chrome-stable';
81
+ process.env.CHROME_BIN = '/usr/bin/google-chrome';
82
82
  console.log('ChromeHeadless path', process.env.CHROME_BIN);
83
83
  config.browsers = ['ChromeHeadlessNoSandbox'];
84
84
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@letscooee/web-sdk",
3
3
  "description": "AI driven Personalized Notifications for Better Customer Engagement",
4
- "version": "1.3.5",
4
+ "version": "1.4.0",
5
5
  "scripts": {
6
6
  "lint": "eslint \"**/**/*.ts\" --max-warnings=0",
7
7
  "integrity": "./scripts/validate-integrity.sh",