diff --git a/package.json b/package.json index 06ec8aa..1cd2a78 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.58", + "version": "0.19.59", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/Orion/bridge/index.ts b/src/Orion/bridge/index.ts index 7e7a039..c539a53 100644 --- a/src/Orion/bridge/index.ts +++ b/src/Orion/bridge/index.ts @@ -74,14 +74,14 @@ export default class Bridge { }); } - makeAtomicSwap = ( + makeAtomicSwap( walletAddress: string, networkFrom: SupportedChainId, networkTo: SupportedChainId, amount: string, asset: string, env?: string | undefined, - ) => { + ) { const secret = generateSecret(); const secretHash = ethers.utils.keccak256(secret); const lockExpiration = Date.now() + SECONDS_IN_DAY * EXPIRATION_DAYS * 1000;