Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/wrapped-keys/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,13 @@ export type UpdateEncryptedKeyParams = BaseApiParams & {
memo?: string;
};

/** Result of updating a private key in the wrapped keys backend service */
/** Result of updating a private key in the wrapped keys backend service
*
* @typedef UpdateEncryptedKeyResult
* @property { string } id The unique identifier (UUID V4) of the encrypted private key that was updated
* @property { string } pkpAddress The LIT PKP Address that the key was linked to; this is derived from the provided pkpSessionSigs
* @property { string } updatedAt ISO 8601 timestamp of when the key was updated
Comment on lines +163 to +165
Copy link

Copilot AI Dec 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The property documentation order doesn't match the actual interface property order. For consistency with other interfaces in this file (e.g., StoreEncryptedKeyResult at lines 119-120), the properties should be documented in the same order they appear in the interface.

Suggested order:

@property { string } id The unique identifier (UUID V4) of the encrypted private key that was updated
@property { string } pkpAddress The LIT PKP Address that the key was linked to; this is derived from the provided pkpSessionSigs
@property { string } updatedAt ISO 8601 timestamp of when the key was updated

This matches the interface property order: id, pkpAddress, updatedAt (lines 168-170).

Copilot uses AI. Check for mistakes.
*/
export interface UpdateEncryptedKeyResult {
id: string;
pkpAddress: string;
Expand Down