From fb3817ea0b3d8a475dfc09c562924540c1c35abe Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Dec 2025 17:00:20 +0000 Subject: [PATCH 1/2] Initial plan From 505e2cf07d1cd8c03ed05996722379b6adf75885 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Dec 2025 17:03:20 +0000 Subject: [PATCH 2/2] docs: add detailed JSDoc documentation to UpdateEncryptedKeyParams Co-authored-by: Ansonhkg <4049673+Ansonhkg@users.noreply.github.com> --- packages/wrapped-keys/src/lib/types.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/wrapped-keys/src/lib/types.ts b/packages/wrapped-keys/src/lib/types.ts index 3773c75b3..bfe1a12bf 100644 --- a/packages/wrapped-keys/src/lib/types.ts +++ b/packages/wrapped-keys/src/lib/types.ts @@ -164,7 +164,16 @@ export interface StoreEncryptedKeyBatchResult { pkpAddress: string; } -/** Properties required to update an existing encrypted key in the wrapped-keys backend storage service */ +/** Properties required to update an existing encrypted key in the wrapped-keys backend storage service + * + * @typedef UpdateEncryptedKeyParams + * @extends BaseApiParams + * + * @property { string } id The unique identifier (UUID V4) of the encrypted private key to update + * @property { string } ciphertext The new base64 encoded, salted & encrypted private key + * @property { string } [evmContractConditions] Optional EVM contract conditions for access control + * @property { string } [memo] Optional descriptor for the encrypted private key + */ export type UpdateEncryptedKeyParams = BaseApiParams & { id: string; ciphertext: string;