diff --git a/lib/utils/swap.ts b/lib/utils/swap.ts index 9d25a83..955e75d 100644 --- a/lib/utils/swap.ts +++ b/lib/utils/swap.ts @@ -61,7 +61,7 @@ export default async function swap( tonconnect .sendTransaction({ messages: messages, - validUntil: Date.now() + 1000 * 60 * 60 * 24 - 1000, + validUntil: Date.now() + 1000 * 60 * 60 * 12 - 1000, }) .then((result) => { const cell = Cell.fromBoc(Buffer.from(result.boc, 'base64'))[0]; diff --git a/package.json b/package.json index 32a57fc..1ce1a79 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mytonswap/widget", "description": "MyTonSwap Widget - Easy to use swap widget for React on TON Blockchain", - "version": "2.0.29", + "version": "2.0.30", "type": "module", "author": { "name": "MyTonSwap",