@atlaskit/link-client-extension 1.0.0 → 1.1.1

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,22 @@
1
1
  # @atlaskit/link-client-extension
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
8
+ - Updated dependencies
9
+
10
+ ## 1.1.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`670454dc4a0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/670454dc4a0) - Add totalIssues to mock/types
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 1.0.0
4
21
 
5
22
  ### Minor Changes
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.mockDatasourceResponse = exports.mockDatasourceDataResponse = void 0;
7
7
  var mockDatasourceDataResponse = {
8
+ totalIssues: 1234,
8
9
  data: [{
9
10
  id: 'EDM-12',
10
11
  description: 'Design datasource feature',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,5 @@
1
1
  export const mockDatasourceDataResponse = {
2
+ totalIssues: 1234,
2
3
  data: [{
3
4
  id: 'EDM-12',
4
5
  description: 'Design datasource feature',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,5 @@
1
1
  export var mockDatasourceDataResponse = {
2
+ totalIssues: 1234,
2
3
  data: [{
3
4
  id: 'EDM-12',
4
5
  description: 'Design datasource feature',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.0.0",
3
+ "version": "1.1.1",
4
4
  "description": "Extension methods for linking platform client",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -20,18 +20,26 @@
20
20
  "module": "dist/esm/index.js",
21
21
  "module:es2019": "dist/es2019/index.js",
22
22
  "types": "dist/types/index.d.ts",
23
+ "typesVersions": {
24
+ ">=4.5 <4.9": {
25
+ "*": [
26
+ "dist/types-ts4.5/*",
27
+ "dist/types-ts4.5/index.d.ts"
28
+ ]
29
+ }
30
+ },
23
31
  "sideEffects": false,
24
32
  "atlaskit:src": "src/index.ts",
25
33
  "af:exports": {
26
34
  ".": "./src/index.ts"
27
35
  },
28
36
  "dependencies": {
29
- "@atlaskit/linking-common": "^2.8.0",
30
- "@atlaskit/linking-types": "^1.4.0",
37
+ "@atlaskit/linking-common": "^2.9.0",
38
+ "@atlaskit/linking-types": "^1.5.0",
31
39
  "@babel/runtime": "^7.0.0"
32
40
  },
33
41
  "peerDependencies": {
34
- "@atlaskit/link-provider": "^1.6.0",
42
+ "@atlaskit/link-provider": "^1.6.1",
35
43
  "react": "^16.8.0"
36
44
  },
37
45
  "devDependencies": {
@@ -40,7 +48,7 @@
40
48
  "@testing-library/react": "^12.1.5",
41
49
  "@testing-library/react-hooks": "^8.0.1",
42
50
  "react-dom": "^16.8.0",
43
- "typescript": "4.5.5",
51
+ "typescript": "~4.9.5",
44
52
  "wait-for-expect": "^1.2.0"
45
53
  },
46
54
  "techstack": {
package/report.api.md CHANGED
@@ -57,7 +57,7 @@ export const useSmartLinkClientExtension: (cardClient: CardClient) => {
57
57
 
58
58
  ```json
59
59
  {
60
- "@atlaskit/link-provider": "^1.6.0",
60
+ "@atlaskit/link-provider": "^1.6.1",
61
61
  "react": "^16.8.0"
62
62
  }
63
63
  ```
@@ -0,0 +1,34 @@
1
+ ## API Report File for "@atlaskit/link-client-extension"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { CardClient } from '@atlaskit/link-provider';
8
+ import type { DatasourceDataRequest } from '@atlaskit/linking-types';
9
+ import type { DatasourceDataResponse } from '@atlaskit/linking-types';
10
+ import type { DatasourceParameters } from '@atlaskit/linking-types';
11
+ import type { DatasourceResponse } from '@atlaskit/linking-types';
12
+ import { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
13
+ import { InvokeResponse } from '@atlaskit/linking-types/smart-link-actions';
14
+
15
+ // @public (undocumented)
16
+ export const mockDatasourceDataResponse: DatasourceDataResponse;
17
+
18
+ // @public (undocumented)
19
+ export const mockDatasourceResponse: DatasourceResponse;
20
+
21
+ // @public (undocumented)
22
+ export const useDatasourceClientExtension: () => {
23
+ getDatasourceDetails: (datasourceId: string, data: DatasourceParameters) => Promise<DatasourceResponse>;
24
+ getDatasourceData: (datasourceId: string, data: DatasourceDataRequest) => Promise<DatasourceDataResponse>;
25
+ };
26
+
27
+ // @public
28
+ export const useSmartLinkClientExtension: (cardClient: CardClient) => {
29
+ invoke: (data: InvokeRequest) => Promise<InvokeResponse>;
30
+ };
31
+
32
+ // (No @packageDocumentation comment for this package)
33
+
34
+ ```