diff --git a/package.json b/package.json index 5a8b2a0..eb47f48 100644 --- a/package.json +++ b/package.json @@ -13,35 +13,35 @@ }, "dependencies": { "@coral-xyz/anchor": "^0.29.0", - "@noble/hashes": "^1.3.2", - "@orca-so/common-sdk": "^0.3.5", - "@orca-so/token-sdk": "^0.2.0", - "@orca-so/whirlpools-sdk": "^0.11.6", - "@solana/spl-token": "^0.3.8", - "@solana/web3.js": "^1.87.5", - "axios": "^1.6.1", + "@noble/hashes": "^1.3.3", + "@orca-so/common-sdk": "^0.4.0", + "@orca-so/token-sdk": "^0.3.3", + "@orca-so/whirlpools-sdk": "^0.12.2", + "@solana/spl-token": "^0.4.0", + "@solana/web3.js": "^1.90.0", + "axios": "^1.6.7", "bn.js": "^5.2.1", - "csv": "^6.3.5", - "csv-parse": "^5.5.2", - "csv-stringify": "^6.4.4", + "csv": "^6.3.6", + "csv-parse": "^5.5.3", + "csv-stringify": "^6.4.5", "decimal.js": "^10.4.3", - "dotenv": "^16.3.1", + "dotenv": "^16.4.4", "lodash": "^4.17.21", - "p-queue": "^6.6.2", + "p-queue": "^8.0.1", "tiny-invariant": "^1.3.1", "yargs": "^17.7.2" }, "devDependencies": { "@types/bn.js": "^5.1.5", "@types/lodash": "^4.14.202", - "@types/node": "^20.10.5", + "@types/node": "^20.11.17", "@types/yargs": "^17.0.32", - "@typescript-eslint/eslint-plugin": "^6.15.0", - "@typescript-eslint/parser": "^6.15.0", + "@typescript-eslint/eslint-plugin": "^7.0.1", + "@typescript-eslint/parser": "^7.0.1", "eslint": "8.56.0", "eslint-config-prettier": "^9.1.0", - "prettier": "^3.0.3", - "typescript": "^5.3.2" + "prettier": "^3.2.5", + "typescript": "^5.3.3" }, "packageManager": "yarn@4.0.2" } diff --git a/yarn.lock b/yarn.lock index 4fa5a1c..d4bf522 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21,6 +21,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.23.4": + version: 7.23.9 + resolution: "@babel/runtime@npm:7.23.9" + dependencies: + regenerator-runtime: "npm:^0.14.0" + checksum: e71205fdd7082b2656512cc98e647d9ea7e222e4fe5c36e9e5adc026446fcc3ba7b3cdff8b0b694a0b78bb85db83e7b1e3d4c56ef90726682b74f13249cf952d + languageName: node + linkType: hard + "@coral-xyz/anchor@npm:^0.29.0": version: 0.29.0 resolution: "@coral-xyz/anchor@npm:0.29.0" @@ -43,41 +52,6 @@ __metadata: languageName: node linkType: hard -"@coral-xyz/anchor@npm:~0.27.0": - version: 0.27.0 - resolution: "@coral-xyz/anchor@npm:0.27.0" - dependencies: - "@coral-xyz/borsh": "npm:^0.27.0" - "@solana/web3.js": "npm:^1.68.0" - base64-js: "npm:^1.5.1" - bn.js: "npm:^5.1.2" - bs58: "npm:^4.0.1" - buffer-layout: "npm:^1.2.2" - camelcase: "npm:^6.3.0" - cross-fetch: "npm:^3.1.5" - crypto-hash: "npm:^1.3.0" - eventemitter3: "npm:^4.0.7" - js-sha256: "npm:^0.9.0" - pako: "npm:^2.0.3" - snake-case: "npm:^3.0.4" - superstruct: "npm:^0.15.4" - toml: "npm:^3.0.0" - checksum: 62c587127bb872b5cd98691d2ce0901b3e62d9da4a1470c9beeecf337932665dbbd9ffa9c5e6be60f1fe6b20e4ce783ec5e70f82b4aa172a87592890104cb92c - languageName: node - linkType: hard - -"@coral-xyz/borsh@npm:^0.27.0": - version: 0.27.0 - resolution: "@coral-xyz/borsh@npm:0.27.0" - dependencies: - bn.js: "npm:^5.1.2" - buffer-layout: "npm:^1.2.0" - peerDependencies: - "@solana/web3.js": ^1.68.0 - checksum: bdd895d735e0be3250ea215717cdf9ccb43eef796765326862f2f2b051b2815a4368271ae13ead1dd757c72b7d55a86e5cc44139a0cb4b9d9ade344398b09679 - languageName: node - linkType: hard - "@coral-xyz/borsh@npm:^0.29.0": version: 0.29.0 resolution: "@coral-xyz/borsh@npm:0.29.0" @@ -187,6 +161,13 @@ __metadata: languageName: node linkType: hard +"@noble/hashes@npm:^1.3.3": + version: 1.3.3 + resolution: "@noble/hashes@npm:1.3.3" + checksum: 23c020b33da4172c988e44100e33cd9f8f6250b68b43c467d3551f82070ebd9716e0d9d2347427aa3774c85934a35fa9ee6f026fca2117e3fa12db7bedae7668 + languageName: node + linkType: hard + "@nodelib/fs.scandir@npm:2.1.5": version: 2.1.5 resolution: "@nodelib/fs.scandir@npm:2.1.5" @@ -236,44 +217,47 @@ __metadata: languageName: node linkType: hard -"@orca-so/common-sdk@npm:^0.3.1, @orca-so/common-sdk@npm:^0.3.3, @orca-so/common-sdk@npm:^0.3.5": - version: 0.3.5 - resolution: "@orca-so/common-sdk@npm:0.3.5" +"@orca-so/common-sdk@npm:^0.4.0": + version: 0.4.0 + resolution: "@orca-so/common-sdk@npm:0.4.0" dependencies: - "@solana/spl-token": "npm:^0.3.8" - "@solana/web3.js": "npm:^1.75.0" - decimal.js: "npm:^10.3.1" - tiny-invariant: "npm:^1.2.0" - checksum: 6b16501067acb9f1551cd86a38bb691aacd23022afec283ce9288746dcf35a2ad6cf3a1925f8f7a482a397ba92ba0d0694fc40056e18e438d1b174d360b13547 + tiny-invariant: "npm:^1.3.1" + peerDependencies: + "@solana/spl-token": ^0.3.8 + "@solana/web3.js": ^1.75.0 + decimal.js: ^10.3.1 + checksum: 26c6d78fba75b1dce13d8f9c9235eca2243277f552e6dba5d8ad85474938663d52da9749e68bec496b6bf60d2397357ec219b577a419f852dce3ef4df970d769 languageName: node linkType: hard -"@orca-so/token-sdk@npm:^0.2.0": - version: 0.2.0 - resolution: "@orca-so/token-sdk@npm:0.2.0" +"@orca-so/token-sdk@npm:^0.3.3": + version: 0.3.3 + resolution: "@orca-so/token-sdk@npm:0.3.3" dependencies: - "@orca-so/common-sdk": "npm:^0.3.1" - "@solana/spl-token": "npm:0.3.8" - "@solana/web3.js": "npm:^1.75.0" isomorphic-unfetch: "npm:^4.0.2" - p-queue: "npm:6.6.2" + p-queue: "npm:^6.6.1" p-timeout: "npm:^4.0.0" - tiny-invariant: "npm:^1.2.0" - checksum: b5482b5578e8de51f5b0ad4e9a196f0feec14a27f650e87574d486d63cda8967a282fee72b2ab468722968e97159fe80be0bc26b3965d93371349314c1dd2163 + tiny-invariant: "npm:^1.3.1" + peerDependencies: + "@orca-so/common-sdk": ^0.4.0 + "@solana/spl-token": ^0.3.8 + "@solana/web3.js": ^1.75.0 + checksum: 34a3a8dbcd55937e880e43c288c141ec2a7b69a42abdfa0f8a0f2c34ae554b4477db1d9b67160b32b8f14b9ed3143da799e117d0adb13dd0dcd3217d1d1d6e6a languageName: node linkType: hard -"@orca-so/whirlpools-sdk@npm:^0.11.6": - version: 0.11.7 - resolution: "@orca-so/whirlpools-sdk@npm:0.11.7" +"@orca-so/whirlpools-sdk@npm:^0.12.2": + version: 0.12.2 + resolution: "@orca-so/whirlpools-sdk@npm:0.12.2" dependencies: - "@coral-xyz/anchor": "npm:~0.27.0" - "@orca-so/common-sdk": "npm:^0.3.3" - "@solana/spl-token": "npm:^0.3.8" - "@solana/web3.js": "npm:^1.75.0" - decimal.js: "npm:^10.3.1" - tiny-invariant: "npm:^1.2.0" - checksum: 887c8e5dbf70707db6eedc269394f93f82c4b990a841a57dabba95db8ec0d41f6bf7bb767a1140d5eee0d19a0afa85b7ed61dbde00fdd59bc6cb6f6e57414dd1 + tiny-invariant: "npm:^1.3.1" + peerDependencies: + "@coral-xyz/anchor": ~0.27.0 + "@orca-so/common-sdk": ^0.4.0 + "@solana/spl-token": ^0.3.8 + "@solana/web3.js": ^1.75.0 + decimal.js: ^10.3.1 + checksum: f7f3f7dd0823ff26fc8a536f34e918029e55da7fc8bfac7b86377f60cad61a55f5f44aa7520db002763e1eafbb394c86b23fc336dd3db85aaee6cb3d06ed69bb languageName: node linkType: hard @@ -296,7 +280,7 @@ __metadata: languageName: node linkType: hard -"@solana/buffer-layout@npm:^4.0.0": +"@solana/buffer-layout@npm:^4.0.0, @solana/buffer-layout@npm:^4.0.1": version: 4.0.1 resolution: "@solana/buffer-layout@npm:4.0.1" dependencies: @@ -305,33 +289,94 @@ __metadata: languageName: node linkType: hard -"@solana/spl-token@npm:0.3.8": - version: 0.3.8 - resolution: "@solana/spl-token@npm:0.3.8" +"@solana/codecs-core@npm:2.0.0-experimental.8618508": + version: 2.0.0-experimental.8618508 + resolution: "@solana/codecs-core@npm:2.0.0-experimental.8618508" + checksum: dbbf6492b61112ab16d92bbb0ebd5468306c33c6c4edbd78b94a9935a0991e3824b43f581e8bed76add142f90cd684fa160dcbf94ea3b8f95177b5c6c8e62bde + languageName: node + linkType: hard + +"@solana/codecs-data-structures@npm:2.0.0-experimental.8618508": + version: 2.0.0-experimental.8618508 + resolution: "@solana/codecs-data-structures@npm:2.0.0-experimental.8618508" dependencies: - "@solana/buffer-layout": "npm:^4.0.0" - "@solana/buffer-layout-utils": "npm:^0.2.0" - buffer: "npm:^6.0.3" + "@solana/codecs-core": "npm:2.0.0-experimental.8618508" + "@solana/codecs-numbers": "npm:2.0.0-experimental.8618508" + checksum: 4057e8f7a9c794190000e54cf2d3ba7e324c9992cd2b83993439528a0c2d7b9dc4ad0295432a400252984a464efe5121ea441c067bbc3d77e378482100839ca8 + languageName: node + linkType: hard + +"@solana/codecs-numbers@npm:2.0.0-experimental.8618508": + version: 2.0.0-experimental.8618508 + resolution: "@solana/codecs-numbers@npm:2.0.0-experimental.8618508" + dependencies: + "@solana/codecs-core": "npm:2.0.0-experimental.8618508" + checksum: 4e53218122477465a1fee1231d05d9a5e71a223899087497972602474758517da79e0b59d520bce056a5493e843b7539bbec793ddf080a59b48590fce4072b69 + languageName: node + linkType: hard + +"@solana/codecs-strings@npm:2.0.0-experimental.8618508": + version: 2.0.0-experimental.8618508 + resolution: "@solana/codecs-strings@npm:2.0.0-experimental.8618508" + dependencies: + "@solana/codecs-core": "npm:2.0.0-experimental.8618508" + "@solana/codecs-numbers": "npm:2.0.0-experimental.8618508" + peerDependencies: + fastestsmallesttextencoderdecoder: ^1.0.22 + checksum: 96a779933e4edea5745410cea3027296446ff50ad7d7248c945a4326bf77fe3df388e96de59c340f1b44f619d2538013e4688ab01d78c026bc25887d234f79a1 + languageName: node + linkType: hard + +"@solana/options@npm:2.0.0-experimental.8618508": + version: 2.0.0-experimental.8618508 + resolution: "@solana/options@npm:2.0.0-experimental.8618508" + dependencies: + "@solana/codecs-core": "npm:2.0.0-experimental.8618508" + "@solana/codecs-numbers": "npm:2.0.0-experimental.8618508" + checksum: 3adeafe735375dbf264f0416f6307ef7b07ee82fa78df1ab6bcb0cf05c6d094cffc87795ce153f5f1f686b4d109b05c29e0895c2eaa15e3ad90740a03b5011cf + languageName: node + linkType: hard + +"@solana/spl-token-metadata@npm:^0.1.2": + version: 0.1.2 + resolution: "@solana/spl-token-metadata@npm:0.1.2" + dependencies: + "@solana/codecs-core": "npm:2.0.0-experimental.8618508" + "@solana/codecs-data-structures": "npm:2.0.0-experimental.8618508" + "@solana/codecs-numbers": "npm:2.0.0-experimental.8618508" + "@solana/codecs-strings": "npm:2.0.0-experimental.8618508" + "@solana/options": "npm:2.0.0-experimental.8618508" + "@solana/spl-type-length-value": "npm:0.1.0" peerDependencies: - "@solana/web3.js": ^1.47.4 - checksum: 6e9d55fb01e4d8d549d922103b9c6883fac490b7f9af9315d95b66fd032e8bc117f1e838647e8970db4855149e08dc15ee2172fc12e621a635542b53a8f1f770 + "@solana/web3.js": ^1.87.6 + checksum: 6ed03485d771f7164a47119c2472acb1fd9363faefb434e812d936748c70b01eaf40cbd542704879bd3013d331168a4f0f620c2e306ec3e364d3bcaf2eca84e1 languageName: node linkType: hard -"@solana/spl-token@npm:^0.3.8": - version: 0.3.9 - resolution: "@solana/spl-token@npm:0.3.9" +"@solana/spl-token@npm:^0.4.0": + version: 0.4.0 + resolution: "@solana/spl-token@npm:0.4.0" dependencies: "@solana/buffer-layout": "npm:^4.0.0" "@solana/buffer-layout-utils": "npm:^0.2.0" + "@solana/spl-token-metadata": "npm:^0.1.2" buffer: "npm:^6.0.3" peerDependencies: - "@solana/web3.js": ^1.47.4 - checksum: 30300dfc34ac00c1610f1c801e40f5e336cff9003a3324cc2a5295d6358484d4fbf71ed83fbf624ea643a492c1119b52487e4d89a7b53b56cbe31126aac8fa0f + "@solana/web3.js": ^1.89.1 + checksum: 17cafd0de05f5add140eba90fc58caba9eb097c2157f8e215ce756c930fec58ce4a035c9d2599f679a980a5a874dfdb75c6f5317b549bf6a792b1f051f257eba + languageName: node + linkType: hard + +"@solana/spl-type-length-value@npm:0.1.0": + version: 0.1.0 + resolution: "@solana/spl-type-length-value@npm:0.1.0" + dependencies: + buffer: "npm:^6.0.3" + checksum: a8f2fd6308dffa27827799146857a778ff807380578e187023f8fe90ebf8a68ed1f9f74a0c196cde7b757ea188ff2af040a727c18bb3c86a82f62fe3ec4c43bb languageName: node linkType: hard -"@solana/web3.js@npm:^1.32.0, @solana/web3.js@npm:^1.68.0, @solana/web3.js@npm:^1.75.0, @solana/web3.js@npm:^1.87.5": +"@solana/web3.js@npm:^1.32.0, @solana/web3.js@npm:^1.68.0": version: 1.87.6 resolution: "@solana/web3.js@npm:1.87.6" dependencies: @@ -354,6 +399,29 @@ __metadata: languageName: node linkType: hard +"@solana/web3.js@npm:^1.90.0": + version: 1.90.0 + resolution: "@solana/web3.js@npm:1.90.0" + dependencies: + "@babel/runtime": "npm:^7.23.4" + "@noble/curves": "npm:^1.2.0" + "@noble/hashes": "npm:^1.3.2" + "@solana/buffer-layout": "npm:^4.0.1" + agentkeepalive: "npm:^4.5.0" + bigint-buffer: "npm:^1.1.5" + bn.js: "npm:^5.2.1" + borsh: "npm:^0.7.0" + bs58: "npm:^4.0.1" + buffer: "npm:6.0.3" + fast-stable-stringify: "npm:^1.0.0" + jayson: "npm:^4.1.0" + node-fetch: "npm:^2.7.0" + rpc-websockets: "npm:^7.5.1" + superstruct: "npm:^0.14.2" + checksum: 353af37d18733557df289ff3c7d9a11698529fc953664005049a159dbe63ca626f1434b91ea4c8261cb6c20edcd6d4103d19acbfc75c640229789004f3bfe14b + languageName: node + linkType: hard + "@types/bn.js@npm:^5.1.5": version: 5.1.5 resolution: "@types/bn.js@npm:5.1.5" @@ -402,12 +470,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.10.5": - version: 20.10.5 - resolution: "@types/node@npm:20.10.5" +"@types/node@npm:^20.11.17": + version: 20.11.17 + resolution: "@types/node@npm:20.11.17" dependencies: undici-types: "npm:~5.26.4" - checksum: be30609aae0bfe492097815f166ccc07f465220cb604647fa4e5ec05a1d16c012a41b82b5f11ecfe2485cbb479d4d20384b95b809ca0bcff6d94d5bbafa645bb + checksum: 1f30dae80b416cbf38f133a619ffb0e9fb9e7bc58f82d900bf73816ae5781740c4640892bf5971dd9c12570d5d05241646be3e7540bb4e059322ec6af4e51e15 languageName: node linkType: hard @@ -443,15 +511,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.15.0" +"@typescript-eslint/eslint-plugin@npm:^7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/eslint-plugin@npm:7.0.1" dependencies: "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:6.15.0" - "@typescript-eslint/type-utils": "npm:6.15.0" - "@typescript-eslint/utils": "npm:6.15.0" - "@typescript-eslint/visitor-keys": "npm:6.15.0" + "@typescript-eslint/scope-manager": "npm:7.0.1" + "@typescript-eslint/type-utils": "npm:7.0.1" + "@typescript-eslint/utils": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" debug: "npm:^4.3.4" graphemer: "npm:^1.4.0" ignore: "npm:^5.2.4" @@ -459,109 +527,110 @@ __metadata: semver: "npm:^7.5.4" ts-api-utils: "npm:^1.0.1" peerDependencies: - "@typescript-eslint/parser": ^6.0.0 || ^6.0.0-alpha - eslint: ^7.0.0 || ^8.0.0 + "@typescript-eslint/parser": ^7.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 78054afb0d4ab12d82db7a9cb005dfa2be42962341728abf4a81802e1f4c0f5b23de4870287f4b7e32aa4a4bc900bbc218f2d4d0c02aa77452e8e8e0b71fe3de + checksum: 0340a406b6a9036b6b2d92ffa79364d9cbe509e26c9726a953a1b26b4a4413a7079110e94b8a56c7d9d5193885a77f52611af00dea2d60ac79221303f0b91b3d languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/parser@npm:6.15.0" +"@typescript-eslint/parser@npm:^7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/parser@npm:7.0.1" dependencies: - "@typescript-eslint/scope-manager": "npm:6.15.0" - "@typescript-eslint/types": "npm:6.15.0" - "@typescript-eslint/typescript-estree": "npm:6.15.0" - "@typescript-eslint/visitor-keys": "npm:6.15.0" + "@typescript-eslint/scope-manager": "npm:7.0.1" + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/typescript-estree": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" debug: "npm:^4.3.4" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: e7f265fd4abd3bc49fa5b304cd4b9c22801ac5a9da4ee342bbab0c117d629ac4aad6998555b61a8c5a0b279c443a44ae99f16669e24e3ef17ccec20c8b7019e7 + checksum: 6e5c17faf94ced7fd5f5e0a44129f1369a691a39824303f947ed8f0089b03493b51e8c40e1f8a9f67e6420cec9aa084440d9362153525f55b20572bc111d4da5 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/scope-manager@npm:6.15.0" +"@typescript-eslint/scope-manager@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/scope-manager@npm:7.0.1" dependencies: - "@typescript-eslint/types": "npm:6.15.0" - "@typescript-eslint/visitor-keys": "npm:6.15.0" - checksum: 3428d99de440f227cbc2afb44cdcb25e44c4b49c5f490392f83e21d2048210a6ec2f2f68133376c842034f5b5ba4ec9721da7caa18e631e23b57e20927b5b6f0 + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" + checksum: a1da8ba1cba503887d7a576132857e2be3345a3b1682251b73f00b87199c20bd06662260895cb8d54ec26aca49902c7dc90fc7b0fde162c8415b63bb94c63e6d languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/type-utils@npm:6.15.0" +"@typescript-eslint/type-utils@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/type-utils@npm:7.0.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:6.15.0" - "@typescript-eslint/utils": "npm:6.15.0" + "@typescript-eslint/typescript-estree": "npm:7.0.1" + "@typescript-eslint/utils": "npm:7.0.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.0.1" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 + eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 32cb531a4b5e0ccd431cba553ec73b87d4453b48af288a33e359ba4f5278126390d82799b61d3f0fbf135cfde1ac6c2275c2cf37a676e8a2a2811e774e660f16 + checksum: 55e2ea9a76fbd62e69124298e3c1a4cf713ffe437874d090b76e747837fd5ea4034a82002e799108f29606bbed1a853e3d24f59b8a4d685b1e17698ffeb83d81 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/types@npm:6.15.0" - checksum: 6e33529ea301c8c4b8c1f589dadd5d2a66c1b24ec87a577524fbc996d4c7b65d4f4fdfa4a3937b691efee6a10a6b16f7bfcabe98a15e0fc0c0c57aa0d80dcc25 +"@typescript-eslint/types@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/types@npm:7.0.1" + checksum: 04156d5423b4d00296f0e0154b68aeae0e59876029e7eabb2cc49bb45b57a379248051b281c12644ba5afb79794d828cffcd053f2c5fcb45aa23f244ec98ef45 languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.15.0" +"@typescript-eslint/typescript-estree@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/typescript-estree@npm:7.0.1" dependencies: - "@typescript-eslint/types": "npm:6.15.0" - "@typescript-eslint/visitor-keys": "npm:6.15.0" + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/visitor-keys": "npm:7.0.1" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" + minimatch: "npm:9.0.3" semver: "npm:^7.5.4" ts-api-utils: "npm:^1.0.1" peerDependenciesMeta: typescript: optional: true - checksum: 08955f6e84b8edb855a6769671e85889e52b15b82e00a64f595da867b21ad060e5342787c436d77702b2a1f39d411ac79b81a8d2e2006e9b1886eadb08b626df + checksum: c8cff32a8d880de6228de900aeb20127e4663570a5f959195fda73f905ab06f3d9fbf46d60db0a6333456e0179e4706737293c90e8cce2d4ad7a220ccef2a8e7 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/utils@npm:6.15.0" +"@typescript-eslint/utils@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/utils@npm:7.0.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" "@types/json-schema": "npm:^7.0.12" "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:6.15.0" - "@typescript-eslint/types": "npm:6.15.0" - "@typescript-eslint/typescript-estree": "npm:6.15.0" + "@typescript-eslint/scope-manager": "npm:7.0.1" + "@typescript-eslint/types": "npm:7.0.1" + "@typescript-eslint/typescript-estree": "npm:7.0.1" semver: "npm:^7.5.4" peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - checksum: 53519a2027681bdc8f028f9421c65f193f91b5bb1659465fedb8043376c693c2391211f1c01d8ba25bfaa7f7b3a102263d7123f9dfade12032159f4b4490f0fb + eslint: ^8.56.0 + checksum: 83038958695daaa2a91092b16a64109797af28ec419f734f9dffa71f852ffb57ebd67c72d0b84c70805e4a53d4ead08e4f87687e944a1db19aeb72fcc89208cd languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.15.0": - version: 6.15.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.15.0" +"@typescript-eslint/visitor-keys@npm:7.0.1": + version: 7.0.1 + resolution: "@typescript-eslint/visitor-keys@npm:7.0.1" dependencies: - "@typescript-eslint/types": "npm:6.15.0" + "@typescript-eslint/types": "npm:7.0.1" eslint-visitor-keys: "npm:^3.4.1" - checksum: bf9f71af60bd63d1073900e75c5a0aa6eddd672f6c3ac6092c765d67deb7a0c32d2a5f6f3aee9e95f93a93d58563a76da209bd8487aadafd4d013100ffe38520 + checksum: a7a174d706f1b2ce60ebd17b9d20b36cc89c0ed45fcf510538734d13bca38d25ddbd4b6893a83ef5f344ad9aa7be76c22ea8407fa3c213c14dbcc52f9a2eadd0 languageName: node linkType: hard @@ -618,7 +687,7 @@ __metadata: languageName: node linkType: hard -"agentkeepalive@npm:^4.3.0": +"agentkeepalive@npm:^4.3.0, agentkeepalive@npm:^4.5.0": version: 4.5.0 resolution: "agentkeepalive@npm:4.5.0" dependencies: @@ -700,14 +769,14 @@ __metadata: languageName: node linkType: hard -"axios@npm:^1.6.1": - version: 1.6.2 - resolution: "axios@npm:1.6.2" +"axios@npm:^1.6.7": + version: 1.6.7 + resolution: "axios@npm:1.6.7" dependencies: - follow-redirects: "npm:^1.15.0" + follow-redirects: "npm:^1.15.4" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 9b77e030e85e4f9cbcba7bb52fbff67d6ce906c92d213e0bd932346a50140faf83733bf786f55bd58301bd92f9973885c7b87d6348023e10f7eaf286d0791a1d + checksum: 131bf8e62eee48ca4bd84e6101f211961bf6a21a33b95e5dfb3983d5a2fe50d9fffde0b57668d7ce6f65063d3dc10f2212cbcb554f75cfca99da1c73b210358d languageName: node linkType: hard @@ -727,7 +796,7 @@ __metadata: languageName: node linkType: hard -"base64-js@npm:^1.3.1, base64-js@npm:^1.5.1": +"base64-js@npm:^1.3.1": version: 1.5.1 resolution: "base64-js@npm:1.5.1" checksum: f23823513b63173a001030fae4f2dabe283b99a9d324ade3ad3d148e218134676f1ee8568c877cd79ec1c53158dcf2d2ba527a97c606618928ba99dd930102bf @@ -977,36 +1046,36 @@ __metadata: languageName: node linkType: hard -"csv-generate@npm:^4.3.0": - version: 4.3.0 - resolution: "csv-generate@npm:4.3.0" - checksum: f131041efaf33dff0f33c0dcac51785a2d9d9dccffff0a48f53aed7a71b755c87ee028f8982296ce52f2ce38710b9c971fa283c6fa2e5d4a357d9aa3f4445813 +"csv-generate@npm:^4.3.1": + version: 4.3.1 + resolution: "csv-generate@npm:4.3.1" + checksum: 01c78a407e8ad7a82b43ecbec21bc2a4cf76d3ad9970eb503ff00b97912b9fcb3c562868e8381b87c4d23fa356116f9cb9189d8d5b6f2e981863f413238030f3 languageName: node linkType: hard -"csv-parse@npm:^5.5.2": - version: 5.5.2 - resolution: "csv-parse@npm:5.5.2" - checksum: 96e2f0afd4f74a43908d197379cbbc59b73d144fc54208763e838614e1b98f5be23c4c3e707ead1ed4dd838b9f515f40ea6d2c98dbd3a50becb4663e982d1f78 +"csv-parse@npm:^5.5.3": + version: 5.5.3 + resolution: "csv-parse@npm:5.5.3" + checksum: 2f85cd52ea11b08d85cb97a1c90db6ed52f9d3c4e3805831da8c59c589e04870adff067ac88855deb9863a16649b3827a1ed576fd021bdf3937b1cf4de8a03ba languageName: node linkType: hard -"csv-stringify@npm:^6.4.4": - version: 6.4.4 - resolution: "csv-stringify@npm:6.4.4" - checksum: 52123a2391a4bef416c54c03cb1ba988d3f1b5e7798602068a4def1c5ee3942b60b8cb07c8b41bc6a0cfad57c0a2a4fe8c55debbc8f9621f035565f56acb8785 +"csv-stringify@npm:^6.4.5": + version: 6.4.5 + resolution: "csv-stringify@npm:6.4.5" + checksum: 60ea8ce0306531665a42c1b9f8faa68eb166d31f29d5a8074baf033ea612cafa56a55a7dc0fe80d2d62106e822bf31faa04b531876d4725308d09fa89e6e07da languageName: node linkType: hard -"csv@npm:^6.3.5": - version: 6.3.5 - resolution: "csv@npm:6.3.5" +"csv@npm:^6.3.6": + version: 6.3.6 + resolution: "csv@npm:6.3.6" dependencies: - csv-generate: "npm:^4.3.0" - csv-parse: "npm:^5.5.2" - csv-stringify: "npm:^6.4.4" - stream-transform: "npm:^3.2.10" - checksum: fc160d60432e35e18ee8249710b9f1d8726fc28c82a111bad3dc2ed48aa55d7ae392fdc29ce135adfec4a65b5cbec57ac2eabe7b7235e9b0ad640732ee92e888 + csv-generate: "npm:^4.3.1" + csv-parse: "npm:^5.5.3" + csv-stringify: "npm:^6.4.5" + stream-transform: "npm:^3.3.0" + checksum: c618da60311360c27405a7e8ef2f767817b63c5b7da382a6a0f6408350ff83aaa15a0b8348cf0a33ba02f8f206f8818e1682fb116b8a94051fb93e61b0c0be44 languageName: node linkType: hard @@ -1029,7 +1098,7 @@ __metadata: languageName: node linkType: hard -"decimal.js@npm:^10.3.1, decimal.js@npm:^10.4.3": +"decimal.js@npm:^10.4.3": version: 10.4.3 resolution: "decimal.js@npm:10.4.3" checksum: 6d60206689ff0911f0ce968d40f163304a6c1bc739927758e6efc7921cfa630130388966f16bf6ef6b838cb33679fbe8e7a78a2f3c478afce841fd55ac8fb8ee @@ -1085,10 +1154,10 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:^16.3.1": - version: 16.3.1 - resolution: "dotenv@npm:16.3.1" - checksum: b95ff1bbe624ead85a3cd70dbd827e8e06d5f05f716f2d0cbc476532d54c7c9469c3bc4dd93ea519f6ad711cb522c00ac9a62b6eb340d5affae8008facc3fbd7 +"dotenv@npm:^16.4.4": + version: 16.4.4 + resolution: "dotenv@npm:16.4.4" + checksum: f66ad105144c9106a868c8e244ace6097a0318f63284894e6c7b298c7e096911958837117d936d3c341db550e2fcb21a7a5ad396437638f605460e82b1dd30ee languageName: node linkType: hard @@ -1292,6 +1361,13 @@ __metadata: languageName: node linkType: hard +"eventemitter3@npm:^5.0.1": + version: 5.0.1 + resolution: "eventemitter3@npm:5.0.1" + checksum: 4ba5c00c506e6c786b4d6262cfbce90ddc14c10d4667e5c83ae993c9de88aa856033994dd2b35b83e8dc1170e224e66a319fa80adc4c32adcd2379bbc75da814 + languageName: node + linkType: hard + "exponential-backoff@npm:^3.1.1": version: 3.1.1 resolution: "exponential-backoff@npm:3.1.1" @@ -1419,13 +1495,13 @@ __metadata: languageName: node linkType: hard -"follow-redirects@npm:^1.15.0": - version: 1.15.3 - resolution: "follow-redirects@npm:1.15.3" +"follow-redirects@npm:^1.15.4": + version: 1.15.5 + resolution: "follow-redirects@npm:1.15.5" peerDependenciesMeta: debug: optional: true - checksum: 915a2cf22e667bdf47b1a43cc6b7dce14d95039e9bbf9a24d0e739abfbdfa00077dd43c86d4a7a19efefcc7a99af144920a175eedc3888d268af5df67c272ee5 + checksum: 418d71688ceaf109dfd6f85f747a0c75de30afe43a294caa211def77f02ef19865b547dfb73fde82b751e1cc507c06c754120b848fe5a7400b0a669766df7615 languageName: node linkType: hard @@ -1801,13 +1877,6 @@ __metadata: languageName: node linkType: hard -"js-sha256@npm:^0.9.0": - version: 0.9.0 - resolution: "js-sha256@npm:0.9.0" - checksum: f20b9245f6ebe666f42ca05536f777301132fb1aa7fbc22f10578fa302717a6cca507344894efdeaf40a011256eb2f7d517b94ac7105bd5cf087fa61551ad634 - languageName: node - linkType: hard - "js-yaml@npm:^4.1.0": version: 4.1.0 resolution: "js-yaml@npm:4.1.0" @@ -1973,6 +2042,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:9.0.3, minimatch@npm:^9.0.1": + version: 9.0.3 + resolution: "minimatch@npm:9.0.3" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: 85f407dcd38ac3e180f425e86553911d101455ca3ad5544d6a7cec16286657e4f8a9aa6695803025c55e31e35a91a2252b5dc8e7d527211278b8b65b4dbd5eac + languageName: node + linkType: hard + "minimatch@npm:^3.0.5, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2": version: 3.1.2 resolution: "minimatch@npm:3.1.2" @@ -1982,15 +2060,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^9.0.1": - version: 9.0.3 - resolution: "minimatch@npm:9.0.3" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 85f407dcd38ac3e180f425e86553911d101455ca3ad5544d6a7cec16286657e4f8a9aa6695803025c55e31e35a91a2252b5dc8e7d527211278b8b65b4dbd5eac - languageName: node - linkType: hard - "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2" @@ -2129,7 +2198,7 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^2.6.12": +"node-fetch@npm:^2.6.12, node-fetch@npm:^2.7.0": version: 2.7.0 resolution: "node-fetch@npm:2.7.0" dependencies: @@ -2224,32 +2293,32 @@ __metadata: resolution: "orca-pnl-analysis@workspace:." dependencies: "@coral-xyz/anchor": "npm:^0.29.0" - "@noble/hashes": "npm:^1.3.2" - "@orca-so/common-sdk": "npm:^0.3.5" - "@orca-so/token-sdk": "npm:^0.2.0" - "@orca-so/whirlpools-sdk": "npm:^0.11.6" - "@solana/spl-token": "npm:^0.3.8" - "@solana/web3.js": "npm:^1.87.5" + "@noble/hashes": "npm:^1.3.3" + "@orca-so/common-sdk": "npm:^0.4.0" + "@orca-so/token-sdk": "npm:^0.3.3" + "@orca-so/whirlpools-sdk": "npm:^0.12.2" + "@solana/spl-token": "npm:^0.4.0" + "@solana/web3.js": "npm:^1.90.0" "@types/bn.js": "npm:^5.1.5" "@types/lodash": "npm:^4.14.202" - "@types/node": "npm:^20.10.5" + "@types/node": "npm:^20.11.17" "@types/yargs": "npm:^17.0.32" - "@typescript-eslint/eslint-plugin": "npm:^6.15.0" - "@typescript-eslint/parser": "npm:^6.15.0" - axios: "npm:^1.6.1" + "@typescript-eslint/eslint-plugin": "npm:^7.0.1" + "@typescript-eslint/parser": "npm:^7.0.1" + axios: "npm:^1.6.7" bn.js: "npm:^5.2.1" - csv: "npm:^6.3.5" - csv-parse: "npm:^5.5.2" - csv-stringify: "npm:^6.4.4" + csv: "npm:^6.3.6" + csv-parse: "npm:^5.5.3" + csv-stringify: "npm:^6.4.5" decimal.js: "npm:^10.4.3" - dotenv: "npm:^16.3.1" + dotenv: "npm:^16.4.4" eslint: "npm:8.56.0" eslint-config-prettier: "npm:^9.1.0" lodash: "npm:^4.17.21" - p-queue: "npm:^6.6.2" - prettier: "npm:^3.0.3" + p-queue: "npm:^8.0.1" + prettier: "npm:^3.2.5" tiny-invariant: "npm:^1.3.1" - typescript: "npm:^5.3.2" + typescript: "npm:^5.3.3" yargs: "npm:^17.7.2" bin: pnl: dist/index.js @@ -2290,7 +2359,7 @@ __metadata: languageName: node linkType: hard -"p-queue@npm:6.6.2, p-queue@npm:^6.6.2": +"p-queue@npm:^6.6.1": version: 6.6.2 resolution: "p-queue@npm:6.6.2" dependencies: @@ -2300,6 +2369,16 @@ __metadata: languageName: node linkType: hard +"p-queue@npm:^8.0.1": + version: 8.0.1 + resolution: "p-queue@npm:8.0.1" + dependencies: + eventemitter3: "npm:^5.0.1" + p-timeout: "npm:^6.1.2" + checksum: fe185bc8bbd32d17a5f6dba090077b1bb326b008b4ec9b0646c57a32a6984035aa8ece909a6d0de7f6c4640296dc288197f430e7394cdc76a26d862339494616 + languageName: node + linkType: hard + "p-timeout@npm:^3.2.0": version: 3.2.0 resolution: "p-timeout@npm:3.2.0" @@ -2316,6 +2395,13 @@ __metadata: languageName: node linkType: hard +"p-timeout@npm:^6.1.2": + version: 6.1.2 + resolution: "p-timeout@npm:6.1.2" + checksum: d46b90a9a5fb7c650a5c56dd5cf7102ea9ab6ce998defa2b3d4672789aaec4e2f45b3b0b5a4a3e17a0fb94301ad5dd26da7d8728402e48db2022ad1847594d19 + languageName: node + linkType: hard + "pako@npm:^2.0.3": version: 2.1.0 resolution: "pako@npm:2.1.0" @@ -2384,12 +2470,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.0.3": - version: 3.1.0 - resolution: "prettier@npm:3.1.0" +"prettier@npm:^3.2.5": + version: 3.2.5 + resolution: "prettier@npm:3.2.5" bin: prettier: bin/prettier.cjs - checksum: a45ea70aa97fde162ea4c4aba3dfc7859aa6a732a1db34458d9535dc3c2c16d3bc3fb5689e6cd76aa835562555303b02d9449fd2e15af3b73c8053557e25c5b6 + checksum: ea327f37a7d46f2324a34ad35292af2ad4c4c3c3355da07313339d7e554320f66f65f91e856add8530157a733c6c4a897dc41b577056be5c24c40f739f5ee8c6 languageName: node linkType: hard @@ -2607,10 +2693,10 @@ __metadata: languageName: node linkType: hard -"stream-transform@npm:^3.2.10": - version: 3.2.10 - resolution: "stream-transform@npm:3.2.10" - checksum: 06e67869b9432d657f34ab7ee1ebba06ccc1cd457b9edc7ddfc80e1ecc562ec622a5e03a61ed7187250dd423a8f0820df1692644d40a737d6f028ac0508ea34b +"stream-transform@npm:^3.3.0": + version: 3.3.0 + resolution: "stream-transform@npm:3.3.0" + checksum: 49155c454754a4c9c82898b09857675fdd6fd1abe61248762558d475d37ec31de16a76c55b787f785e5378c2cc04a28330e76a5f9867e7d7067be73c3b7fcc71 languageName: node linkType: hard @@ -2719,7 +2805,7 @@ __metadata: languageName: node linkType: hard -"tiny-invariant@npm:^1.2.0, tiny-invariant@npm:^1.3.1": +"tiny-invariant@npm:^1.3.1": version: 1.3.1 resolution: "tiny-invariant@npm:1.3.1" checksum: 5b87c1d52847d9452b60d0dcb77011b459044e0361ca8253bfe7b43d6288106e12af926adb709a6fc28900e3864349b91dad9a4ac93c39aa15f360b26c2ff4db @@ -2781,23 +2867,23 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.3.2": - version: 5.3.2 - resolution: "typescript@npm:5.3.2" +"typescript@npm:^5.3.3": + version: 5.3.3 + resolution: "typescript@npm:5.3.3" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: d7dbe1fbe19039e36a65468ea64b5d338c976550394ba576b7af9c68ed40c0bc5d12ecce390e4b94b287a09a71bd3229f19c2d5680611f35b7c53a3898791159 + checksum: e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.3.2#optional!builtin": - version: 5.3.2 - resolution: "typescript@patch:typescript@npm%3A5.3.2#optional!builtin::version=5.3.2&hash=e012d7" +"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": + version: 5.3.3 + resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin::version=5.3.3&hash=e012d7" bin: tsc: bin/tsc tsserver: bin/tsserver - checksum: 73c8bad74e732d93211c9d77f28b03307e2f5fc6a0afc73f4b783261ab567686a16d6ae958bdaef383a00be1b0b8c8b6741dd6ca3d13af4963fa7e47456d49c7 + checksum: 1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500 languageName: node linkType: hard