From 1235cf7bdfda9dc964aca69334c09838758301b4 Mon Sep 17 00:00:00 2001 From: Gancho Radkov <43912948+ganchoradkov@users.noreply.github.com> Date: Mon, 15 Jan 2024 12:37:45 +0200 Subject: [PATCH 1/3] feat: adds expiry to proposal payload --- docs/specs/clients/sign/data-structures.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/specs/clients/sign/data-structures.md b/docs/specs/clients/sign/data-structures.md index ae76dce1..53f5de46 100644 --- a/docs/specs/clients/sign/data-structures.md +++ b/docs/specs/clients/sign/data-structures.md @@ -85,7 +85,8 @@ Proposal is sent by the proposer client to be approved or rejected by the respon "events": [string] } }, - "pairingTopic": string + "pairingTopic": string, + "expiry": number, // OPTIONAL timespamp in seconds } ``` From d76014e6d72000fd6e1cc6b2826ff7a3d641799d Mon Sep 17 00:00:00 2001 From: Gancho Radkov <43912948+ganchoradkov@users.noreply.github.com> Date: Thu, 18 Jan 2024 14:58:16 +0200 Subject: [PATCH 2/3] refactor: updates expiry to expiryTimestamp --- docs/specs/clients/sign/data-structures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/specs/clients/sign/data-structures.md b/docs/specs/clients/sign/data-structures.md index 53f5de46..d7471df1 100644 --- a/docs/specs/clients/sign/data-structures.md +++ b/docs/specs/clients/sign/data-structures.md @@ -86,7 +86,7 @@ Proposal is sent by the proposer client to be approved or rejected by the respon } }, "pairingTopic": string, - "expiry": number, // OPTIONAL timespamp in seconds + "expiryTimestamp": number, // OPTIONAL timespamp in seconds } ``` From 7e46a951bce26d3870914e0a56bac737542cb225 Mon Sep 17 00:00:00 2001 From: Gancho Radkov <43912948+ganchoradkov@users.noreply.github.com> Date: Thu, 18 Jan 2024 15:03:48 +0200 Subject: [PATCH 3/3] feat: adds expiryTimestamp to session request --- docs/specs/clients/sign/session-events.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/specs/clients/sign/session-events.md b/docs/specs/clients/sign/session-events.md index 752604da..7673da63 100644 --- a/docs/specs/clients/sign/session-events.md +++ b/docs/specs/clients/sign/session-events.md @@ -80,7 +80,7 @@ For a properly formatted namespace, refer to the documentation [here](../../../s "params": { "id": 1675734656244887, "pairingTopic": "3c74583111ab5e006b03cbb0f252c667686e9fc01e675dff90aa8b18ec435feb", - "expiry": 1675734962, + "expiryTimestamp": 1675734962, "requiredNamespaces": { "eip155": { "methods": [ @@ -164,7 +164,8 @@ Here's an example of a payload from a `session_request` when the request is for } ] }, - "chainId": "eip155:5" + "chainId": "eip155:5", + "expiryTimestamp": 1675734962 } } ```