@atlaskit/teams-public 0.65.0 → 0.65.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 +16 -0
- package/dist/cjs/services/agg-client/utils/query-context-headers.js +2 -3
- package/dist/cjs/services/graphql-client/main.js +2 -3
- package/dist/es2019/services/agg-client/utils/query-context-headers.js +2 -4
- package/dist/es2019/services/graphql-client/main.js +2 -3
- package/dist/esm/services/agg-client/utils/query-context-headers.js +2 -4
- package/dist/esm/services/graphql-client/main.js +2 -3
- package/dist/types/services/agg-client/utils/query-context-headers.d.ts +1 -1
- package/dist/types/services/graphql-client/main.d.ts +1 -1
- package/dist/types-ts4.5/services/agg-client/utils/query-context-headers.d.ts +1 -1
- package/dist/types-ts4.5/services/graphql-client/main.d.ts +1 -1
- package/package.json +10 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/teams-public
|
|
2
2
|
|
|
3
|
+
## 0.65.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.65.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`1841f3e5e7773`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1841f3e5e7773) -
|
|
14
|
+
Add test for accessibility violations
|
|
15
|
+
- [`8dadb76e44cfb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8dadb76e44cfb) -
|
|
16
|
+
Clean up enable_x_query_context_header
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 0.65.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
|
@@ -4,13 +4,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.createQueryContextHeaders = createQueryContextHeaders;
|
|
7
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
8
7
|
/**
|
|
9
|
-
* Creates headers object with X-Query-Context header if cloudId is provided
|
|
8
|
+
* Creates headers object with X-Query-Context header if cloudId is provided.
|
|
10
9
|
* Use this for AGG client makeGraphQLRequest calls.
|
|
11
10
|
*/
|
|
12
11
|
function createQueryContextHeaders(cloudId) {
|
|
13
|
-
if (!cloudId
|
|
12
|
+
if (!cloudId) {
|
|
14
13
|
return undefined;
|
|
15
14
|
}
|
|
16
15
|
return {
|
|
@@ -13,7 +13,6 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
13
13
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
|
|
14
14
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
|
|
15
15
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
|
|
16
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _error = require("../../common/utils/error");
|
|
18
17
|
var _baseClient = require("../base-client");
|
|
19
18
|
var _utils = require("./utils");
|
|
@@ -37,12 +36,12 @@ var BaseGraphQlClient = exports.BaseGraphQlClient = /*#__PURE__*/function (_Base
|
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
/**
|
|
40
|
-
* Creates query context headers if cloudId is available
|
|
39
|
+
* Creates query context headers if cloudId is available.
|
|
41
40
|
*/
|
|
42
41
|
}, {
|
|
43
42
|
key: "createQueryContextHeaders",
|
|
44
43
|
value: function createQueryContextHeaders(cloudId) {
|
|
45
|
-
if (!cloudId
|
|
44
|
+
if (!cloudId) {
|
|
46
45
|
return undefined;
|
|
47
46
|
}
|
|
48
47
|
return {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
|
-
* Creates headers object with X-Query-Context header if cloudId is provided
|
|
2
|
+
* Creates headers object with X-Query-Context header if cloudId is provided.
|
|
5
3
|
* Use this for AGG client makeGraphQLRequest calls.
|
|
6
4
|
*/
|
|
7
5
|
export function createQueryContextHeaders(cloudId) {
|
|
8
|
-
if (!cloudId
|
|
6
|
+
if (!cloudId) {
|
|
9
7
|
return undefined;
|
|
10
8
|
}
|
|
11
9
|
return {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
1
|
import { DefaultError, GraphQLError } from '../../common/utils/error';
|
|
3
2
|
import { BaseClient } from '../base-client';
|
|
4
3
|
import { handleGraphQLRequest } from './utils';
|
|
@@ -12,10 +11,10 @@ export class BaseGraphQlClient extends BaseClient {
|
|
|
12
11
|
}
|
|
13
12
|
|
|
14
13
|
/**
|
|
15
|
-
* Creates query context headers if cloudId is available
|
|
14
|
+
* Creates query context headers if cloudId is available.
|
|
16
15
|
*/
|
|
17
16
|
createQueryContextHeaders(cloudId) {
|
|
18
|
-
if (!cloudId
|
|
17
|
+
if (!cloudId) {
|
|
19
18
|
return undefined;
|
|
20
19
|
}
|
|
21
20
|
return {
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
|
-
|
|
3
1
|
/**
|
|
4
|
-
* Creates headers object with X-Query-Context header if cloudId is provided
|
|
2
|
+
* Creates headers object with X-Query-Context header if cloudId is provided.
|
|
5
3
|
* Use this for AGG client makeGraphQLRequest calls.
|
|
6
4
|
*/
|
|
7
5
|
export function createQueryContextHeaders(cloudId) {
|
|
8
|
-
if (!cloudId
|
|
6
|
+
if (!cloudId) {
|
|
9
7
|
return undefined;
|
|
10
8
|
}
|
|
11
9
|
return {
|
|
@@ -10,7 +10,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
10
10
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
11
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
12
12
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
13
|
import { DefaultError, GraphQLError } from '../../common/utils/error';
|
|
15
14
|
import { BaseClient } from '../base-client';
|
|
16
15
|
import { handleGraphQLRequest } from './utils';
|
|
@@ -30,12 +29,12 @@ export var BaseGraphQlClient = /*#__PURE__*/function (_BaseClient) {
|
|
|
30
29
|
}
|
|
31
30
|
|
|
32
31
|
/**
|
|
33
|
-
* Creates query context headers if cloudId is available
|
|
32
|
+
* Creates query context headers if cloudId is available.
|
|
34
33
|
*/
|
|
35
34
|
}, {
|
|
36
35
|
key: "createQueryContextHeaders",
|
|
37
36
|
value: function createQueryContextHeaders(cloudId) {
|
|
38
|
-
if (!cloudId
|
|
37
|
+
if (!cloudId) {
|
|
39
38
|
return undefined;
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Creates headers object with X-Query-Context header if cloudId is provided
|
|
2
|
+
* Creates headers object with X-Query-Context header if cloudId is provided.
|
|
3
3
|
* Use this for AGG client makeGraphQLRequest calls.
|
|
4
4
|
*/
|
|
5
5
|
export declare function createQueryContextHeaders(cloudId?: string): Record<string, string> | undefined;
|
|
@@ -5,7 +5,7 @@ export declare class BaseGraphQlClient extends BaseClient {
|
|
|
5
5
|
constructor(serviceUrl: string, config: ClientConfig);
|
|
6
6
|
setServiceUrl(serviceUrl: string): void;
|
|
7
7
|
/**
|
|
8
|
-
* Creates query context headers if cloudId is available
|
|
8
|
+
* Creates query context headers if cloudId is available.
|
|
9
9
|
*/
|
|
10
10
|
private createQueryContextHeaders;
|
|
11
11
|
makeGraphQLRequest<Key extends string, Data = unknown, Variables = unknown>(body: Body<Variables>, options?: Options): Promise<ResultResponse<Key, Data>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Creates headers object with X-Query-Context header if cloudId is provided
|
|
2
|
+
* Creates headers object with X-Query-Context header if cloudId is provided.
|
|
3
3
|
* Use this for AGG client makeGraphQLRequest calls.
|
|
4
4
|
*/
|
|
5
5
|
export declare function createQueryContextHeaders(cloudId?: string): Record<string, string> | undefined;
|
|
@@ -5,7 +5,7 @@ export declare class BaseGraphQlClient extends BaseClient {
|
|
|
5
5
|
constructor(serviceUrl: string, config: ClientConfig);
|
|
6
6
|
setServiceUrl(serviceUrl: string): void;
|
|
7
7
|
/**
|
|
8
|
-
* Creates query context headers if cloudId is available
|
|
8
|
+
* Creates query context headers if cloudId is available.
|
|
9
9
|
*/
|
|
10
10
|
private createQueryContextHeaders;
|
|
11
11
|
makeGraphQLRequest<Key extends string, Data = unknown, Variables = unknown>(body: Body<Variables>, options?: Options): Promise<ResultResponse<Key, Data>>;
|
package/package.json
CHANGED
|
@@ -26,27 +26,27 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/afm-i18n-platform-people-and-teams-teams-public": "2.7.0",
|
|
28
28
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
29
|
-
"@atlaskit/avatar": "^25.
|
|
30
|
-
"@atlaskit/button": "^23.
|
|
31
|
-
"@atlaskit/css": "^0.
|
|
29
|
+
"@atlaskit/avatar": "^25.6.0",
|
|
30
|
+
"@atlaskit/button": "^23.8.0",
|
|
31
|
+
"@atlaskit/css": "^0.18.0",
|
|
32
32
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
33
33
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
34
|
-
"@atlaskit/flag": "^17.
|
|
34
|
+
"@atlaskit/flag": "^17.7.0",
|
|
35
35
|
"@atlaskit/frontend-utilities": "^3.2.0",
|
|
36
36
|
"@atlaskit/heading": "^5.2.0",
|
|
37
|
-
"@atlaskit/icon": "^29.
|
|
37
|
+
"@atlaskit/icon": "^29.2.0",
|
|
38
38
|
"@atlaskit/image": "^3.0.0",
|
|
39
39
|
"@atlaskit/link": "^3.2.0",
|
|
40
|
-
"@atlaskit/modal-dialog": "^14.
|
|
40
|
+
"@atlaskit/modal-dialog": "^14.9.0",
|
|
41
41
|
"@atlaskit/people-teams-ui-public": "^3.7.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/primitives": "^16.4.0",
|
|
44
44
|
"@atlaskit/skeleton": "^2.1.0",
|
|
45
|
-
"@atlaskit/teams-app-internal-analytics": "^1.
|
|
45
|
+
"@atlaskit/teams-app-internal-analytics": "^1.22.0",
|
|
46
46
|
"@atlaskit/teams-app-internal-product-permissions": "^1.2.0",
|
|
47
|
-
"@atlaskit/teams-client": "^4.
|
|
47
|
+
"@atlaskit/teams-client": "^4.30.0",
|
|
48
48
|
"@atlaskit/theme": "^21.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^8.
|
|
49
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
50
50
|
"@atlaskit/tooltip": "^20.11.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@compiled/react": "^0.18.6",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"name": "@atlaskit/teams-public",
|
|
112
|
-
"version": "0.65.
|
|
112
|
+
"version": "0.65.2",
|
|
113
113
|
"description": "Public components related to teams",
|
|
114
114
|
"author": "Atlassian Pty Ltd",
|
|
115
115
|
"license": "Apache-2.0",
|
|
@@ -136,9 +136,6 @@
|
|
|
136
136
|
"ptc-enable-teams-public-analytics-refactor": {
|
|
137
137
|
"type": "boolean"
|
|
138
138
|
},
|
|
139
|
-
"enable_x_query_context_header": {
|
|
140
|
-
"type": "boolean"
|
|
141
|
-
},
|
|
142
139
|
"enable_teams_public_migration_using_teams-client": {
|
|
143
140
|
"type": "boolean"
|
|
144
141
|
}
|