@atlaskit/node-data-provider 8.2.0 → 8.3.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,13 @@
1
1
  # @atlaskit/node-data-provider
2
2
 
3
+ ## 8.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`506d872ef2503`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/506d872ef2503) -
8
+ Add smartlink response caching to browser storage to reduce layoutshift on transition and page
9
+ load
10
+
3
11
  ## 8.2.0
4
12
 
5
13
  ### Minor Changes
@@ -1,3 +1,4 @@
1
1
  export { NodeDataProvider } from './node-data-provider';
2
+ export type { CallbackPayload } from './node-data-provider';
2
3
  export { findNodesToPrefetch } from './utils/find-nodes-to-prefetch';
3
4
  export { prefetchNodeDataProvidersData } from './utils/prefetch-node-data-providers-data';
@@ -34,7 +34,7 @@ type CacheData<Data> = Record<string, {
34
34
  * Represents the payload passed to the callback function when data is fetched.
35
35
  * It can either contain an error or the fetched data.
36
36
  */
37
- type CallbackPayload<Data> = {
37
+ export type CallbackPayload<Data> = {
38
38
  data?: undefined;
39
39
  /** An error that occurred while fetching data. */
40
40
  error: Error;
@@ -1,3 +1,4 @@
1
1
  export { NodeDataProvider } from './node-data-provider';
2
+ export type { CallbackPayload } from './node-data-provider';
2
3
  export { findNodesToPrefetch } from './utils/find-nodes-to-prefetch';
3
4
  export { prefetchNodeDataProvidersData } from './utils/prefetch-node-data-providers-data';
@@ -34,7 +34,7 @@ type CacheData<Data> = Record<string, {
34
34
  * Represents the payload passed to the callback function when data is fetched.
35
35
  * It can either contain an error or the fetched data.
36
36
  */
37
- type CallbackPayload<Data> = {
37
+ export type CallbackPayload<Data> = {
38
38
  data?: undefined;
39
39
  /** An error that occurred while fetching data. */
40
40
  error: Error;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/node-data-provider",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "description": "Node data provider for @atlaskit/editor-core plugins and @atlaskit/renderer",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",