From 2b3aa03d84bb73d5ea1e6a12012d5c9ab23b9b5f Mon Sep 17 00:00:00 2001 From: halaprix Date: Wed, 28 Feb 2024 08:35:02 +0100 Subject: [PATCH] chore: add `excutionPrice` to partial take profit trigger data --- packages/automation/package.json | 2 +- packages/automation/src/mapping.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/automation/package.json b/packages/automation/package.json index 709b3eb..58e8cb8 100644 --- a/packages/automation/package.json +++ b/packages/automation/package.json @@ -1,7 +1,7 @@ { "name": "@oasisdex/automation", "packageManager": "yarn@1.22.21", - "version": "1.6.4-alpha.0", + "version": "1.6.4-alpha.1", "description": "The set of utilities for Oasis automation", "homepage": "https://github.com/OasisDEX/common#readme", "main": "lib/src/index.js", diff --git a/packages/automation/src/mapping.ts b/packages/automation/src/mapping.ts index 7909dac..bbb5bab 100644 --- a/packages/automation/src/mapping.ts +++ b/packages/automation/src/mapping.ts @@ -205,6 +205,7 @@ export const commandTypeJsonMapping: Record = { 'operationName', 'executionLtv', 'targetLtv', + 'excutionPrice', 'deviation', 'closeToCollateral', ], @@ -217,6 +218,7 @@ export const commandTypeJsonMapping: Record = { 'operationName', 'executionLtv', 'targetLtv', + 'excutionPrice', 'deviation', 'closeToCollateral', ], @@ -552,6 +554,7 @@ export const defaultCommandTypeMapping: Record