Skip to content

Regression in decrypt function return type #41

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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