mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-15 14:42:38 +03:00
Fix syntax
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user