@zixt/host 0.0.145 → 0.0.146

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.
Files changed (2) hide show
  1. package/dist/index.js +17 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ import { homedir as homedir4 } from "node:os";
28
28
  // package.json
29
29
  var package_default = {
30
30
  name: "@zixt/host",
31
- version: "0.0.145",
31
+ version: "0.0.146",
32
32
  type: "module",
33
33
  exports: {
34
34
  ".": "./src/client.ts",
@@ -15940,9 +15940,25 @@ var CompanyProfileHeader = external_exports.object({
15940
15940
  /** Where the logo was found, shown beside it so a person can check. */
15941
15941
  logoSourceUrl: external_exports.string().max(COMPANY_PROFILE_SOURCE_URL_MAX).nullable()
15942
15942
  }).strict();
15943
+ var CompanyWebsiteResearchState = external_exports.object({
15944
+ /** The site being read, normalized. */
15945
+ websiteUrl: external_exports.string().max(COMPANY_PROFILE_SOURCE_URL_MAX),
15946
+ startedAt: IsoDate,
15947
+ finishedAt: IsoDate.nullable(),
15948
+ /** Plain-language failure for the page; null while running or on success. */
15949
+ error: external_exports.string().max(300).nullable(),
15950
+ factsFound: external_exports.number().int().min(0),
15951
+ competitorsFound: external_exports.number().int().min(0),
15952
+ logoFound: external_exports.boolean()
15953
+ }).strict();
15943
15954
  var CompanyProfileView = external_exports.object({
15944
15955
  header: CompanyProfileHeader,
15945
15956
  entries: external_exports.array(CompanyProfileEntry).max(COMPANY_PROFILE_MAX_ENTRIES),
15957
+ /**
15958
+ * The website lookup, in flight or finished, so the page can say it is
15959
+ * happening rather than leaving a person wondering whether it did.
15960
+ */
15961
+ research: CompanyWebsiteResearchState.nullable(),
15946
15962
  /** How many more rows this organization may keep before it must forget one. */
15947
15963
  remaining: external_exports.number().int().min(0),
15948
15964
  /** Members read the profile; Owners and Admins write it (ORG-2). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zixt/host",
3
- "version": "0.0.145",
3
+ "version": "0.0.146",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/client.ts",