seo 0.22.2 → 0.22.3

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createRequire as __seoCreateRequire } from 'node:module'; const require = __seoCreateRequire(import.meta.url);
2
- import { n as version, t as load } from "./esm-BiZWi2n6.js";
2
+ import { n as version, t as load } from "./esm-CdEzuBxD.js";
3
3
  import { SEO_PROVIDER_API_VERSION } from "./provider-sdk.js";
4
4
  import crypto$1, { createHash, randomUUID, sign } from "node:crypto";
5
5
  import { z } from "zod";
@@ -37152,7 +37152,10 @@ function contextGuide(site, call) {
37152
37152
  "## Conversion pages",
37153
37153
  "The pages whose main job is to get a visitor to sign up, start a trial, book a demo or buy, and the pricing page. A docs page counts when it is the sign-up or install step itself. Jobs on these pages come first, so name single pages rather than whole sections. One path or URL per line, such as /pricing or /demo. A path ending in / covers every page under it, such as /features/, but / on its own is the home page. Use a section path only when every page there does that job.",
37154
37154
  "## Brand names",
37155
- "The names people type when they look for this business by name, one per line, such as the product name, the company name and the domain. The reports count every search that contains one of them as a brand search and leave it out, so a name that is also an everyday word belongs here only when the searches show people mean this business. Propose them from the queries in the report, and give the evidence for each: the name with words such as login, pricing, app, download or a competitor's name, clicks that land on the home page, or a top position with a high click rate. The person confirms or removes them when they reply to the draft.",
37155
+ `The names people type when they look for this business by name, one per line: the product or company name, and the domain as people type it, such as example.com. The reports leave out every search that contains one of these names, with or without a space inside it, so "openbook" also catches "open book". Before you propose a name, list the searches it would catch with ${call("data", {
37156
+ site,
37157
+ query: "<name>"
37158
+ })}. Propose it only when those searches are about this business: the name with words such as login, pricing, app, download or a competitor's name, clicks that land on the home page, or a top position with a high click rate. Leave a name out when it is also the words people use for the product category or the service itself, such as a recipe site called Easy Recipes, because it would hide the searches that bring new customers. The domain alone is enough then. Show the person each name with its evidence and the clicks it would hide, and they confirm or remove them when they reply to the draft.`,
37156
37159
  "## Competitors",
37157
37160
  "One domain per line.",
37158
37161
  "## Markets",
@@ -41760,7 +41763,7 @@ const dayLabel = (date) => (/* @__PURE__ */ new Date(`${date}T00:00:00Z`)).toLoc
41760
41763
  month: "short",
41761
41764
  timeZone: "UTC"
41762
41765
  });
41763
- const weekTitle = (data) => `Your SEO Skill week, ${weekLabel(data.start, data.end)}`;
41766
+ const weekTitle = (data) => `Your SEO Skill week${data.sites.length === 1 && data.sites[0] ? ` for ${siteName(data.sites[0].property)}` : ""}, ${weekLabel(data.start, data.end)}`;
41764
41767
  const siteName = (property) => property.replace(/^sc-domain:|^https?:\/\//, "").replace(/\/$/, "");
41765
41768
  const count = (n) => n.toLocaleString("en-US");
41766
41769
  const plural$1 = (n, one, many = `${one}s`) => `${count(n)} ${n === 1 ? one : many}`;