@atlassian/atlassian-connect-js 5.3.209 → 5.3.211

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.
@@ -1373,7 +1373,7 @@ var AP = (function () {
1373
1373
  _this._eventHandlers = {};
1374
1374
  _this._pendingCallbacks = {};
1375
1375
  _this._keyListeners = [];
1376
- _this._version = '5.3.209';
1376
+ _this._version = '5.3.211';
1377
1377
  _this._apiTampered = undefined;
1378
1378
  _this._isSubIframe = _this._topHost !== window.parent;
1379
1379
  _this._onConfirmedFns = [];
package/dist/iframe.js CHANGED
@@ -1373,7 +1373,7 @@ var AP = (function () {
1373
1373
  _this._eventHandlers = {};
1374
1374
  _this._pendingCallbacks = {};
1375
1375
  _this._keyListeners = [];
1376
- _this._version = '5.3.209';
1376
+ _this._version = '5.3.211';
1377
1377
  _this._apiTampered = undefined;
1378
1378
  _this._isSubIframe = _this._topHost !== window.parent;
1379
1379
  _this._onConfirmedFns = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlassian/atlassian-connect-js",
3
- "version": "5.3.209",
3
+ "version": "5.3.211",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Atlassian Connect JavaScript bridge",
6
6
  "main": "dist/connect-host.js",
@@ -72,7 +72,6 @@ describe('Analytics Dispatcher', () => {
72
72
  },
73
73
  source: 'connectAddon'
74
74
  });
75
-
76
75
  });
77
76
 
78
77
  it('removes the timeout when the entry is removed from addon store', () => {
@@ -28,8 +28,5 @@ export default {
28
28
  if (metrics && Object.keys(metrics).length > 0) {
29
29
  EventDispatcher.dispatch('analytics-web-vitals', {metrics, extension});
30
30
  }
31
- },
32
- trackIframeClick(data) {
33
- EventDispatcher.dispatch('analytics-track-iframe-clicked', data)
34
31
  }
35
32
  };
@@ -1,6 +1,7 @@
1
1
  import EventDispatcher from './event_dispatcher';
2
2
  import $ from '../dollar';
3
3
  import observe from '../utils/observe';
4
+ import getBooleanFeatureFlag from '../utils/feature-flag';
4
5
 
5
6
  /**
6
7
  * Timings beyond 20 seconds (connect's load timeout) will be clipped to an X.
@@ -440,23 +441,6 @@ class AnalyticsDispatcher {
440
441
  source: 'Host'
441
442
  });
442
443
  }
443
-
444
- /**
445
- * Tracks when a Connect iframe is clicked
446
- */
447
- trackGasV3IframeClicked(data) {
448
- this._trackAndForwardGasV3('ui', {
449
- action: 'iframeClicked',
450
- actionSubject: 'connectAddon',
451
- source: 'host',
452
- attributes: {
453
- appId: data.addonKey,
454
- moduleType: data.moduleType,
455
- moduleLocation: data.moduleLocation,
456
- baseUrl: data.baseUrl,
457
- }
458
- })
459
- }
460
444
  }
461
445
 
462
446
  var analytics = new AnalyticsDispatcher();
@@ -517,10 +501,4 @@ EventDispatcher.register('analytics-legacy-dialog-opened', function (data) {
517
501
  analytics.trackGasV3LegacyDialogOpened(data);
518
502
  });
519
503
 
520
- EventDispatcher.register('analytics-track-iframe-clicked', function (data) {
521
- analytics.trackGasV3IframeClicked(data);
522
- })
523
-
524
-
525
-
526
504
  export default analytics;