@atlaskit/task-decision 21.12.8 → 21.12.9

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,11 @@
1
1
  # @atlaskit/task-decision
2
2
 
3
+ ## 21.12.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 21.12.8
4
10
 
5
11
  ### Patch Changes
@@ -9,7 +9,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
  var _uuid = require("uuid");
12
- var _utilServiceSupport = require("@atlaskit/util-service-support");
12
+ var _constants = require("@atlaskit/util-service-support/constants");
13
13
  var _typeHelpers = require("../type-helpers");
14
14
  var _types = require("../types");
15
15
  var _TaskDecisionUtils = require("./TaskDecisionUtils");
@@ -191,7 +191,7 @@ var ItemStateManager = exports.ItemStateManager = /*#__PURE__*/function () {
191
191
  }))
192
192
  }
193
193
  };
194
- _utilServiceSupport.utils.requestService(_this4.serviceConfig, options).then(_TaskDecisionUtils.convertServiceTaskToTask).then(function (task) {
194
+ _constants.utils.requestService(_this4.serviceConfig, options).then(_TaskDecisionUtils.convertServiceTaskToTask).then(function (task) {
195
195
  _this4.updateCache(task);
196
196
  resolve(state);
197
197
  // Notify subscribers that the task have been updated so that they can re-render accordingly
@@ -272,7 +272,7 @@ var ItemStateManager = exports.ItemStateManager = /*#__PURE__*/function () {
272
272
  })
273
273
  }
274
274
  };
275
- return _utilServiceSupport.utils.requestService(this.serviceConfig, options);
275
+ return _constants.utils.requestService(this.serviceConfig, options);
276
276
  }
277
277
  }, {
278
278
  key: "notifyUpdated",
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
3
3
  import { v4 as uuid } from 'uuid';
4
- import { utils } from '@atlaskit/util-service-support';
4
+ import { utils } from '@atlaskit/util-service-support/constants';
5
5
  import { objectKeyToString, toggleTaskState, toObjectKey } from '../type-helpers';
6
6
  import { PubSubSpecialEventType } from '../types';
7
7
  import { convertServiceTaskToTask, convertServiceTaskStateToBaseItem, findIndex } from './TaskDecisionUtils';
@@ -5,7 +5,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
5
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
7
7
  import { v4 as uuid } from 'uuid';
8
- import { utils } from '@atlaskit/util-service-support';
8
+ import { utils } from '@atlaskit/util-service-support/constants';
9
9
  import { objectKeyToString, toggleTaskState, toObjectKey } from '../type-helpers';
10
10
  import { PubSubSpecialEventType } from '../types';
11
11
  import { convertServiceTaskToTask, convertServiceTaskStateToBaseItem, findIndex } from './TaskDecisionUtils';
@@ -1,4 +1,4 @@
1
- import { type ServiceConfig } from '@atlaskit/util-service-support';
1
+ import type { ServiceConfig } from '@atlaskit/util-service-support/types';
2
2
  export type DecisionState = 'DECIDED';
3
3
  export type DecisionStatus = 'CREATED';
4
4
  export type TaskState = 'TODO' | 'DONE';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "21.12.8",
3
+ "version": "21.12.9",
4
4
  "description": "Tasks and decisions react components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -59,7 +59,7 @@
59
59
  "@atlaskit/analytics-next": "^12.6.0",
60
60
  "@atlaskit/icon": "^38.0.0",
61
61
  "@atlaskit/react-compiler-gating": "^0.2.0",
62
- "@atlaskit/tmp-editor-statsig": "^229.0.0",
62
+ "@atlaskit/tmp-editor-statsig": "^230.0.0",
63
63
  "@atlaskit/tokens": "^20.4.0",
64
64
  "@atlaskit/util-service-support": "^7.4.0",
65
65
  "@babel/runtime": "^7.0.0",