@atlaskit/editor-plugin-extension 5.2.2 → 5.2.3

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,16 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 5.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#139492](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139492)
8
+ [`27030518ad18e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/27030518ad18e) -
9
+ The SmartUserPicker currently calls the teams v3 api which has been deprecated since December,
10
+ resulting in 404 api calls. This change has updated the api from v3 to v4 so that api calls can be
11
+ made and data successfull retrieved.
12
+ - Updated dependencies
13
+
3
14
  ## 5.2.2
4
15
 
5
16
  ### Patch Changes
@@ -114,7 +114,8 @@ function SafeSmartUserPicker(_ref) {
114
114
  _context.next = 2;
115
115
  return (0, _smartUserPicker.hydrateDefaultValues)(undefined,
116
116
  // no need to override baseUrl
117
- makeCompat(safeValue), productKey);
117
+ makeCompat(safeValue), productKey, undefined // no need to override siteId
118
+ );
118
119
  case 2:
119
120
  hydrated = _context.sent;
120
121
  if (!(cancel || !isOptionData(hydrated))) {
@@ -79,7 +79,8 @@ function SafeSmartUserPicker({
79
79
  async function hydrate() {
80
80
  const hydrated = await hydrateDefaultValues(undefined,
81
81
  // no need to override baseUrl
82
- makeCompat(safeValue), productKey);
82
+ makeCompat(safeValue), productKey, undefined // no need to override siteId
83
+ );
83
84
  if (cancel || !isOptionData(hydrated)) {
84
85
  return;
85
86
  }
@@ -104,7 +104,8 @@ function SafeSmartUserPicker(_ref) {
104
104
  _context.next = 2;
105
105
  return hydrateDefaultValues(undefined,
106
106
  // no need to override baseUrl
107
- makeCompat(safeValue), productKey);
107
+ makeCompat(safeValue), productKey, undefined // no need to override siteId
108
+ );
108
109
  case 2:
109
110
  hydrated = _context.sent;
110
111
  if (!(cancel || !isOptionData(hydrated))) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "5.2.2",
3
+ "version": "5.2.3",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/button": "^23.0.0",
33
33
  "@atlaskit/checkbox": "^17.0.0",
34
34
  "@atlaskit/datetime-picker": "^17.0.0",
35
- "@atlaskit/editor-common": "^103.0.0",
35
+ "@atlaskit/editor-common": "^103.3.0",
36
36
  "@atlaskit/editor-json-transformer": "^8.24.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
38
38
  "@atlaskit/editor-plugin-context-identifier": "^2.0.0",
@@ -45,13 +45,13 @@
45
45
  "@atlaskit/editor-tables": "^2.9.0",
46
46
  "@atlaskit/empty-state": "^9.0.0",
47
47
  "@atlaskit/form": "^12.0.0",
48
- "@atlaskit/heading": "^5.1.0",
48
+ "@atlaskit/heading": "^5.2.0",
49
49
  "@atlaskit/icon": "^25.5.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
- "@atlaskit/primitives": "^14.3.0",
51
+ "@atlaskit/primitives": "^14.4.0",
52
52
  "@atlaskit/radio": "^8.0.0",
53
53
  "@atlaskit/section-message": "^8.2.0",
54
- "@atlaskit/select": "^20.1.0",
54
+ "@atlaskit/select": "^20.3.0",
55
55
  "@atlaskit/smart-user-picker": "^8.0.0",
56
56
  "@atlaskit/spinner": "^18.0.0",
57
57
  "@atlaskit/tabs": "^18.0.0",