feat: increased order experation

This commit is contained in:
Andrew Saenkov
2024-12-04 20:40:43 +07:00
parent c4b22a76de
commit 4b54196dcb
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.22.16",
"version": "0.22.17",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -8,7 +8,7 @@ import normalizeNumber from '../utils/normalizeNumber.js';
import getDomainData from './getDomainData.js';
import hashOrder from './hashOrder.js';
const DEFAULT_EXPIRATION = 29 * 24 * 60 * 60 * 1000; // 29 days
const DEFAULT_EXPIRATION = 365 * 24 * 60 * 60 * 1000; // 365 days
type SignerWithTypedDataSign = ethers.Signer & TypedDataSigner;