From 1b3fa3cfb2eb634bc52044e40f475316ae5e8bde Mon Sep 17 00:00:00 2001 From: Jiahui Hu Date: Mon, 18 Nov 2024 19:53:14 -0500 Subject: [PATCH] [ANCHOR-809] Improve new field naming (#173) * naming * comment --- @stellar/anchor-tests/src/schemas/sep31.ts | 2 +- @stellar/anchor-tests/src/schemas/sep6.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/@stellar/anchor-tests/src/schemas/sep31.ts b/@stellar/anchor-tests/src/schemas/sep31.ts index 1a1a1b1..22b18b2 100644 --- a/@stellar/anchor-tests/src/schemas/sep31.ts +++ b/@stellar/anchor-tests/src/schemas/sep31.ts @@ -117,7 +117,7 @@ export const infoSchema = { max_amount: { type: "number", }, - funding_method: { + funding_methods: { type: "array", }, sep12: { diff --git a/@stellar/anchor-tests/src/schemas/sep6.ts b/@stellar/anchor-tests/src/schemas/sep6.ts index 86bc097..fb4156e 100644 --- a/@stellar/anchor-tests/src/schemas/sep6.ts +++ b/@stellar/anchor-tests/src/schemas/sep6.ts @@ -30,7 +30,7 @@ const depositInfoSchema = { min_amount: { type: "number" }, max_amount: { type: "number" }, authentication_required: { type: "boolean" }, - funding_method: { type: "array" }, + funding_methods: { type: "array" }, fields: fieldsSchema, }, required: ["enabled"], @@ -51,7 +51,7 @@ const withdrawInfoSchema = { min_amount: { type: "number" }, max_amount: { type: "number" }, authentication_required: { type: "boolean" }, - funding_method: { type: "array" }, + funding_methods: { type: "array" }, types: { additionalProperties: { type: "object",