@atlaskit/teams-client 4.30.3 → 4.31.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,12 @@
1
1
  # @atlaskit/teams-client
2
2
 
3
+ ## 4.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`a8d191380f754`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a8d191380f754) -
8
+ Remove dead code from teams-client package
9
+
3
10
  ## 4.30.3
4
11
 
5
12
  ### Patch Changes
@@ -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.30.2",
55
+ packageVersion: "4.30.3",
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.30.2",
63
+ packageVersion: "4.30.3",
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.30.2") ||
39
+ release: "".concat("@atlaskit/teams-client", "@").concat("4.30.3") ||
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.30.2",
30
+ packageVersion: "4.30.3",
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.30.2",
38
+ packageVersion: "4.30.3",
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.30.2"}` ||
31
+ release: `${"@atlaskit/teams-client"}@${"4.30.3"}` ||
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.30.2",
48
+ packageVersion: "4.30.3",
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.30.2",
56
+ packageVersion: "4.30.3",
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.30.2") ||
32
+ release: "".concat("@atlaskit/teams-client", "@").concat("4.30.3") ||
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) || '---',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/teams-client",
3
- "version": "4.30.3",
3
+ "version": "4.31.0",
4
4
  "description": "A client to retrieve team related data",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.filterNull = filterNull;
7
- function filterNull(x) {
8
- return !!x;
9
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createQueryContextHeaders = createQueryContextHeaders;
7
- /**
8
- * Creates headers object with X-Query-Context header if cloudId is provided.
9
- * Use this for AGG client makeGraphQLRequest calls.
10
- */
11
- function createQueryContextHeaders(cloudId) {
12
- if (!cloudId) {
13
- return undefined;
14
- }
15
- return {
16
- 'X-Query-Context': "ari:cloud:platform::site/".concat(cloudId)
17
- };
18
- }
@@ -1 +0,0 @@
1
- "use strict";
@@ -1,3 +0,0 @@
1
- export function filterNull(x) {
2
- return !!x;
3
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Creates headers object with X-Query-Context header if cloudId is provided.
3
- * Use this for AGG client makeGraphQLRequest calls.
4
- */
5
- export function createQueryContextHeaders(cloudId) {
6
- if (!cloudId) {
7
- return undefined;
8
- }
9
- return {
10
- 'X-Query-Context': `ari:cloud:platform::site/${cloudId}`
11
- };
12
- }
File without changes
@@ -1,3 +0,0 @@
1
- export function filterNull(x) {
2
- return !!x;
3
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * Creates headers object with X-Query-Context header if cloudId is provided.
3
- * Use this for AGG client makeGraphQLRequest calls.
4
- */
5
- export function createQueryContextHeaders(cloudId) {
6
- if (!cloudId) {
7
- return undefined;
8
- }
9
- return {
10
- 'X-Query-Context': "ari:cloud:platform::site/".concat(cloudId)
11
- };
12
- }
File without changes
@@ -1 +0,0 @@
1
- export declare function filterNull<T>(x?: T): x is Exclude<T, null>;
@@ -1,5 +0,0 @@
1
- /**
2
- * Creates headers object with X-Query-Context header if cloudId is provided.
3
- * Use this for AGG client makeGraphQLRequest calls.
4
- */
5
- export declare function createQueryContextHeaders(cloudId?: string): Record<string, string> | undefined;
@@ -1 +0,0 @@
1
- export type { ReportingLines } from '../services/reporting-lines-client/utils/types';
@@ -1 +0,0 @@
1
- export declare function filterNull<T>(x?: T): x is Exclude<T, null>;
@@ -1,5 +0,0 @@
1
- /**
2
- * Creates headers object with X-Query-Context header if cloudId is provided.
3
- * Use this for AGG client makeGraphQLRequest calls.
4
- */
5
- export declare function createQueryContextHeaders(cloudId?: string): Record<string, string> | undefined;
@@ -1 +0,0 @@
1
- export type { ReportingLines } from '../services/reporting-lines-client/utils/types';