Implements mailbox petname path lookup by making the mailbox lookup() method variadic. Adds tests to verify how this composes with the inspector and caplets with their own lookup() method.
This enables us to later add dot-separated paths for petnames in the CLI.
Note to reviewers
Did I overlook any places that should accept string | string[] where currently only a single petName is expected?
Supersedes: #1915
Description
Implements mailbox petname path lookup by making the mailbox
lookup()
method variadic. Adds tests to verify how this composes with the inspector and caplets with their ownlookup()
method.This enables us to later add dot-separated paths for petnames in the CLI.
Note to reviewers
Did I overlook any places that should accept
string | string[]
where currently only a singlepetName
is expected?