diff --git a/.changeset/silver-rules-wave.md b/.changeset/silver-rules-wave.md new file mode 100644 index 00000000..d95dee35 --- /dev/null +++ b/.changeset/silver-rules-wave.md @@ -0,0 +1,5 @@ +--- +"@xmtp/consent-proof-signature": patch +--- + +update consent message diff --git a/packages/consent-proof-signature/src/index.test.ts b/packages/consent-proof-signature/src/index.test.ts index 22383103..fff760ba 100644 --- a/packages/consent-proof-signature/src/index.test.ts +++ b/packages/consent-proof-signature/src/index.test.ts @@ -7,7 +7,7 @@ describe("createConsentMessage", () => { const exampleAddress = "0x1234567890abcdef"; const signatureMessage = createConsentMessage(exampleAddress, timestampMs); expect(signatureMessage).toEqual( - "XMTP : Grant inbox consent to sender\n\nCurrent Time: Fri, 14 Feb 2020 07:00:00 GMT\nFrom Address: 0x1234567890abcdef\n\nFor more info: https://xmtp.org/signatures/", + "XMTP : Grant inbox consent to sender\n\nCurrent Time: Fri, 14 Feb 2020 07:00:00 GMT\nSender Address: 0x1234567890abcdef\n\nFor more info: https://xmtp.org/signatures/", ); }); }); diff --git a/packages/consent-proof-signature/src/index.ts b/packages/consent-proof-signature/src/index.ts index b3a54f7c..2cdb6c86 100644 --- a/packages/consent-proof-signature/src/index.ts +++ b/packages/consent-proof-signature/src/index.ts @@ -13,7 +13,7 @@ export const createConsentMessage = ( "XMTP : Grant inbox consent to sender\n" + "\n" + `Current Time: ${new Date(timestampMs).toUTCString()}\n` + - `From Address: ${peerAddress}\n` + + `Sender Address: ${peerAddress}\n` + "\n" + "For more info: https://xmtp.org/signatures/";