From 7b32a6d52ac1396722f3de30ee4f5c9978026c64 Mon Sep 17 00:00:00 2001 From: Aleksandr Kraiz Date: Wed, 9 Aug 2023 19:31:14 +0400 Subject: [PATCH] Fix mapping --- package.json | 2 +- src/constants/exchangesMap.ts | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index b3259d3..feab0ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@orionprotocol/sdk", - "version": "0.19.48", + "version": "0.19.49", "description": "Orion Protocol SDK", "main": "./lib/index.cjs", "module": "./lib/index.js", diff --git a/src/constants/exchangesMap.ts b/src/constants/exchangesMap.ts index d95078b..6b77aac 100644 --- a/src/constants/exchangesMap.ts +++ b/src/constants/exchangesMap.ts @@ -1,9 +1,4 @@ -import type exchanges from './exchanges.js'; - -const mapping: Record< - typeof exchanges[number], - string -> = { +const mapping: Record = { // CEXes ASCENDEX: 'AscendEx', OKX: 'OKX', @@ -28,6 +23,6 @@ const mapping: Record< OKXSWAP: 'OKXSwap', CURVE: 'Curve', CURVE_FACTORY: 'Curve Factory', -} as const; +}; export default mapping;