diff --git a/clients/js/package.json b/clients/js/package.json index c833f12..cc1d12b 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -42,12 +42,12 @@ "homepage": "https://github.com/solana-program/config#readme", "license": "MIT", "peerDependencies": { - "@solana/web3.js": "^2.0.0" + "@solana/kit": "^2.1.0" }, "devDependencies": { "@ava/typescript": "^4.1.0", "@solana/eslint-config-solana": "^3.0.3", - "@solana/web3.js": "^2.0.0", + "@solana/kit": "^2.1.0", "@types/node": "^20", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", diff --git a/clients/js/pnpm-lock.yaml b/clients/js/pnpm-lock.yaml index 7d6fafb..6c0c6fb 100644 --- a/clients/js/pnpm-lock.yaml +++ b/clients/js/pnpm-lock.yaml @@ -14,9 +14,9 @@ importers: '@solana/eslint-config-solana': specifier: ^3.0.3 version: 3.0.4(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) - '@solana/web3.js': - specifier: ^2.0.0 - version: 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) + '@solana/kit': + specifier: ^2.1.0 + version: 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) '@types/node': specifier: ^20 version: 20.14.14 @@ -359,57 +359,57 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} - '@solana/accounts@2.0.0': - resolution: {integrity: sha512-1CE4P3QSDH5x+ZtSthMY2mn/ekROBnlT3/4f3CHDJicDvLQsgAq2yCvGHsYkK3ZA0mxhFLuhJVjuKASPnmG1rQ==} + '@solana/accounts@2.1.0': + resolution: {integrity: sha512-1JOBiLFeIeHmGx7k1b23UWF9vM1HAh9GBMCzr5rBPrGSBs+QUgxBJ3+yrRg+UPEOSELubqo7qoOVFUKYsb1nXw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/addresses@2.0.0': - resolution: {integrity: sha512-8n3c/mUlH1/z+pM8e7OJ6uDSXw26Be0dgYiokiqblO66DGQ0d+7pqFUFZ5pEGjJ9PU2lDTSfY8rHf4cemOqwzQ==} + '@solana/addresses@2.1.0': + resolution: {integrity: sha512-IgiRuju2yLz14GnrysOPSNZbZQ8F+7jhx7FYZLrbKogf6NX4wy4ijLHxRsLFqP8o8aY69BZULkM9MwrSjsZi7A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/assertions@2.0.0': - resolution: {integrity: sha512-NyPPqZRNGXs/GAjfgsw7YS6vCTXWt4ibXveS+ciy5sdmp/0v3pA6DlzYjleF9Sljrew0IiON15rjaXamhDxYfQ==} + '@solana/assertions@2.1.0': + resolution: {integrity: sha512-KCYmxFRsg897Ec7yGdpc0rniOlqGD3NpicmIjWIV87uiXX5uFco4t+01sKyFlhsv4T4OgHxngMsxkfQ3AUkFVg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/codecs-core@2.0.0': - resolution: {integrity: sha512-qCG+3hDU5Pm8V6joJjR4j4Zv9md1z0RaecniNDIkEglnxmOUODnmPLWbtOjnDylfItyuZeDihK8hkewdj8cUtw==} + '@solana/codecs-core@2.1.0': + resolution: {integrity: sha512-SR7pKtmJBg2mhmkel2NeHA1pz06QeQXdMv8WJoIR9m8F/hw80K/612uaYbwTt2nkK0jg/Qn/rNSd7EcJ4SBGjw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/codecs-data-structures@2.0.0': - resolution: {integrity: sha512-N98Y4jsrC/XeOgqrfsGqcOFIaOoMsKdAxOmy5oqVaEN67YoGSLNC9ROnqamOAOrsZdicTWx9/YLKFmQi9DPh1A==} + '@solana/codecs-data-structures@2.1.0': + resolution: {integrity: sha512-oDF5ek54kirqJ09q8k/qEpobBiWOhd3CkkGOTyfjsmTF/IGIigNbdYIakxV3+vudBeaNBw08y0XdBYI4JL/nqA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/codecs-numbers@2.0.0': - resolution: {integrity: sha512-r66i7VzJO1MZkQWZIAI6jjJOFVpnq0+FIabo2Z2ZDtrArFus/SbSEv543yCLeD2tdR/G/p+1+P5On10qF50Y1Q==} + '@solana/codecs-numbers@2.1.0': + resolution: {integrity: sha512-XMu4yw5iCgQnMKsxSWPPOrGgtaohmupN3eyAtYv3K3C/MJEc5V90h74k5B1GUCiHvcrdUDO9RclNjD9lgbjFag==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/codecs-strings@2.0.0': - resolution: {integrity: sha512-dNqeCypsvaHcjW86H0gYgAZGGkKVBeKVeh7WXlOZ9kno7PeQ2wNkpccyzDfuzaIsKv+HZUD3v/eo86GCvnKazQ==} + '@solana/codecs-strings@2.1.0': + resolution: {integrity: sha512-O/eJFLzFrHomcCR1Y5QbIqoPo7iaJaWNnIeskB4mVhVjLyjlJS4WtBP2NBRzM9uJXaXyOxxKroqqO9zFsHOpvQ==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/codecs@2.0.0': - resolution: {integrity: sha512-xneIG5ppE6WIGaZCK7JTys0uLhzlnEJUdBO8nRVIyerwH6aqCfb0fGe7q5WNNYAVDRSxC0Pc1TDe1hpdx3KWmQ==} + '@solana/codecs@2.1.0': + resolution: {integrity: sha512-C0TnfrpbTg7zoIFYfM65ofeL2AWEz80OsD6mjVdcTKpb1Uj7XuBuNLss3dMnatPQaL7RagD9VLA5/WfYayyteQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/errors@2.0.0': - resolution: {integrity: sha512-IHlaPFSy4lvYco1oHJ3X8DbchWwAwJaL/4wZKnF1ugwZ0g0re8wbABrqNOe/jyZ84VU9Z14PYM8W9oDAebdJbw==} + '@solana/errors@2.1.0': + resolution: {integrity: sha512-l+GxAv0Ar4d3c3PlZdA9G++wFYZREEbbRyAFP8+n8HSg0vudCuzogh/13io6hYuUhG/9Ve8ARZNamhV7UScKNw==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -428,159 +428,159 @@ packages: eslint-plugin-typescript-sort-keys: ^3.2.0 typescript: ^5.1.6 - '@solana/fast-stable-stringify@2.0.0': - resolution: {integrity: sha512-EsIx9z+eoxOmC+FpzhEb+H67CCYTbs/omAqXD4EdEYnCHWrI1li1oYBV+NoKzfx8fKlX+nzNB7S/9kc4u7Etpw==} + '@solana/fast-stable-stringify@2.1.0': + resolution: {integrity: sha512-a8vR92qbe/VsvQ1BpN3PIEwnoHD2fTHEwCJh9GG58z3R15RIjk73gc0khjcdg4U1tZwTJqWkvk8SbDIgGdOgMA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/functional@2.0.0': - resolution: {integrity: sha512-Sj+sLiUTimnMEyGnSLGt0lbih2xPDUhxhonnrIkPwA+hjQ3ULGHAxeevHU06nqiVEgENQYUJ5rCtHs4xhUFAkQ==} + '@solana/functional@2.1.0': + resolution: {integrity: sha512-RVij8Av4F2uUOFcEC8n9lgD72e9gQMritmGHhMh+G91Xops4I6Few+oQ++XgSTiL2t3g3Cs0QZ13onZ0FL45FQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/instructions@2.0.0': - resolution: {integrity: sha512-MiTEiNF7Pzp+Y+x4yadl2VUcNHboaW5WP52psBuhHns3GpbbruRv5efMpM9OEQNe1OsN+Eg39vjEidX55+P+DQ==} + '@solana/instructions@2.1.0': + resolution: {integrity: sha512-wfn6e7Rgm0Sw/Th1v/pXsKTvloZvAAQI7j1yc9WcIk9ngqH5p6LhqMMkrwYPB2oTk8+MMr7SZ4E+2eK2gL6ODA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/keys@2.0.0': - resolution: {integrity: sha512-SSLSX8BXRvfLKBqsmBghmlhMKpwHeWd5CHi5zXgTS1BRrtiU6lcrTVC9ie6B+WaNNq7oe3e6K5bdbhu3fFZ+0g==} + '@solana/keys@2.1.0': + resolution: {integrity: sha512-esY1+dlZjB18hZML5p+YPec29wi3HH0SzKx7RiqF//dI2cJ6vHfq3F+7ArbNnF6R2YCLFtl7DzS/tkqR2Xkxeg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/options@2.0.0': - resolution: {integrity: sha512-OVc4KnYosB8oAukQ/htgrxXSxlUP6gUu5Aau6d/BgEkPQzWd/Pr+w91VWw3i3zZuu2SGpedbyh05RoJBe/hSXA==} + '@solana/kit@2.1.0': + resolution: {integrity: sha512-vqaHROLKp89xdIbaKVG6BQ44uMN9E6/rSTeltkvquD2qdTObssafGDbAKVFjwZhlNO+sdzHDCLekGabn5VAL6A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/programs@2.0.0': - resolution: {integrity: sha512-JPIKB61pWfODnsvEAaPALc6vR5rn7kmHLpFaviWhBtfUlEVgB8yVTR0MURe4+z+fJCPRV5wWss+svA4EeGDYzQ==} + '@solana/options@2.1.0': + resolution: {integrity: sha512-T/vJCr8qnwK6HxriOPXCrx31IpA9ZYecxuOzQ3G74kIayED4spmpXp6PLtRYR/fo2LZ6UcgHN0qSgONnvwEweg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/promises@2.0.0': - resolution: {integrity: sha512-4teQ52HDjK16ORrZe1zl+Q9WcZdQ+YEl0M1gk59XG7D0P9WqaVEQzeXGnKSCs+Y9bnB1u5xCJccwpUhHYWq6gg==} + '@solana/programs@2.1.0': + resolution: {integrity: sha512-9Y30/yUbTR99+QRN2ukNXQQTGY68oKmVrXnh/et6StM1JF5WHvAJqBigsHG5bt6KxTISoRuncBnH/IRnDqPxKg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-api@2.0.0': - resolution: {integrity: sha512-1FwitYxwADMF/6zKP2kNXg8ESxB6GhNBNW1c4f5dEmuXuBbeD/enLV3WMrpg8zJkIaaYarEFNbt7R7HyFzmURQ==} + '@solana/promises@2.1.0': + resolution: {integrity: sha512-eQJaQXA2kD4dVyifzhslV3wOvq27fwOJ4az89BQ4Cz83zPbR94xOeDShwcXrKBYqaUf6XqH5MzdEo14t4tKAFQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-parsed-types@2.0.0': - resolution: {integrity: sha512-VCeY/oKVEtBnp8EDOc5LSSiOeIOLFIgLndcxqU0ij/cZaQ01DOoHbhluvhZtU80Z3dUeicec8TiMgkFzed+WhQ==} + '@solana/rpc-api@2.1.0': + resolution: {integrity: sha512-4yCnHYHFlz9VffivoY5q/HVeBjT59byB2gmg7UyC3ktxD28AlF9jjsE5tJKiapAKr2J3KWm0D/rH/QwW14cGeA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-spec-types@2.0.0': - resolution: {integrity: sha512-G2lmhFhgtxMQd/D6B04BHGE7bm5dMZdIPQNOqVGhzNAVjrmyapD3JN2hKAbmaYPe97wLfZERw0Ux1u4Y6q7TqA==} + '@solana/rpc-parsed-types@2.1.0': + resolution: {integrity: sha512-mRzHemxlWDS9p1fPQNKwL+1vEOUMG8peSUJb0X/NbM12yjowDNdzM++fkOgIyCKDPddfkcoNmNrQmr2jwjdN1Q==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-spec@2.0.0': - resolution: {integrity: sha512-1uIDzj7vocCUqfOifjv1zAuxQ53ugiup/42edVFoQLOnJresoEZLL6WjnsJq4oCTccEAvGhUBI1WWKeZTGNxFQ==} + '@solana/rpc-spec-types@2.1.0': + resolution: {integrity: sha512-NxcZ8piXMyCdbNUL6d36QJfL2UAQEN33StlGku0ltTVe1nrokZ5WRNjSPohU1fODlNaZzTvUFzvUkM1yGCkyzw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-api@2.0.0': - resolution: {integrity: sha512-NAJQvSFXYIIf8zxsMFBCkSbZNZgT32pzPZ1V6ZAd+U2iDEjx3L+yFwoJgfOcHp8kAV+alsF2lIsGBlG4u+ehvw==} + '@solana/rpc-spec@2.1.0': + resolution: {integrity: sha512-NPAIM5EY7Jke0mHnmoMpgCEb/nZKIo+bgVFK/u+z74gY0JnCNt0DfocStUUQtlhqSmTyoHamt3lfxp4GT2zXbA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-channel-websocket@2.0.0': - resolution: {integrity: sha512-hSQDZBmcp2t+gLZsSBqs/SqVw4RuNSC7njiP46azyzW7oGg8X2YPV36AHGsHD12KPsc0UpT1OAZ4+AN9meVKww==} + '@solana/rpc-subscriptions-api@2.1.0': + resolution: {integrity: sha512-de1dBRSE2CUwoZHMXQ/0v7iC+/pG0+iYY8jLHGGNxtKrYbTnV08mXQbaAMrmv2Rk8ZFmfJWbqbYZ9dRWdO3P5g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - ws: ^8.18.0 - '@solana/rpc-subscriptions-spec@2.0.0': - resolution: {integrity: sha512-VXMiI3fYtU1PkVVTXL87pcY48ZY8aCi1N6FqtxSP2xg/GASL01j1qbwyIL1OvoCqGyRgIxdd/YfaByW9wmWBhA==} + '@solana/rpc-subscriptions-channel-websocket@2.1.0': + resolution: {integrity: sha512-goJe9dv0cs967HJ382vSX8yapXgQzRHCmH323LsXrrpj/s3Eb3yUwJq7AcHgoh4gKIqyAfGybq/bE5Aa8Pcm9g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' + ws: ^8.18.0 - '@solana/rpc-subscriptions@2.0.0': - resolution: {integrity: sha512-AdwMJHMrhlj7q1MPjZmVcKq3iLqMW3N0MT8kzIAP2vP+8o/d6Fn4aqGxoz2Hlfn3OYIZoYStN2VBtwzbcfEgMA==} + '@solana/rpc-subscriptions-spec@2.1.0': + resolution: {integrity: sha512-Uqasfd3Tlr22lC/Vy5dToF0e68dMKPdnt4ks7FwXuPdEbNRM/TDGb0GqG+bt/d3IIrNOCA5Y8vsE0nQHGrWG/w==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-transformers@2.0.0': - resolution: {integrity: sha512-H6tN0qcqzUangowsLLQtYXKJsf1Roe3/qJ1Cy0gv9ojY9uEvNbJqpeEj+7blv0MUZfEe+rECAwBhxxRKPMhYGw==} + '@solana/rpc-subscriptions@2.1.0': + resolution: {integrity: sha512-dTyI03VlueE3s7mA/OBlA5l6yKUUKHMJd31tpzxV3AFnqE/QPS5NVrF/WY6pPBobLJiCP0UFOe7eR/MKP9SUCA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-transport-http@2.0.0': - resolution: {integrity: sha512-UJLhKhhxDd1OPi8hb2AenHsDm1mofCBbhWn4bDCnH2Q3ulwYadUhcNqNbxjJPQ774VNhAf53SSI5A6PQo8IZSQ==} + '@solana/rpc-transformers@2.1.0': + resolution: {integrity: sha512-E2xPlaCu6tNO00v4HIJxJCYkoNwgVJYad5sxbIUZOQBWwXnWIcll2jUT4bWKpBGq5vFDYfkzRBr8Rco3DhfXqg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc-types@2.0.0': - resolution: {integrity: sha512-o1ApB9PYR0A3XjVSOh//SOVWgjDcqMlR3UNmtqciuREIBmWqnvPirdOa5EJxD3iPhfA4gnNnhGzT+tMDeDW/Kw==} + '@solana/rpc-transport-http@2.1.0': + resolution: {integrity: sha512-E3UovTBid4/S8QDd9FkADVKfyG+v7CW5IqI4c27ZDKfazCsnDLLkqh98C6BvNCqi278HKBui4lI2GoFpCq89Pw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/rpc@2.0.0': - resolution: {integrity: sha512-TumQ9DFRpib/RyaIqLVfr7UjqSo7ldfzpae0tgjM93YjbItB4Z0VcUXc3uAFvkeYw2/HIMb46Zg43mkUwozjDg==} + '@solana/rpc-types@2.1.0': + resolution: {integrity: sha512-1ODnhmpR1X/GjB7hs4gVR3mcCagfPQV0dzq/2DNuCiMjx2snn64KP5WoAHfBEyoC9/Rb36+JpNj/hLAOikipKA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/signers@2.0.0': - resolution: {integrity: sha512-JEYJS3x/iKkqPV/3b1nLpX9lHib21wQKV3fOuu1aDLQqmX9OYKrnIIITYdnFDhmvGhpEpkkbPnqu7yVaFIBYsQ==} + '@solana/rpc@2.1.0': + resolution: {integrity: sha512-myg9qAo6b2WKyHSMXURQykb+ZRnNEXBPLEcwRwkos8STzPPyRFg6ady2s0FCQQTtL/pVjanIU2bObZIzbMGugA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/subscribable@2.0.0': - resolution: {integrity: sha512-Ex7d2GnTSNVMZDU3z6nKN4agRDDgCgBDiLnmn1hmt0iFo3alr3gRAqiqa7qGouAtYh9/29pyc8tVJCijHWJPQQ==} + '@solana/signers@2.1.0': + resolution: {integrity: sha512-Yq0JdJnCecRsSBshNWy+OIRmAGeVfjwIh9Z+H1jv8u8p+dJCOreKakTWuxMt5tnj3q5K1mPcak9O2PqVPZ0teA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/sysvars@2.0.0': - resolution: {integrity: sha512-8D4ajKcCYQsTG1p4k30lre2vjxLR6S5MftUGJnIaQObDCzGmaeA9GRti4Kk4gSPWVYFTBoj1ASx8EcEXaB3eIQ==} + '@solana/subscribable@2.1.0': + resolution: {integrity: sha512-xi12Cm889+uT5sRKnIzr7nLnHAp3hiR3dqIzrT1P7z7iEGp8OnqUQIQCHlgozFHM2cPW+6685NQXk1l1ImuJIw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/transaction-confirmation@2.0.0': - resolution: {integrity: sha512-JkTw5gXLiqQjf6xK0fpVcoJ/aMp2kagtFSD/BAOazdJ3UYzOzbzqvECt6uWa3ConcMswQ2vXalVtI7ZjmYuIeg==} + '@solana/sysvars@2.1.0': + resolution: {integrity: sha512-GXu9yS0zIebmM1Unqw/XFpYuvug03m42w98ioOPV/yiHzECggGRGpHGD9RLVYnkyz0eL4NRbnJ5dAEu/fvGe0A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/transaction-messages@2.0.0': - resolution: {integrity: sha512-Uc6Fw1EJLBrmgS1lH2ZfLAAKFvprWPQQzOVwZS78Pv8Whsk7tweYTK6S0Upv0nHr50rGpnORJfmdBrXE6OfNGg==} + '@solana/transaction-confirmation@2.1.0': + resolution: {integrity: sha512-VxOvtvs2e9h5u73PHyE2TptLAMO5x6dOXlOgvq1Nk6l3rKM2HAsd+KDpN7gjOo8/EgItMMmyEilXygWWRgpSIA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/transactions@2.0.0': - resolution: {integrity: sha512-VfdTE+59WKvuBG//6iE9RPjAB+ZT2kLgY2CDHabaz6RkH6OjOkMez9fWPVa3Xtcus+YQWN1SnQoryjF/xSx04w==} + '@solana/transaction-messages@2.1.0': + resolution: {integrity: sha512-+GPzZHLYNFbqHKoiL8mYALp7eAXtAbI6zLViZpIM3zUbVNU3q5+FCKGv6jCBnxs+3QCbeapu+W1OyfDa6BUtTQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/web3.js@2.0.0': - resolution: {integrity: sha512-x+ZRB2/r5tVK/xw8QRbAfgPcX51G9f2ifEyAQ/J5npOO+6+MPeeCjtr5UxHNDAYs9Ypo0PN+YJATCO4vhzQJGg==} + '@solana/transactions@2.1.0': + resolution: {integrity: sha512-QeM4sCItReeIy5LU7LhGkz7RPfMPTg/Qo8h0LSfhiJiPTOHOhElmh42vkLJmwPl83+MsKtisyPQNK6penM2nAw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' @@ -893,8 +893,8 @@ packages: resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} hasBin: true - commander@12.1.0: - resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} + commander@13.1.0: + resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} engines: {node: '>=18'} commander@4.1.1: @@ -1906,8 +1906,8 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} - undici-types@6.20.0: - resolution: {integrity: sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==} + undici-types@7.4.0: + resolution: {integrity: sha512-4tv8DA1nBRW5kF2KBJZzEBjd66kDf3jArNVPoktdlv9Xsgw7EcIMu1bVbAXbX5IWuuZZ3YW3jIM2x85SPgMP6w==} unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} @@ -2224,74 +2224,74 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@solana/accounts@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/accounts@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec': 2.0.0(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec': 2.1.0(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/addresses@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/addresses@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/assertions': 2.0.0(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/assertions': 2.1.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@2.0.0(typescript@5.5.4)': + '@solana/assertions@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/codecs-core@2.0.0(typescript@5.5.4)': + '@solana/codecs-core@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/codecs-data-structures@2.0.0(typescript@5.5.4)': + '@solana/codecs-data-structures@2.1.0(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/codecs-numbers@2.0.0(typescript@5.5.4)': + '@solana/codecs-numbers@2.1.0(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/codecs-strings@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/codecs-strings@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.5.4 - '@solana/codecs@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/codecs@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-data-structures': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/options': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-data-structures': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/options': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@2.0.0(typescript@5.5.4)': + '@solana/errors@2.1.0(typescript@5.5.4)': dependencies: chalk: 5.3.0 - commander: 12.1.0 + commander: 13.1.0 typescript: 5.5.4 '@solana/eslint-config-solana@3.0.4(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.18.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@12.1.1(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4)': @@ -2306,275 +2306,276 @@ snapshots: eslint-plugin-typescript-sort-keys: 3.2.0(@typescript-eslint/parser@7.18.0(eslint@8.57.0)(typescript@5.5.4))(eslint@8.57.0)(typescript@5.5.4) typescript: 5.5.4 - '@solana/fast-stable-stringify@2.0.0(typescript@5.5.4)': + '@solana/fast-stable-stringify@2.1.0(typescript@5.5.4)': dependencies: typescript: 5.5.4 - '@solana/functional@2.0.0(typescript@5.5.4)': + '@solana/functional@2.1.0(typescript@5.5.4)': dependencies: typescript: 5.5.4 - '@solana/instructions@2.0.0(typescript@5.5.4)': + '@solana/instructions@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/keys@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/keys@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/assertions': 2.0.0(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/assertions': 2.1.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/kit@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0)': + dependencies: + '@solana/accounts': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/instructions': 2.1.0(typescript@5.5.4) + '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/programs': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-parsed-types': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) + '@solana/rpc-subscriptions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/signers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/sysvars': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-confirmation': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) + '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder + - ws - '@solana/options@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/options@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-data-structures': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-data-structures': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/programs@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/promises@2.0.0(typescript@5.5.4)': + '@solana/promises@2.1.0(typescript@5.5.4)': dependencies: typescript: 5.5.4 - '@solana/rpc-api@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': - dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/keys': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-parsed-types': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec': 2.0.0(typescript@5.5.4) - '@solana/rpc-transformers': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transaction-messages': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transactions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-api@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-parsed-types': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec': 2.1.0(typescript@5.5.4) + '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-parsed-types@2.0.0(typescript@5.5.4)': + '@solana/rpc-parsed-types@2.1.0(typescript@5.5.4)': dependencies: typescript: 5.5.4 - '@solana/rpc-spec-types@2.0.0(typescript@5.5.4)': + '@solana/rpc-spec-types@2.1.0(typescript@5.5.4)': dependencies: typescript: 5.5.4 - '@solana/rpc-spec@2.0.0(typescript@5.5.4)': + '@solana/rpc-spec@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/rpc-subscriptions-api@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/rpc-subscriptions-api@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/keys': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-subscriptions-spec': 2.0.0(typescript@5.5.4) - '@solana/rpc-transformers': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transaction-messages': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transactions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-subscriptions-spec': 2.1.0(typescript@5.5.4) + '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-channel-websocket@2.0.0(typescript@5.5.4)(ws@8.18.0)': + '@solana/rpc-subscriptions-channel-websocket@2.1.0(typescript@5.5.4)(ws@8.18.0)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/rpc-subscriptions-spec': 2.0.0(typescript@5.5.4) - '@solana/subscribable': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/rpc-subscriptions-spec': 2.1.0(typescript@5.5.4) + '@solana/subscribable': 2.1.0(typescript@5.5.4) typescript: 5.5.4 ws: 8.18.0 - '@solana/rpc-subscriptions-spec@2.0.0(typescript@5.5.4)': + '@solana/rpc-subscriptions-spec@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/promises': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) - '@solana/subscribable': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/promises': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) + '@solana/subscribable': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/rpc-subscriptions@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0)': - dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/fast-stable-stringify': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/promises': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) - '@solana/rpc-subscriptions-api': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-subscriptions-channel-websocket': 2.0.0(typescript@5.5.4)(ws@8.18.0) - '@solana/rpc-subscriptions-spec': 2.0.0(typescript@5.5.4) - '@solana/rpc-transformers': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/subscribable': 2.0.0(typescript@5.5.4) + '@solana/rpc-subscriptions@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0)': + dependencies: + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/fast-stable-stringify': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/promises': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) + '@solana/rpc-subscriptions-api': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-subscriptions-channel-websocket': 2.1.0(typescript@5.5.4)(ws@8.18.0) + '@solana/rpc-subscriptions-spec': 2.1.0(typescript@5.5.4) + '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/subscribable': 2.1.0(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/rpc-transformers@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/rpc-transformers@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-transport-http@2.0.0(typescript@5.5.4)': + '@solana/rpc-transport-http@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - undici-types: 6.20.0 + undici-types: 7.4.0 - '@solana/rpc-types@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/rpc-types@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': - dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/fast-stable-stringify': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/rpc-api': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-spec': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) - '@solana/rpc-transformers': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-transport-http': 2.0.0(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/fast-stable-stringify': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/rpc-api': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-spec': 2.1.0(typescript@5.5.4) + '@solana/rpc-spec-types': 2.1.0(typescript@5.5.4) + '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-transport-http': 2.1.0(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/signers@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/signers@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/instructions': 2.0.0(typescript@5.5.4) - '@solana/keys': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transaction-messages': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transactions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/instructions': 2.1.0(typescript@5.5.4) + '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/subscribable@2.0.0(typescript@5.5.4)': + '@solana/subscribable@2.1.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/sysvars@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/sysvars@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/accounts': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/accounts': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transaction-confirmation@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0)': - dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/keys': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/promises': 2.0.0(typescript@5.5.4) - '@solana/rpc': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-subscriptions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transaction-messages': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transactions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-confirmation@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0)': + dependencies: + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/promises': 2.1.0(typescript@5.5.4) + '@solana/rpc': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-subscriptions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/transaction-messages@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/transaction-messages@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-data-structures': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/instructions': 2.0.0(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - typescript: 5.5.4 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/transactions@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': - dependencies: - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs-core': 2.0.0(typescript@5.5.4) - '@solana/codecs-data-structures': 2.0.0(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/instructions': 2.0.0(typescript@5.5.4) - '@solana/keys': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transaction-messages': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-data-structures': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/instructions': 2.1.0(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/web3.js@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0)': - dependencies: - '@solana/accounts': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/addresses': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/codecs': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/errors': 2.0.0(typescript@5.5.4) - '@solana/functional': 2.0.0(typescript@5.5.4) - '@solana/instructions': 2.0.0(typescript@5.5.4) - '@solana/keys': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/programs': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/rpc-parsed-types': 2.0.0(typescript@5.5.4) - '@solana/rpc-spec-types': 2.0.0(typescript@5.5.4) - '@solana/rpc-subscriptions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) - '@solana/rpc-types': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/signers': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/sysvars': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transaction-confirmation': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)(ws@8.18.0) - '@solana/transaction-messages': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) - '@solana/transactions': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transactions@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/codecs-core': 2.1.0(typescript@5.5.4) + '@solana/codecs-data-structures': 2.1.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.1.0(typescript@5.5.4) + '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.1.0(typescript@5.5.4) + '@solana/functional': 2.1.0(typescript@5.5.4) + '@solana/instructions': 2.1.0(typescript@5.5.4) + '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: 5.5.4 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - - ws '@types/estree@1.0.5': {} @@ -2949,7 +2950,7 @@ snapshots: color-support@1.1.3: {} - commander@12.1.0: {} + commander@13.1.0: {} commander@4.1.1: {} @@ -3907,7 +3908,7 @@ snapshots: undici-types@5.26.5: {} - undici-types@6.20.0: {} + undici-types@7.4.0: {} unicorn-magic@0.1.0: {} diff --git a/clients/js/src/generated/accounts/config.ts b/clients/js/src/generated/accounts/config.ts index d68aa0a..f933258 100644 --- a/clients/js/src/generated/accounts/config.ts +++ b/clients/js/src/generated/accounts/config.ts @@ -28,7 +28,7 @@ import { type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array, -} from '@solana/web3.js'; +} from '@solana/kit'; import { getConfigKeysDecoder, getConfigKeysEncoder, diff --git a/clients/js/src/generated/instructions/store.ts b/clients/js/src/generated/instructions/store.ts index a26ba8f..3333d9f 100644 --- a/clients/js/src/generated/instructions/store.ts +++ b/clients/js/src/generated/instructions/store.ts @@ -26,7 +26,7 @@ import { type TransactionSigner, type WritableAccount, type WritableSignerAccount, -} from '@solana/web3.js'; +} from '@solana/kit'; import { SOLANA_CONFIG_PROGRAM_ADDRESS } from '../programs'; import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; import { diff --git a/clients/js/src/generated/programs/solanaConfig.ts b/clients/js/src/generated/programs/solanaConfig.ts index 286e51e..357b233 100644 --- a/clients/js/src/generated/programs/solanaConfig.ts +++ b/clients/js/src/generated/programs/solanaConfig.ts @@ -6,7 +6,7 @@ * @see https://github.com/codama-idl/codama */ -import { type Address } from '@solana/web3.js'; +import { type Address } from '@solana/kit'; import { type ParsedStoreInstruction } from '../instructions'; export const SOLANA_CONFIG_PROGRAM_ADDRESS = diff --git a/clients/js/src/generated/shared/index.ts b/clients/js/src/generated/shared/index.ts index 01a7d93..7ba9053 100644 --- a/clients/js/src/generated/shared/index.ts +++ b/clients/js/src/generated/shared/index.ts @@ -9,14 +9,14 @@ import { AccountRole, isProgramDerivedAddress, - isTransactionSigner as web3JsIsTransactionSigner, + isTransactionSigner as kitIsTransactionSigner, type Address, type IAccountMeta, type IAccountSignerMeta, type ProgramDerivedAddress, type TransactionSigner, upgradeRoleToSigner, -} from '@solana/web3.js'; +} from '@solana/kit'; /** * Asserts that the given value is not null or undefined. @@ -159,6 +159,6 @@ export function isTransactionSigner( !!value && typeof value === 'object' && 'address' in value && - web3JsIsTransactionSigner(value) + kitIsTransactionSigner(value) ); } diff --git a/clients/js/src/generated/types/configKeys.ts b/clients/js/src/generated/types/configKeys.ts index 2e0c1fd..1ca844e 100644 --- a/clients/js/src/generated/types/configKeys.ts +++ b/clients/js/src/generated/types/configKeys.ts @@ -22,7 +22,7 @@ import { type Codec, type Decoder, type Encoder, -} from '@solana/web3.js'; +} from '@solana/kit'; /** * A collection of keys to be stored in Config account data. diff --git a/clients/rust/src/generated/accounts/config.rs b/clients/rust/src/generated/accounts/config.rs index 5f0ef18..5c448e5 100644 --- a/clients/rust/src/generated/accounts/config.rs +++ b/clients/rust/src/generated/accounts/config.rs @@ -38,3 +38,73 @@ impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for Config { Self::deserialize(&mut data) } } + +#[cfg(feature = "fetch")] +pub fn fetch_config( + rpc: &solana_client::rpc_client::RpcClient, + address: &Pubkey, +) -> Result, std::io::Error> { + let accounts = fetch_all_config(rpc, &[*address])?; + Ok(accounts[0].clone()) +} + +#[cfg(feature = "fetch")] +pub fn fetch_all_config( + rpc: &solana_client::rpc_client::RpcClient, + addresses: &[Pubkey], +) -> Result>, std::io::Error> { + let accounts = rpc + .get_multiple_accounts(&addresses) + .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e.to_string()))?; + let mut decoded_accounts: Vec> = Vec::new(); + for i in 0..addresses.len() { + let address = addresses[i]; + let account = accounts[i].as_ref().ok_or(std::io::Error::new( + std::io::ErrorKind::Other, + format!("Account not found: {}", address), + ))?; + let data = Config::from_bytes(&account.data)?; + decoded_accounts.push(crate::shared::DecodedAccount { + address, + account: account.clone(), + data, + }); + } + Ok(decoded_accounts) +} + +#[cfg(feature = "fetch")] +pub fn fetch_maybe_config( + rpc: &solana_client::rpc_client::RpcClient, + address: &Pubkey, +) -> Result, std::io::Error> { + let accounts = fetch_all_maybe_config(rpc, &[*address])?; + Ok(accounts[0].clone()) +} + +#[cfg(feature = "fetch")] +pub fn fetch_all_maybe_config( + rpc: &solana_client::rpc_client::RpcClient, + addresses: &[Pubkey], +) -> Result>, std::io::Error> { + let accounts = rpc + .get_multiple_accounts(&addresses) + .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e.to_string()))?; + let mut decoded_accounts: Vec> = Vec::new(); + for i in 0..addresses.len() { + let address = addresses[i]; + if let Some(account) = accounts[i].as_ref() { + let data = Config::from_bytes(&account.data)?; + decoded_accounts.push(crate::shared::MaybeAccount::Exists( + crate::shared::DecodedAccount { + address, + account: account.clone(), + data, + }, + )); + } else { + decoded_accounts.push(crate::shared::MaybeAccount::NotFound(address)); + } + } + Ok(decoded_accounts) +} diff --git a/clients/rust/src/generated/instructions/store.rs b/clients/rust/src/generated/instructions/store.rs index 054c219..767a8e0 100644 --- a/clients/rust/src/generated/instructions/store.rs +++ b/clients/rust/src/generated/instructions/store.rs @@ -11,6 +11,7 @@ use { }; /// Accounts. +#[derive(Debug)] pub struct Store { /// The config account to be modified. /// Must sign during the first call to `store` to initialize the account, @@ -37,8 +38,8 @@ impl Store { self.config_account.1, )); accounts.extend_from_slice(remaining_accounts); - let mut data = StoreInstructionData::new().try_to_vec().unwrap(); - let mut args = args.try_to_vec().unwrap(); + let mut data = borsh::to_vec(&StoreInstructionData::new()).unwrap(); + let mut args = borsh::to_vec(&args).unwrap(); data.append(&mut args); solana_program::instruction::Instruction { @@ -49,7 +50,8 @@ impl Store { } } -#[derive(BorshDeserialize, BorshSerialize)] +#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)] +#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] pub struct StoreInstructionData {} impl StoreInstructionData { @@ -219,8 +221,8 @@ impl<'a, 'b> StoreCpi<'a, 'b> { is_writable: remaining_account.2, }) }); - let mut data = StoreInstructionData::new().try_to_vec().unwrap(); - let mut args = self.__args.try_to_vec().unwrap(); + let mut data = borsh::to_vec(&StoreInstructionData::new()).unwrap(); + let mut args = borsh::to_vec(&self.__args).unwrap(); data.append(&mut args); let instruction = solana_program::instruction::Instruction { diff --git a/clients/rust/src/generated/mod.rs b/clients/rust/src/generated/mod.rs index 7820567..d2c16df 100644 --- a/clients/rust/src/generated/mod.rs +++ b/clients/rust/src/generated/mod.rs @@ -8,5 +8,6 @@ pub mod accounts; pub mod errors; pub mod instructions; pub mod programs; +pub mod shared; pub(crate) use programs::*; diff --git a/clients/rust/src/generated/shared.rs b/clients/rust/src/generated/shared.rs new file mode 100644 index 0000000..8854f6e --- /dev/null +++ b/clients/rust/src/generated/shared.rs @@ -0,0 +1,20 @@ +//! This code was AUTOGENERATED using the codama library. +//! Please DO NOT EDIT THIS FILE, instead use visitors +//! to add features, then rerun codama to update it. +//! +//! + +#[cfg(feature = "fetch")] +#[derive(Debug, Clone)] +pub struct DecodedAccount { + pub address: solana_program::pubkey::Pubkey, + pub account: solana_sdk::account::Account, + pub data: T, +} + +#[cfg(feature = "fetch")] +#[derive(Debug, Clone)] +pub enum MaybeAccount { + Exists(DecodedAccount), + NotFound(solana_program::pubkey::Pubkey), +} diff --git a/package.json b/package.json index e7fd99a..d22fb43 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,10 @@ "template:upgrade": "zx ./scripts/upgrade-template.mjs" }, "devDependencies": { - "@codama/renderers-js": "^1.0.0", - "@codama/renderers-rust": "^1.0.3", + "@codama/renderers-js": "^1.2.7", + "@codama/renderers-rust": "^1.0.16", "@iarna/toml": "^2.2.5", - "codama": "^1.0.0", + "codama": "^1.2.8", "typescript": "^5.5.2", "zx": "^7.2.3" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c183a66..702541f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,17 +9,17 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.0.0 - version: 1.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + specifier: ^1.2.7 + version: 1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) '@codama/renderers-rust': - specifier: ^1.0.3 - version: 1.0.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + specifier: ^1.0.16 + version: 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) '@iarna/toml': specifier: ^2.2.5 version: 2.2.5 codama: - specifier: ^1.0.0 - version: 1.0.0 + specifier: ^1.2.8 + version: 1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) typescript: specifier: ^5.5.2 version: 5.5.4 @@ -29,42 +29,51 @@ importers: packages: - '@codama/errors@1.0.0': - resolution: {integrity: sha512-XSdkNbCNJukhKO5TFJ5cFP7TfddxZwqHV7N/XyMbZ0meVPN1ymT94/d/9b8R+bvKuflj/SXImv527tGZWz6pGA==} + '@codama/cli@1.0.7': + resolution: {integrity: sha512-qA+cDhTnx3r4Ds9JAIduGTzaEJjjCSVj+Bt2mm1hEW1hrI4hymAxW+BeLfFehzqjggdTVM3UIrTwkXAkhNJfEw==} + + '@codama/errors@1.2.8': + resolution: {integrity: sha512-TVPf7oJpbHtxdu52ruftJX+DlTNWi7D65tasysqs7mfRKoiZKzmkatr5hqidBz/M9WzCddUeFAHL9ZiW6g9Ccg==} hasBin: true - '@codama/node-types@1.0.0': - resolution: {integrity: sha512-UAc+0jprwHFOqtAPqqA//PkrnlUzuqs+N5E36bHhLV0m5qWMlqrfmPg/ffBwMYFJsLFWsRsisALrqPy7ARkUow==} + '@codama/node-types@1.2.8': + resolution: {integrity: sha512-PEvPLMN3QGJvkwsQ7R9DmAtdazQXN0RD9WYlmHyeiR4nathV0qy9nZGFDoRh5nbNfPkbeLTgL5o3zAoeeRP6GQ==} + + '@codama/nodes-from-anchor@1.1.8': + resolution: {integrity: sha512-eaoGrcMMc5yr1XPnv1H3hPw6cCh0e6BRmmuzOBOIDG4PR2gVm415RnBkfQOX2JqRTX7wKLv8Y1EIZV4IgVxkvw==} + + '@codama/nodes@1.2.8': + resolution: {integrity: sha512-tCi7KErG2ChQr5n3Nj3dwciFmUo3O8RQ+S4Qv23w1zvYLaGwhEvdg3KRtgCGEI0wr9uvm2QtTBM670kdLntZiQ==} - '@codama/nodes-from-anchor@1.0.0': - resolution: {integrity: sha512-urqFOV5K1oKBptgIFFLCPWrUsEeZsonml12ieP26ozX12aglGlN0tsxNsCvxJulRIjUxuONbH6xzv7uKt0xSYQ==} + '@codama/renderers-core@1.0.10': + resolution: {integrity: sha512-7NwoyP2j1cZKgHCrd1RRn891gtxpZeiXNSP3aCFdVsRPW8dDNUL1sJ1SNOF9ILHfNP77clCBtL3eoZIFdeNQAg==} - '@codama/nodes@1.0.0': - resolution: {integrity: sha512-btcnjDaOpEFvVq3uVzlQK4G2OxxyK3P9HkXw423GZaqYQzeSr1pDdTKjyVyg+QO578CGqIMySVlJ2UAdHVMytw==} + '@codama/renderers-js-umi@1.1.9': + resolution: {integrity: sha512-rYrm1u3zqqHfYtLnnYmhU+4KXYCqmGJxQP+eiyHIDwxcALzH6y8Ng2zEz3YRGNLXqdlwCB4bx1lJOCjfbRZiwA==} - '@codama/renderers-core@1.0.0': - resolution: {integrity: sha512-WYvOylIzcR0WOc7GlUvGi5ym8IwmslwyV8zfj7FR646bMqaROirFJc+naGEbZ1lMykOyxcackTKL0eDB7954Qw==} + '@codama/renderers-js@1.2.7': + resolution: {integrity: sha512-xzWK7tdPneNhbPAMeh5B4ddXjMfkNtTbDDRJ81jNvGv8WRPCvA97c0zMeTskHY+W/C+GlbsSNGMuL4Ga8bEmSA==} - '@codama/renderers-js@1.0.0': - resolution: {integrity: sha512-wi9eqrtLbTM49ELqKqxIgbTaf7xKMWT+HIqj6GN373G0OJnSKwUJPIXAGLO+RCls5DGjDuOE5svuThU0zBkfzA==} + '@codama/renderers-rust@1.0.16': + resolution: {integrity: sha512-pFHwHN6X4Yuk26Yfh+VT9Ps1i/QEjuK3EoT8BpsCTATOk6ntJNqyD5aQngG2lE4KWx3uQrCYYbQEAN4vG6v+EA==} - '@codama/renderers-rust@1.0.3': - resolution: {integrity: sha512-S2n+bq92q5YZ01Z+8klNNbvgVErKsJzUYWN0Y0rPymx2vwkHfTkeQHEOuckb/kzHJm9QGXrzkDtSDBy5EDS1Wg==} + '@codama/renderers@1.0.16': + resolution: {integrity: sha512-Mj3k1BJ7Rg9BlaCNCvhWY+FRmgLnislwatA6t9zHiReSeukrOFmSW9KKPpWHXm4+i1ueZFKmLeFzGPEt927WBA==} - '@codama/validators@1.0.0': - resolution: {integrity: sha512-jSfU5IrcGTvcqsJSBSzD3Ochig+hKKg2NKsT/vUfQ4jAw2cQrVUP5f4dMXyX779JYfHLHCwZnBYvgEdgi9gBZQ==} + '@codama/validators@1.2.8': + resolution: {integrity: sha512-cGyYgV+zhPzhT3RHBKgDLueeOvSTo3ry9QEliPv90+sL6Q9ecKj4Ut9QVxjmwvdv67rNAZq5JBl+GC8SYcDhPg==} - '@codama/visitors-core@1.0.0': - resolution: {integrity: sha512-tDIfURVPf7ZokCFLOpKL6Au0ORiza1sPT4zmRSEjCC7iZp0Vb5K5FrdtUL13Wb+6jNM191e5GUFOmULRoavWug==} + '@codama/visitors-core@1.2.8': + resolution: {integrity: sha512-sYmZT2Z6Goacgr/HrAhjLSGtu2Udcal10tEfYN8ZJBXs34PGPu0oWOC8kFx7CxvmAvt/6mw8NhKIPtg/UaIKHw==} - '@codama/visitors@1.0.0': - resolution: {integrity: sha512-JncE6wRJLxt0imlj+loGH6dLPEMK7ozlv9YjWgCQgUYUI7is66OFwhWP5SFO0iEFlVjtOzZLXVQwoe9LSDz8Gg==} + '@codama/visitors@1.2.8': + resolution: {integrity: sha512-LbcTyzTUEJfGRbCTuQIAVR9X5bLdZ1oD7GAuw5kxaq63+H6JHAbigaKwaq9uvr/OXMT4U/2GcWgKfX1oGKXg/g==} '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@noble/hashes@1.5.0': - resolution: {integrity: sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==} + '@noble/hashes@1.7.1': + resolution: {integrity: sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==} engines: {node: ^14.21.3 || >=16} '@nodelib/fs.scandir@2.1.5': @@ -79,28 +88,76 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@solana/codecs-core@2.0.0-rc.1': - resolution: {integrity: sha512-bauxqMfSs8EHD0JKESaNmNuNvkvHSuN3bbWAF5RjOfDu2PugxHrvRebmYauvSumZ3cTfQ4HJJX6PG5rN852qyQ==} + '@solana/codecs-core@2.0.0': + resolution: {integrity: sha512-qCG+3hDU5Pm8V6joJjR4j4Zv9md1z0RaecniNDIkEglnxmOUODnmPLWbtOjnDylfItyuZeDihK8hkewdj8cUtw==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5' + + '@solana/codecs-core@2.0.0-rc.4': + resolution: {integrity: sha512-JIrTSps032mSE3wBxW3bXOqWfoy4CMy1CX/XeVCijyh5kLVxZTSDIdRTYdePdL1yzaOZF1Xysvt1DhOUgBdM+A==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5' + + '@solana/codecs-data-structures@2.0.0': + resolution: {integrity: sha512-N98Y4jsrC/XeOgqrfsGqcOFIaOoMsKdAxOmy5oqVaEN67YoGSLNC9ROnqamOAOrsZdicTWx9/YLKFmQi9DPh1A==} + engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/codecs-numbers@2.0.0-rc.1': - resolution: {integrity: sha512-J5i5mOkvukXn8E3Z7sGIPxsThRCgSdgTWJDQeZvucQ9PT6Y3HiVXJ0pcWiOWAoQ3RX8e/f4I3IC+wE6pZiJzDQ==} + '@solana/codecs-numbers@2.0.0': + resolution: {integrity: sha512-r66i7VzJO1MZkQWZIAI6jjJOFVpnq0+FIabo2Z2ZDtrArFus/SbSEv543yCLeD2tdR/G/p+1+P5On10qF50Y1Q==} + engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5' - '@solana/codecs-strings@2.0.0-rc.1': - resolution: {integrity: sha512-9/wPhw8TbGRTt6mHC4Zz1RqOnuPTqq1Nb4EyuvpZ39GW6O2t2Q7Q0XxiB3+BdoEjwA2XgPw6e2iRfvYgqty44g==} + '@solana/codecs-numbers@2.0.0-rc.4': + resolution: {integrity: sha512-ZJR7TaUO65+3Hzo3YOOUCS0wlzh17IW+j0MZC2LCk1R0woaypRpHKj4iSMYeQOZkMxsd9QT3WNvjFrPC2qA6Sw==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5' + + '@solana/codecs-strings@2.0.0': + resolution: {integrity: sha512-dNqeCypsvaHcjW86H0gYgAZGGkKVBeKVeh7WXlOZ9kno7PeQ2wNkpccyzDfuzaIsKv+HZUD3v/eo86GCvnKazQ==} + engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/errors@2.0.0-rc.1': - resolution: {integrity: sha512-ejNvQ2oJ7+bcFAYWj225lyRkHnixuAeb7RQCixm+5mH4n1IA4Qya/9Bmfy5RAAHQzxK43clu3kZmL5eF9VGtYQ==} + '@solana/codecs-strings@2.0.0-rc.4': + resolution: {integrity: sha512-LGfK2RL0BKjYYUfzu2FG/gTgCsYOMz9FKVs2ntji6WneZygPxJTV5W98K3J8Rl0JewpCSCFQH3xjLSHBJUS0fA==} + engines: {node: '>=20.18.0'} + peerDependencies: + fastestsmallesttextencoderdecoder: ^1.0.22 + typescript: '>=5' + + '@solana/codecs@2.0.0': + resolution: {integrity: sha512-xneIG5ppE6WIGaZCK7JTys0uLhzlnEJUdBO8nRVIyerwH6aqCfb0fGe7q5WNNYAVDRSxC0Pc1TDe1hpdx3KWmQ==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5' + + '@solana/errors@2.0.0': + resolution: {integrity: sha512-IHlaPFSy4lvYco1oHJ3X8DbchWwAwJaL/4wZKnF1ugwZ0g0re8wbABrqNOe/jyZ84VU9Z14PYM8W9oDAebdJbw==} + engines: {node: '>=20.18.0'} + hasBin: true + peerDependencies: + typescript: '>=5' + + '@solana/errors@2.0.0-rc.4': + resolution: {integrity: sha512-0PPaMyB81keEHG/1pnyEuiBVKctbXO641M2w3CIOrYT/wzjunfF0FTxsqq9wYJeYo0AyiefCKGgSPs6wiY2PpQ==} + engines: {node: '>=20.18.0'} hasBin: true peerDependencies: typescript: '>=5' + '@solana/options@2.0.0': + resolution: {integrity: sha512-OVc4KnYosB8oAukQ/htgrxXSxlUP6gUu5Aau6d/BgEkPQzWd/Pr+w91VWw3i3zZuu2SGpedbyh05RoJBe/hSXA==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5' + '@types/fs-extra@11.0.4': resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} @@ -129,21 +186,38 @@ packages: resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==} engines: {node: '>=8'} - call-bind@1.0.7: - resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} + + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} + engines: {node: '>= 0.4'} + + call-bound@1.0.3: + resolution: {integrity: sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==} engines: {node: '>= 0.4'} chalk@5.3.0: resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - codama@1.0.0: - resolution: {integrity: sha512-ttJ9n2THpqTD8fP8reec+Y2j4ZTBuonDJk8SiKuS6enZBXd67JF3b+GFKM2S5a0xtxN5Evof5aBlY3JyC+jujQ==} + chalk@5.4.1: + resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + codama@1.2.8: + resolution: {integrity: sha512-0OWQTK4Bx8mgnkudbWoVqhC98iS0py3vNRJHmWVCQ63PSfszgb+DC/9jCkQZMijFQtdUtUcstAYQBHPM5J0exg==} + hasBin: true commander@12.1.0: resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} + commander@13.1.0: + resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} + engines: {node: '>=18'} + commander@5.1.0: resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} engines: {node: '>= 6'} @@ -160,6 +234,10 @@ packages: resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} engines: {node: '>=8'} + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + duplexer@0.1.2: resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} @@ -167,10 +245,18 @@ packages: resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} engines: {node: '>= 0.4'} + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + es-errors@1.3.0: resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} engines: {node: '>= 0.4'} + es-object-atoms@1.1.1: + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} + engines: {node: '>= 0.4'} + event-stream@3.3.4: resolution: {integrity: sha512-QHpkERcGsR0T7Qm3HNJSyXKEEj8AHNxkY3PK8TS2KJvQ7NiSHe3DDpwVKKtoYprL/AreyzFBeIkBIWChAqn60g==} @@ -214,6 +300,14 @@ packages: resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} engines: {node: '>= 0.4'} + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + glob-parent@5.1.2: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} @@ -225,6 +319,10 @@ packages: gopd@1.0.1: resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} @@ -239,6 +337,10 @@ packages: resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} engines: {node: '>= 0.4'} + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + hasown@2.0.2: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} @@ -265,8 +367,8 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - json-stable-stringify@1.1.1: - resolution: {integrity: sha512-SU/971Kt5qVQfJpyDveVhQ/vya+5hvrjClFOcr8c0Fq5aODJjMwutrOfCU+eCnVD5gpx1Q3fEqkyom77zH1iIg==} + json-stable-stringify@1.2.1: + resolution: {integrity: sha512-Lp6HbbBgosLmJbjx0pBLbgvx68FaFU1sdkmBuckmhhJ88kL13OA51CDtR2yJB50eCNMH9wRqtQNNiAqQH4YXnA==} engines: {node: '>= 0.4'} jsonfile@6.1.0: @@ -275,9 +377,17 @@ packages: jsonify@0.0.1: resolution: {integrity: sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==} + kleur@3.0.3: + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} + engines: {node: '>=6'} + map-stream@0.1.0: resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==} + math-intrinsics@1.1.0: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} + merge2@1.4.1: resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} engines: {node: '>= 8'} @@ -318,15 +428,22 @@ packages: pause-stream@0.0.11: resolution: {integrity: sha512-e3FBlXLmN/D1S+zHzanP4E/4Z60oFAa3O051qt1pxa7DEJWKAyil6upYVXCWadEnuoqa4Pkc9oUx9zsxYeRv8A==} + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - prettier@3.3.3: - resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} + prettier@3.5.3: + resolution: {integrity: sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==} engines: {node: '>=14'} hasBin: true + prompts@2.4.2: + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} + engines: {node: '>= 6'} + ps-tree@1.2.0: resolution: {integrity: sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==} engines: {node: '>= 0.10'} @@ -346,6 +463,9 @@ packages: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} + sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + slash@4.0.0: resolution: {integrity: sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==} engines: {node: '>=12'} @@ -400,81 +520,128 @@ packages: snapshots: - '@codama/errors@1.0.0': + '@codama/cli@1.0.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@codama/node-types': 1.0.0 - chalk: 5.3.0 - commander: 12.1.0 + '@codama/nodes': 1.2.8 + '@codama/nodes-from-anchor': 1.1.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers': 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers-js': 1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers-js-umi': 1.1.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers-rust': 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/visitors': 1.2.8 + '@codama/visitors-core': 1.2.8 + commander: 13.1.0 + picocolors: 1.1.1 + prompts: 2.4.2 + transitivePeerDependencies: + - chokidar + - fastestsmallesttextencoderdecoder + - typescript - '@codama/node-types@1.0.0': {} + '@codama/errors@1.2.8': + dependencies: + '@codama/node-types': 1.2.8 + chalk: 5.4.1 + commander: 13.1.0 - '@codama/nodes-from-anchor@1.0.0': + '@codama/node-types@1.2.8': {} + + '@codama/nodes-from-anchor@1.1.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/visitors': 1.2.8 + '@noble/hashes': 1.7.1 + '@solana/codecs': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + - typescript + + '@codama/nodes@1.2.8': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/visitors': 1.0.0 - '@noble/hashes': 1.5.0 + '@codama/errors': 1.2.8 + '@codama/node-types': 1.2.8 - '@codama/nodes@1.0.0': + '@codama/renderers-core@1.0.10': dependencies: - '@codama/errors': 1.0.0 - '@codama/node-types': 1.0.0 + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/visitors-core': 1.2.8 - '@codama/renderers-core@1.0.0': + '@codama/renderers-js-umi@1.1.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/visitors-core': 1.0.0 + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/renderers-core': 1.0.10 + '@codama/validators': 1.2.8 + '@codama/visitors-core': 1.2.8 + '@solana/codecs-strings': 2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + nunjucks: 3.2.4 + prettier: 3.5.3 + transitivePeerDependencies: + - chokidar + - fastestsmallesttextencoderdecoder + - typescript - '@codama/renderers-js@1.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@codama/renderers-js@1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/nodes-from-anchor': 1.0.0 - '@codama/renderers-core': 1.0.0 - '@codama/visitors-core': 1.0.0 - '@solana/codecs-strings': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/nodes-from-anchor': 1.1.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers-core': 1.0.10 + '@codama/visitors-core': 1.2.8 + '@solana/codecs-strings': 2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) nunjucks: 3.2.4 - prettier: 3.3.3 + prettier: 3.5.3 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers-rust@1.0.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@codama/renderers-rust@1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/renderers-core': 1.0.0 - '@codama/visitors-core': 1.0.0 - '@solana/codecs-strings': 2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/renderers-core': 1.0.10 + '@codama/visitors-core': 1.2.8 + '@solana/codecs-strings': 2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) nunjucks: 3.2.4 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder - typescript - '@codama/validators@1.0.0': + '@codama/renderers@1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@codama/renderers-js': 1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers-js-umi': 1.1.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/renderers-rust': 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + transitivePeerDependencies: + - chokidar + - fastestsmallesttextencoderdecoder + - typescript + + '@codama/validators@1.2.8': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/visitors-core': 1.0.0 + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/visitors-core': 1.2.8 - '@codama/visitors-core@1.0.0': + '@codama/visitors-core@1.2.8': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - json-stable-stringify: 1.1.1 + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + json-stable-stringify: 1.2.1 - '@codama/visitors@1.0.0': + '@codama/visitors@1.2.8': dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/visitors-core': 1.0.0 + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/visitors-core': 1.2.8 '@iarna/toml@2.2.5': {} - '@noble/hashes@1.5.0': {} + '@noble/hashes@1.7.1': {} '@nodelib/fs.scandir@2.1.5': dependencies: @@ -488,31 +655,85 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@solana/codecs-core@2.0.0-rc.1(typescript@5.5.4)': + '@solana/codecs-core@2.0.0(typescript@5.5.4)': + dependencies: + '@solana/errors': 2.0.0(typescript@5.5.4) + typescript: 5.5.4 + + '@solana/codecs-core@2.0.0-rc.4(typescript@5.5.4)': + dependencies: + '@solana/errors': 2.0.0-rc.4(typescript@5.5.4) + typescript: 5.5.4 + + '@solana/codecs-data-structures@2.0.0(typescript@5.5.4)': + dependencies: + '@solana/codecs-core': 2.0.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.0.0(typescript@5.5.4) + typescript: 5.5.4 + + '@solana/codecs-numbers@2.0.0(typescript@5.5.4)': dependencies: - '@solana/errors': 2.0.0-rc.1(typescript@5.5.4) + '@solana/codecs-core': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.0.0(typescript@5.5.4) typescript: 5.5.4 - '@solana/codecs-numbers@2.0.0-rc.1(typescript@5.5.4)': + '@solana/codecs-numbers@2.0.0-rc.4(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.5.4) - '@solana/errors': 2.0.0-rc.1(typescript@5.5.4) + '@solana/codecs-core': 2.0.0-rc.4(typescript@5.5.4) + '@solana/errors': 2.0.0-rc.4(typescript@5.5.4) typescript: 5.5.4 - '@solana/codecs-strings@2.0.0-rc.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + '@solana/codecs-strings@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': dependencies: - '@solana/codecs-core': 2.0.0-rc.1(typescript@5.5.4) - '@solana/codecs-numbers': 2.0.0-rc.1(typescript@5.5.4) - '@solana/errors': 2.0.0-rc.1(typescript@5.5.4) + '@solana/codecs-core': 2.0.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) + '@solana/errors': 2.0.0(typescript@5.5.4) fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.5.4 - '@solana/errors@2.0.0-rc.1(typescript@5.5.4)': + '@solana/codecs-strings@2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/codecs-core': 2.0.0-rc.4(typescript@5.5.4) + '@solana/codecs-numbers': 2.0.0-rc.4(typescript@5.5.4) + '@solana/errors': 2.0.0-rc.4(typescript@5.5.4) + fastestsmallesttextencoderdecoder: 1.0.22 + typescript: 5.5.4 + + '@solana/codecs@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/codecs-core': 2.0.0(typescript@5.5.4) + '@solana/codecs-data-structures': 2.0.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) + '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/options': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/errors@2.0.0(typescript@5.5.4)': dependencies: chalk: 5.3.0 commander: 12.1.0 typescript: 5.5.4 + '@solana/errors@2.0.0-rc.4(typescript@5.5.4)': + dependencies: + chalk: 5.3.0 + commander: 12.1.0 + typescript: 5.5.4 + + '@solana/options@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4)': + dependencies: + '@solana/codecs-core': 2.0.0(typescript@5.5.4) + '@solana/codecs-data-structures': 2.0.0(typescript@5.5.4) + '@solana/codecs-numbers': 2.0.0(typescript@5.5.4) + '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@solana/errors': 2.0.0(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + '@types/fs-extra@11.0.4': dependencies: '@types/jsonfile': 6.1.4 @@ -540,25 +761,43 @@ snapshots: dependencies: fill-range: 7.1.1 - call-bind@1.0.7: + call-bind-apply-helpers@1.0.2: dependencies: - es-define-property: 1.0.0 es-errors: 1.3.0 function-bind: 1.1.2 + + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.0 get-intrinsic: 1.2.4 set-function-length: 1.2.2 + call-bound@1.0.3: + dependencies: + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 + chalk@5.3.0: {} - codama@1.0.0: + chalk@5.4.1: {} + + codama@1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4): dependencies: - '@codama/errors': 1.0.0 - '@codama/nodes': 1.0.0 - '@codama/validators': 1.0.0 - '@codama/visitors': 1.0.0 + '@codama/cli': 1.0.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.4) + '@codama/errors': 1.2.8 + '@codama/nodes': 1.2.8 + '@codama/validators': 1.2.8 + '@codama/visitors': 1.2.8 + transitivePeerDependencies: + - chokidar + - fastestsmallesttextencoderdecoder + - typescript commander@12.1.0: {} + commander@13.1.0: {} + commander@5.1.0: {} data-uri-to-buffer@4.0.1: {} @@ -573,14 +812,26 @@ snapshots: dependencies: path-type: 4.0.0 + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + duplexer@0.1.2: {} es-define-property@1.0.0: dependencies: get-intrinsic: 1.2.4 + es-define-property@1.0.1: {} + es-errors@1.3.0: {} + es-object-atoms@1.1.1: + dependencies: + es-errors: 1.3.0 + event-stream@3.3.4: dependencies: duplexer: 0.1.2 @@ -638,6 +889,24 @@ snapshots: has-symbols: 1.0.3 hasown: 2.0.2 + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + math-intrinsics: 1.1.0 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.1 + glob-parent@5.1.2: dependencies: is-glob: 4.0.3 @@ -654,6 +923,8 @@ snapshots: dependencies: get-intrinsic: 1.2.4 + gopd@1.2.0: {} + graceful-fs@4.2.11: {} has-property-descriptors@1.0.2: @@ -664,6 +935,8 @@ snapshots: has-symbols@1.0.3: {} + has-symbols@1.1.0: {} + hasown@2.0.2: dependencies: function-bind: 1.1.2 @@ -682,9 +955,10 @@ snapshots: isexe@2.0.0: {} - json-stable-stringify@1.1.1: + json-stable-stringify@1.2.1: dependencies: - call-bind: 1.0.7 + call-bind: 1.0.8 + call-bound: 1.0.3 isarray: 2.0.5 jsonify: 0.0.1 object-keys: 1.1.1 @@ -697,8 +971,12 @@ snapshots: jsonify@0.0.1: {} + kleur@3.0.3: {} + map-stream@0.1.0: {} + math-intrinsics@1.1.0: {} + merge2@1.4.1: {} micromatch@4.0.7: @@ -730,9 +1008,16 @@ snapshots: dependencies: through: 2.3.8 + picocolors@1.1.1: {} + picomatch@2.3.1: {} - prettier@3.3.3: {} + prettier@3.5.3: {} + + prompts@2.4.2: + dependencies: + kleur: 3.0.3 + sisteransi: 1.0.5 ps-tree@1.2.0: dependencies: @@ -755,6 +1040,8 @@ snapshots: gopd: 1.0.1 has-property-descriptors: 1.0.2 + sisteransi@1.0.5: {} + slash@4.0.0: {} split@0.3.3: