@carrierllc/mcp 0.13.20 → 0.13.21

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.
package/dist/cli.js CHANGED
@@ -39,7 +39,7 @@ import {
39
39
  verifyStorefront,
40
40
  walletScreen,
41
41
  which
42
- } from "./chunk-VM2X3RHP.js";
42
+ } from "./chunk-IUYX4NKC.js";
43
43
  import {
44
44
  copyTree,
45
45
  exists,
@@ -243,12 +243,15 @@ async function patchBrandConfig(path, brand) {
243
243
  setField("accentLight", deriveAccentLight(brand.colors.accent));
244
244
  setField("bg", brand.colors.bg);
245
245
  const socialEntries = Object.entries(brand.social).filter(([, v]) => v);
246
- const socialBody = socialEntries.map(([k, v]) => ` ${k}: ${JSON.stringify(v)},`).join("\n");
246
+ const socialLines = [
247
+ ` x: ${JSON.stringify(brand.social.x ?? "")},`,
248
+ ...socialEntries.filter(([k]) => k !== "x").map(([k, v]) => ` ${k}: ${JSON.stringify(v)},`)
249
+ ];
247
250
  src = src.replace(
248
251
  /social:\s*\{[^}]*\}/s,
249
- socialEntries.length ? `social: {
250
- ${socialBody}
251
- }` : "social: {}"
252
+ `social: {
253
+ ${socialLines.join("\n")}
254
+ }`
252
255
  );
253
256
  await writeFile(path, src);
254
257
  }