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.