Commit Graph

163 Commits

Author SHA1 Message Date
Aleksandr Kraiz
d373d4b791 Husky (#47) 2023-02-10 18:31:14 +04:00
Aleksandr Kraiz
26bb95637a Added husky 2023-02-10 17:41:35 +04:00
Aleksandr Kraiz
3076258339 Added config 2023-02-10 17:38:54 +04:00
Aleksandr Kraiz
7882b66871 Fix: network codes 2023-02-10 17:28:52 +04:00
Aleksandr Kraiz
bd1c8077bb Fix RPC url 2023-02-10 13:57:55 +04:00
Aleksandr Kraiz
919c7ac92a Update package.json 2023-02-09 18:03:55 +04:00
Kuduzow Akhmad
80ffa4a31d fix: made price_feed_meta_info nullable (#46)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-02-09 18:03:35 +04:00
Aleksandr Kraiz
4df2892be9 Update package.json 2023-02-08 14:52:17 +04:00
Aleksandr Kraiz
b2f3cdf5fb Orion, Orion Unit, Configuration (#40)
* Refactoring

* Better docs

* Bump

* ESLint standard

* Fix

* Bumo

* VerboseOrionUnitConfig to types

* Docs improvements

* Docs improvements. Orion default env
2023-02-08 14:51:58 +04:00
Mikhail Gladchenko
258e5a5177 CFD schema was updated 2023-02-03 08:13:36 +00:00
Mikhail Gladchenko
f5a3e8b9f4 package.json version was updated to 0.16.8-rc.1 2023-02-03 08:04:22 +00:00
Mikhail Gladchenko
c0771d4fa5 CFD schema was updated 2023-02-03 07:58:14 +00:00
Mikhail Gladchenko
bf937abad1 Small type fix
package.json version was updated to 0.16.7-rc.0
2023-02-02 14:59:42 +00:00
Mikhail Gladchenko
d8b94fec7d package.json version was updated to 0.16.6 2023-02-02 13:25:27 +00:00
Mikhail Gladchenko
b500224b63 package.json version was updated to 0.16.6-rc.2 2023-02-02 12:53:35 +00:00
Mikhail Gladchenko
24d23e0784 CFD schemas update
package.json version was updated to 0.16.6-rc.1
2023-02-02 12:46:49 +00:00
Aleksandr Kraiz
e1444a9f4e Update package.json 2023-02-01 12:22:46 +04:00
Kuduzow Akhmad
f1718a3097 feat: added methods to get referral system analytics (#35)
Co-authored-by: kuduzow <admin@intocode.ru>
Co-authored-by: Aleksandr Kraiz <selfsurfer@gmail.com>
2023-02-01 12:22:30 +04:00
Aleksandr Kraiz
87cfc3f118 Update package.json 2023-02-01 12:17:16 +04:00
Kuduzow Akhmad
053a8bafc9 fix: added errorSchema for distinct-analytics and renamed method (#36)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-02-01 12:16:55 +04:00
Aleksandr Kraiz
a61e2c4c8a Update package.json 2023-01-27 15:45:29 +04:00
Aleksandr Kraiz
1e3cf57c87 CFD (#28)
* Added new pairs type: futures

* Added new pairs type: futures

* added market param to pairsConfig request

* OP-3268 [CFD] Deposit amount

Added CFDContracts endpoint
package.json version update

* OP-3268 [CFD] Deposit amount

CFDContractsSchema export

* OP-3268 [CFD] Deposit amount

CFDContractsSchema export
package.json update

* cfdContractsSchema rename
Add getCFDHistory method
package.json update

* Parameter of getCFDHistory method was updated

* cfdHistorySchema was updated

* WS subscribtion for CFD balances, CFD Order signing functionality

* cfdHistorySchema was updated
package.json version 0.16.0-rc.6 was updated

* package.json version 0.16.0-rc.7 was updated

* Exchange and CFD history schemas was transformed
package.json version 0.16.0-rc.8 was updated

* Added HistoryTransactionStatus
package.json version 0.16.0-rc.8 was updated

* cfdContractsSchema was updated
package.json version 0.16.0-rc.10 was updated

* Merge conflicts fix
package.json version was updated to 0.16.0-rc.12

* updated schemas, updated version

* Updated CFD balance schema, updated unsubscribe with passing extra details

* CFD balances schema update

* Added CFD prices request

* typing small fix

* fixed transformation of CFD init / update responses

* temporary added debug

* temporary added debug. changed ver

* debug, ver up

* Add currentPrice to cfdBalanceSchema

* Added maxAvailableLong maxAvailableShort to balances

* added leverage and position status

* Update isWithCode - allow string code

* version up

Co-authored-by: Mikhail Gladchenko <m@gladchenko.pw>
Co-authored-by: Demid <demidn@gmail.com>
Co-authored-by: Dmitry Leleko <lelekodmitry@gmail.com>
2023-01-27 15:45:10 +04:00
Aleksandr Kraiz
a7cc752de9 Update package.json 2023-01-27 00:46:41 +04:00
Kuduzow Akhmad
e99c3ee9cd added errorSchema to ReferralSystem service (#34)
Co-authored-by: kuduzow <admin@intocode.ru>
2023-01-27 00:46:22 +04:00
Aleksandr Kraiz
6c641eabaf Update package.json 2023-01-24 11:38:19 +04:00
Kuduzow Akhmad
cf9e391ecf Добавлен новый метод для получения адреса реферрала (#32)
* Добавлен новый метод для получения адреса реферрала

* Апнута версия пакета

* Добавлена привязка контекста к методу

* Апнута версия пакета

* Доработа логика генерации apiUrl для тестинг-окружения реферальной системы

* URL custom-окружение обрабатывается теперь также как testing

* analytics schema updated

* fix zod schema by add z.record

Co-authored-by: kuduzow <admin@intocode.ru>
2023-01-24 11:37:57 +04:00
Mikhail Gladchenko
55296ff9d7 package.json version 0.15.29 was updated 2023-01-06 08:11:41 +00:00
Mikhail Gladchenko
26b916c532 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2023-01-05 14:14:00 +00:00
Aleksandr Kraiz
862dbf8c84 Update package.json 2022-12-21 10:51:48 +04:00
Dmitry
d26f13b6ac OP-3279 Add /api/v1/pools/reserves endpoint (#33)
* OP-3279 Add /api/v1/pools/reserves endpoint

* OP-3279 Fixup

* OP-3279 Fixup

* OP-3279 Update version
2022-12-21 10:51:14 +04:00
Mikhail Gladchenko
f621b4abfd OP-2818 [Swap] Show order route path and benefits in Swap UI
SwapInfoBase type update
package.json version update
2022-12-19 10:24:31 +00:00
Aleksandr Kraiz
84f36a9800 merge 2022-12-16 14:03:53 +04:00
Aleksandr Kraiz
e4f8778b2d Fix schema 2022-12-16 14:02:21 +04:00
Mikhail Gladchenko
3a8d426951 OP-2818 [Swap] Show order route path and benefits in Swap UI
package.json version update
2022-12-16 09:23:26 +00:00
Mikhail Gladchenko
43fa0b8c58 Merge branch 'main' into OP-2812-show-order-route-path-and-benefits
# Conflicts:
#	package.json
2022-12-16 08:00:06 +00:00
Aleksandr Kraiz
4857460b4b Update package.json 2022-12-15 13:04:18 +04:00
Kuduzow Akhmad
745bec7da5 Added new ReferralSystem service (#30)
* Added new ReferralSystem service

* Version conflict resolved after rebase

* Fixed http header because of backend updates

* Updated package version

Co-authored-by: kuduzow <admin@intocode.ru>
2022-12-15 13:03:45 +04:00
Aleksandr Kraiz
e69082319e no dep cycle 2022-12-14 21:07:38 +04:00
Aleksandr Kraiz
de3f07703e Up 2022-12-14 19:05:01 +04:00
Aleksandr Kraiz
a13c5ca318 Merge branch 'OP-2812-show-order-route-path-and-benefits' of https://github.com/orionprotocol/sdk into OP-2812-show-order-route-path-and-benefits 2022-12-14 19:04:49 +04:00
Aleksandr Kraiz
625785bf7d Exchange enum 2022-12-14 19:04:41 +04:00
Mikhail Gladchenko
b56e213f1f OP-2818 [Swap] Show order route path and benefits in Swap UI
package.json version update
2022-12-14 14:46:36 +00:00
Aleksandr Kraiz
363dafc45c Added exchanges map 2022-12-14 18:37:50 +04:00
Aleksandr Kraiz
60a2bc0bcd Schema transform optimization 2022-12-13 12:46:03 +04:00
Aleksandr Kraiz
990aa04e46 Broken deleted 2022-12-05 15:45:33 +04:00
Aleksandr Kraiz
b530b31077 Update package.json 2022-12-02 10:48:54 +04:00
Kuduzow Akhmad
842bc195d4 Add new methods to PriceFeed class to get statistics (#29) 2022-12-02 10:48:34 +04:00
Aleksandr Kraiz
f6623f9bec isKeyOfObject fix 2022-11-28 18:26:34 +04:00
Aleksandr Kraiz
1a33c41993 New utils 2022-11-28 17:50:20 +04:00
Aleksandr Kraiz
1913a84f1e Types improvements 2022-11-28 13:43:55 +04:00