Skip to content

Regression in decrypt function return type #41

@Mrtenz

Description

@Mrtenz

Before #29, the decrypt function would return a Promise with a generic R. It was changed to return Promise<unknown> instead, which breaks the implementation in snaps-monorepo, because unknown is not assignable to the Json type, while the generic R was.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions