Updated signSFDOrder

Version 0.18.14
This commit is contained in:
Mikhail Gladchenko
2023-04-11 14:48:59 +01:00
parent a9964f4dab
commit e451657109
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -26,7 +26,7 @@ export const signCFDOrder = async (
signer: ethers.Signer,
chainId: SupportedChainId,
stopPrice: BigNumber.Value | undefined,
isFromDelegate: boolean | undefined,
isFromDelegate?: boolean,
) => {
const nonce = Date.now();
const expiration = nonce + DEFAULT_EXPIRATION;