@modality-counter/core 1.3.2 → 1.4.0

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.
@@ -1,12 +1,11 @@
1
1
  /**
2
2
  * Extract all CounterMethod references from the references directory
3
3
  * Returns object with filename as key and reference data as value
4
- * When references array is provided, only those files are included with full content
5
4
  */
6
5
  export type MethodReference = Record<string, {
7
6
  description: string;
8
7
  name?: string;
9
- content?: string;
8
+ content: string;
10
9
  }>;
11
10
  export declare function getReferenceData(referencesDir?: string): Promise<MethodReference>;
12
11
  export declare function buildReferences(folderPath: string | undefined, methodId: string): Promise<{
@@ -157,8 +157,6 @@ export declare const MethodFileSchema: z.ZodObject<{
157
157
  }, unknown>>>>;
158
158
  usage_example: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
159
  }, z.core.$strict>>>;
160
- multi_market_integration: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
161
- data_sources: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
162
160
  tactical_notes: z.ZodAny;
163
161
  }, z.core.$catchall<z.ZodUnknown>>;
164
162
  export type MethodFile = z.infer<typeof MethodFileSchema>;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.3.2",
2
+ "version": "1.4.0",
3
3
  "name": "@modality-counter/core",
4
4
  "repository": {
5
5
  "type": "git",
@@ -15,8 +15,8 @@
15
15
  "license": "ISC",
16
16
  "peerDependencies": {
17
17
  "modality-mcp-kit": "^1.7.1",
18
- "react": "^19.2.6",
19
- "react-dom": "^19.2.6"
18
+ "react": "^19.2.7",
19
+ "react-dom": "^19.2.7"
20
20
  },
21
21
  "dependencies": {
22
22
  "@mdx-js/esbuild": "^3.1.1",
@@ -30,7 +30,7 @@
30
30
  "yaml": "^2.9.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@types/react": "^19.2.15",
33
+ "@types/react": "^19.2.17",
34
34
  "@types/react-dom": "^19.2.3",
35
35
  "modality-bun-kit": "^1.3.14",
36
36
  "xdm": "3.4.0"