diff --git a/@stellar/anchor-tests/package.json b/@stellar/anchor-tests/package.json index ba87432..6c6e91e 100644 --- a/@stellar/anchor-tests/package.json +++ b/@stellar/anchor-tests/package.json @@ -1,6 +1,6 @@ { "name": "@stellar/anchor-tests", - "version": "0.5.8", + "version": "0.5.9", "description": "stellar-anchor-tests is a library and command line interface for testing Stellar anchors.", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/@stellar/anchor-tests/src/schemas/sep1.ts b/@stellar/anchor-tests/src/schemas/sep1.ts index 2d843f3..e38903f 100644 --- a/@stellar/anchor-tests/src/schemas/sep1.ts +++ b/@stellar/anchor-tests/src/schemas/sep1.ts @@ -40,7 +40,6 @@ export const currencySchema = { "is_asset_anchored", "anchor_asset_type", "code", - "issuer", "desc", "status", ], diff --git a/@stellar/anchor-tests/src/tests/sep38/info.ts b/@stellar/anchor-tests/src/tests/sep38/info.ts index 798226e..2256c6b 100644 --- a/@stellar/anchor-tests/src/tests/sep38/info.ts +++ b/@stellar/anchor-tests/src/tests/sep38/info.ts @@ -104,7 +104,7 @@ export const hasValidInfoSchema: Test = { const failure = makeFailure(this.failureModes.INVALID_ASSET_VALUE, { asset: asset.asset, }); - if (parts.length !== 3) { + if (parts.length !== 3 && asset !== "stellar:native") { result.failure = failure; return result; } diff --git a/README.md b/README.md index 8dc2242..be2fd80 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ See each project for more information. To install and run all applications: ```sh git clone git@github.com:stellar/stellar-anchor-tests.git cd stellar-anchor-tests +yarn install yarn build:all yarn start:all ``` \ No newline at end of file diff --git a/server/package.json b/server/package.json index e1ebdc3..339db48 100644 --- a/server/package.json +++ b/server/package.json @@ -30,6 +30,6 @@ "winston": "^3.3.3" }, "peerDependencies": { - "@stellar/anchor-tests": "0.5.8" + "@stellar/anchor-tests": "0.5.9" } }