diff --git a/examples/package.json b/examples/package.json index 7bbde6e..20939a6 100644 --- a/examples/package.json +++ b/examples/package.json @@ -56,27 +56,27 @@ "run:liquidity-pool:trx:getLPamountOnDeposit": "ts-node src/usage/liquidity-pool/trx/get-lp-amount-on-deposit.ts" }, "dependencies": { - "@solana/web3.js": "^1.95.2", - "@stellar/stellar-sdk": "^12.2.0", - "axios": "^1.7.3", - "big.js": "^6.2.1", - "src": "^1.1.2", - "tronweb": "^4.4.0", - "web3": "^1.10.4", - "web3-core": "^1.10.4", - "web3-eth-contract": "^1.10.4", - "web3-utils": "^1.10.4" + "@solana/web3.js": "catalog:", + "@stellar/stellar-sdk": "catalog:", + "axios": "catalog:", + "big.js": "catalog:", + "src": "catalog:", + "tronweb": "catalog:", + "web3": "catalog:", + "web3-core": "catalog:", + "web3-eth-contract": "catalog:", + "web3-utils": "catalog:" }, "devDependencies": { - "@types/big.js": "^6.2.2", - "@typescript-eslint/eslint-plugin": "^5.62.0", - "@typescript-eslint/parser": "^5.62.0", - "bs58": "^5.0.0", - "dotenv": "^16.4.5", - "eslint": "^8.57.0", - "eslint-config-prettier": "^8.10.0", - "eslint-plugin-jest": "^27.9.0", - "eslint-plugin-prettier": "^4.2.1", - "prettier": "^2.8.8" + "@types/big.js": "catalog:", + "@typescript-eslint/eslint-plugin": "catalog:", + "@typescript-eslint/parser": "catalog:", + "bs58": "catalog:", + "dotenv": "catalog:", + "eslint": "catalog:", + "eslint-config-prettier": "catalog:", + "eslint-plugin-jest": "catalog:", + "eslint-plugin-prettier": "catalog:", + "prettier": "catalog:" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 14f7d28..fc467d6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,77 +4,140 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +catalogs: + default: + '@solana/web3.js': + specifier: ^1.95.2 + version: 1.95.2 + '@stellar/stellar-sdk': + specifier: ^12.2.0 + version: 12.2.0 + '@types/big.js': + specifier: ^6.2.1 + version: 6.2.2 + '@typescript-eslint/eslint-plugin': + specifier: ^6.21.0 + version: 6.21.0 + '@typescript-eslint/parser': + specifier: ^6.21.0 + version: 6.21.0 + axios: + specifier: ^1.7.3 + version: 1.7.3 + big.js: + specifier: ^6.2.1 + version: 6.2.1 + bs58: + specifier: ^5.0.0 + version: 5.0.0 + dotenv: + specifier: ^16.4.5 + version: 16.4.5 + eslint: + specifier: ^8.57.0 + version: 8.57.0 + eslint-config-prettier: + specifier: ^9.1.0 + version: 9.1.0 + eslint-plugin-jest: + specifier: ^27.9.0 + version: 27.9.0 + eslint-plugin-prettier: + specifier: ^5.2.1 + version: 5.2.1 + prettier: + specifier: ^3.3.3 + version: 3.3.3 + src: + specifier: ^1.1.2 + version: 1.1.2 + tronweb: + specifier: ^4.4.0 + version: 4.4.0 + web3: + specifier: ^1.9.0 + version: 1.10.4 + web3-core: + specifier: ^1.9.0 + version: 1.10.4 + web3-eth-contract: + specifier: ^1.9.0 + version: 1.10.4 + web3-utils: + specifier: ^1.9.0 + version: 1.10.4 + importers: examples: dependencies: '@solana/web3.js': - specifier: ^1.95.2 + specifier: 'catalog:' version: 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@stellar/stellar-sdk': - specifier: ^12.2.0 + specifier: 'catalog:' version: 12.2.0 axios: - specifier: ^1.7.3 + specifier: 'catalog:' version: 1.7.3 big.js: - specifier: ^6.2.1 + specifier: 'catalog:' version: 6.2.1 src: - specifier: ^1.1.2 + specifier: 'catalog:' version: 1.1.2 tronweb: - specifier: ^4.4.0 + specifier: 'catalog:' version: 4.4.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) web3: - specifier: ^1.10.4 + specifier: 'catalog:' version: 1.10.4(bufferutil@4.0.8)(utf-8-validate@5.0.10) web3-core: - specifier: ^1.10.4 + specifier: 'catalog:' version: 1.10.4 web3-eth-contract: - specifier: ^1.10.4 + specifier: 'catalog:' version: 1.10.4 web3-utils: - specifier: ^1.10.4 + specifier: 'catalog:' version: 1.10.4 devDependencies: '@types/big.js': - specifier: ^6.2.2 + specifier: 'catalog:' version: 6.2.2 '@typescript-eslint/eslint-plugin': - specifier: ^5.62.0 - version: 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + specifier: 'catalog:' + version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) '@typescript-eslint/parser': - specifier: ^5.62.0 - version: 5.62.0(eslint@8.57.0)(typescript@5.5.4) + specifier: 'catalog:' + version: 6.21.0(eslint@8.57.0)(typescript@5.5.4) bs58: - specifier: ^5.0.0 + specifier: 'catalog:' version: 5.0.0 dotenv: - specifier: ^16.4.5 + specifier: 'catalog:' version: 16.4.5 eslint: - specifier: ^8.57.0 + specifier: 'catalog:' version: 8.57.0 eslint-config-prettier: - specifier: ^8.10.0 - version: 8.10.0(eslint@8.57.0) + specifier: 'catalog:' + version: 9.1.0(eslint@8.57.0) eslint-plugin-jest: - specifier: ^27.9.0 - version: 27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.4) + specifier: 'catalog:' + version: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.4) eslint-plugin-prettier: - specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8) + specifier: 'catalog:' + version: 5.2.1(@types/eslint@9.6.0)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.3) prettier: - specifier: ^2.8.8 - version: 2.8.8 + specifier: 'catalog:' + version: 3.3.3 rest-api: dependencies: '@allbridge/bridge-core-sdk': - specifier: 3.18.0-beta.6 - version: 3.18.0-beta.6(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(utf-8-validate@5.0.10) + specifier: '*' + version: 3.17.0(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(utf-8-validate@5.0.10) '@allbridge/logger': specifier: ^2.4.1 version: 2.4.1(@nestjs/common@10.3.10(class-transformer@0.5.1)(class-validator@0.14.1)(reflect-metadata@0.2.2)(rxjs@7.8.1)) @@ -91,16 +154,16 @@ importers: specifier: ^7.4.0 version: 7.4.0(@nestjs/common@10.3.10(class-transformer@0.5.1)(class-validator@0.14.1)(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/core@10.3.10(@nestjs/common@10.3.10(class-transformer@0.5.1)(class-validator@0.14.1)(reflect-metadata@0.2.2)(rxjs@7.8.1))(@nestjs/platform-express@10.3.10)(reflect-metadata@0.2.2)(rxjs@7.8.1))(class-transformer@0.5.1)(class-validator@0.14.1)(reflect-metadata@0.2.2) '@solana/web3.js': - specifier: ^1.95.2 + specifier: 'catalog:' version: 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@stellar/stellar-sdk': - specifier: ^12.2.0 + specifier: 'catalog:' version: 12.2.0 '@types/big.js': - specifier: ^6.2.2 + specifier: 'catalog:' version: 6.2.2 big.js: - specifier: ^6.2.1 + specifier: 'catalog:' version: 6.2.1 class-transformer: specifier: ^0.5.1 @@ -109,7 +172,7 @@ importers: specifier: ^0.14.1 version: 0.14.1 dotenv: - specifier: ^16.4.5 + specifier: 'catalog:' version: 16.4.5 fast-safe-stringify: specifier: ^2.1.1 @@ -118,8 +181,8 @@ importers: specifier: ^6.4.0 version: 6.4.0 web3-core: - specifier: 1.9.0 - version: 1.9.0 + specifier: 'catalog:' + version: 1.10.4 devDependencies: '@nestjs/cli': specifier: ^10.4.2 @@ -155,19 +218,19 @@ importers: specifier: ^6.0.2 version: 6.0.2 '@typescript-eslint/eslint-plugin': - specifier: ^6.21.0 + specifier: 'catalog:' version: 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) '@typescript-eslint/parser': - specifier: ^6.21.0 + specifier: 'catalog:' version: 6.21.0(eslint@8.57.0)(typescript@5.5.4) eslint: - specifier: ^8.57.0 + specifier: 'catalog:' version: 8.57.0 eslint-config-prettier: - specifier: ^9.1.0 + specifier: 'catalog:' version: 9.1.0(eslint@8.57.0) eslint-plugin-prettier: - specifier: ^5.2.1 + specifier: 'catalog:' version: 5.2.1(@types/eslint@9.6.0)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.3) fs: specifier: 0.0.1-security @@ -179,7 +242,7 @@ importers: specifier: ^3.3.2 version: 3.3.2 prettier: - specifier: ^3.3.3 + specifier: 'catalog:' version: 3.3.3 semantic-release: specifier: ^24.0.0 @@ -208,8 +271,8 @@ importers: packages: - '@allbridge/bridge-core-sdk@3.18.0-beta.6': - resolution: {integrity: sha512-AaUWMk1Y4WOF1951FpZJN8KOYa1aWDeKM6ePKDSdTcrOnEbR9L6qk/tsUxEmCD9Uvk0Zf88GEORHFud7Jsycfg==} + '@allbridge/bridge-core-sdk@3.17.0': + resolution: {integrity: sha512-RfQP1txssCwZUFCJV213gjjrst/Rug00Fg9q8N7gH6M8Mg9q9bN6F9cchRUlrYx3L54Bydh2tALtN2ttw+ehRQ==} engines: {node: ^18.7.0 || >= 16, npm: ^8.16.0 || >= 8} '@allbridge/logger@2.4.1': @@ -1199,6 +1262,9 @@ packages: '@stellar/stellar-base@12.1.0': resolution: {integrity: sha512-pWwn+XWP5NotmIteZNuJzHeNn9DYSqH3lsYbtFUoSYy1QegzZdi9D8dK6fJ2fpBAnf/rcDjHgHOw3gtHaQFVbg==} + '@stellar/stellar-sdk@12.1.0': + resolution: {integrity: sha512-Va0hu9SaPezmMbO5eMwL5D15Wrx1AGWRtxayUDRWV2Fr3ynY58mvCZS1vsgNQ4kE8MZe3nBVKv6T9Kzqwgx1PQ==} + '@stellar/stellar-sdk@12.2.0': resolution: {integrity: sha512-Wy5sDOqb5JvAC76f4sQIV6Pe3JNyZb0PuyVNjwt3/uWsjtxRkFk6s2yTHTefBLWoR+mKxDjO7QfzhycF1v8FXQ==} @@ -1352,9 +1418,6 @@ packages: '@types/node@20.14.14': resolution: {integrity: sha512-d64f00982fS9YoOgJkAMolK7MN8Iq3TDdVjchbYHdEmjth/DHowx82GnoA+tVUAN+7vxfYUgAzi+JXbKNd2SDQ==} - '@types/node@22.1.0': - resolution: {integrity: sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==} - '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -1418,17 +1481,6 @@ packages: '@types/yargs@17.0.33': resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} - '@typescript-eslint/eslint-plugin@5.62.0': - resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - '@typescript-eslint/parser': ^5.0.0 - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/eslint-plugin@6.21.0': resolution: {integrity: sha512-oy9+hTPCUFpngkEZUSzbf9MxI65wbKFoQYsgPdILTfbUldp5ovUuphZVe4i30emU9M/kP+T64Di0mxl7dSw3MA==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1440,16 +1492,6 @@ packages: typescript: optional: true - '@typescript-eslint/parser@5.62.0': - resolution: {integrity: sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/parser@6.21.0': resolution: {integrity: sha512-tbsV1jPne5CkFQCgPBcDOt30ItF7aJoZL997JSF7MhGQqOeT3svWRYxiqlfA5RUdlHN6Fi+EI9bxqbdyAUZjYQ==} engines: {node: ^16.0.0 || >=18.0.0} @@ -1468,16 +1510,6 @@ packages: resolution: {integrity: sha512-OwLUIWZJry80O99zvqXVEioyniJMa+d2GrqpUTqi5/v5D5rOrppJVBPa0yKCblcigC0/aYAzxxqQ1B+DS2RYsg==} engines: {node: ^16.0.0 || >=18.0.0} - '@typescript-eslint/type-utils@5.62.0': - resolution: {integrity: sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew==} - engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - peerDependencies: - eslint: '*' - typescript: '*' - peerDependenciesMeta: - typescript: - optional: true - '@typescript-eslint/type-utils@6.21.0': resolution: {integrity: sha512-rZQI7wHfao8qMX3Rd3xqeYSMCL3SoiSQLBATSiVKARdFGCYSRvmViieZjqc58jKgs8Y8i9YvVVhRbHSTA4VBag==} engines: {node: ^16.0.0 || >=18.0.0} @@ -2520,12 +2552,6 @@ packages: resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==} engines: {node: '>=12'} - eslint-config-prettier@8.10.0: - resolution: {integrity: sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==} - hasBin: true - peerDependencies: - eslint: '>=7.0.0' - eslint-config-prettier@9.1.0: resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==} hasBin: true @@ -2545,17 +2571,6 @@ packages: jest: optional: true - eslint-plugin-prettier@4.2.1: - resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} - engines: {node: '>=12.0.0'} - peerDependencies: - eslint: '>=7.28.0' - eslint-config-prettier: '*' - prettier: '>=2.0.0' - peerDependenciesMeta: - eslint-config-prettier: - optional: true - eslint-plugin-prettier@5.2.1: resolution: {integrity: sha512-gH3iR3g4JfF+yYPaJYkN7jEl9QbweL/YfkoRlNnuIEHEz1vHVlCmWOS+eGGiRuzHQXdJFCOTxRgvju9b8VUmrw==} engines: {node: ^14.18.0 || >=16.0.0} @@ -3957,9 +3972,6 @@ packages: nano-json-stream-parser@0.1.2: resolution: {integrity: sha512-9MqxMH/BSJC7dnLsEMPyfN5Dvoo49IsPFYMcHw3Bcfc2kN0lpHRBSzlMSVx4HGyJ7s9B31CyBTVehWJoQ8Ctew==} - natural-compare-lite@1.4.0: - resolution: {integrity: sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==} - natural-compare@1.4.0: resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} @@ -4378,11 +4390,6 @@ packages: resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} engines: {node: '>=6.0.0'} - prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} - hasBin: true - prettier@3.3.3: resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} engines: {node: '>=14'} @@ -5208,9 +5215,6 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici-types@6.13.0: - resolution: {integrity: sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==} - unicode-emoji-modifier-base@1.0.0: resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} engines: {node: '>=4'} @@ -5682,12 +5686,12 @@ packages: snapshots: - '@allbridge/bridge-core-sdk@3.18.0-beta.6(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(utf-8-validate@5.0.10)': + '@allbridge/bridge-core-sdk@3.17.0(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(utf-8-validate@5.0.10)': dependencies: '@project-serum/anchor': 0.25.0(bufferutil@4.0.8)(utf-8-validate@5.0.10) '@solana/spl-token': 0.3.11(@solana/web3.js@1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10))(bufferutil@4.0.8)(fastestsmallesttextencoderdecoder@1.0.22)(utf-8-validate@5.0.10) '@solana/web3.js': 1.95.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) - '@stellar/stellar-sdk': 12.2.0 + '@stellar/stellar-sdk': 12.1.0 '@types/big.js': 6.2.2 assert: 2.1.0 axios: 1.7.3 @@ -7289,6 +7293,18 @@ snapshots: optionalDependencies: sodium-native: 4.1.1 + '@stellar/stellar-sdk@12.1.0': + dependencies: + '@stellar/stellar-base': 12.1.0 + axios: 1.7.3 + bignumber.js: 9.1.2 + eventsource: 2.0.2 + randombytes: 2.1.0 + toml: 3.0.0 + urijs: 1.19.11 + transitivePeerDependencies: + - debug + '@stellar/stellar-sdk@12.2.0': dependencies: '@stellar/stellar-base': 12.1.0 @@ -7502,10 +7518,6 @@ snapshots: dependencies: undici-types: 5.26.5 - '@types/node@22.1.0': - dependencies: - undici-types: 6.13.0 - '@types/normalize-package-data@2.4.4': {} '@types/pbkdf2@3.1.2': @@ -7568,11 +7580,11 @@ snapshots: '@types/ws@7.4.7': dependencies: - '@types/node': 12.20.55 + '@types/node': 20.14.14 '@types/ws@8.5.12': dependencies: - '@types/node': 22.1.0 + '@types/node': 20.14.14 '@types/yargs-parser@21.0.3': {} @@ -7580,25 +7592,6 @@ snapshots: dependencies: '@types/yargs-parser': 21.0.3 - '@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': - dependencies: - '@eslint-community/regexpp': 4.11.0 - '@typescript-eslint/parser': 5.62.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/type-utils': 5.62.0(eslint@8.57.0)(typescript@5.5.4) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.4) - debug: 4.3.6 - eslint: 8.57.0 - graphemer: 1.4.0 - ignore: 5.3.1 - natural-compare-lite: 1.4.0 - semver: 7.6.3 - tsutils: 3.21.0(typescript@5.5.4) - optionalDependencies: - typescript: 5.5.4 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.0 @@ -7619,18 +7612,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.4)': - dependencies: - '@typescript-eslint/scope-manager': 5.62.0 - '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) - debug: 4.3.6 - eslint: 8.57.0 - optionalDependencies: - typescript: 5.5.4 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/scope-manager': 6.21.0 @@ -7654,18 +7635,6 @@ snapshots: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/visitor-keys': 6.21.0 - '@typescript-eslint/type-utils@5.62.0(eslint@8.57.0)(typescript@5.5.4)': - dependencies: - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.4) - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.4) - debug: 4.3.6 - eslint: 8.57.0 - tsutils: 3.21.0(typescript@5.5.4) - optionalDependencies: - typescript: 5.5.4 - transitivePeerDependencies: - - supports-color - '@typescript-eslint/type-utils@6.21.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.5.4) @@ -8792,33 +8761,21 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-config-prettier@8.10.0(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-config-prettier@9.1.0(eslint@8.57.0): dependencies: eslint: 8.57.0 - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.4): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(jest@29.7.0)(typescript@5.5.4): dependencies: '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.4) eslint: 8.57.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@5.62.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) + '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) jest: 29.7.0(@types/node@20.14.14)(ts-node@10.9.2(@types/node@20.14.14)(typescript@5.5.4)) transitivePeerDependencies: - supports-color - typescript - eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.10.0(eslint@8.57.0))(eslint@8.57.0)(prettier@2.8.8): - dependencies: - eslint: 8.57.0 - prettier: 2.8.8 - prettier-linter-helpers: 1.0.0 - optionalDependencies: - eslint-config-prettier: 8.10.0(eslint@8.57.0) - eslint-plugin-prettier@5.2.1(@types/eslint@9.6.0)(eslint-config-prettier@9.1.0(eslint@8.57.0))(eslint@8.57.0)(prettier@3.3.3): dependencies: eslint: 8.57.0 @@ -10631,8 +10588,6 @@ snapshots: nano-json-stream-parser@0.1.2: {} - natural-compare-lite@1.4.0: {} - natural-compare@1.4.0: {} negotiator@0.6.3: {} @@ -10927,8 +10882,6 @@ snapshots: dependencies: fast-diff: 1.3.0 - prettier@2.8.8: {} - prettier@3.3.3: {} pretty-format@29.7.0: @@ -11855,8 +11808,6 @@ snapshots: undici-types@5.26.5: {} - undici-types@6.13.0: {} - unicode-emoji-modifier-base@1.0.0: {} unicorn-magic@0.1.0: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index d261c6c..0f7a4dd 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,24 @@ packages: - 'rest-api' - - 'examples' \ No newline at end of file + - 'examples' +catalog: + '@solana/web3.js': ^1.95.2 + '@stellar/stellar-sdk': ^12.2.0 + 'axios': ^1.7.3 + '@types/big.js': ^6.2.1 + 'big.js': ^6.2.1 + 'src': ^1.1.2 + 'tronweb': ^4.4.0 + 'web3': ^1.9.0 + 'web3-core': ^1.9.0 + 'web3-eth-contract': ^1.9.0 + 'web3-utils': ^1.9.0 + '@typescript-eslint/eslint-plugin': ^6.21.0 + '@typescript-eslint/parser': ^6.21.0 + 'bs58': ^5.0.0 + 'dotenv': ^16.4.5 + 'eslint': ^8.57.0 + 'eslint-config-prettier': ^9.1.0 + 'eslint-plugin-jest': ^27.9.0 + 'eslint-plugin-prettier': ^5.2.1 + 'prettier': ^3.3.3 \ No newline at end of file diff --git a/rest-api/package.json b/rest-api/package.json index f933406..e7f996a 100644 --- a/rest-api/package.json +++ b/rest-api/package.json @@ -28,16 +28,16 @@ "@nestjs/core": "^10.3.10", "@nestjs/platform-express": "^10.3.10", "@nestjs/swagger": "^7.4.0", - "@solana/web3.js": "^1.95.2", - "@stellar/stellar-sdk": "^12.2.0", - "@types/big.js": "^6.2.2", - "big.js": "^6.2.1", + "@solana/web3.js": "catalog:", + "@stellar/stellar-sdk": "catalog:", + "@types/big.js": "catalog:", + "big.js": "catalog:", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", - "dotenv": "^16.4.5", + "dotenv": "catalog:", "fast-safe-stringify": "^2.1.1", "tsoa": "^6.4.0", - "web3-core": "1.9.0" + "web3-core": "catalog:" }, "devDependencies": { "@nestjs/cli": "^10.4.2", @@ -51,15 +51,15 @@ "@types/jest": "^29.5.12", "@types/node": "^20.14.14", "@types/supertest": "^6.0.2", - "@typescript-eslint/eslint-plugin": "^6.21.0", - "@typescript-eslint/parser": "^6.21.0", - "eslint": "^8.57.0", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-prettier": "^5.2.1", + "@typescript-eslint/eslint-plugin": "catalog:", + "@typescript-eslint/parser": "catalog:", + "eslint": "catalog:", + "eslint-config-prettier": "catalog:", + "eslint-plugin-prettier": "catalog:", "fs": "0.0.1-security", "jest": "^29.7.0", "node-fetch": "^3.3.2", - "prettier": "^3.3.3", + "prettier": "catalog:", "semantic-release": "^24.0.0", "source-map-support": "^0.5.21", "supertest": "^6.3.4",