@p2pdotme/sdk 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.mjs CHANGED
@@ -323,8 +323,9 @@ function cleanupSeonStorage() {
323
323
  // src/fraud-engine/signing.ts
324
324
  async function getSignedHeaders(signer, action) {
325
325
  const signingAddress = (signer.signerAddress ?? signer.address).toLowerCase();
326
+ const subjectAddress = signer.address.toLowerCase();
326
327
  const timestamp = Math.floor(Date.now() / 1e3).toString();
327
- const message = `${action}:${signingAddress}:${timestamp}`;
328
+ const message = `${action}:${signingAddress}:${subjectAddress}:${timestamp}`;
328
329
  try {
329
330
  const signature = await signer.signMessage(message);
330
331
  return {