@lexical/overflow 0.9.1 → 0.10.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.
@@ -29,9 +29,4 @@ declare export function $isOverflowNode(
29
29
  node: ?LexicalNode,
30
30
  ): boolean %checks(node instanceof OverflowNode);
31
31
 
32
- export type SerializedOverflowNode = {
33
- ...SerializedElementNode,
34
- type: 'overflow',
35
- version: 1,
36
- ...
37
- };
32
+ export type SerializedOverflowNode = SerializedElementNode;
package/index.d.ts CHANGED
@@ -6,12 +6,9 @@
6
6
  * LICENSE file in the root directory of this source tree.
7
7
  *
8
8
  */
9
- import type { EditorConfig, LexicalNode, NodeKey, RangeSelection, SerializedElementNode, Spread } from 'lexical';
9
+ import type { EditorConfig, LexicalNode, NodeKey, RangeSelection, SerializedElementNode } from 'lexical';
10
10
  import { ElementNode } from 'lexical';
11
- export declare type SerializedOverflowNode = Spread<{
12
- type: 'overflow';
13
- version: 1;
14
- }, SerializedElementNode>;
11
+ export declare type SerializedOverflowNode = SerializedElementNode;
15
12
  /** @noInheritDoc */
16
13
  export declare class OverflowNode extends ElementNode {
17
14
  static getType(): string;
package/package.json CHANGED
@@ -8,10 +8,10 @@
8
8
  "overflow"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.9.1",
11
+ "version": "0.10.0",
12
12
  "main": "LexicalOverflow.js",
13
13
  "peerDependencies": {
14
- "lexical": "0.9.1"
14
+ "lexical": "0.10.0"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",