@atlaskit/teams-client 4.33.4 → 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.
Files changed (160) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/agg-client/package.json +1 -8
  3. package/agg-client/types/package.json +1 -8
  4. package/ari/package.json +1 -8
  5. package/association/package.json +1 -8
  6. package/client/package.json +1 -8
  7. package/config/package.json +1 -8
  8. package/dist/cjs/common/utils/ufo/index.js +2 -2
  9. package/dist/cjs/services/sentry/utils/get-sentry-config.js +1 -1
  10. package/dist/es2019/common/utils/ufo/index.js +2 -2
  11. package/dist/es2019/services/sentry/utils/get-sentry-config.js +1 -1
  12. package/dist/esm/common/utils/ufo/index.js +2 -2
  13. package/dist/esm/services/sentry/utils/get-sentry-config.js +1 -1
  14. package/endpoints/package.json +1 -8
  15. package/error/package.json +1 -8
  16. package/generate-data/package.json +1 -8
  17. package/has-permission/package.json +1 -8
  18. package/initialise-sentry/package.json +1 -8
  19. package/legion-client/package.json +1 -8
  20. package/links/package.json +1 -8
  21. package/main/package.json +1 -8
  22. package/media/package.json +1 -8
  23. package/membership/package.json +1 -8
  24. package/mocks/package.json +1 -8
  25. package/package.json +5 -13
  26. package/permissions/package.json +1 -8
  27. package/permissions/types/package.json +1 -8
  28. package/public/package.json +1 -8
  29. package/reporting-lines-client/utils/types/package.json +1 -8
  30. package/sentry/main/package.json +1 -8
  31. package/sentry/package.json +1 -8
  32. package/sentry/types/package.json +1 -8
  33. package/slack/package.json +1 -8
  34. package/sort-teams/package.json +1 -8
  35. package/team/package.json +1 -8
  36. package/team-container/package.json +1 -8
  37. package/tenure/package.json +1 -8
  38. package/types/package.json +1 -8
  39. package/types/team/package.json +1 -8
  40. package/ufo/package.json +1 -8
  41. package/unlink-container-mutation/package.json +1 -8
  42. package/use-query-light/main/package.json +1 -8
  43. package/use-query-light/package.json +1 -8
  44. package/use-query-light/types/package.json +1 -8
  45. package/use-teams-client-setup/package.json +1 -8
  46. package/use-teams-sentry-client-setup/package.json +1 -8
  47. package/user/package.json +1 -8
  48. package/user-info-provider/main/package.json +1 -8
  49. package/user-info-provider/package.json +1 -8
  50. package/utils/package.json +1 -8
  51. package/dist/types-ts4.5/common/types.d.ts +0 -4
  52. package/dist/types-ts4.5/common/utils/ari.d.ts +0 -7
  53. package/dist/types-ts4.5/common/utils/error/index.d.ts +0 -91
  54. package/dist/types-ts4.5/common/utils/http.d.ts +0 -31
  55. package/dist/types-ts4.5/common/utils/index.d.ts +0 -2
  56. package/dist/types-ts4.5/common/utils/permissions/constants.d.ts +0 -30
  57. package/dist/types-ts4.5/common/utils/permissions/has-permission.d.ts +0 -40
  58. package/dist/types-ts4.5/common/utils/permissions/index.d.ts +0 -3
  59. package/dist/types-ts4.5/common/utils/permissions/types.d.ts +0 -31
  60. package/dist/types-ts4.5/common/utils/sort-teams.d.ts +0 -2
  61. package/dist/types-ts4.5/common/utils/status-code-handlers-provider.d.ts +0 -17
  62. package/dist/types-ts4.5/common/utils/team.d.ts +0 -5
  63. package/dist/types-ts4.5/common/utils/ufo/constants.d.ts +0 -82
  64. package/dist/types-ts4.5/common/utils/ufo/index.d.ts +0 -6
  65. package/dist/types-ts4.5/common/utils/ufo/utils.d.ts +0 -11
  66. package/dist/types-ts4.5/index.d.ts +0 -15
  67. package/dist/types-ts4.5/mocks/endpoints.d.ts +0 -22
  68. package/dist/types-ts4.5/mocks/generate-data.d.ts +0 -16
  69. package/dist/types-ts4.5/mocks/index.d.ts +0 -2
  70. package/dist/types-ts4.5/mocks/invitations.d.ts +0 -11
  71. package/dist/types-ts4.5/mocks/responses.d.ts +0 -75
  72. package/dist/types-ts4.5/mocks/team-link.d.ts +0 -7
  73. package/dist/types-ts4.5/mocks/team.d.ts +0 -14
  74. package/dist/types-ts4.5/mocks/user.d.ts +0 -15
  75. package/dist/types-ts4.5/mocks/with-faker.d.ts +0 -12
  76. package/dist/types-ts4.5/services/agg-client/index.d.ts +0 -36
  77. package/dist/types-ts4.5/services/agg-client/mocks/index.d.ts +0 -49
  78. package/dist/types-ts4.5/services/agg-client/types.d.ts +0 -13
  79. package/dist/types-ts4.5/services/agg-client/utils/mutations/unlink-container-mutation.d.ts +0 -18
  80. package/dist/types-ts4.5/services/agg-client/utils/queries/number-of-team-connected-to-container-query.d.ts +0 -11
  81. package/dist/types-ts4.5/services/agg-client/utils/queries/team-connected-to-container-query.d.ts +0 -47
  82. package/dist/types-ts4.5/services/agg-client/utils/queries/team-containers-query.d.ts +0 -52
  83. package/dist/types-ts4.5/services/agg-client/utils/queries/team-has-agents-query.d.ts +0 -15
  84. package/dist/types-ts4.5/services/agg-client/utils/queries/team-membership-query.d.ts +0 -33
  85. package/dist/types-ts4.5/services/agg-client/utils/queries/user-query.d.ts +0 -31
  86. package/dist/types-ts4.5/services/agg-client/utils/user-type.d.ts +0 -7
  87. package/dist/types-ts4.5/services/base-client/index.d.ts +0 -37
  88. package/dist/types-ts4.5/services/collaborationgraph-client/index.d.ts +0 -70
  89. package/dist/types-ts4.5/services/constants.d.ts +0 -2
  90. package/dist/types-ts4.5/services/directory-client/index.d.ts +0 -53
  91. package/dist/types-ts4.5/services/graphql-client/index.d.ts +0 -1
  92. package/dist/types-ts4.5/services/graphql-client/main.d.ts +0 -14
  93. package/dist/types-ts4.5/services/graphql-client/types.d.ts +0 -20
  94. package/dist/types-ts4.5/services/graphql-client/utils/index.d.ts +0 -3
  95. package/dist/types-ts4.5/services/hooks/use-teams-client-setup.d.ts +0 -14
  96. package/dist/types-ts4.5/services/identity-client/index.d.ts +0 -34
  97. package/dist/types-ts4.5/services/identity-client/utils.d.ts +0 -85
  98. package/dist/types-ts4.5/services/index.d.ts +0 -1
  99. package/dist/types-ts4.5/services/invitations-client/index.d.ts +0 -11
  100. package/dist/types-ts4.5/services/invitations-client/types.d.ts +0 -67
  101. package/dist/types-ts4.5/services/invitations-client/utils/index.d.ts +0 -7
  102. package/dist/types-ts4.5/services/invitations-client/utils/types.d.ts +0 -7
  103. package/dist/types-ts4.5/services/legion-client/index.d.ts +0 -164
  104. package/dist/types-ts4.5/services/legion-client/types.d.ts +0 -128
  105. package/dist/types-ts4.5/services/main.d.ts +0 -452
  106. package/dist/types-ts4.5/services/mutability-client/index.d.ts +0 -8
  107. package/dist/types-ts4.5/services/mutability-client/types.d.ts +0 -5
  108. package/dist/types-ts4.5/services/object-resolver-client/index.d.ts +0 -10
  109. package/dist/types-ts4.5/services/object-resolver-client/types.d.ts +0 -69
  110. package/dist/types-ts4.5/services/object-resolver-client/utils.d.ts +0 -18
  111. package/dist/types-ts4.5/services/perms-client/index.d.ts +0 -16
  112. package/dist/types-ts4.5/services/public-api-client/generated/data-contracts.d.ts +0 -112
  113. package/dist/types-ts4.5/services/public-api-client/index.d.ts +0 -41
  114. package/dist/types-ts4.5/services/replines-client/index.d.ts +0 -11
  115. package/dist/types-ts4.5/services/reporting-lines-client/index.d.ts +0 -11
  116. package/dist/types-ts4.5/services/reporting-lines-client/utils/queries/ReportingLinesQueryWithAccountStatus.graphql.d.ts +0 -2
  117. package/dist/types-ts4.5/services/reporting-lines-client/utils/types.d.ts +0 -32
  118. package/dist/types-ts4.5/services/rest-client/index.d.ts +0 -40
  119. package/dist/types-ts4.5/services/rest-client/utils/cookie.d.ts +0 -5
  120. package/dist/types-ts4.5/services/rest-client/utils/parse-error-message.d.ts +0 -1
  121. package/dist/types-ts4.5/services/rest-client/utils/parse-response.d.ts +0 -1
  122. package/dist/types-ts4.5/services/rest-client/utils/strip-uuid.d.ts +0 -1
  123. package/dist/types-ts4.5/services/sentry/constants.d.ts +0 -5
  124. package/dist/types-ts4.5/services/sentry/index.d.ts +0 -3
  125. package/dist/types-ts4.5/services/sentry/main.d.ts +0 -32
  126. package/dist/types-ts4.5/services/sentry/types.d.ts +0 -36
  127. package/dist/types-ts4.5/services/sentry/utils/get-sentry-config.d.ts +0 -2
  128. package/dist/types-ts4.5/services/sentry/utils/initialise-sentry.d.ts +0 -2
  129. package/dist/types-ts4.5/services/sentry/utils/sentry-client.d.ts +0 -9
  130. package/dist/types-ts4.5/services/sentry/utils/use-teams-sentry-client-setup.d.ts +0 -3
  131. package/dist/types-ts4.5/services/team-central-client/index.d.ts +0 -26
  132. package/dist/types-ts4.5/services/team-central-client/mutations/add-team-watcher.graphql.d.ts +0 -9
  133. package/dist/types-ts4.5/services/team-central-client/mutations/create-tag-mutation.graphql.d.ts +0 -12
  134. package/dist/types-ts4.5/services/team-central-client/mutations/help-pointer-create-mutation.graphql.d.ts +0 -20
  135. package/dist/types-ts4.5/services/team-central-client/mutations/help-pointer-delete-mutation.graphql.d.ts +0 -7
  136. package/dist/types-ts4.5/services/team-central-client/mutations/help-pointer-update-mutation.graphql.d.ts +0 -21
  137. package/dist/types-ts4.5/services/team-central-client/mutations/kudos-delete-mutation.graphql.d.ts +0 -10
  138. package/dist/types-ts4.5/services/team-central-client/mutations/remove-team-watcher.graphql.d.ts +0 -9
  139. package/dist/types-ts4.5/services/team-central-client/queries/is-team-watcher.graphql.d.ts +0 -8
  140. package/dist/types-ts4.5/services/team-central-client/queries/tag-list-query.graphql.d.ts +0 -24
  141. package/dist/types-ts4.5/services/team-central-client/utils.d.ts +0 -2
  142. package/dist/types-ts4.5/services/teams-in-slack-client/index.d.ts +0 -27
  143. package/dist/types-ts4.5/services/types.d.ts +0 -10
  144. package/dist/types-ts4.5/services/use-query-light/index.d.ts +0 -3
  145. package/dist/types-ts4.5/services/use-query-light/main.d.ts +0 -7
  146. package/dist/types-ts4.5/services/use-query-light/types.d.ts +0 -57
  147. package/dist/types-ts4.5/services/user-info-provider/index.d.ts +0 -1
  148. package/dist/types-ts4.5/services/user-info-provider/main.d.ts +0 -14
  149. package/dist/types-ts4.5/services/user-preferences-client/index.d.ts +0 -9
  150. package/dist/types-ts4.5/types/association.d.ts +0 -8
  151. package/dist/types-ts4.5/types/config.d.ts +0 -7
  152. package/dist/types-ts4.5/types/index.d.ts +0 -16
  153. package/dist/types-ts4.5/types/links.d.ts +0 -31
  154. package/dist/types-ts4.5/types/media.d.ts +0 -6
  155. package/dist/types-ts4.5/types/membership.d.ts +0 -35
  156. package/dist/types-ts4.5/types/slack.d.ts +0 -7
  157. package/dist/types-ts4.5/types/team-container.d.ts +0 -29
  158. package/dist/types-ts4.5/types/team.d.ts +0 -188
  159. package/dist/types-ts4.5/types/tenure.d.ts +0 -5
  160. package/dist/types-ts4.5/types/user.d.ts +0 -55
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @atlaskit/teams-client
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
8
+ Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
9
+
10
+ Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
11
+
12
+ Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
13
+
14
+ ```diff
15
+ - "typesVersions": {
16
+ - ">=4.5 <4.9": {
17
+ - "*": [
18
+ - "dist/types-ts4.5/*",
19
+ - "dist/types-ts4.5/index.d.ts"
20
+ - ]
21
+ - }
22
+ - },
23
+ ```
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+
29
+ ## 4.33.5
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+
3
35
  ## 4.33.4
