@atlaskit/link-datasource 4.24.3 → 4.25.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,18 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.25.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`687c1b8fa7801`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/687c1b8fa7801) -
|
|
8
|
+
EDITOR-1566 bump adf-schema + update validator
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`e6be88cf8f62d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e6be88cf8f62d) -
|
|
13
|
+
NAVX-1819 fixing site selector return types to match prod and updating mocks
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 4.24.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -93,7 +93,7 @@ var getAccessibleProducts = exports.getAccessibleProducts = /*#__PURE__*/functio
|
|
|
93
93
|
return response.json();
|
|
94
94
|
case 7:
|
|
95
95
|
res = _context2.sent;
|
|
96
|
-
return _context2.abrupt("return", (0, _hooks.mapAccessibleProductsToAvailableSites)(res));
|
|
96
|
+
return _context2.abrupt("return", (0, _hooks.mapAccessibleProductsToAvailableSites)(res.data));
|
|
97
97
|
case 9:
|
|
98
98
|
_context2.t0 = Error;
|
|
99
99
|
_context2.next = 12;
|
|
@@ -35,7 +35,7 @@ export const getAccessibleProducts = async product => {
|
|
|
35
35
|
const response = await fetch(`/gateway/api/v2/accessible-products`, requestConfig);
|
|
36
36
|
if (response.ok) {
|
|
37
37
|
const res = await response.json();
|
|
38
|
-
return mapAccessibleProductsToAvailableSites(res);
|
|
38
|
+
return mapAccessibleProductsToAvailableSites(res.data);
|
|
39
39
|
}
|
|
40
40
|
throw new Error((await response.text()) || 'Something went wrong');
|
|
41
41
|
};
|
|
@@ -86,7 +86,7 @@ export var getAccessibleProducts = /*#__PURE__*/function () {
|
|
|
86
86
|
return response.json();
|
|
87
87
|
case 7:
|
|
88
88
|
res = _context2.sent;
|
|
89
|
-
return _context2.abrupt("return", mapAccessibleProductsToAvailableSites(res));
|
|
89
|
+
return _context2.abrupt("return", mapAccessibleProductsToAvailableSites(res.data));
|
|
90
90
|
case 9:
|
|
91
91
|
_context2.t0 = Error;
|
|
92
92
|
_context2.next = 12;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.25.0",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^51.
|
|
39
|
+
"@atlaskit/adf-schema": "^51.2.0",
|
|
40
40
|
"@atlaskit/afm-i18n-platform-linking-platform-link-datasource": "2.7.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
42
42
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/react-select": "^3.6.0",
|
|
81
81
|
"@atlaskit/select": "^21.3.0",
|
|
82
82
|
"@atlaskit/smart-card": "^42.2.0",
|
|
83
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
83
|
+
"@atlaskit/smart-user-picker": "^8.3.0",
|
|
84
84
|
"@atlaskit/spinner": "^19.0.0",
|
|
85
85
|
"@atlaskit/tag": "^14.1.0",
|
|
86
86
|
"@atlaskit/textfield": "^8.0.0",
|