@atlaskit/editor-card-provider 2.0.3 → 3.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.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "2.0.3",
3
+ "version": "3.0.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-card-provider",
3
- "version": "2.0.3",
3
+ "version": "3.0.0",
4
4
  "description": "Contains the EditorCardProvider, for determining smart card behaviour in the editor.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -26,14 +26,14 @@
26
26
  ".": "./src/index.ts"
27
27
  },
28
28
  "dependencies": {
29
- "@atlaskit/linking-common": "^2.4.0",
29
+ "@atlaskit/linking-common": "^2.8.0",
30
30
  "@babel/runtime": "^7.0.0",
31
31
  "dataloader": "^2.0.0",
32
- "json-ld-types": "3.6.0",
32
+ "json-ld-types": "3.7.0",
33
33
  "setimmediate": "^1.0.5"
34
34
  },
35
35
  "peerDependencies": {
36
- "@atlaskit/link-provider": "^1.5.3",
36
+ "@atlaskit/link-provider": "^1.6.0",
37
37
  "react": "^16.8.0"
38
38
  },
39
39
  "devDependencies": {
package/report.api.md CHANGED
@@ -69,7 +69,7 @@ type EnvironmentsKeys = keyof typeof BaseUrls;
69
69
 
70
70
  ```json
71
71
  {
72
- "@atlaskit/link-provider": "^1.5.3",
72
+ "@atlaskit/link-provider": "^1.6.0",
73
73
  "react": "^16.8.0"
74
74
  }
75
75
  ```
@@ -1,44 +0,0 @@
1
- ## API Report File for "@atlaskit/editor-card-provider"
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 { CardAdf } from '@atlaskit/linking-common';
8
- import { CardAppearance } from '@atlaskit/linking-common';
9
-
10
- // @public (undocumented)
11
- const BaseUrls: {
12
- dev: string;
13
- development: string;
14
- stg: string;
15
- staging: string;
16
- prd: string;
17
- prod: string;
18
- production: string;
19
- };
20
-
21
- // @public (undocumented)
22
- interface CardProvider {
23
- // (undocumented)
24
- resolve(url: string, appearance: CardAppearance, shouldForceAppearance?: boolean): Promise<any>;
25
- }
26
-
27
- // @public (undocumented)
28
- export class EditorCardProvider implements CardProvider {
29
- constructor(envKey?: EnvironmentsKeys, baseUrlOverride?: string);
30
- // (undocumented)
31
- findPattern(url: string): Promise<boolean>;
32
- // (undocumented)
33
- resolve(url: string, appearance: CardAppearance, shouldForceAppearance?: boolean): Promise<CardAdf>;
34
- }
35
-
36
- // @public (undocumented)
37
- export const editorCardProvider: EditorCardProvider;
38
-
39
- // @public (undocumented)
40
- type EnvironmentsKeys = keyof typeof BaseUrls;
41
-
42
- // (No @packageDocumentation comment for this package)
43
-
44
- ```