4
36
 
5
37
  ### Patch Changes
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/agg-client/index.js",
5
5
  "module:es2019": "../dist/es2019/services/agg-client/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/agg-client/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/agg-client/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/agg-client/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../dist/esm/services/agg-client/types.js",
5
5
  "module:es2019": "../../dist/es2019/services/agg-client/types.js",
6
6
  "sideEffects": false,
7
- "types": "../../dist/types/services/agg-client/types.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../dist/types-ts4.5/services/agg-client/types.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../dist/types/services/agg-client/types.d.ts"
15
8
  }
package/ari/package.json CHANGED
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/common/utils/ari.js",
5
5
  "module:es2019": "../dist/es2019/common/utils/ari.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/common/utils/ari.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/common/utils/ari.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/common/utils/ari.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/association.js",
5
5
  "module:es2019": "../dist/es2019/types/association.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/association.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/association.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/association.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/index.js",
5
5
  "module:es2019": "../dist/es2019/services/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/config.js",
5
5
  "module:es2019": "../dist/es2019/types/config.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/config.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/config.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/config.d.ts"
15
8
  }
@@ -52,7 +52,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
52
52
  return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
53
53
  metadata: {
54
54
  error: (0, _utils.createErrorMetadata)(error),
55
- packageVersion: "4.33.3",
55
+ packageVersion: "4.33.5",
56
56
  packageName: "@atlaskit/teams-client"
57
57
  }
