@sanity/cli 3.48.0 → 3.49.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.
@@ -22660,7 +22660,13 @@ function createProject(apiClient, options2) {
22660
22660
  }).request({
22661
22661
  method: "POST",
22662
22662
  uri: "/projects",
22663
- body: options2
22663
+ body: {
22664
+ ...options2,
22665
+ metadata: {
22666
+ ...options2?.metadata,
22667
+ integration: "cli"
22668
+ }
22669
+ }
22664
22670
  }).then((response) => ({
22665
22671
  projectId: response.projectId || response.id,
22666
22672
  displayName: options2.displayName || ""
@@ -44611,7 +44617,7 @@ ${err.message}`);
44611
44617
  displayName: projectName,
44612
44618
  organizationId: await getOrganizationId(organizations),
44613
44619
  subscription: selectedPlan ? { planId: selectedPlan } : void 0,
44614
- metadata: { coupon: intendedCoupon, integration: "cli" }
44620
+ metadata: { coupon: intendedCoupon }
44615
44621
  }).then((response) => ({
44616
44622
  ...response,
44617
44623
  isFirstProject: isUsersFirstProject,