Merge pull request #463 from JJ-Cro/eslintFix07_25
feat(v4.1.17): update dependencies and ESLint configuration, fix all linter errors
This commit is contained in:
@@ -7,53 +7,45 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
'@typescript-eslint/eslint-plugin',
|
'@typescript-eslint/eslint-plugin',
|
||||||
// 'simple-import-sort',
|
'simple-import-sort',
|
||||||
// 'require-extensions',
|
// 'require-extensions', // only once moved to ESM
|
||||||
],
|
],
|
||||||
extends: [
|
extends: [
|
||||||
'plugin:@typescript-eslint/recommended',
|
'plugin:@typescript-eslint/recommended',
|
||||||
'plugin:prettier/recommended',
|
'plugin:prettier/recommended',
|
||||||
// 'plugin:require-extensions/recommended',
|
// 'plugin:require-extensions/recommended', // only once moved to ESM
|
||||||
],
|
],
|
||||||
root: true,
|
root: true,
|
||||||
env: {
|
env: {
|
||||||
node: true,
|
node: true,
|
||||||
jest: true,
|
jest: true,
|
||||||
},
|
},
|
||||||
ignorePatterns: ['.eslintrc.js'],
|
ignorePatterns: ['.eslintrc.js', 'webpack.config.js', 'examples/apidoc'],
|
||||||
rules: {
|
rules: {
|
||||||
'@typescript-eslint/await-thenable': 'error',
|
'@typescript-eslint/interface-name-prefix': 'off',
|
||||||
'@typescript-eslint/dot-notation': 'off',
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
||||||
'@typescript-eslint/no-unused-vars': 'warn',
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||||
|
'@typescript-eslint/no-explicit-any': 'off',
|
||||||
'@typescript-eslint/no-unused-expressions': 'error',
|
|
||||||
'@typescript-eslint/no-var-requires': 'error',
|
|
||||||
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
|
||||||
|
|
||||||
'@typescript-eslint/no-explicit-any': 'error',
|
|
||||||
'@typescript-eslint/no-floating-promises': 'off',
|
|
||||||
'@typescript-eslint/no-inferrable-types': 'off',
|
|
||||||
'@typescript-eslint/promise-function-async': 'off',
|
|
||||||
'@typescript-eslint/no-use-before-define': 'off',
|
|
||||||
'@typescript-eslint/no-non-null-assertion': 'off',
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
||||||
'@typescript-eslint/ban-types': 'off',
|
|
||||||
'@typescript-eslint/ban-ts-comment': 'off',
|
|
||||||
|
|
||||||
'no-dupe-class-members': 'off',
|
|
||||||
'no-param-reassign': ['error'],
|
'no-param-reassign': ['error'],
|
||||||
|
'@typescript-eslint/ban-types': 'off',
|
||||||
|
'simple-import-sort/imports': 'error',
|
||||||
|
'simple-import-sort/exports': 'error',
|
||||||
'array-bracket-spacing': ['error', 'never'],
|
'array-bracket-spacing': ['error', 'never'],
|
||||||
indent: ['off'],
|
|
||||||
'linebreak-style': ['error', 'unix'],
|
'linebreak-style': ['error', 'unix'],
|
||||||
'lines-between-class-members': ['warn', 'always'],
|
'lines-between-class-members': ['warn', 'always'],
|
||||||
semi: 'off',
|
'@typescript-eslint/no-empty-object-type': [
|
||||||
'@typescript-eslint/semi': ['error'],
|
'error',
|
||||||
|
{ allowObjectTypes: 'always' },
|
||||||
|
],
|
||||||
|
semi: ['error', 'always'],
|
||||||
'new-cap': 'off',
|
'new-cap': 'off',
|
||||||
'no-console': 'off',
|
'no-console': 'off',
|
||||||
'no-debugger': 'off',
|
'no-debugger': 'off',
|
||||||
'no-mixed-spaces-and-tabs': 2,
|
'no-mixed-spaces-and-tabs': 2,
|
||||||
'no-use-before-define': [2, 'nofunc'],
|
'no-use-before-define': [2, 'nofunc'],
|
||||||
'no-unreachable': ['warn'],
|
'no-unreachable': ['warn'],
|
||||||
'no-unused-vars': ['warn'],
|
// 'no-unused-vars': ['warn'],
|
||||||
'no-extra-parens': ['off'],
|
'no-extra-parens': ['off'],
|
||||||
'no-mixed-operators': ['off'],
|
'no-mixed-operators': ['off'],
|
||||||
quotes: [2, 'single', 'avoid-escape'],
|
quotes: [2, 'single', 'avoid-escape'],
|
||||||
@@ -62,23 +54,5 @@ module.exports = {
|
|||||||
'computed-property-spacing': [2, 'never'],
|
'computed-property-spacing': [2, 'never'],
|
||||||
'keyword-spacing': 2,
|
'keyword-spacing': 2,
|
||||||
'space-unary-ops': 2,
|
'space-unary-ops': 2,
|
||||||
'sort-imports': [
|
|
||||||
'error',
|
|
||||||
{
|
|
||||||
ignoreCase: false,
|
|
||||||
ignoreDeclarationSort: true,
|
|
||||||
ignoreMemberSort: false,
|
|
||||||
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
|
|
||||||
allowSeparatedGroups: false,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
'max-len': ['warn', { code: 140 }],
|
|
||||||
|
|
||||||
// newer rules
|
|
||||||
'@typescript-eslint/interface-name-prefix': 'off',
|
|
||||||
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
||||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
||||||
// 'simple-import-sort/imports': 'error',
|
|
||||||
// 'simple-import-sort/exports': 'error',
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { createHmac } from 'crypto';
|
import { createHmac } from 'crypto';
|
||||||
|
|
||||||
import { DefaultLogger, RestClientV5, WebsocketClient } from '../src/index';
|
import { DefaultLogger, RestClientV5, WebsocketClient } from '../src/index';
|
||||||
|
|
||||||
// or
|
// or
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src';
|
import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src';
|
||||||
|
|
||||||
// or
|
// or
|
||||||
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src';
|
import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src';
|
||||||
|
|
||||||
// or
|
// or
|
||||||
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable @typescript-eslint/no-empty-function */
|
/* eslint-disable @typescript-eslint/no-empty-function */
|
||||||
import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src';
|
import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src';
|
||||||
|
|
||||||
// or
|
// or
|
||||||
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { RestClientV5, WebsocketClient, isWsAllLiquidationEvent } from '../src';
|
import { isWsAllLiquidationEvent, RestClientV5, WebsocketClient } from '../src';
|
||||||
|
|
||||||
// or
|
// or
|
||||||
// import {
|
// import {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from '../src';
|
import { DefaultLogger, WebsocketClient, WS_KEY_MAP } from '../src';
|
||||||
|
|
||||||
// or
|
// or
|
||||||
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
// import { DefaultLogger, WS_KEY_MAP, WebsocketClient } from 'bybit-api';
|
||||||
|
|||||||
559
package-lock.json
generated
559
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "4.1.16",
|
"version": "4.1.17",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "4.1.16",
|
"version": "4.1.17",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^1.7.9",
|
"axios": "^1.7.9",
|
||||||
@@ -16,12 +16,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.5.11",
|
"@types/jest": "^29.5.11",
|
||||||
"@types/node": "^22.10.7",
|
"@types/node": "^22.10.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
||||||
"@typescript-eslint/parser": "^7.1.0",
|
"@typescript-eslint/parser": "^8.18.0",
|
||||||
"eslint": "^8.29.0",
|
"eslint": "^8.29.0",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"eslint-plugin-simple-import-sort": "^12.0.0",
|
"eslint-plugin-require-extensions": "^0.1.3",
|
||||||
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.2",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
@@ -623,16 +624,20 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint-community/eslint-utils": {
|
"node_modules/@eslint-community/eslint-utils": {
|
||||||
"version": "4.4.0",
|
"version": "4.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
|
||||||
"integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
|
"integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"eslint-visitor-keys": "^3.3.0"
|
"eslint-visitor-keys": "^3.4.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
|
||||||
},
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/eslint"
|
||||||
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
|
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
|
||||||
}
|
}
|
||||||
@@ -1693,117 +1698,160 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/eslint-plugin": {
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.37.0.tgz",
|
||||||
"integrity": "sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==",
|
"integrity": "sha512-jsuVWeIkb6ggzB+wPCsR4e6loj+rM72ohW6IBn2C+5NCvfUVY8s33iFPySSVXqtm5Hu29Ne/9bnA0JmyLmgenA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "7.13.1",
|
"@typescript-eslint/scope-manager": "8.37.0",
|
||||||
"@typescript-eslint/type-utils": "7.13.1",
|
"@typescript-eslint/type-utils": "8.37.0",
|
||||||
"@typescript-eslint/utils": "7.13.1",
|
"@typescript-eslint/utils": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1",
|
"@typescript-eslint/visitor-keys": "8.37.0",
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^5.3.1",
|
"ignore": "^7.0.0",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@typescript-eslint/parser": "^7.0.0",
|
"@typescript-eslint/parser": "^8.37.0",
|
||||||
"eslint": "^8.56.0"
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
},
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"typescript": {
|
|
||||||
"optional": true
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": {
|
||||||
|
"version": "7.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
|
||||||
|
"integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"engines": {
|
||||||
|
"node": ">= 4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/parser": {
|
"node_modules/@typescript-eslint/parser": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.37.0.tgz",
|
||||||
"integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==",
|
"integrity": "sha512-kVIaQE9vrN9RLCQMQ3iyRlVJpTiDUY6woHGb30JDkfJErqrQEmtdWH3gV0PBAfGZgQXoqzXOO0T3K6ioApbbAA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/scope-manager": "7.13.1",
|
"@typescript-eslint/scope-manager": "8.37.0",
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/typescript-estree": "7.13.1",
|
"@typescript-eslint/typescript-estree": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1",
|
"@typescript-eslint/visitor-keys": "8.37.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.56.0"
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
},
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"typescript": {
|
|
||||||
"optional": true
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@typescript-eslint/project-service": {
|
||||||
|
"version": "8.37.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.37.0.tgz",
|
||||||
|
"integrity": "sha512-BIUXYsbkl5A1aJDdYJCBAo8rCEbAvdquQ8AnLb6z5Lp1u3x5PNgSSx9A/zqYc++Xnr/0DVpls8iQ2cJs/izTXA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@typescript-eslint/tsconfig-utils": "^8.37.0",
|
||||||
|
"@typescript-eslint/types": "^8.37.0",
|
||||||
|
"debug": "^4.3.4"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/scope-manager": {
|
"node_modules/@typescript-eslint/scope-manager": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.37.0.tgz",
|
||||||
"integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==",
|
"integrity": "sha512-0vGq0yiU1gbjKob2q691ybTg9JX6ShiVXAAfm2jGf3q0hdP6/BruaFjL/ManAR/lj05AvYCH+5bbVo0VtzmjOA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1"
|
"@typescript-eslint/visitor-keys": "8.37.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/type-utils": {
|
"node_modules/@typescript-eslint/tsconfig-utils": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.37.0.tgz",
|
||||||
"integrity": "sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==",
|
"integrity": "sha512-1/YHvAVTimMM9mmlPvTec9NP4bobA1RkDbMydxG8omqwJJLEW/Iy2C4adsAESIXU3WGLXFHSZUU+C9EoFWl4Zg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"license": "MIT",
|
||||||
"@typescript-eslint/typescript-estree": "7.13.1",
|
|
||||||
"@typescript-eslint/utils": "7.13.1",
|
|
||||||
"debug": "^4.3.4",
|
|
||||||
"ts-api-utils": "^1.3.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.56.0"
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"typescript": {
|
|
||||||
"optional": true
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@typescript-eslint/type-utils": {
|
||||||
|
"version": "8.37.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.37.0.tgz",
|
||||||
|
"integrity": "sha512-SPkXWIkVZxhgwSwVq9rqj/4VFo7MnWwVaRNznfQDc/xPYHjXnPfLWn+4L6FF1cAz6e7dsqBeMawgl7QjUMj4Ow==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
|
"dependencies": {
|
||||||
|
"@typescript-eslint/types": "8.37.0",
|
||||||
|
"@typescript-eslint/typescript-estree": "8.37.0",
|
||||||
|
"@typescript-eslint/utils": "8.37.0",
|
||||||
|
"debug": "^4.3.4",
|
||||||
|
"ts-api-utils": "^2.1.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"type": "opencollective",
|
||||||
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/types": {
|
"node_modules/@typescript-eslint/types": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.37.0.tgz",
|
||||||
"integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==",
|
"integrity": "sha512-ax0nv7PUF9NOVPs+lmQ7yIE7IQmAf8LGcXbMvHX5Gm+YJUYNAl340XkGnrimxZ0elXyoQJuN5sbg6C4evKA4SQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
@@ -1811,31 +1859,32 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/typescript-estree": {
|
"node_modules/@typescript-eslint/typescript-estree": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.37.0.tgz",
|
||||||
"integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==",
|
"integrity": "sha512-zuWDMDuzMRbQOM+bHyU4/slw27bAUEcKSKKs3hcv2aNnc/tvE/h7w60dwVw8vnal2Pub6RT1T7BI8tFZ1fE+yg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/project-service": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1",
|
"@typescript-eslint/tsconfig-utils": "8.37.0",
|
||||||
|
"@typescript-eslint/types": "8.37.0",
|
||||||
|
"@typescript-eslint/visitor-keys": "8.37.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"globby": "^11.1.0",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
"minimatch": "^9.0.4",
|
"minimatch": "^9.0.4",
|
||||||
"semver": "^7.6.0",
|
"semver": "^7.6.0",
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependencies": {
|
||||||
"typescript": {
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
|
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
|
||||||
@@ -1849,10 +1898,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
|
"node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": {
|
||||||
"version": "9.0.4",
|
"version": "9.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||||
"integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
|
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brace-expansion": "^2.0.1"
|
"brace-expansion": "^2.0.1"
|
||||||
},
|
},
|
||||||
@@ -1864,44 +1914,60 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/utils": {
|
"node_modules/@typescript-eslint/utils": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.37.0.tgz",
|
||||||
"integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==",
|
"integrity": "sha512-TSFvkIW6gGjN2p6zbXo20FzCABbyUAuq6tBvNRGsKdsSQ6a7rnV6ADfZ7f4iI3lIiXc4F4WWvtUfDw9CJ9pO5A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.7.0",
|
||||||
"@typescript-eslint/scope-manager": "7.13.1",
|
"@typescript-eslint/scope-manager": "8.37.0",
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/typescript-estree": "7.13.1"
|
"@typescript-eslint/typescript-estree": "8.37.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": "^8.56.0"
|
"eslint": "^8.57.0 || ^9.0.0",
|
||||||
|
"typescript": ">=4.8.4 <5.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@typescript-eslint/visitor-keys": {
|
"node_modules/@typescript-eslint/visitor-keys": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.37.0.tgz",
|
||||||
"integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==",
|
"integrity": "sha512-YzfhzcTnZVPiLfP/oeKtDp2evwvHLMe0LOy7oe+hb9KKIumLNohYS9Hgp1ifwpu42YWxhZE8yieggz6JpqO/1w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"eslint-visitor-keys": "^3.4.3"
|
"eslint-visitor-keys": "^4.2.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^18.18.0 || >=20.0.0"
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"type": "opencollective",
|
"type": "opencollective",
|
||||||
"url": "https://opencollective.com/typescript-eslint"
|
"url": "https://opencollective.com/typescript-eslint"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": {
|
||||||
|
"version": "4.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
|
||||||
|
"integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"engines": {
|
||||||
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
||||||
|
},
|
||||||
|
"funding": {
|
||||||
|
"url": "https://opencollective.com/eslint"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/@ungap/structured-clone": {
|
"node_modules/@ungap/structured-clone": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
|
||||||
@@ -2235,15 +2301,6 @@
|
|||||||
"sprintf-js": "~1.0.2"
|
"sprintf-js": "~1.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/array-union": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
|
|
||||||
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/asynckit": {
|
"node_modules/asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||||
@@ -2753,18 +2810,6 @@
|
|||||||
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/dir-glob": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"path-type": "^4.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/doctrine": {
|
"node_modules/doctrine": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
|
||||||
@@ -2987,11 +3032,25 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint-plugin-simple-import-sort": {
|
"node_modules/eslint-plugin-require-extensions": {
|
||||||
"version": "12.1.0",
|
"version": "0.1.3",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz",
|
||||||
"integrity": "sha512-Y2fqAfC11TcG/WP3TrI1Gi3p3nc8XJyEOJYHyEPEGI/UAgNx6akxxlX74p7SbAQdLcgASKhj8M0GKvH3vq/+ig==",
|
"integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "Apache-2.0",
|
||||||
|
"engines": {
|
||||||
|
"node": ">=16"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"eslint": "*"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/eslint-plugin-simple-import-sort": {
|
||||||
|
"version": "12.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz",
|
||||||
|
"integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"eslint": ">=5.0.0"
|
"eslint": ">=5.0.0"
|
||||||
}
|
}
|
||||||
@@ -3251,16 +3310,17 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"node_modules/fast-glob": {
|
"node_modules/fast-glob": {
|
||||||
"version": "3.3.2",
|
"version": "3.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
|
||||||
"integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
|
"integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@nodelib/fs.stat": "^2.0.2",
|
"@nodelib/fs.stat": "^2.0.2",
|
||||||
"@nodelib/fs.walk": "^1.2.3",
|
"@nodelib/fs.walk": "^1.2.3",
|
||||||
"glob-parent": "^5.1.2",
|
"glob-parent": "^5.1.2",
|
||||||
"merge2": "^1.3.0",
|
"merge2": "^1.3.0",
|
||||||
"micromatch": "^4.0.4"
|
"micromatch": "^4.0.8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.6.0"
|
"node": ">=8.6.0"
|
||||||
@@ -3271,6 +3331,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
|
||||||
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"is-glob": "^4.0.1"
|
"is-glob": "^4.0.1"
|
||||||
},
|
},
|
||||||
@@ -3513,26 +3574,6 @@
|
|||||||
"url": "https://github.com/sponsors/sindresorhus"
|
"url": "https://github.com/sponsors/sindresorhus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/globby": {
|
|
||||||
"version": "11.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
|
|
||||||
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"array-union": "^2.1.0",
|
|
||||||
"dir-glob": "^3.0.1",
|
|
||||||
"fast-glob": "^3.2.9",
|
|
||||||
"ignore": "^5.2.0",
|
|
||||||
"merge2": "^1.4.1",
|
|
||||||
"slash": "^3.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=10"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/sindresorhus"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/graceful-fs": {
|
"node_modules/graceful-fs": {
|
||||||
"version": "4.2.11",
|
"version": "4.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||||
@@ -5337,6 +5378,7 @@
|
|||||||
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
|
||||||
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 8"
|
"node": ">= 8"
|
||||||
}
|
}
|
||||||
@@ -5609,15 +5651,6 @@
|
|||||||
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
||||||
"devOptional": true
|
"devOptional": true
|
||||||
},
|
},
|
||||||
"node_modules/path-type": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=8"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/picocolors": {
|
"node_modules/picocolors": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
|
||||||
@@ -6323,15 +6356,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ts-api-utils": {
|
"node_modules/ts-api-utils": {
|
||||||
"version": "1.3.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
|
||||||
"integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==",
|
"integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=18.12"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": ">=4.2.0"
|
"typescript": ">=4.8.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/ts-jest": {
|
"node_modules/ts-jest": {
|
||||||
@@ -7366,12 +7400,12 @@
|
|||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"@eslint-community/eslint-utils": {
|
"@eslint-community/eslint-utils": {
|
||||||
"version": "4.4.0",
|
"version": "4.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
|
||||||
"integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
|
"integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"eslint-visitor-keys": "^3.3.0"
|
"eslint-visitor-keys": "^3.4.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@eslint-community/regexpp": {
|
"@eslint-community/regexpp": {
|
||||||
@@ -8234,77 +8268,106 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@typescript-eslint/eslint-plugin": {
|
"@typescript-eslint/eslint-plugin": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.37.0.tgz",
|
||||||
"integrity": "sha512-kZqi+WZQaZfPKnsflLJQCz6Ze9FFSMfXrrIOcyargekQxG37ES7DJNpJUE9Q/X5n3yTIP/WPutVNzgknQ7biLg==",
|
"integrity": "sha512-jsuVWeIkb6ggzB+wPCsR4e6loj+rM72ohW6IBn2C+5NCvfUVY8s33iFPySSVXqtm5Hu29Ne/9bnA0JmyLmgenA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@eslint-community/regexpp": "^4.10.0",
|
"@eslint-community/regexpp": "^4.10.0",
|
||||||
"@typescript-eslint/scope-manager": "7.13.1",
|
"@typescript-eslint/scope-manager": "8.37.0",
|
||||||
"@typescript-eslint/type-utils": "7.13.1",
|
"@typescript-eslint/type-utils": "8.37.0",
|
||||||
"@typescript-eslint/utils": "7.13.1",
|
"@typescript-eslint/utils": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1",
|
"@typescript-eslint/visitor-keys": "8.37.0",
|
||||||
"graphemer": "^1.4.0",
|
"graphemer": "^1.4.0",
|
||||||
"ignore": "^5.3.1",
|
"ignore": "^7.0.0",
|
||||||
"natural-compare": "^1.4.0",
|
"natural-compare": "^1.4.0",
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"ignore": {
|
||||||
|
"version": "7.0.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.5.tgz",
|
||||||
|
"integrity": "sha512-Hs59xBNfUIunMFgWAbGX5cq6893IbWg4KnrjbYwX3tx0ztorVgTDA6B2sxf8ejHJ4wz8BqGUMYlnzNBer5NvGg==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@typescript-eslint/parser": {
|
"@typescript-eslint/parser": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.37.0.tgz",
|
||||||
"integrity": "sha512-1ELDPlnLvDQ5ybTSrMhRTFDfOQEOXNM+eP+3HT/Yq7ruWpciQw+Avi73pdEbA4SooCawEWo3dtYbF68gN7Ed1A==",
|
"integrity": "sha512-kVIaQE9vrN9RLCQMQ3iyRlVJpTiDUY6woHGb30JDkfJErqrQEmtdWH3gV0PBAfGZgQXoqzXOO0T3K6ioApbbAA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@typescript-eslint/scope-manager": "7.13.1",
|
"@typescript-eslint/scope-manager": "8.37.0",
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/typescript-estree": "7.13.1",
|
"@typescript-eslint/typescript-estree": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1",
|
"@typescript-eslint/visitor-keys": "8.37.0",
|
||||||
|
"debug": "^4.3.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@typescript-eslint/project-service": {
|
||||||
|
"version": "8.37.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.37.0.tgz",
|
||||||
|
"integrity": "sha512-BIUXYsbkl5A1aJDdYJCBAo8rCEbAvdquQ8AnLb6z5Lp1u3x5PNgSSx9A/zqYc++Xnr/0DVpls8iQ2cJs/izTXA==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@typescript-eslint/tsconfig-utils": "^8.37.0",
|
||||||
|
"@typescript-eslint/types": "^8.37.0",
|
||||||
"debug": "^4.3.4"
|
"debug": "^4.3.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@typescript-eslint/scope-manager": {
|
"@typescript-eslint/scope-manager": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.37.0.tgz",
|
||||||
"integrity": "sha512-adbXNVEs6GmbzaCpymHQ0MB6E4TqoiVbC0iqG3uijR8ZYfpAXMGttouQzF4Oat3P2GxDVIrg7bMI/P65LiQZdg==",
|
"integrity": "sha512-0vGq0yiU1gbjKob2q691ybTg9JX6ShiVXAAfm2jGf3q0hdP6/BruaFjL/ManAR/lj05AvYCH+5bbVo0VtzmjOA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1"
|
"@typescript-eslint/visitor-keys": "8.37.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@typescript-eslint/tsconfig-utils": {
|
||||||
|
"version": "8.37.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.37.0.tgz",
|
||||||
|
"integrity": "sha512-1/YHvAVTimMM9mmlPvTec9NP4bobA1RkDbMydxG8omqwJJLEW/Iy2C4adsAESIXU3WGLXFHSZUU+C9EoFWl4Zg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {}
|
||||||
|
},
|
||||||
"@typescript-eslint/type-utils": {
|
"@typescript-eslint/type-utils": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.37.0.tgz",
|
||||||
"integrity": "sha512-aWDbLu1s9bmgPGXSzNCxELu+0+HQOapV/y+60gPXafR8e2g1Bifxzevaa+4L2ytCWm+CHqpELq4CSoN9ELiwCg==",
|
"integrity": "sha512-SPkXWIkVZxhgwSwVq9rqj/4VFo7MnWwVaRNznfQDc/xPYHjXnPfLWn+4L6FF1cAz6e7dsqBeMawgl7QjUMj4Ow==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@typescript-eslint/typescript-estree": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/utils": "7.13.1",
|
"@typescript-eslint/typescript-estree": "8.37.0",
|
||||||
|
"@typescript-eslint/utils": "8.37.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@typescript-eslint/types": {
|
"@typescript-eslint/types": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.37.0.tgz",
|
||||||
"integrity": "sha512-7K7HMcSQIAND6RBL4kDl24sG/xKM13cA85dc7JnmQXw2cBDngg7c19B++JzvJHRG3zG36n9j1i451GBzRuHchw==",
|
"integrity": "sha512-ax0nv7PUF9NOVPs+lmQ7yIE7IQmAf8LGcXbMvHX5Gm+YJUYNAl340XkGnrimxZ0elXyoQJuN5sbg6C4evKA4SQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"@typescript-eslint/typescript-estree": {
|
"@typescript-eslint/typescript-estree": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.37.0.tgz",
|
||||||
"integrity": "sha512-uxNr51CMV7npU1BxZzYjoVz9iyjckBduFBP0S5sLlh1tXYzHzgZ3BR9SVsNed+LmwKrmnqN3Kdl5t7eZ5TS1Yw==",
|
"integrity": "sha512-zuWDMDuzMRbQOM+bHyU4/slw27bAUEcKSKKs3hcv2aNnc/tvE/h7w60dwVw8vnal2Pub6RT1T7BI8tFZ1fE+yg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/project-service": "8.37.0",
|
||||||
"@typescript-eslint/visitor-keys": "7.13.1",
|
"@typescript-eslint/tsconfig-utils": "8.37.0",
|
||||||
|
"@typescript-eslint/types": "8.37.0",
|
||||||
|
"@typescript-eslint/visitor-keys": "8.37.0",
|
||||||
"debug": "^4.3.4",
|
"debug": "^4.3.4",
|
||||||
"globby": "^11.1.0",
|
"fast-glob": "^3.3.2",
|
||||||
"is-glob": "^4.0.3",
|
"is-glob": "^4.0.3",
|
||||||
"minimatch": "^9.0.4",
|
"minimatch": "^9.0.4",
|
||||||
"semver": "^7.6.0",
|
"semver": "^7.6.0",
|
||||||
"ts-api-utils": "^1.3.0"
|
"ts-api-utils": "^2.1.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"brace-expansion": {
|
"brace-expansion": {
|
||||||
@@ -8317,9 +8380,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minimatch": {
|
"minimatch": {
|
||||||
"version": "9.0.4",
|
"version": "9.0.5",
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz",
|
||||||
"integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==",
|
"integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"brace-expansion": "^2.0.1"
|
"brace-expansion": "^2.0.1"
|
||||||
@@ -8328,25 +8391,33 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@typescript-eslint/utils": {
|
"@typescript-eslint/utils": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.37.0.tgz",
|
||||||
"integrity": "sha512-h5MzFBD5a/Gh/fvNdp9pTfqJAbuQC4sCN2WzuXme71lqFJsZtLbjxfSk4r3p02WIArOF9N94pdsLiGutpDbrXQ==",
|
"integrity": "sha512-TSFvkIW6gGjN2p6zbXo20FzCABbyUAuq6tBvNRGsKdsSQ6a7rnV6ADfZ7f4iI3lIiXc4F4WWvtUfDw9CJ9pO5A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@eslint-community/eslint-utils": "^4.4.0",
|
"@eslint-community/eslint-utils": "^4.7.0",
|
||||||
"@typescript-eslint/scope-manager": "7.13.1",
|
"@typescript-eslint/scope-manager": "8.37.0",
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"@typescript-eslint/typescript-estree": "7.13.1"
|
"@typescript-eslint/typescript-estree": "8.37.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@typescript-eslint/visitor-keys": {
|
"@typescript-eslint/visitor-keys": {
|
||||||
"version": "7.13.1",
|
"version": "8.37.0",
|
||||||
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-7.13.1.tgz",
|
"resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.37.0.tgz",
|
||||||
"integrity": "sha512-k/Bfne7lrP7hcb7m9zSsgcBmo+8eicqqfNAJ7uUY+jkTFpKeH2FSkWpFRtimBxgkyvqfu9jTPRbYOvud6isdXA==",
|
"integrity": "sha512-YzfhzcTnZVPiLfP/oeKtDp2evwvHLMe0LOy7oe+hb9KKIumLNohYS9Hgp1ifwpu42YWxhZE8yieggz6JpqO/1w==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@typescript-eslint/types": "7.13.1",
|
"@typescript-eslint/types": "8.37.0",
|
||||||
"eslint-visitor-keys": "^3.4.3"
|
"eslint-visitor-keys": "^4.2.1"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"eslint-visitor-keys": {
|
||||||
|
"version": "4.2.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz",
|
||||||
|
"integrity": "sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@ungap/structured-clone": {
|
"@ungap/structured-clone": {
|
||||||
@@ -8634,12 +8705,6 @@
|
|||||||
"sprintf-js": "~1.0.2"
|
"sprintf-js": "~1.0.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"array-union": {
|
|
||||||
"version": "2.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
|
|
||||||
"integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"asynckit": {
|
"asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
|
||||||
@@ -9018,15 +9083,6 @@
|
|||||||
"integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
|
"integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"dir-glob": {
|
|
||||||
"version": "3.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
|
|
||||||
"integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"path-type": "^4.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"doctrine": {
|
"doctrine": {
|
||||||
"version": "3.0.0",
|
"version": "3.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
|
||||||
@@ -9224,10 +9280,17 @@
|
|||||||
"synckit": "^0.8.6"
|
"synckit": "^0.8.6"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"eslint-plugin-require-extensions": {
|
||||||
|
"version": "0.1.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/eslint-plugin-require-extensions/-/eslint-plugin-require-extensions-0.1.3.tgz",
|
||||||
|
"integrity": "sha512-T3c1PZ9PIdI3hjV8LdunfYI8gj017UQjzAnCrxuo3wAjneDbTPHdE3oNWInOjMA+z/aBkUtlW5vC0YepYMZIug==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {}
|
||||||
|
},
|
||||||
"eslint-plugin-simple-import-sort": {
|
"eslint-plugin-simple-import-sort": {
|
||||||
"version": "12.1.0",
|
"version": "12.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-simple-import-sort/-/eslint-plugin-simple-import-sort-12.1.1.tgz",
|
||||||
"integrity": "sha512-Y2fqAfC11TcG/WP3TrI1Gi3p3nc8XJyEOJYHyEPEGI/UAgNx6akxxlX74p7SbAQdLcgASKhj8M0GKvH3vq/+ig==",
|
"integrity": "sha512-6nuzu4xwQtE3332Uz0to+TxDQYRLTKRESSc2hefVT48Zc8JthmN23Gx9lnYhu0FtkRSL1oxny3kJ2aveVhmOVA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
@@ -9379,16 +9442,16 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"fast-glob": {
|
"fast-glob": {
|
||||||
"version": "3.3.2",
|
"version": "3.3.3",
|
||||||
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz",
|
||||||
"integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
|
"integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@nodelib/fs.stat": "^2.0.2",
|
"@nodelib/fs.stat": "^2.0.2",
|
||||||
"@nodelib/fs.walk": "^1.2.3",
|
"@nodelib/fs.walk": "^1.2.3",
|
||||||
"glob-parent": "^5.1.2",
|
"glob-parent": "^5.1.2",
|
||||||
"merge2": "^1.3.0",
|
"merge2": "^1.3.0",
|
||||||
"micromatch": "^4.0.4"
|
"micromatch": "^4.0.8"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"glob-parent": {
|
"glob-parent": {
|
||||||
@@ -9568,20 +9631,6 @@
|
|||||||
"type-fest": "^0.20.2"
|
"type-fest": "^0.20.2"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"globby": {
|
|
||||||
"version": "11.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
|
|
||||||
"integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"array-union": "^2.1.0",
|
|
||||||
"dir-glob": "^3.0.1",
|
|
||||||
"fast-glob": "^3.2.9",
|
|
||||||
"ignore": "^5.2.0",
|
|
||||||
"merge2": "^1.4.1",
|
|
||||||
"slash": "^3.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"graceful-fs": {
|
"graceful-fs": {
|
||||||
"version": "4.2.11",
|
"version": "4.2.11",
|
||||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
|
||||||
@@ -11186,12 +11235,6 @@
|
|||||||
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
|
||||||
"devOptional": true
|
"devOptional": true
|
||||||
},
|
},
|
||||||
"path-type": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"picocolors": {
|
"picocolors": {
|
||||||
"version": "1.1.0",
|
"version": "1.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
|
||||||
@@ -11664,9 +11707,9 @@
|
|||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"ts-api-utils": {
|
"ts-api-utils": {
|
||||||
"version": "1.3.0",
|
"version": "2.1.0",
|
||||||
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.1.0.tgz",
|
||||||
"integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==",
|
"integrity": "sha512-CUgTZL1irw8u29bzrOD/nH85jqyc74D6SshFgujOIA7osm2Rz7dYH77agkx7H4FBNxDq7Cjf+IjaX/8zwFW+ZQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"name": "bybit-api",
|
||||||
"version": "4.1.16",
|
"version": "4.1.17",
|
||||||
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
@@ -30,12 +30,13 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.5.11",
|
"@types/jest": "^29.5.11",
|
||||||
"@types/node": "^22.10.7",
|
"@types/node": "^22.10.7",
|
||||||
"@typescript-eslint/eslint-plugin": "^7.1.0",
|
"@typescript-eslint/eslint-plugin": "^8.18.0",
|
||||||
"@typescript-eslint/parser": "^7.1.0",
|
"@typescript-eslint/parser": "^8.18.0",
|
||||||
"eslint": "^8.29.0",
|
"eslint": "^8.29.0",
|
||||||
"eslint-config-prettier": "^9.1.0",
|
"eslint-config-prettier": "^9.1.0",
|
||||||
"eslint-plugin-prettier": "^5.1.3",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"eslint-plugin-simple-import-sort": "^12.0.0",
|
"eslint-plugin-require-extensions": "^0.1.3",
|
||||||
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||||
"jest": "^29.7.0",
|
"jest": "^29.7.0",
|
||||||
"ts-jest": "^29.1.2",
|
"ts-jest": "^29.1.2",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
|
|||||||
10
src/index.ts
10
src/index.ts
@@ -1,8 +1,8 @@
|
|||||||
|
export * from './constants/enum';
|
||||||
export * from './rest-client-v5';
|
export * from './rest-client-v5';
|
||||||
export * from './spot-client-v3';
|
export * from './spot-client-v3';
|
||||||
export * from './websocket-client';
|
|
||||||
export * from './websocket-api-client';
|
|
||||||
export * from './util/logger';
|
|
||||||
export * from './util';
|
|
||||||
export * from './types';
|
export * from './types';
|
||||||
export * from './constants/enum';
|
export * from './util';
|
||||||
|
export * from './util/logger';
|
||||||
|
export * from './websocket-api-client';
|
||||||
|
export * from './websocket-client';
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
/* eslint-disable max-len */
|
/* eslint-disable max-len */
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
import {
|
import {
|
||||||
APIResponseV3,
|
|
||||||
APIResponseV3WithTime,
|
|
||||||
AccountBorrowCollateralLimitV5,
|
AccountBorrowCollateralLimitV5,
|
||||||
AccountCoinBalanceV5,
|
AccountCoinBalanceV5,
|
||||||
AccountInfoV5,
|
AccountInfoV5,
|
||||||
@@ -18,6 +16,8 @@ import {
|
|||||||
AmendOrderParamsV5,
|
AmendOrderParamsV5,
|
||||||
AmendSpreadOrderParamsV5,
|
AmendSpreadOrderParamsV5,
|
||||||
ApiKeyInfoV5,
|
ApiKeyInfoV5,
|
||||||
|
APIResponseV3,
|
||||||
|
APIResponseV3WithTime,
|
||||||
AssetInfoV5,
|
AssetInfoV5,
|
||||||
BatchAmendOrderParamsV5,
|
BatchAmendOrderParamsV5,
|
||||||
BatchAmendOrderResultV5,
|
BatchAmendOrderResultV5,
|
||||||
@@ -44,8 +44,8 @@ import {
|
|||||||
CollateralInfoV5,
|
CollateralInfoV5,
|
||||||
CompletedLoanOrderV5,
|
CompletedLoanOrderV5,
|
||||||
ConfirmNewRiskLimitParamsV5,
|
ConfirmNewRiskLimitParamsV5,
|
||||||
ConvertCoinSpecV5,
|
|
||||||
ConvertCoinsParamsV5,
|
ConvertCoinsParamsV5,
|
||||||
|
ConvertCoinSpecV5,
|
||||||
ConvertHistoryRecordV5,
|
ConvertHistoryRecordV5,
|
||||||
ConvertQuoteV5,
|
ConvertQuoteV5,
|
||||||
ConvertStatusV5,
|
ConvertStatusV5,
|
||||||
@@ -116,13 +116,13 @@ import {
|
|||||||
GetP2POrdersParamsV5,
|
GetP2POrdersParamsV5,
|
||||||
GetP2PPendingOrdersParamsV5,
|
GetP2PPendingOrdersParamsV5,
|
||||||
GetP2PPersonalAdsParamsV5,
|
GetP2PPersonalAdsParamsV5,
|
||||||
|
GetPremiumIndexPriceKlineParamsV5,
|
||||||
GetPreUpgradeClosedPnlParamsV5,
|
GetPreUpgradeClosedPnlParamsV5,
|
||||||
GetPreUpgradeOptionDeliveryRecordParamsV5,
|
GetPreUpgradeOptionDeliveryRecordParamsV5,
|
||||||
GetPreUpgradeOrderHistoryParamsV5,
|
GetPreUpgradeOrderHistoryParamsV5,
|
||||||
GetPreUpgradeTradeHistoryParamsV5,
|
GetPreUpgradeTradeHistoryParamsV5,
|
||||||
GetPreUpgradeTransactionLogParamsV5,
|
GetPreUpgradeTransactionLogParamsV5,
|
||||||
GetPreUpgradeUSDCSessionParamsV5,
|
GetPreUpgradeUSDCSessionParamsV5,
|
||||||
GetPremiumIndexPriceKlineParamsV5,
|
|
||||||
GetPublicTradingHistoryParamsV5,
|
GetPublicTradingHistoryParamsV5,
|
||||||
GetRepaymentHistoryParamsV5,
|
GetRepaymentHistoryParamsV5,
|
||||||
GetRiskLimitParamsV5,
|
GetRiskLimitParamsV5,
|
||||||
@@ -148,9 +148,9 @@ import {
|
|||||||
IssueVoucherParamsV5,
|
IssueVoucherParamsV5,
|
||||||
LoanLTVAdjustmentHistoryV5,
|
LoanLTVAdjustmentHistoryV5,
|
||||||
LongShortRatioV5,
|
LongShortRatioV5,
|
||||||
|
MarkP2POrderAsPaidParamsV5,
|
||||||
MMPModifyParamsV5,
|
MMPModifyParamsV5,
|
||||||
MMPStateV5,
|
MMPStateV5,
|
||||||
MarkP2POrderAsPaidParamsV5,
|
|
||||||
MovePositionHistoryV5,
|
MovePositionHistoryV5,
|
||||||
MovePositionParamsV5,
|
MovePositionParamsV5,
|
||||||
MovePositionResultV5,
|
MovePositionResultV5,
|
||||||
@@ -158,11 +158,11 @@ import {
|
|||||||
OHLCVKlineV5,
|
OHLCVKlineV5,
|
||||||
OpenInterestResponseV5,
|
OpenInterestResponseV5,
|
||||||
OptionDeliveryPriceV5,
|
OptionDeliveryPriceV5,
|
||||||
|
OrderbookResponseV5,
|
||||||
OrderParamsV5,
|
OrderParamsV5,
|
||||||
OrderPriceLimitV5,
|
OrderPriceLimitV5,
|
||||||
OrderResultV5,
|
OrderResultV5,
|
||||||
OrderSideV5,
|
OrderSideV5,
|
||||||
OrderbookResponseV5,
|
|
||||||
P2PAccountCoinsBalanceV5,
|
P2PAccountCoinsBalanceV5,
|
||||||
P2PAdDetailV5,
|
P2PAdDetailV5,
|
||||||
P2PCounterpartyUserInfoV5,
|
P2PCounterpartyUserInfoV5,
|
||||||
@@ -192,15 +192,15 @@ import {
|
|||||||
SetLeverageParamsV5,
|
SetLeverageParamsV5,
|
||||||
SetRiskLimitParamsV5,
|
SetRiskLimitParamsV5,
|
||||||
SetRiskLimitResultV5,
|
SetRiskLimitResultV5,
|
||||||
|
SettlementRecordV5,
|
||||||
SetTPSLModeParamsV5,
|
SetTPSLModeParamsV5,
|
||||||
SetTradingStopParamsV5,
|
SetTradingStopParamsV5,
|
||||||
SettlementRecordV5,
|
|
||||||
SpotBorrowCheckResultV5,
|
SpotBorrowCheckResultV5,
|
||||||
SpotMarginStateV5,
|
SpotMarginStateV5,
|
||||||
SpreadInstrumentInfoV5,
|
SpreadInstrumentInfoV5,
|
||||||
SpreadOpenOrderV5,
|
SpreadOpenOrderV5,
|
||||||
SpreadOrderHistoryV5,
|
|
||||||
SpreadOrderbookResponseV5,
|
SpreadOrderbookResponseV5,
|
||||||
|
SpreadOrderHistoryV5,
|
||||||
SpreadRecentTradeV5,
|
SpreadRecentTradeV5,
|
||||||
SpreadTickerV5,
|
SpreadTickerV5,
|
||||||
SpreadTradeV5,
|
SpreadTradeV5,
|
||||||
@@ -209,10 +209,10 @@ import {
|
|||||||
SubmitStakeRedeemParamsV5,
|
SubmitStakeRedeemParamsV5,
|
||||||
SwitchIsolatedMarginParamsV5,
|
SwitchIsolatedMarginParamsV5,
|
||||||
SwitchPositionModeParamsV5,
|
SwitchPositionModeParamsV5,
|
||||||
TPSLModeV5,
|
|
||||||
TickerLinearInverseV5,
|
TickerLinearInverseV5,
|
||||||
TickerOptionV5,
|
TickerOptionV5,
|
||||||
TickerSpotV5,
|
TickerSpotV5,
|
||||||
|
TPSLModeV5,
|
||||||
TransactionLogV5,
|
TransactionLogV5,
|
||||||
UnifiedAccountUpgradeResultV5,
|
UnifiedAccountUpgradeResultV5,
|
||||||
UniversalTransferParamsV5,
|
UniversalTransferParamsV5,
|
||||||
@@ -221,14 +221,14 @@ import {
|
|||||||
UpdateApiKeyParamsV5,
|
UpdateApiKeyParamsV5,
|
||||||
UpdateApiKeyResultV5,
|
UpdateApiKeyResultV5,
|
||||||
UpdateP2PAdParamsV5,
|
UpdateP2PAdParamsV5,
|
||||||
VIPMarginDataV5,
|
|
||||||
VaspEntityV5,
|
VaspEntityV5,
|
||||||
VipBorrowableCoinsV5,
|
VipBorrowableCoinsV5,
|
||||||
VipCollateralCoinsV5,
|
VipCollateralCoinsV5,
|
||||||
|
VIPMarginDataV5,
|
||||||
WalletBalanceV5,
|
WalletBalanceV5,
|
||||||
WithdrawParamsV5,
|
|
||||||
WithdrawableAmountV5,
|
WithdrawableAmountV5,
|
||||||
WithdrawalRecordV5,
|
WithdrawalRecordV5,
|
||||||
|
WithdrawParamsV5,
|
||||||
} from './types';
|
} from './types';
|
||||||
import { REST_CLIENT_TYPE_ENUM } from './util';
|
import { REST_CLIENT_TYPE_ENUM } from './util';
|
||||||
import BaseRestClient from './util/BaseRestClient';
|
import BaseRestClient from './util/BaseRestClient';
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import {
|
import {
|
||||||
CategoryV5,
|
CategoryV5,
|
||||||
OrderFilterV5,
|
OrderFilterV5,
|
||||||
OrderSMPTypeV5,
|
|
||||||
OrderSideV5,
|
OrderSideV5,
|
||||||
|
OrderSMPTypeV5,
|
||||||
OrderStatusV5,
|
OrderStatusV5,
|
||||||
OrderTimeInForceV5,
|
OrderTimeInForceV5,
|
||||||
OrderTriggerByV5,
|
OrderTriggerByV5,
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ export * from './v5-account';
|
|||||||
export * from './v5-asset';
|
export * from './v5-asset';
|
||||||
export * from './v5-broker';
|
export * from './v5-broker';
|
||||||
export * from './v5-crypto-loan';
|
export * from './v5-crypto-loan';
|
||||||
|
export * from './v5-earn';
|
||||||
export * from './v5-market';
|
export * from './v5-market';
|
||||||
export * from './v5-p2p-trading';
|
export * from './v5-p2p-trading';
|
||||||
export * from './v5-position';
|
export * from './v5-position';
|
||||||
@@ -15,4 +16,3 @@ export * from './v5-preupgrade';
|
|||||||
export * from './v5-spot-leverage-token';
|
export * from './v5-spot-leverage-token';
|
||||||
export * from './v5-trade';
|
export * from './v5-trade';
|
||||||
export * from './v5-user';
|
export * from './v5-user';
|
||||||
export * from './v5-earn';
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
|
LeverageTokenStatusV5,
|
||||||
LTOrderStatusV5,
|
LTOrderStatusV5,
|
||||||
LTOrderTypeV5,
|
LTOrderTypeV5,
|
||||||
LeverageTokenStatusV5,
|
|
||||||
} from '../shared-v5';
|
} from '../shared-v5';
|
||||||
|
|
||||||
export interface LeverageTokenInfoV5 {
|
export interface LeverageTokenInfoV5 {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
export * from './ws-general';
|
|
||||||
export * from './ws-events';
|
|
||||||
export * from './ws-confirmations';
|
export * from './ws-confirmations';
|
||||||
|
export * from './ws-events';
|
||||||
|
export * from './ws-general';
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ import {
|
|||||||
OrderCancelTypeV5,
|
OrderCancelTypeV5,
|
||||||
OrderCreateTypeV5,
|
OrderCreateTypeV5,
|
||||||
OrderRejectReasonV5,
|
OrderRejectReasonV5,
|
||||||
OrderSMPTypeV5,
|
|
||||||
OrderSideV5,
|
OrderSideV5,
|
||||||
|
OrderSMPTypeV5,
|
||||||
OrderStatusV5,
|
OrderStatusV5,
|
||||||
OrderTimeInForceV5,
|
OrderTimeInForceV5,
|
||||||
OrderTriggerByV5,
|
OrderTriggerByV5,
|
||||||
@@ -20,7 +20,6 @@ import {
|
|||||||
TPSLModeV5,
|
TPSLModeV5,
|
||||||
TradeModeV5,
|
TradeModeV5,
|
||||||
} from '../shared-v5';
|
} from '../shared-v5';
|
||||||
|
|
||||||
import { WsKey } from './ws-general';
|
import { WsKey } from './ws-general';
|
||||||
|
|
||||||
export interface MessageEventLike {
|
export interface MessageEventLike {
|
||||||
|
|||||||
@@ -4,10 +4,10 @@ import https from 'https';
|
|||||||
|
|
||||||
import {
|
import {
|
||||||
APIID,
|
APIID,
|
||||||
RestClientOptions,
|
|
||||||
RestClientType,
|
|
||||||
getRestBaseUrl,
|
getRestBaseUrl,
|
||||||
parseRateLimitHeaders,
|
parseRateLimitHeaders,
|
||||||
|
RestClientOptions,
|
||||||
|
RestClientType,
|
||||||
serializeParams,
|
serializeParams,
|
||||||
} from './requestUtils';
|
} from './requestUtils';
|
||||||
import { SignAlgorithm, SignEncodeMethod, signMessage } from './webCryptoAPI';
|
import { SignAlgorithm, SignEncodeMethod, signMessage } from './webCryptoAPI';
|
||||||
|
|||||||
@@ -3,25 +3,25 @@
|
|||||||
import EventEmitter from 'events';
|
import EventEmitter from 'events';
|
||||||
import WebSocket from 'isomorphic-ws';
|
import WebSocket from 'isomorphic-ws';
|
||||||
|
|
||||||
|
import {
|
||||||
|
isMessageEvent,
|
||||||
|
MessageEventLike,
|
||||||
|
WebsocketClientOptions,
|
||||||
|
WSClientConfigurableOptions,
|
||||||
|
WsMarket,
|
||||||
|
} from '../types';
|
||||||
|
import { WsOperation } from '../types/websockets/ws-api';
|
||||||
import { DefaultLogger } from './logger';
|
import { DefaultLogger } from './logger';
|
||||||
import {
|
import {
|
||||||
MessageEventLike,
|
getNormalisedTopicRequests,
|
||||||
WSClientConfigurableOptions,
|
safeTerminateWs,
|
||||||
WebsocketClientOptions,
|
|
||||||
WsMarket,
|
|
||||||
isMessageEvent,
|
|
||||||
} from '../types';
|
|
||||||
import { WsStore } from './websockets/WsStore';
|
|
||||||
import {
|
|
||||||
WSConnectedResult,
|
|
||||||
WS_LOGGER_CATEGORY,
|
WS_LOGGER_CATEGORY,
|
||||||
|
WSConnectedResult,
|
||||||
WsConnectionStateEnum,
|
WsConnectionStateEnum,
|
||||||
WsTopicRequest,
|
WsTopicRequest,
|
||||||
WsTopicRequestOrStringTopic,
|
WsTopicRequestOrStringTopic,
|
||||||
getNormalisedTopicRequests,
|
|
||||||
safeTerminateWs,
|
|
||||||
} from './websockets';
|
} from './websockets';
|
||||||
import { WsOperation } from '../types/websockets/ws-api';
|
import { WsStore } from './websockets/WsStore';
|
||||||
|
|
||||||
type UseTheExceptionEventInstead = never;
|
type UseTheExceptionEventInstead = never;
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { AxiosResponse } from 'axios';
|
import { AxiosResponse } from 'axios';
|
||||||
|
|
||||||
import { APIRateLimit } from '../types';
|
import { APIRateLimit } from '../types';
|
||||||
|
|
||||||
export interface RestClientOptions {
|
export interface RestClientOptions {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import {
|
|||||||
WebsocketSucceededTopicSubscriptionConfirmationEvent,
|
WebsocketSucceededTopicSubscriptionConfirmationEvent,
|
||||||
WebsocketTopicSubscriptionConfirmationEvent,
|
WebsocketTopicSubscriptionConfirmationEvent,
|
||||||
} from '../types';
|
} from '../types';
|
||||||
import { WSAPIResponse, WS_API_Operations } from '../types/websockets/ws-api';
|
import { WS_API_Operations, WSAPIResponse } from '../types/websockets/ws-api';
|
||||||
import {
|
import {
|
||||||
WSAccountOrderEventV5,
|
WSAccountOrderEventV5,
|
||||||
WSExecutionEventV5,
|
WSExecutionEventV5,
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import WebSocket from 'isomorphic-ws';
|
import WebSocket from 'isomorphic-ws';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
APIMarket,
|
APIMarket,
|
||||||
CategoryV5,
|
CategoryV5,
|
||||||
@@ -6,9 +7,8 @@ import {
|
|||||||
WsKey,
|
WsKey,
|
||||||
WsTopic,
|
WsTopic,
|
||||||
} from '../../types';
|
} from '../../types';
|
||||||
|
|
||||||
import { DefaultLogger } from '../logger';
|
|
||||||
import { WSAPIRequest } from '../../types/websockets/ws-api';
|
import { WSAPIRequest } from '../../types/websockets/ws-api';
|
||||||
|
import { DefaultLogger } from '../logger';
|
||||||
import { neverGuard } from '../typeGuards';
|
import { neverGuard } from '../typeGuards';
|
||||||
|
|
||||||
export const WS_LOGGER_CATEGORY = { category: 'bybit-ws' };
|
export const WS_LOGGER_CATEGORY = { category: 'bybit-ws' };
|
||||||
|
|||||||
@@ -7,13 +7,18 @@ import {
|
|||||||
WsMarket,
|
WsMarket,
|
||||||
WsTopic,
|
WsTopic,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
import {
|
||||||
|
Exact,
|
||||||
|
WSAPIOperation,
|
||||||
|
WsAPIOperationResponseMap,
|
||||||
|
WSAPIRequest,
|
||||||
|
WsAPITopicRequestParamMap,
|
||||||
|
WsAPIWsKeyTopicMap,
|
||||||
|
WsOperation,
|
||||||
|
WsRequestOperationBybit,
|
||||||
|
} from './types/websockets/ws-api';
|
||||||
import {
|
import {
|
||||||
APIID,
|
APIID,
|
||||||
WSConnectedResult,
|
|
||||||
WS_AUTH_ON_CONNECT_KEYS,
|
|
||||||
WS_KEY_MAP,
|
|
||||||
WS_LOGGER_CATEGORY,
|
|
||||||
WsTopicRequest,
|
|
||||||
getMaxTopicsPerSubscribeEvent,
|
getMaxTopicsPerSubscribeEvent,
|
||||||
getNormalisedTopicRequests,
|
getNormalisedTopicRequests,
|
||||||
getPromiseRefForWSAPIRequest,
|
getPromiseRefForWSAPIRequest,
|
||||||
@@ -26,22 +31,17 @@ import {
|
|||||||
isWSAPIResponse,
|
isWSAPIResponse,
|
||||||
isWsPong,
|
isWsPong,
|
||||||
neverGuard,
|
neverGuard,
|
||||||
|
WS_AUTH_ON_CONNECT_KEYS,
|
||||||
|
WS_KEY_MAP,
|
||||||
|
WS_LOGGER_CATEGORY,
|
||||||
|
WSConnectedResult,
|
||||||
|
WsTopicRequest,
|
||||||
} from './util';
|
} from './util';
|
||||||
import {
|
import {
|
||||||
BaseWebsocketClient,
|
BaseWebsocketClient,
|
||||||
EmittableEvent,
|
EmittableEvent,
|
||||||
MidflightWsRequestEvent,
|
MidflightWsRequestEvent,
|
||||||
} from './util/BaseWSClient';
|
} from './util/BaseWSClient';
|
||||||
import {
|
|
||||||
Exact,
|
|
||||||
WSAPIOperation,
|
|
||||||
WSAPIRequest,
|
|
||||||
WsAPIOperationResponseMap,
|
|
||||||
WsAPITopicRequestParamMap,
|
|
||||||
WsAPIWsKeyTopicMap,
|
|
||||||
WsOperation,
|
|
||||||
WsRequestOperationBybit,
|
|
||||||
} from './types/websockets/ws-api';
|
|
||||||
import { SignAlgorithm, signMessage } from './util/webCryptoAPI';
|
import { SignAlgorithm, signMessage } from './util/webCryptoAPI';
|
||||||
|
|
||||||
export class WebsocketClient extends BaseWebsocketClient<
|
export class WebsocketClient extends BaseWebsocketClient<
|
||||||
@@ -778,6 +778,7 @@ export class WebsocketClient extends BaseWebsocketClient<
|
|||||||
wsKey,
|
wsKey,
|
||||||
promiseRef,
|
promiseRef,
|
||||||
parsedEvent: parsed,
|
parsedEvent: parsed,
|
||||||
|
error: e,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -805,6 +806,7 @@ export class WebsocketClient extends BaseWebsocketClient<
|
|||||||
wsKey,
|
wsKey,
|
||||||
promiseRef,
|
promiseRef,
|
||||||
parsedEvent: parsed,
|
parsedEvent: parsed,
|
||||||
|
error: e,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user