Commit Graph

490 Commits

Author SHA1 Message Date
tiagosiebler
c94b4d16ff small clean 2022-05-08 01:09:04 +01:00
tiagosiebler
38f5a6286c fixes for private spot GET calls, improve signing process, add private read tests for spot & linear 2022-05-08 01:00:12 +01:00
tiagosiebler
7840829454 fix linear request type, fix linear request method, add private read tests 2022-05-07 23:35:24 +01:00
tiagosiebler
72ce693d24 move test to private 2022-05-07 22:23:58 +01:00
tiagosiebler
d11fbfa227 add coverage for inverse futures private getter endpoints, migrate private getter methods to base class 2022-05-06 22:06:32 +01:00
tiagosiebler
749efad303 add tests for private query endpoints 2022-05-05 23:53:28 +01:00
tiagosiebler
4ba36374cc remove requestWrapper from remaining public getter methods 2022-05-05 23:42:14 +01:00
tiagosiebler
f4e41331db placeholder private test. Deprecate requestWrapper public getters 2022-05-05 23:39:47 +01:00
tiagosiebler
44fb95ae80 expand spot public tests, fix broken trades and server time endpoints 2022-05-05 23:21:27 +01:00
tiagosiebler
a7aaedac41 bootstrap public spot test 2022-05-05 22:45:38 +01:00
tiagosiebler
0b8bed8faf migrate linear public methods + expand tests 2022-05-05 22:09:45 +01:00
tiagosiebler
784555cf9f cleaned public inverse futures endpoints & expanded tests 2022-05-05 21:46:58 +01:00
tiagosiebler
603a07ec85 rm note 2022-05-05 21:28:36 +01:00
tiagosiebler
51aa7ae1f5 - Returned type improvements.
- Start migrating to base rest client.
- Remove deprecated methods.
- Run linter.
- Deprecate shared endpoints for readibility. All methods are replicated within each client (there's not much duplication).
- Expand test coverage for public inverse endpoints.
2022-05-05 21:25:28 +01:00
Tiago
cf9147ff60 Merge pull request #146 from tiagosiebler/v2.1.10
v2.1.10: feat(#144): add missing endpoint for linear position mode. Type improvements & linting.
2022-04-06 11:00:52 +01:00
dependabot[bot]
ffaf48a390 Merge pull request #145 from tiagosiebler/dependabot/npm_and_yarn/ansi-regex-4.1.1 2022-04-06 09:58:31 +00:00
tiagosiebler
81b8a34522 v2.1.10: feat(#144): add missing endpoint for linear position mode. Type improvements & linting. 2022-04-06 10:57:56 +01:00
dependabot[bot]
f763b6e688 Bump ansi-regex from 4.1.0 to 4.1.1
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 09:57:23 +00:00
dependabot[bot]
27f1493829 Merge pull request #143 from tiagosiebler/dependabot/npm_and_yarn/minimist-1.2.6 2022-04-06 09:56:53 +00:00
dependabot[bot]
adbaeed0a1 Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-28 02:55:48 +00:00
Tiago
7dfae7a3f7 Merge pull request #142 from tiagosiebler/tiagosiebler-patch-1
v2.1.9: fix new order types for linear client
2022-03-17 19:38:14 +00:00
dependabot[bot]
4db29975af Merge pull request #141 from tiagosiebler/dependabot/npm_and_yarn/follow-redirects-1.14.9 2022-03-17 19:37:55 +00:00
Tiago
20c84fd0ae v2.1.9: fix new order types for linear client
v2.1.9: fix new order types for linear USDT perps client
2022-03-17 19:37:17 +00:00
dependabot[bot]
999ca6572c Bump follow-redirects from 1.14.7 to 1.14.9
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-17 19:36:57 +00:00
Tiago
44717ac1df Merge pull request #136 from crashdebug/master
reduce_only, close_on_trigger and position_idx are required parameters
2022-03-17 19:34:24 +00:00
Tiago
370e43bf59 Update src/linear-client.ts 2022-03-17 19:33:37 +00:00
kaitsu
ab8936b543 reduce_only, close_on_trigger and position_idx are required parameters 2022-02-02 14:17:24 +01:00
dependabot[bot]
65494cb813 Merge pull request #134 from tiagosiebler/dependabot/npm_and_yarn/follow-redirects-1.14.7 2022-01-14 09:51:50 +00:00
dependabot[bot]
23a80de72c Bump follow-redirects from 1.14.6 to 1.14.7
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.6 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.6...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-14 09:49:22 +00:00
Tiago
fa24bbd38b Merge pull request #133 from pranaypratyush/master
Update ReplaceActiveOrder for InverseClient
2022-01-14 09:48:52 +00:00
Pranay Pratyush
9de6b5c16f Version bump 2022-01-14 13:25:50 +05:30
Pranay Pratyush
995d6cd567 Update ReplaceActiveOrder for InverseClient 2022-01-14 13:25:20 +05:30
dependabot[bot]
422983fa5e Merge pull request #113 from tiagosiebler/dependabot/npm_and_yarn/tmpl-1.0.5 2021-12-31 00:59:37 +00:00
dependabot[bot]
460899e456 Merge pull request #116 from tiagosiebler/dependabot/npm_and_yarn/axios-0.21.2 2021-12-31 00:59:23 +00:00
dependabot[bot]
17844794cf Bump axios from 0.21.1 to 0.21.2
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-31 00:54:17 +00:00
dependabot[bot]
bc1ace4ec9 Bump tmpl from 1.0.4 to 1.0.5
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-31 00:53:58 +00:00
Tiago
ce429a9222 Merge pull request #129 from tiagosiebler/types
reduce ping timeouts for ws, improve request types, improve response types
2021-12-31 00:46:57 +00:00
tiagosiebler
9a7a7ebc05 v2.1.7: reduce ping timeouts for ws, improve request types, improve response types 2021-12-31 00:46:21 +00:00
tiagosiebler
352f58e09a clear pong timer for any incoming data 2021-12-31 00:45:50 +00:00
tiagosiebler
5cd4ab2c36 improve types for request parameters 2021-12-31 00:45:30 +00:00
tiagosiebler
543ace9cde export types from index 2021-12-31 00:45:02 +00:00
tiagosiebler
b536c8c126 prevent relative path imports 2021-12-31 00:44:49 +00:00
Tiago
bf713d1f22 Merge pull request #128 from pranaypratyush/master
Added API info to inverse client
2021-12-29 13:03:03 +00:00
Pranay Pratyush
80be903b29 Version bump 2021-12-29 18:25:25 +05:30
Pranay Pratyush
fa7d7e0cec Added API key info to inverse client
Other APIs have duplicate implementation so adding just to inverse client
2021-12-29 18:24:43 +05:30
Pranay Pratyush
d42cf8d1e0 Added .history/ to .gitignore 2021-11-11 11:10:39 +05:30
Tiago
b51ff64027 Merge pull request #124 from tiagosiebler/2.1.5
v2.1.5: useragent ws pass-thru
2021-11-04 18:27:32 +00:00
tiagosiebler
e201c50982 v2.1.5: useragent ws pass-thru 2021-11-04 18:26:50 +00:00
Tiago
a4829dd75b Merge pull request #123 from DimensionSoftware/master
fix: pass http.Agent through `connect`
2021-11-04 18:26:03 +00:00
keith
b22e3fbc84 fix: pass http.Agent through connect 2021-11-04 11:09:54 -07:00