fix: changed rpc for eth to a public one (#268)

* fix: changed rpc for eth to a public one

* fix: version fix
This commit is contained in:
Andrew Saenkov
2025-01-21 17:33:26 +07:00
committed by GitHub
parent b81d5534e2
commit 9e3689bd1b
3 changed files with 3 additions and 3 deletions

View File

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

View File

@@ -5,7 +5,7 @@
"label": "Ethereum",
"shortName": "ETH",
"code": "eth",
"rpc": "https://trade.orion.xyz/eth-mainnet/rpc",
"rpc": "https://ethereum-rpc.publicnode.com",
"baseCurrencyName": "ETH",
"contracts": {
"WETH": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",

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 = 365 * 24 * 60 * 60 * 1000; // 365 days
const DEFAULT_EXPIRATION = 29 * 24 * 60 * 60 * 1000; // 29 days
type SignerWithTypedDataSign = ethers.Signer & TypedDataSigner;