@nextclaw/x-harness 0.2.59 → 0.2.60

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/SOURCE.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Corresponding source
2
2
 
3
- Version 0.2.59, commit e0c324f79b77f50662ea2969c68ade82a31cb0b5.
3
+ Version 0.2.60, commit b32506e345d6bfa53053f51ac3e86872e880d436.
4
4
 
5
- Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/e0c324f79b77f50662ea2969c68ade82a31cb0b5
5
+ Complete source, build scripts and dependencies: https://github.com/Peiiii/x-harness/tree/b32506e345d6bfa53053f51ac3e86872e880d436
6
6
 
7
7
  Clone this revision, run npm ci, npm run bootstrap and npm run release:build.
8
8
 
@@ -12,7 +12,7 @@ export declare const source: (post: any, page: any) => {
12
12
  images: any;
13
13
  media: any;
14
14
  links: any;
15
- metrics: any;
15
+ metrics: any[];
16
16
  needsExpansion: any;
17
17
  missing: any[];
18
18
  };
@@ -33,7 +33,7 @@ export const source = (post, page) => ({
33
33
  images: post.images ?? [],
34
34
  media: post.media ?? [],
35
35
  links: post.links ?? [],
36
- metrics: post.metrics ?? post.buttons ?? [],
36
+ metrics: [...(post.buttons ?? []), ...(post.metrics ?? [])],
37
37
  needsExpansion: post.needsExpansion,
38
38
  missing: [
39
39
  ...(post.missing ?? []),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextclaw/x-harness",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Typed X task harness with compact business results and explicit diagnostics.",