From c38f7bad994f3ac0b57346388c0e25ebd611cb3d Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Tue, 29 Aug 2023 20:34:38 -0400 Subject: [PATCH] docs(exo): Update NEWS.md Ref #1740 --- packages/exo/NEWS.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/exo/NEWS.md b/packages/exo/NEWS.md index c52a2bc303..7d9bd72040 100644 --- a/packages/exo/NEWS.md +++ b/packages/exo/NEWS.md @@ -1,5 +1,15 @@ User-visible changes in `@endo/exo`: +# Next + +- Adds support for symbol-keyed methods in interface guards, e.g. + ``` + const LabeledIterableI = M.interface('LabeledIterable', { + getLabel: M.call().returns(M.string()), + [Symbol.asyncIterator]: M.call().returns(M.remotable('Iterator')), + }); + ``` + # v0.2.2 (2023-04-20) - Parse `$DEBUG` as comma-separated