@atlaskit/user-picker 8.3.1 → 8.3.2

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/user-picker
2
2
 
3
+ ## 8.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9fd6117d5e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9fd6117d5e4) - Fix behavior of base URL so that API calls use baseUrl as base url
8
+
3
9
  ## 8.3.1
4
10
 
5
11
  ### Patch Changes
@@ -16,7 +16,7 @@ var LOCAL_CONFIG = {
16
16
  };
17
17
  var PRD_CONFIG = {
18
18
  getRecommendationServiceUrl: function getRecommendationServiceUrl(baseUrl) {
19
- return baseUrl ? "/".concat(baseUrl, "/gateway/api/v1/recommendations") : '/gateway/api/v1/recommendations';
19
+ return baseUrl ? "".concat(baseUrl, "/gateway/api/v1/recommendations") : '/gateway/api/v1/recommendations';
20
20
  },
21
21
  getUsersServiceUrl: function getUsersServiceUrl(productKey) {
22
22
  return productKey === 'jira' ? "/rest/api/3/user/bulk" : "/wiki/rest/api/user/bulk";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "8.3.1",
3
+ "version": "8.3.2",
4
4
  "sideEffects": false
5
5
  }
@@ -12,7 +12,7 @@ const LOCAL_CONFIG = {
12
12
  };
13
13
  const PRD_CONFIG = {
14
14
  getRecommendationServiceUrl(baseUrl) {
15
- return baseUrl ? `/${baseUrl}/gateway/api/v1/recommendations` : '/gateway/api/v1/recommendations';
15
+ return baseUrl ? `${baseUrl}/gateway/api/v1/recommendations` : '/gateway/api/v1/recommendations';
16
16
  },
17
17
 
18
18
  getUsersServiceUrl(productKey) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "8.3.1",
3
+ "version": "8.3.2",
4
4
  "sideEffects": false
5
5
  }
@@ -10,7 +10,7 @@ var LOCAL_CONFIG = {
10
10
  };
11
11
  var PRD_CONFIG = {
12
12
  getRecommendationServiceUrl: function getRecommendationServiceUrl(baseUrl) {
13
- return baseUrl ? "/".concat(baseUrl, "/gateway/api/v1/recommendations") : '/gateway/api/v1/recommendations';
13
+ return baseUrl ? "".concat(baseUrl, "/gateway/api/v1/recommendations") : '/gateway/api/v1/recommendations';
14
14
  },
15
15
  getUsersServiceUrl: function getUsersServiceUrl(productKey) {
16
16
  return productKey === 'jira' ? "/rest/api/3/user/bulk" : "/wiki/rest/api/user/bulk";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "8.3.1",
3
+ "version": "8.3.2",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "8.3.1",
3
+ "version": "8.3.2",
4
4
  "description": "Fabric component for display a dropdown to select a user from",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"