@atlaskit/link-client-extension 1.5.1 → 1.5.3

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,17 @@
1
1
  # @atlaskit/link-client-extension
2
2
 
3
+ ## 1.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b9355830504`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9355830504) - Opt out of peer dependency enforcement
8
+
9
+ ## 1.5.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.5.1
4
16
 
5
17
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-client-extension",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
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.5.1",
3
+ "version": "1.5.3",
4
4
  "description": "Extension methods for linking platform client",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,8 +34,7 @@
34
34
  ".": "./src/index.ts"
35
35
  },
36
36
  "dependencies": {
37
- "@atlaskit/enforce-peer-dependencies": "^1.0.1",
38
- "@atlaskit/linking-common": "^3.4.0",
37
+ "@atlaskit/linking-common": "^4.0.0",
39
38
  "@atlaskit/linking-types": "^8.2.0",
40
39
  "@babel/runtime": "^7.0.0",
41
40
  "json-ld-types": "3.7.0"
@@ -90,8 +89,5 @@
90
89
  ]
91
90
  }
92
91
  },
93
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0",
94
- "scripts": {
95
- "postinstall": "npx enforce-peer-dependencies --internal-packages"
96
- }
92
+ "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
97
93
  }
@@ -0,0 +1,55 @@
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 { DatasourceDetailsRequest } from '@atlaskit/linking-types';
11
+ import type { DatasourceDetailsResponse } from '@atlaskit/linking-types';
12
+ import type { DatasourceParameters } from '@atlaskit/linking-types';
13
+ import { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
14
+ import { InvokeResponse } from '@atlaskit/linking-types/smart-link-actions';
15
+ import { JsonLd } from 'json-ld-types';
16
+
17
+ // @public (undocumented)
18
+ export type DatasourceResolveResponse = {
19
+ id: string;
20
+ ari?: string;
21
+ key?: string;
22
+ name?: string;
23
+ description?: string;
24
+ parameters: DatasourceParameters;
25
+ };
26
+
27
+ // @public (undocumented)
28
+ export interface JsonLdDatasourceResponse extends JsonLd.Response {
29
+ // (undocumented)
30
+ datasources?: DatasourceResolveResponse[];
31
+ }
32
+
33
+ // @public (undocumented)
34
+ export const mockDatasourceDataResponse: DatasourceDataResponse;
35
+
36
+ // @public (undocumented)
37
+ export const mockDatasourceDataResponseWithSchema: DatasourceDataResponse;
38
+
39
+ // @public (undocumented)
40
+ export const mockDatasourceResponse: DatasourceDetailsResponse;
41
+
42
+ // @public (undocumented)
43
+ export const useDatasourceClientExtension: () => {
44
+ getDatasourceDetails: (datasourceId: string, data: DatasourceDetailsRequest) => Promise<DatasourceDetailsResponse>;
45
+ getDatasourceData: (datasourceId: string, data: DatasourceDataRequest) => Promise<DatasourceDataResponse>;
46
+ };
47
+
48
+ // @public
49
+ export const useSmartLinkClientExtension: (cardClient: CardClient) => {
50
+ invoke: (data: InvokeRequest) => Promise<InvokeResponse>;
51
+ };
52
+
53
+ // (No @packageDocumentation comment for this package)
54
+
55
+ ```