@capillarytech/cap-ui-utils 1.2.4 → 1.2.6

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.
Files changed (2) hide show
  1. package/GA/index.js +1 -1
  2. package/package.json +1 -1
package/GA/index.js CHANGED
@@ -67,7 +67,7 @@ const loadPerformanceTracking = module =>{
67
67
  // Time to Interactive metric is essentially how long it takes for a user to be able to interact with your site.
68
68
  // Time to Interactive is defined as the point at which the layout has stabilized, key webfonts are visible,
69
69
  // and the main thread is available enough to handle user input.
70
- ttiPolyfill.getFirstConsistentlyInteractive().then((tti) => {
70
+ ttiPolyfill.getFirstConsistentlyInteractive().then((tti = 0) => {
71
71
  ReactGA.timing({
72
72
  category: "Time to Interactive",
73
73
  variable: module,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capillarytech/cap-ui-utils",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Utility functions shared accross all the modules",
5
5
  "main": "index.js",
6
6
  "scripts": {