timelock-sdk 0.0.107 → 0.0.108

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/client.cjs CHANGED
@@ -942,7 +942,7 @@ const usePerpsOperator = () => {
942
942
  try {
943
943
  const { address: address$1, validUntil } = await operator.validateAuthMessage(message, signature);
944
944
  if (validUntil < Date.now()) throw new Error("Signature expired");
945
- if (address$1 !== userAddr) throw new Error("Valid signature but different user address");
945
+ if (address$1.toLowerCase() !== userAddr.toLowerCase()) throw new Error("Valid signature but different user address");
946
946
  operator.setAuth(message, signature);
947
947
  } catch (error) {
948
948
  clearSignature(userAddr);