@newrelic/browser-agent 1.298.0-rc.5 → 1.298.0-rc.7

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.
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.DIST_METHOD = exports.BUILD_EN
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.298.0-rc.5";
20
+ const VERSION = exports.VERSION = "1.298.0-rc.7";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -17,7 +17,7 @@ exports.VERSION = exports.RRWEB_VERSION = exports.DIST_METHOD = exports.BUILD_EN
17
17
  /**
18
18
  * Exposes the version of the agent
19
19
  */
20
- const VERSION = exports.VERSION = "1.298.0-rc.5";
20
+ const VERSION = exports.VERSION = "1.298.0-rc.7";
21
21
 
22
22
  /**
23
23
  * Exposes the build type of the agent
@@ -29,6 +29,7 @@ const FRAMEWORKS = {
29
29
  JQUERY: 'Jquery',
30
30
  MOOTOOLS: 'MooTools',
31
31
  QWIK: 'Qwik',
32
+ FLUTTER: 'Flutter',
32
33
  ELECTRON: 'Electron'
33
34
  };
34
35
  function getFrameworks() {
@@ -64,6 +65,7 @@ function getFrameworks() {
64
65
  if (Object.prototype.hasOwnProperty.call(window, 'jQuery')) frameworks.push(FRAMEWORKS.JQUERY);
65
66
  if (Object.prototype.hasOwnProperty.call(window, 'MooTools')) frameworks.push(FRAMEWORKS.MOOTOOLS);
66
67
  if (Object.prototype.hasOwnProperty.call(window, 'qwikevents')) frameworks.push(FRAMEWORKS.QWIK);
68
+ if (Object.hasOwn(window, '_flutter')) frameworks.push(FRAMEWORKS.FLUTTER);
67
69
  if (detectElectron()) frameworks.push(FRAMEWORKS.ELECTRON);
68
70
  } catch (err) {
69
71
  // Possibly not supported
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.298.0-rc.5";
14
+ export const VERSION = "1.298.0-rc.7";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -11,7 +11,7 @@
11
11
  /**
12
12
  * Exposes the version of the agent
13
13
  */
14
- export const VERSION = "1.298.0-rc.5";
14
+ export const VERSION = "1.298.0-rc.7";
15
15
 
16
16
  /**
17
17
  * Exposes the build type of the agent
@@ -22,6 +22,7 @@ const FRAMEWORKS = {
22
22
  JQUERY: 'Jquery',
23
23
  MOOTOOLS: 'MooTools',
24
24
  QWIK: 'Qwik',
25
+ FLUTTER: 'Flutter',
25
26
  ELECTRON: 'Electron'
26
27
  };
27
28
  export function getFrameworks() {
@@ -57,6 +58,7 @@ export function getFrameworks() {
57
58
  if (Object.prototype.hasOwnProperty.call(window, 'jQuery')) frameworks.push(FRAMEWORKS.JQUERY);
58
59
  if (Object.prototype.hasOwnProperty.call(window, 'MooTools')) frameworks.push(FRAMEWORKS.MOOTOOLS);
59
60
  if (Object.prototype.hasOwnProperty.call(window, 'qwikevents')) frameworks.push(FRAMEWORKS.QWIK);
61
+ if (Object.hasOwn(window, '_flutter')) frameworks.push(FRAMEWORKS.FLUTTER);
60
62
  if (detectElectron()) frameworks.push(FRAMEWORKS.ELECTRON);
61
63
  } catch (err) {
62
64
  // Possibly not supported
@@ -1 +1 @@
1
- {"version":3,"file":"framework-detection.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/framework-detection.js"],"names":[],"mappings":"AAkCA,0CA6CC"}
1
+ {"version":3,"file":"framework-detection.d.ts","sourceRoot":"","sources":["../../../../../src/features/metrics/aggregate/framework-detection.js"],"names":[],"mappings":"AAmCA,0CA8CC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newrelic/browser-agent",
3
- "version": "1.298.0-rc.5",
3
+ "version": "1.298.0-rc.7",
4
4
  "private": false,
5
5
  "author": "New Relic Browser Agent Team <browser-agent@newrelic.com>",
6
6
  "description": "New Relic Browser Agent",
@@ -28,6 +28,7 @@ const FRAMEWORKS = {
28
28
  JQUERY: 'Jquery',
29
29
  MOOTOOLS: 'MooTools',
30
30
  QWIK: 'Qwik',
31
+ FLUTTER: 'Flutter',
31
32
 
32
33
  ELECTRON: 'Electron'
33
34
  }
@@ -71,6 +72,7 @@ export function getFrameworks () {
71
72
  if (Object.prototype.hasOwnProperty.call(window, 'jQuery')) frameworks.push(FRAMEWORKS.JQUERY)
72
73
  if (Object.prototype.hasOwnProperty.call(window, 'MooTools')) frameworks.push(FRAMEWORKS.MOOTOOLS)
73
74
  if (Object.prototype.hasOwnProperty.call(window, 'qwikevents')) frameworks.push(FRAMEWORKS.QWIK)
75
+ if (Object.hasOwn(window, '_flutter')) frameworks.push(FRAMEWORKS.FLUTTER)
74
76
 
75
77
  if (detectElectron()) frameworks.push(FRAMEWORKS.ELECTRON)
76
78
  } catch (err) {