@sanity/diff 6.13.1-next.3 → 6.13.2-next.18

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +3 -3
  2. package/package.json +2 -2
package/lib/index.d.ts CHANGED
@@ -342,7 +342,7 @@ interface ItemDiff<A> {
342
342
  * @returns A diff object representing the change
343
343
  * @public
344
344
  */
345
- declare function diffInput<A>(fromInput: Input<A>, toInput: Input<A>, options?: DiffOptions): Diff<A>;
345
+ export declare function diffInput<A>(fromInput: Input<A>, toInput: Input<A>, options?: DiffOptions): Diff<A>;
346
346
  /**
347
347
  * Takes an input (any JSON-serializable value) and an annotation, and generates an input
348
348
  * object for it, to be used with {@link diffInput | the diffInput() method} and others.
@@ -353,6 +353,6 @@ declare function diffInput<A>(fromInput: Input<A>, toInput: Input<A>, options?:
353
353
  * @throws if `input` is not a JSON-serializable type
354
354
  * @public
355
355
  */
356
- declare function wrap<A>(input: unknown, annotation: A): Input<A>;
357
- export { type AddedDiff, type ArrayDiff, type ArrayInput, type BaseInput, type BooleanDiff, type BooleanInput, type ChangedDiff, type Diff, type DiffOptions, type FullDiff, type Input, type ItemDiff, type NullDiff, type NullInput, type NumberDiff, type NumberInput, type ObjectDiff, type ObjectInput, type RemovedDiff, type StringDiff, type StringDiffSegment, type StringInput, type StringSegmentChanged, type StringSegmentUnchanged, type TypeChangeDiff, type UnchangedDiff, type ValueType, diffInput, wrap };
356
+ export declare function wrap<A>(input: unknown, annotation: A): Input<A>;
357
+ export type { AddedDiff, ArrayDiff, ArrayInput, BaseInput, BooleanDiff, BooleanInput, ChangedDiff, Diff, DiffOptions, FullDiff, Input, ItemDiff, NullDiff, NullInput, NumberDiff, NumberInput, ObjectDiff, ObjectInput, RemovedDiff, StringDiff, StringDiffSegment, StringInput, StringSegmentChanged, StringSegmentUnchanged, TypeChangeDiff, UnchangedDiff, ValueType };
358
358
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/diff",
3
- "version": "6.13.1-next.3",
3
+ "version": "6.13.2-next.18",
4
4
  "description": "Generates diffs between documents and primitive types",
5
5
  "keywords": [
6
6
  "cms",
@@ -37,7 +37,7 @@
37
37
  "devDependencies": {
38
38
  "@repo/tsconfig": "6.9.2",
39
39
  "@repo/tsdown.config": "6.9.2",
40
- "tsdown": "^0.22.14",
40
+ "tsdown": "^0.23.0",
41
41
  "typescript": "^7.0.2"
42
42
  },
43
43
  "browserslist": [