sanity 5.28.0-next.2 → 5.28.0-next.4

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.
@@ -1,4 +1,4 @@
1
- var version = "5.28.0-next.2+c4b5b4d587";
1
+ var version = "5.28.0-next.4+8a5b3ae4ca";
2
2
  let buildVersion;
3
3
  try {
4
4
  buildVersion = process.env.PKG_BUILD_VERSION;
@@ -7,7 +7,7 @@ try {
7
7
  try {
8
8
  buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
9
9
  // and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
10
- "5.28.0-next.2+c4b5b4d587";
10
+ "5.28.0-next.4+8a5b3ae4ca";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;
package/lib/index.js CHANGED
@@ -67949,7 +67949,7 @@ const VideoField = (props2) => props2.renderDefault({
67949
67949
  version: 1,
67950
67950
  description: "User confirmed that they want the Studio document unlinked"
67951
67951
  }), CanvasOpened = defineEvent({
67952
- name: "Canvas Opened from studio",
67952
+ name: "Canvas Opened",
67953
67953
  version: 1,
67954
67954
  description: 'User clicked "Edit in Canvas"'
67955
67955
  }), getDiffTypesCount = (diffs) => diffs.reduce((acc, diff) => (acc[diff.type] = (acc[diff.type] || 0) + 1, acc), {});
@@ -67969,7 +67969,8 @@ function useCanvasTelemetry() {
67969
67969
  unlinkCtaClicked: () => telemetry.log(CanvasUnlinkCtaClicked),
67970
67970
  unlinkApproved: () => telemetry.log(CanvasUnlinkApproved),
67971
67971
  canvasOpened: (origin_0) => telemetry.log(CanvasOpened, {
67972
- origin: origin_0
67972
+ origin: origin_0,
67973
+ source: "studio"
67973
67974
  })
67974
67975
  }, $[0] = telemetry, $[1] = t0) : t0 = $[1], t0;
67975
67976
  }