Skip to content

Commit 64140bb

Browse files
CoveMBericglau
andauthored
Resolve stellar compilation issue (#585)
Co-authored-by: Eric Lau <[email protected]>
1 parent 8997a89 commit 64140bb

File tree

5 files changed

+9
-2
lines changed

5 files changed

+9
-2
lines changed

.changeset/metal-needles-dress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@openzeppelin/wizard-mcp': patch
3+
---
4+
5+
Add security contact for stellar

packages/mcp/src/stellar/schemas.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export const commonSchema = {
2424
upgradeable: z.boolean().optional().describe(stellarCommonDescriptions.upgradeable),
2525
info: z
2626
.object({
27+
securityContact: z.string().optional().describe(infoDescriptions.securityContact),
2728
license: z.string().optional().describe(infoDescriptions.license),
2829
})
2930
.optional()

packages/mcp/src/stellar/tools/fungible.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ test('all', async t => {
4949
upgradeable: true,
5050
info: {
5151
license: 'MIT',
52+
securityContact: '[email protected]',
5253
},
5354
};
5455
assertHasAllSupportedFields(t, params);

packages/mcp/src/stellar/tools/non-fungible.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ test('all', async t => {
5151
sequential: true,
5252
info: {
5353
license: 'MIT',
54+
securityContact: '[email protected]',
5455
},
5556
};
5657
assertHasAllSupportedFields(t, params);

packages/ui/api/ai-assistant/function-definitions/stellar-shared.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ export const stellarCommonFunctionDescription = {
2222
properties: {
2323
securityContact: {
2424
type: 'string',
25-
description:
26-
'Email where people can contact you to report security issues. Will only be visible if contract metadata is verified.',
25+
description: infoDescriptions.securityContact,
2726
},
2827

2928
license: {

0 commit comments

Comments
 (0)