@portabletext/editor 1.50.1 → 1.50.2

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.
@@ -2901,9 +2901,6 @@ export declare function OneLinePlugin(): JSX.Element
2901
2901
  declare type PatchesEvent = {
2902
2902
  type: 'patches'
2903
2903
  patches: Array<Patch>
2904
- /**
2905
- * @deprecated Unused by the editor
2906
- */
2907
2904
  snapshot: Array<PortableTextBlock> | undefined
2908
2905
  }
2909
2906
 
@@ -2901,9 +2901,6 @@ export declare function OneLinePlugin(): JSX.Element
2901
2901
  declare type PatchesEvent = {
2902
2902
  type: 'patches'
2903
2903
  patches: Array<Patch>
2904
- /**
2905
- * @deprecated Unused by the editor
2906
- */
2907
2904
  snapshot: Array<PortableTextBlock> | undefined
2908
2905
  }
2909
2906
 
@@ -3006,9 +3006,6 @@ declare type ObjectBlockWithOptionalKey = Omit<PortableTextObject, '_key'> & {
3006
3006
  declare type PatchesEvent = {
3007
3007
  type: 'patches'
3008
3008
  patches: Array<Patch>
3009
- /**
3010
- * @deprecated Unused by the editor
3011
- */
3012
3009
  snapshot: Array<PortableTextBlock> | undefined
3013
3010
  }
3014
3011
 
@@ -3006,9 +3006,6 @@ declare type ObjectBlockWithOptionalKey = Omit<PortableTextObject, '_key'> & {
3006
3006
  declare type PatchesEvent = {
3007
3007
  type: 'patches'
3008
3008
  patches: Array<Patch>
3009
- /**
3010
- * @deprecated Unused by the editor
3011
- */
3012
3009
  snapshot: Array<PortableTextBlock> | undefined
3013
3010
  }
3014
3011
 
@@ -2767,9 +2767,6 @@ declare type ObjectBlockWithOptionalKey = Omit<PortableTextObject, '_key'> & {
2767
2767
  declare type PatchesEvent = {
2768
2768
  type: 'patches'
2769
2769
  patches: Array<Patch>
2770
- /**
2771
- * @deprecated Unused by the editor
2772
- */
2773
2770
  snapshot: Array<PortableTextBlock> | undefined
2774
2771
  }
2775
2772
 
@@ -2767,9 +2767,6 @@ declare type ObjectBlockWithOptionalKey = Omit<PortableTextObject, '_key'> & {
2767
2767
  declare type PatchesEvent = {
2768
2768
  type: 'patches'
2769
2769
  patches: Array<Patch>
2770
- /**
2771
- * @deprecated Unused by the editor
2772
- */
2773
2770
  snapshot: Array<PortableTextBlock> | undefined
2774
2771
  }
2775
2772
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@portabletext/editor",
3
- "version": "1.50.1",
3
+ "version": "1.50.2",
4
4
  "description": "Portable Text Editor made in React",
5
5
  "keywords": [
6
6
  "sanity",
@@ -42,9 +42,6 @@ const debug = debugWithName('editor machine')
42
42
  export type PatchesEvent = {
43
43
  type: 'patches'
44
44
  patches: Array<Patch>
45
- /**
46
- * @deprecated Unused by the editor
47
- */
48
45
  snapshot: Array<PortableTextBlock> | undefined
49
46
  }
50
47