timelock-sdk 0.0.100 → 0.0.101
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-DMye-xtb.d.ts → client-DfYiZw0g.d.ts} +160 -160
- package/dist/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/package.d.ts +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -943,7 +943,7 @@ const usePerpsOperator = () => {
|
|
|
943
943
|
const { address: address$1, validUntil } = await operator.validateAuthMessage(message, signature);
|
|
944
944
|
if (validUntil < Date.now()) throw new Error("Signature expired");
|
|
945
945
|
if (address$1 !== userAddr) throw new Error("Valid signature but different user address");
|
|
946
|
-
operator.setAuth(
|
|
946
|
+
operator.setAuth(message, signature);
|
|
947
947
|
} catch (error) {
|
|
948
948
|
clearSignature(userAddr);
|
|
949
949
|
console.error(error);
|