@atlaskit/editor-synced-block-provider 3.14.5 → 3.14.6

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/editor-synced-block-provider
2
2
 
3
+ ## 3.14.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`faddbf566c913`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/faddbf566c913) -
8
+ [ux] Add error message in reference sync block when source is unpublished
9
+ - Updated dependencies
10
+
3
11
  ## 3.14.5
4
12
 
5
13
  ### Patch Changes
@@ -16,5 +16,6 @@ var SyncBlockError = exports.SyncBlockError = /*#__PURE__*/function (SyncBlockEr
16
16
  SyncBlockError["InvalidContent"] = "invalid_content";
17
17
  // content is not a valid JSON
18
18
  SyncBlockError["Offline"] = "offline";
19
+ SyncBlockError["Unpublished"] = "unpublished";
19
20
  return SyncBlockError;
20
21
  }({});
@@ -10,5 +10,6 @@ export let SyncBlockError = /*#__PURE__*/function (SyncBlockError) {
10
10
  SyncBlockError["InvalidContent"] = "invalid_content";
11
11
  // content is not a valid JSON
12
12
  SyncBlockError["Offline"] = "offline";
13
+ SyncBlockError["Unpublished"] = "unpublished";
13
14
  return SyncBlockError;
14
15
  }({});
@@ -10,5 +10,6 @@ export var SyncBlockError = /*#__PURE__*/function (SyncBlockError) {
10
10
  SyncBlockError["InvalidContent"] = "invalid_content";
11
11
  // content is not a valid JSON
12
12
  SyncBlockError["Offline"] = "offline";
13
+ SyncBlockError["Unpublished"] = "unpublished";
13
14
  return SyncBlockError;
14
15
  }({});
@@ -24,7 +24,8 @@ export declare enum SyncBlockError {
24
24
  Conflict = "conflict",// attempt to create block that already exists
25
25
  ServerError = "server_error",
26
26
  InvalidContent = "invalid_content",// content is not a valid JSON
27
- Offline = "offline"
27
+ Offline = "offline",
28
+ Unpublished = "unpublished"
28
29
  }
29
30
  export interface SyncBlockData {
30
31
  blockInstanceId: BlockInstanceId;
@@ -24,7 +24,8 @@ export declare enum SyncBlockError {
24
24
  Conflict = "conflict",// attempt to create block that already exists
25
25
  ServerError = "server_error",
26
26
  InvalidContent = "invalid_content",// content is not a valid JSON
27
- Offline = "offline"
27
+ Offline = "offline",
28
+ Unpublished = "unpublished"
28
29
  }
29
30
  export interface SyncBlockData {
30
31
  blockInstanceId: BlockInstanceId;
package/package.json CHANGED
@@ -78,7 +78,7 @@
78
78
  }
79
79
  },
80
80
  "name": "@atlaskit/editor-synced-block-provider",
81
- "version": "3.14.5",
81
+ "version": "3.14.6",
82
82
  "description": "Synced Block Provider for @atlaskit/editor-plugin-synced-block",
83
83
  "author": "Atlassian Pty Ltd",
84
84
  "license": "Apache-2.0",