fix linter configuration & jest type dependency

This commit is contained in:
tiagosiebler
2023-02-17 13:51:40 +00:00
parent 7669c037c8
commit 8e54ecbaf5
34 changed files with 1600 additions and 1710 deletions

View File

@@ -15,8 +15,10 @@ const client = new ContractClient({
(async () => {
try {
/**
* You can make raw HTTP requests without the per-endpoint abstraction,
* The REST ContractClient uses bybit's v3 signature mechanism, so it can be used for raw calls to any v3-supporting endpoints (incl the V5 APIs).
* You can make raw HTTP requests without the per-endpoint abstraction.
*
* The REST ContractClient uses bybit's v3 signature mechanism,
* so it can be used for raw calls to any v3-supporting endpoints (incl the V5 APIs).
* e.g. if an endpoint is missing and you desperately need it (but please raise an issue or PR if you're missing an endpoint)
*/
const rawCall = await client.getPrivate('/v5/order/realtime', {

View File

@@ -0,0 +1,12 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "distExamples",
"allowJs": true
},
"include": [
"**/*.ts",
// if you have a mixed JS/TS codebase, don't forget to include your JS files
"**/*.js"
]
}