Skip to content

Disclosure frame does not support nested disclosures for array items. #3

Description

@TimoGlastra

I get a TypeScript error with the following disclosure frame:

.withDisclosureFrame({
            __decoyCount: 2,
            users: [{ name: true }, true, false],
            user: {
                __decoyCount: 3,
                dateOfBirth: true,
                name: true,
                lastName: false
            },
            license: false
        })

It seems to expect only boolean values for the users array, but it is possible according to the spec to selectively disclose the name property within an array as well.

I think this might be related to #2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions