This changelog documents all releases and included changes to the @stellar/anchor-tests library.
A breaking change will get clearly marked in this log.
- Add Dockerfile, build and push docker images to hub.docker.io
- Add a configurable customerPollingTimeout value to the SEP-31 config to make sure a customer's status is
ACCEPTED
before trying to create a transaction. (#102)- SEP-31: can create a transaction
- When deleting a user, send the customer type if available in the json body (#101).
- Add network calls to the test results for the following tests
- SEP-12: can delete a customer
- Add network calls to the test results for the following tests
- SEP-12: memos differentiate customers registered by the same account
- Use the account configured as the SEP-31 sending anchor when authenticating for the following test, if specified
- SEP-10: returns a valid JWT
- Add SEP-31+38 tests (#90)
- SEP-31+38 tests run when both SEPs are enabled and
quotes_required
is true. - SEP-31 tests now test for failure if SEP-38 is not implemented and
quotes_supported
is true.
- SEP-31+38 tests run when both SEPs are enabled and
-
Update SEP-38 tests based on stellar/stellar-protocol#1204. The changes include (#86):
- SEP-38
GET /price
andPOST /quote
now require the mandatorycontext
request parameter. - SEP-38
GET /price
andGET|POST /quote
now return the mandatory response parameterstotal_price
andfee
. - The SEP-38 amounts formula validation was updated based on the new version from SEP38#price-formulas.
- SEP-38
-
SEP-38 now requires a config file to indicate which contexts should be tested. (#87)
- If one or more tests don't pass, we make sure to fail the process. This way, CIs will understand the process was unsuccessful. (#84)
- SEP-12 tests no longer include the
account
request parameter since it has been deprecated. (#82)
- Stop requiring athentication for the SEP-38
/price(s)
endpoints, because authentication stoped being mandatory for non-quote endpoints on PR stellar-protocol#1144.
- Fix SEP-38 toml variable name from
QUOTE_SERVER
toANCHOR_QUOTE_SERVER
.
- Added tests for SEP-38 endpoints (#73)
- Update the expected response schema for
GET /customer
requests
- Use
type
parameter in SEP-12GET /customer
requests