rozmova-analytics 1.0.3 → 1.0.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.
Files changed (2) hide show
  1. package/dist/helpers.js +1 -1
  2. package/package.json +1 -1
package/dist/helpers.js CHANGED
@@ -146,7 +146,7 @@ function getGASessionId() {
146
146
  return null;
147
147
  }
148
148
  var _waitForGA = exports.waitForGA = function waitForGA(callback) {
149
- if (getGASessionId()) callback();else setTimeout(function () {
149
+ if (getGASessionId() && getGAClientId()) callback();else setTimeout(function () {
150
150
  return _waitForGA(callback);
151
151
  }, 1000);
152
152
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rozmova-analytics",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A collection of JavaScript functions for Rozmova analytics",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",