sanity 5.2.0-next.68 → 5.2.0-next.69

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.
@@ -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.2.0-next.68+ef88ca91c1";
10
+ "5.2.0-next.69+8dae9a7bb6";
11
11
  } catch {
12
12
  }
13
13
  const SANITY_VERSION = buildVersion || `${version}-dev`;
package/lib/index.js CHANGED
@@ -87224,7 +87224,7 @@ function getOrderedTools(tools) {
87224
87224
  return indexA === indexB ? 0 : indexA - indexB;
87225
87225
  }), ret;
87226
87226
  }
87227
- const WEIGHTED_CREATE_INTENT_PARAMS = ["template"], WEIGHTED_EDIT_INTENT_PARAMS = ["mode"];
87227
+ const WEIGHTED_CREATE_INTENT_PARAMS = ["mode", "template"], WEIGHTED_EDIT_INTENT_PARAMS = ["mode"];
87228
87228
  function resolveUrlStateWithDefaultTool(tools, state) {
87229
87229
  const defaultTool = getOrderedTools(tools).find(isDefaultRouteTool);
87230
87230
  return !state || state.tool || !defaultTool ? state : Object.assign({}, state, {