58
58
  }]);
@@ -60,7 +60,7 @@ var TeamsUFOExperience = exports.TeamsUFOExperience = /*#__PURE__*/function (_UF
60
60
  return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
61
61
  metadata: {
62
62
  error: 'unknown error',
63
- packageVersion: "4.33.3",
63
+ packageVersion: "4.33.5",
64
64
  packageName: "@atlaskit/teams-client"
65
65
  }
66
66
  }]);
@@ -36,7 +36,7 @@ function getSentryConfig(options) {
36
36
  return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
37
37
  // Standalone __VERSION__ is set from `bin/set-release-version.sh`
38
38
  // when building to deploy to production
39
- release: "".concat("@atlaskit/teams-client", "@").concat("4.33.3") ||
39
+ release: "".concat("@atlaskit/teams-client", "@").concat("4.33.5") ||
40
40
  // @ts-ignore Jira - window.BUILD_KEY
41
41
  window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
42
42
  (_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
@@ -27,7 +27,7 @@ export class TeamsUFOExperience extends UFOExperience {
27
27
  return super.failure({
28
28
  metadata: {
29
29
  error: createErrorMetadata(error),
30
- packageVersion: "4.33.3",
30
+ packageVersion: "4.33.5",
31
31
  packageName: "@atlaskit/teams-client"
32
32
  }
33
33
  });
@@ -35,7 +35,7 @@ export class TeamsUFOExperience extends UFOExperience {
35
35
  return super.failure({
36
36
  metadata: {
37
37
  error: 'unknown error',
38
- packageVersion: "4.33.3",
38
+ packageVersion: "4.33.5",
39
39
  packageName: "@atlaskit/teams-client"
40
40
  }
41
41
  });
@@ -28,7 +28,7 @@ export function getSentryConfig(options) {
28
28
  ...DEFAULT_SENTRY_CONFIG,
29
29
  // Standalone __VERSION__ is set from `bin/set-release-version.sh`
30
30
  // when building to deploy to production
31
- release: `${"@atlaskit/teams-client"}@${"4.33.3"}` ||
31
+ release: `${"@atlaskit/teams-client"}@${"4.33.5"}` ||
32
32
  // @ts-ignore Jira - window.BUILD_KEY
33
33
  window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
34
34
  (_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
@@ -45,7 +45,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
45
45
  return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
46
46
  metadata: {
47
47
  error: createErrorMetadata(error),
48
- packageVersion: "4.33.3",
48
+ packageVersion: "4.33.5",
49
49
  packageName: "@atlaskit/teams-client"
50
50
  }
51
51
  }]);
@@ -53,7 +53,7 @@ export var TeamsUFOExperience = /*#__PURE__*/function (_UFOExperience) {
53
53
  return _superPropGet(TeamsUFOExperience, "failure", this, 3)([{
54
54
  metadata: {
55
55
  error: 'unknown error',
56
- packageVersion: "4.33.3",
56
+ packageVersion: "4.33.5",
57
57
  packageName: "@atlaskit/teams-client"
58
58
  }
59
59
  }]);
@@ -29,7 +29,7 @@ export function getSentryConfig(options) {
29
29
  return _objectSpread(_objectSpread(_objectSpread({}, otherOptions), DEFAULT_SENTRY_CONFIG), {}, {
30
30
  // Standalone __VERSION__ is set from `bin/set-release-version.sh`
31
31
  // when building to deploy to production
32
- release: "".concat("@atlaskit/teams-client", "@").concat("4.33.3") ||
32
+ release: "".concat("@atlaskit/teams-client", "@").concat("4.33.5") ||
33
33
  // @ts-ignore Jira - window.BUILD_KEY
34
34
  window.BUILD_KEY || ( // @ts-ignore Confluence - window.__buildInfo
35
35
  (_window$__buildInfo = window.__buildInfo) === null || _window$__buildInfo === void 0 ? void 0 : _window$__buildInfo.FRONTEND_VERSION) || '---',
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/mocks/endpoints.js",
5
5
  "module:es2019": "../dist/es2019/mocks/endpoints.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/mocks/endpoints.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/mocks/endpoints.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/mocks/endpoints.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/common/utils/error/index.js",
5
5
  "module:es2019": "../dist/es2019/common/utils/error/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/common/utils/error/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/common/utils/error/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/common/utils/error/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/mocks/generate-data.js",
5
5
  "module:es2019": "../dist/es2019/mocks/generate-data.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/mocks/generate-data.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/mocks/generate-data.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/mocks/generate-data.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/common/utils/permissions/has-permission.js",
5
5
  "module:es2019": "../dist/es2019/common/utils/permissions/has-permission.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/common/utils/permissions/has-permission.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/common/utils/permissions/has-permission.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/common/utils/permissions/has-permission.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/sentry/utils/initialise-sentry.js",
5
5
  "module:es2019": "../dist/es2019/services/sentry/utils/initialise-sentry.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/sentry/utils/initialise-sentry.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/sentry/utils/initialise-sentry.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/sentry/utils/initialise-sentry.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/legion-client/index.js",
5
5
  "module:es2019": "../dist/es2019/services/legion-client/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/legion-client/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/legion-client/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/legion-client/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/links.js",
5
5
  "module:es2019": "../dist/es2019/types/links.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/links.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/links.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/links.d.ts"
15
8
  }
package/main/package.json CHANGED
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/main.js",
5
5
  "module:es2019": "../dist/es2019/services/main.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/main.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/main.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/main.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/media.js",
5
5
  "module:es2019": "../dist/es2019/types/media.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/media.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/media.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/media.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/membership.js",
5
5
  "module:es2019": "../dist/es2019/types/membership.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/membership.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/membership.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/membership.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/mocks/index.js",
5
5
  "module:es2019": "../dist/es2019/mocks/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/mocks/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/mocks/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/mocks/index.d.ts"
15
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/teams-client",
3
- "version": "4.33.4",
3
+ "version": "5.0.0",
4
4
  "description": "A client to retrieve team related data",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -22,14 +22,6 @@
22
22
  "module": "dist/esm/index.js",
23
23
  "module:es2019": "dist/es2019/index.js",
24
24
  "types": "dist/types/index.d.ts",
25
- "typesVersions": {
26
- ">=4.5 <4.9": {
27
- "*": [
28
- "dist/types-ts4.5/*",
29
- "dist/types-ts4.5/index.d.ts"
30
- ]
31
- }
32
- },
33
25
  "sideEffects": false,
34
26
  "atlaskit:src": "src/index.ts",
35
27
  "scripts": {
@@ -38,9 +30,9 @@
38
30
  "test:coverage": "(cd ../../.. && yarn test 'packages/people-and-teams/teams-client/src' --coverage --coverageProvider=v8 --collectCoverageFrom='[\"packages/people-and-teams/teams-client/src/**\", \"!packages/people-and-teams/teams-client/src/**/**/types.ts\", \"!packages/people-and-teams/teams-client/src/ui/**/styled.tsx\"]')"
39
31
  },
40
32
  "dependencies": {
41
- "@atlaskit/atlassian-context": "^0.10.0",
42
- "@atlaskit/platform-feature-flags": "^1.1.0",
43
- "@atlaskit/ufo": "^0.5.0",
33
+ "@atlaskit/atlassian-context": "^1.0.0",
34
+ "@atlaskit/platform-feature-flags": "^2.0.0",
35
+ "@atlaskit/ufo": "^1.0.0",
44
36
  "@babel/runtime": "^7.0.0",
45
37
  "@sentry/browser": "^6.18.2",
46
38
  "date-fns-tz": "^2.0.0",
@@ -53,7 +45,7 @@
53
45
  "react": "^18.2.0"
54
46
  },
55
47
  "devDependencies": {
56
- "@atlaskit/feature-gate-js-client": "^5.7.0",
48
+ "@atlaskit/feature-gate-js-client": "^6.0.0",
57
49
  "@atlassian/codegen": "^0.2.0",
58
50
  "@atlassian/ptc-test-utils": "^0.13.0",
59
51
  "@atlassian/react-compiler-gating": "workspace:^",
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/common/utils/permissions/index.js",
5
5
  "module:es2019": "../dist/es2019/common/utils/permissions/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/common/utils/permissions/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/common/utils/permissions/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/common/utils/permissions/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../dist/esm/common/utils/permissions/types.js",
5
5
  "module:es2019": "../../dist/es2019/common/utils/permissions/types.js",
6
6
  "sideEffects": false,
7
- "types": "../../dist/types/common/utils/permissions/types.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../dist/types-ts4.5/common/utils/permissions/types.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../dist/types/common/utils/permissions/types.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/public-api-client/index.js",
5
5
  "module:es2019": "../dist/es2019/services/public-api-client/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/public-api-client/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/public-api-client/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/public-api-client/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../../dist/esm/services/reporting-lines-client/utils/types.js",
5
5
  "module:es2019": "../../../dist/es2019/services/reporting-lines-client/utils/types.js",
6
6
  "sideEffects": false,
7
- "types": "../../../dist/types/services/reporting-lines-client/utils/types.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../../dist/types-ts4.5/services/reporting-lines-client/utils/types.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../../dist/types/services/reporting-lines-client/utils/types.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../dist/esm/services/sentry/main.js",
5
5
  "module:es2019": "../../dist/es2019/services/sentry/main.js",
6
6
  "sideEffects": false,
7
- "types": "../../dist/types/services/sentry/main.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../dist/types-ts4.5/services/sentry/main.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../dist/types/services/sentry/main.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/services/sentry/index.js",
5
5
  "module:es2019": "../dist/es2019/services/sentry/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/services/sentry/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/services/sentry/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/services/sentry/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../dist/esm/services/sentry/types.js",
5
5
  "module:es2019": "../../dist/es2019/services/sentry/types.js",
6
6
  "sideEffects": false,
7
- "types": "../../dist/types/services/sentry/types.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../dist/types-ts4.5/services/sentry/types.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../dist/types/services/sentry/types.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/slack.js",
5
5
  "module:es2019": "../dist/es2019/types/slack.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/slack.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/slack.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/slack.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/common/utils/sort-teams.js",
5
5
  "module:es2019": "../dist/es2019/common/utils/sort-teams.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/common/utils/sort-teams.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/common/utils/sort-teams.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/common/utils/sort-teams.d.ts"
15
8
  }
package/team/package.json CHANGED
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/common/utils/team.js",
5
5
  "module:es2019": "../dist/es2019/common/utils/team.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/common/utils/team.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/common/utils/team.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/common/utils/team.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/team-container.js",
5
5
  "module:es2019": "../dist/es2019/types/team-container.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/team-container.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/team-container.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/team-container.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/tenure.js",
5
5
  "module:es2019": "../dist/es2019/types/tenure.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/tenure.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/tenure.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/tenure.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../dist/esm/types/index.js",
5
5
  "module:es2019": "../dist/es2019/types/index.js",
6
6
  "sideEffects": false,
7
- "types": "../dist/types/types/index.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../dist/types-ts4.5/types/index.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../dist/types/types/index.d.ts"
15
8
  }
@@ -4,12 +4,5 @@
4
4
  "module": "../../dist/esm/types/team.js",
5
5
  "module:es2019": "../../dist/es2019/types/team.js",
6
6
  "sideEffects": false,
7
- "types": "../../dist/types/types/team.d.ts",
8
- "typesVersions": {
9
- ">=4.5 <5.9": {
10
- "*": [
11
- "../../dist/types-ts4.5/types/team.d.ts"
12
- ]
13
- }
14
- }
7
+ "types": "../../dist/types/types/team.d.ts"
15
8
  }