mcp-prqx-pricer 1.0.10 → 1.0.11

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.
@@ -158,7 +158,7 @@ class CreatePricingGroupTool {
158
158
  if (response.status !== 200) {
159
159
  throw new Error(`API error: ${response.statusText}`);
160
160
  }
161
- return { content: [{ type: 'text', text: JSON.stringify(response.data) }] };
161
+ return { content: [{ type: 'text', text: JSON.stringify([response.data]) }] };
162
162
  }
163
163
  catch (error) {
164
164
  if (error instanceof Error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-prqx-pricer",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -161,7 +161,7 @@ export class CreatePricingGroupTool implements McpTool {
161
161
  if (response.status !== 200) {
162
162
  throw new Error(`API error: ${response.statusText}`);
163
163
  }
164
- return { content: [{ type: 'text', text: JSON.stringify(response.data) }] };
164
+ return { content: [{ type: 'text', text: JSON.stringify([response.data]) }] };
165
165
  } catch (error) {
166
166
  if (error instanceof Error) {
167
167
  console.error('Error in Create Pricing Group:', error);