@atlaskit/smart-user-picker 4.0.1 → 5.0.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,11 @@
1
1
  # @atlassian/smart-user-picker
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`67ca990e9cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/67ca990e9cf) - Changing the URL for default value hydration from /graphql to /api/gateway/graphql
8
+
3
9
  ## 4.0.1
4
10
 
5
11
  ### Patch Changes
@@ -14,7 +14,7 @@ var LOCAL_CONFIG = {
14
14
  return productKey === 'jira' ? "https://jdog.jira-dev.com/rest/api/3/user/bulk" : "https://pug.jira-dev.com/wiki/rest/api/user/bulk";
15
15
  },
16
16
  getGraphQLUrl: function getGraphQLUrl(baseUrl) {
17
- return baseUrl ? "".concat(STG_INSTANCE, "/").concat(baseUrl, "/graphql") : "".concat(STG_INSTANCE, "/graphql");
17
+ return baseUrl ? "".concat(STG_INSTANCE, "/").concat(baseUrl, "/gateway/api/graphql") : "".concat(STG_INSTANCE, "/gateway/api/graphql");
18
18
  },
19
19
  getTeamsUrl: function getTeamsUrl(baseUrl) {
20
20
  return baseUrl ? "".concat(STG_INSTANCE, "/").concat(baseUrl, "/gateway/api/v3/teams") : "".concat(STG_INSTANCE, "/gateway/api/v3/teams");
@@ -29,7 +29,7 @@ var PRD_CONFIG = {
29
29
  return productKey === 'jira' ? "".concat(baseUrl, "/rest/api/3/user/bulk") : "".concat(baseUrl, "/wiki/rest/api/user/bulk");
30
30
  },
31
31
  getGraphQLUrl: function getGraphQLUrl(baseUrl) {
32
- return baseUrl ? "".concat(baseUrl, "/graphql") : "/graphql";
32
+ return baseUrl ? "".concat(baseUrl, "/gateway/api/graphql") : "/gateway/api/graphql";
33
33
  },
34
34
  getTeamsUrl: function getTeamsUrl(baseUrl) {
35
35
  return baseUrl ? "".concat(baseUrl, "/gateway/api/v3/teams") : "/gateway/api/v3/teams";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "4.0.1",
3
+ "version": "5.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -10,7 +10,7 @@ const LOCAL_CONFIG = {
10
10
  },
11
11
 
12
12
  getGraphQLUrl(baseUrl) {
13
- return baseUrl ? `${STG_INSTANCE}/${baseUrl}/graphql` : `${STG_INSTANCE}/graphql`;
13
+ return baseUrl ? `${STG_INSTANCE}/${baseUrl}/gateway/api/graphql` : `${STG_INSTANCE}/gateway/api/graphql`;
14
14
  },
15
15
 
16
16
  getTeamsUrl(baseUrl) {
@@ -28,7 +28,7 @@ const PRD_CONFIG = {
28
28
  },
29
29
 
30
30
  getGraphQLUrl(baseUrl) {
31
- return baseUrl ? `${baseUrl}/graphql` : `/graphql`;
31
+ return baseUrl ? `${baseUrl}/gateway/api/graphql` : `/gateway/api/graphql`;
32
32
  },
33
33
 
34
34
  getTeamsUrl(baseUrl) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "4.0.1",
3
+ "version": "5.0.0",
4
4
  "sideEffects": false
5
5
  }
@@ -8,7 +8,7 @@ var LOCAL_CONFIG = {
8
8
  return productKey === 'jira' ? "https://jdog.jira-dev.com/rest/api/3/user/bulk" : "https://pug.jira-dev.com/wiki/rest/api/user/bulk";
9
9
  },
10
10
  getGraphQLUrl: function getGraphQLUrl(baseUrl) {
11
- return baseUrl ? "".concat(STG_INSTANCE, "/").concat(baseUrl, "/graphql") : "".concat(STG_INSTANCE, "/graphql");
11
+ return baseUrl ? "".concat(STG_INSTANCE, "/").concat(baseUrl, "/gateway/api/graphql") : "".concat(STG_INSTANCE, "/gateway/api/graphql");
12
12
  },
13
13
  getTeamsUrl: function getTeamsUrl(baseUrl) {
14
14
  return baseUrl ? "".concat(STG_INSTANCE, "/").concat(baseUrl, "/gateway/api/v3/teams") : "".concat(STG_INSTANCE, "/gateway/api/v3/teams");
@@ -23,7 +23,7 @@ var PRD_CONFIG = {
23
23
  return productKey === 'jira' ? "".concat(baseUrl, "/rest/api/3/user/bulk") : "".concat(baseUrl, "/wiki/rest/api/user/bulk");
24
24
  },
25
25
  getGraphQLUrl: function getGraphQLUrl(baseUrl) {
26
- return baseUrl ? "".concat(baseUrl, "/graphql") : "/graphql";
26
+ return baseUrl ? "".concat(baseUrl, "/gateway/api/graphql") : "/gateway/api/graphql";
27
27
  },
28
28
  getTeamsUrl: function getTeamsUrl(baseUrl) {
29
29
  return baseUrl ? "".concat(baseUrl, "/gateway/api/v3/teams") : "/gateway/api/v3/teams";
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "4.0.1",
3
+ "version": "5.0.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-user-picker",
3
- "version": "4.0.1",
3
+ "version": "5.0.0",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },