sinfactura-types 1.7.5 → 1.7.6

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/audit.d.ts +6 -0
  2. package/package.json +1 -1
package/dist/audit.d.ts CHANGED
@@ -101,6 +101,12 @@ declare global {
101
101
  publicationDate?: string;
102
102
  /** ISO date — freshness of the imported registry snapshot (the file's "Generado" stamp). */
103
103
  registrySnapshotAt: string;
104
+ /** True when `registrySnapshotAt` is older than the staleness threshold — api#1903.
105
+ * `flagged` is still computed from the local snapshot either way; this never suppresses
106
+ * an answer, only marks it as based on a potentially outdated registry. */
107
+ stale: boolean;
108
+ /** Days between `registrySnapshotAt` and `checkedAt` — api#1903. */
109
+ registryAgeDays: number;
104
110
  /** ISO timestamp of this check. */
105
111
  checkedAt: string;
106
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinfactura-types",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",