@atlaskit/rovo-agent-analytics 0.7.0 → 0.8.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/rovo-agent-analytics
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`613e539d201d3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/613e539d201d3) -
8
+ Update rovo agents overview page analytics
9
+
3
10
  ## 0.7.0
4
11
 
5
12
  ### Minor Changes
@@ -17,8 +17,6 @@ var AgentActions = exports.AgentActions = /*#__PURE__*/function (AgentActions) {
17
17
  AgentActions["VIEW"] = "view";
18
18
  /* Edit agent clicked */
19
19
  AgentActions["EDIT"] = "edit";
20
- /* Create agent clicked */
21
- AgentActions["CREATE"] = "create";
22
20
  /* Agent updated */
23
21
  AgentActions["UPDATED"] = "updated";
24
22
  /* Copy link clicked */
@@ -19,6 +19,7 @@ var getAttributesFromContexts = exports.getAttributesFromContexts = function get
19
19
  return {};
20
20
  }
21
21
  return context.reduce(function (acc, x) {
22
- return _objectSpread(_objectSpread({}, acc), x);
22
+ var _x$attributes;
23
+ return _objectSpread(_objectSpread({}, acc), (_x$attributes = x.attributes) !== null && _x$attributes !== void 0 ? _x$attributes : {});
23
24
  }, {});
24
25
  };
@@ -7,8 +7,6 @@ export let AgentActions = /*#__PURE__*/function (AgentActions) {
7
7
  AgentActions["VIEW"] = "view";
8
8
  /* Edit agent clicked */
9
9
  AgentActions["EDIT"] = "edit";
10
- /* Create agent clicked */
11
- AgentActions["CREATE"] = "create";
12
10
  /* Agent updated */
13
11
  AgentActions["UPDATED"] = "updated";
14
12
  /* Copy link clicked */
@@ -7,9 +7,10 @@ export const getAttributesFromContexts = context => {
7
7
  return {};
8
8
  }
9
9
  return context.reduce((acc, x) => {
10
+ var _x$attributes;
10
11
  return {
11
12
  ...acc,
12
- ...x
13
+ ...((_x$attributes = x.attributes) !== null && _x$attributes !== void 0 ? _x$attributes : {})
13
14
  };
14
15
  }, {});
15
16
  };
@@ -10,8 +10,6 @@ export var AgentActions = /*#__PURE__*/function (AgentActions) {
10
10
  AgentActions["VIEW"] = "view";
11
11
  /* Edit agent clicked */
12
12
  AgentActions["EDIT"] = "edit";
13
- /* Create agent clicked */
14
- AgentActions["CREATE"] = "create";
15
13
  /* Agent updated */
16
14
  AgentActions["UPDATED"] = "updated";
17
15
  /* Copy link clicked */
@@ -12,6 +12,7 @@ export var getAttributesFromContexts = function getAttributesFromContexts(contex
12
12
  return {};
13
13
  }
14
14
  return context.reduce(function (acc, x) {
15
- return _objectSpread(_objectSpread({}, acc), x);
15
+ var _x$attributes;
16
+ return _objectSpread(_objectSpread({}, acc), (_x$attributes = x.attributes) !== null && _x$attributes !== void 0 ? _x$attributes : {});
16
17
  }, {});
17
18
  };
@@ -3,7 +3,6 @@ import type { RemainingRequired } from '../common/types';
3
3
  export declare enum AgentActions {
4
4
  VIEW = "view",
5
5
  EDIT = "edit",
6
- CREATE = "create",
7
6
  UPDATED = "updated",
8
7
  COPY_LINK = "copyLink",
9
8
  DELETE = "delete",
@@ -3,7 +3,6 @@ import type { RemainingRequired } from '../common/types';
3
3
  export declare enum AgentActions {
4
4
  VIEW = "view",
5
5
  EDIT = "edit",
6
- CREATE = "create",
7
6
  UPDATED = "updated",
8
7
  COPY_LINK = "copyLink",
9
8
  DELETE = "delete",
package/package.json CHANGED
@@ -83,7 +83,7 @@
83
83
  ]
84
84
  },
85
85
  "name": "@atlaskit/rovo-agent-analytics",
86
- "version": "0.7.0",
86
+ "version": "0.8.0",
87
87
  "description": "Rovo Agents analytics",
88
88
  "author": "Atlassian Pty Ltd",
89
89
  "license": "Apache-2.0",