diff --git a/clients/js/package.json b/clients/js/package.json index a052138..41e1241 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -42,13 +42,13 @@ }, "homepage": "https://github.com/solana-program/system#readme", "peerDependencies": { - "@solana/kit": "^2.1.0" + "@solana/kit": "^3.0" }, "devDependencies": { "@ava/typescript": "^4.1.0", "@solana/eslint-config-solana": "^3.0.3", - "@solana/kit": "^2.1.0", - "@types/node": "^20", + "@solana/kit": "^3.0", + "@types/node": "^24", "@typescript-eslint/eslint-plugin": "^7.16.1", "@typescript-eslint/parser": "^7.16.1", "ava": "^6.1.3", diff --git a/clients/js/pnpm-lock.yaml b/clients/js/pnpm-lock.yaml index 364fbbd..ce7aae6 100644 --- a/clients/js/pnpm-lock.yaml +++ b/clients/js/pnpm-lock.yaml @@ -15,11 +15,11 @@ importers: specifier: ^3.0.3 version: 3.0.3(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-react-hooks@4.6.0(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@solana/kit': - specifier: ^2.1.0 - version: 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) + specifier: ^3.0 + version: 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) '@types/node': - specifier: ^20 - version: 20.14.11 + specifier: ^24 + version: 24.3.0 '@typescript-eslint/eslint-plugin': specifier: ^7.16.1 version: 7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) @@ -361,61 +361,61 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} - '@solana/accounts@2.1.0': - resolution: {integrity: sha512-1JOBiLFeIeHmGx7k1b23UWF9vM1HAh9GBMCzr5rBPrGSBs+QUgxBJ3+yrRg+UPEOSELubqo7qoOVFUKYsb1nXw==} + '@solana/accounts@3.0.1': + resolution: {integrity: sha512-mnSikkN1QFuo77nPnXduynNteP28UnGDJDaSZ7eruyHTNwYymHzadnjkyzdh132pKYcUfyXmoqX2wfBFQ2RQqw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/addresses@2.1.0': - resolution: {integrity: sha512-IgiRuju2yLz14GnrysOPSNZbZQ8F+7jhx7FYZLrbKogf6NX4wy4ijLHxRsLFqP8o8aY69BZULkM9MwrSjsZi7A==} + '@solana/addresses@3.0.1': + resolution: {integrity: sha512-1trIGrZVOw6pVhusQi9rYigUt2cAxPgcd2fs0wCXN+uRnJWKvZCmqegfHVOvygy5ac65yECeyrinl6TGStbxbw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/assertions@2.1.0': - resolution: {integrity: sha512-KCYmxFRsg897Ec7yGdpc0rniOlqGD3NpicmIjWIV87uiXX5uFco4t+01sKyFlhsv4T4OgHxngMsxkfQ3AUkFVg==} + '@solana/assertions@3.0.1': + resolution: {integrity: sha512-tTARLS/c01vISXYC3xsU5R+SUiAo+wn59Me4xlqk0d8erWxjEgEj3uHGTO+xEiQyjEhPNv4rfEx+vmk8mAvCUQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/codecs-core@2.1.0': - resolution: {integrity: sha512-SR7pKtmJBg2mhmkel2NeHA1pz06QeQXdMv8WJoIR9m8F/hw80K/612uaYbwTt2nkK0jg/Qn/rNSd7EcJ4SBGjw==} + '@solana/codecs-core@3.0.1': + resolution: {integrity: sha512-7U12QJX6VZeq03r0l0SZnGPk+YHbyU9lDjEZpjiSHdWbixy8inoYTsqV523Soy41SnGwvVsfiJf7SUB5kvgGaQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/codecs-data-structures@2.1.0': - resolution: {integrity: sha512-oDF5ek54kirqJ09q8k/qEpobBiWOhd3CkkGOTyfjsmTF/IGIigNbdYIakxV3+vudBeaNBw08y0XdBYI4JL/nqA==} + '@solana/codecs-data-structures@3.0.1': + resolution: {integrity: sha512-0VarnZxfxm77iTc5aq7mHxXHa6mlFCpkKboT+oc+8jXOCwLyNIss480qc7QX+2FVFSwB5gRIlR36/RubaIDbLg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/codecs-numbers@2.1.0': - resolution: {integrity: sha512-XMu4yw5iCgQnMKsxSWPPOrGgtaohmupN3eyAtYv3K3C/MJEc5V90h74k5B1GUCiHvcrdUDO9RclNjD9lgbjFag==} + '@solana/codecs-numbers@3.0.1': + resolution: {integrity: sha512-HdXioWMVc0Ih9N7vuEF11pMwQWHqSF/TQrCDKljr981QQ5q/pBleUZB3hM43zP/ndnTasIxqAuLXIypricAGqg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/codecs-strings@2.1.0': - resolution: {integrity: sha512-O/eJFLzFrHomcCR1Y5QbIqoPo7iaJaWNnIeskB4mVhVjLyjlJS4WtBP2NBRzM9uJXaXyOxxKroqqO9zFsHOpvQ==} + '@solana/codecs-strings@3.0.1': + resolution: {integrity: sha512-UxaD1Xdxe35Y2B0HnSHe48ok8ew+tyrVI1w65eHj0NzGb9FxLx/KuuEg/b/qXQRUB75JQjDo8IBh5rWZ7rl5qQ==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/codecs@2.1.0': - resolution: {integrity: sha512-C0TnfrpbTg7zoIFYfM65ofeL2AWEz80OsD6mjVdcTKpb1Uj7XuBuNLss3dMnatPQaL7RagD9VLA5/WfYayyteQ==} + '@solana/codecs@3.0.1': + resolution: {integrity: sha512-bvSz1L2H/WlTqUvPtEfF4IDhp1PpZeqUdvkfy3X1sj6n/A+k08FyB3T2AbjoeOm1XAg70voYHjal/nE8SAzQFw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/errors@2.1.0': - resolution: {integrity: sha512-l+GxAv0Ar4d3c3PlZdA9G++wFYZREEbbRyAFP8+n8HSg0vudCuzogh/13io6hYuUhG/9Ve8ARZNamhV7UScKNw==} + '@solana/errors@3.0.1': + resolution: {integrity: sha512-/EhRoJLrO03wj+3/miA6YkBnGjAS12mvilWkQ4LBv/hVqhUF9V8JXpSMnD40hoaMraE23V9IaHNHcfoJmldjwA==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' '@solana/eslint-config-solana@3.0.3': resolution: {integrity: sha512-yTaeCbOBwjmK4oUkknixOpwOzzAK8+4YWvJEJFNHuueESetieDnAeEHV7rzJllFgHEWa9nXps9Q3aD4/XJp71A==} @@ -430,162 +430,174 @@ packages: eslint-plugin-typescript-sort-keys: ^3.2.0 typescript: ^5.1.6 - '@solana/fast-stable-stringify@2.1.0': - resolution: {integrity: sha512-a8vR92qbe/VsvQ1BpN3PIEwnoHD2fTHEwCJh9GG58z3R15RIjk73gc0khjcdg4U1tZwTJqWkvk8SbDIgGdOgMA==} + '@solana/fast-stable-stringify@3.0.1': + resolution: {integrity: sha512-/E9Hzk1XcCxp2DDXfzQYcgT6SZtJOzTij01UxSpvmsPYai/WwYtig09B/TTZO7a7C3+pstRZnba4XyFnmlrSUw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/functional@2.1.0': - resolution: {integrity: sha512-RVij8Av4F2uUOFcEC8n9lgD72e9gQMritmGHhMh+G91Xops4I6Few+oQ++XgSTiL2t3g3Cs0QZ13onZ0FL45FQ==} + '@solana/functional@3.0.1': + resolution: {integrity: sha512-wH0wUWKAB6sVxZ7+JQBVIAsZQWP0G4q/QaI3WGTuVNPNXwnNDkAuKNJFGSqugrWZTn2OKJHMHJUUWPNEKSkhcw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/instructions@2.1.0': - resolution: {integrity: sha512-wfn6e7Rgm0Sw/Th1v/pXsKTvloZvAAQI7j1yc9WcIk9ngqH5p6LhqMMkrwYPB2oTk8+MMr7SZ4E+2eK2gL6ODA==} + '@solana/instruction-plans@3.0.1': + resolution: {integrity: sha512-YIWApyXGS3lhbI8lN9TzPNm1dBtvJBpPutccABqAVmSo06oi85TtWKLST7bv6qPIAP/iJX/dxMjG+K1Xqognyg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/keys@2.1.0': - resolution: {integrity: sha512-esY1+dlZjB18hZML5p+YPec29wi3HH0SzKx7RiqF//dI2cJ6vHfq3F+7ArbNnF6R2YCLFtl7DzS/tkqR2Xkxeg==} + '@solana/instructions@3.0.1': + resolution: {integrity: sha512-JoMW+nXotoRWmN8BR1xt5IjLADOtP9NhNcLkQtwvqq2uVPMwe2WgUgHAlwSBWvVTZ6eN1T9WL57uUahC1CcWaw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/kit@2.1.0': - resolution: {integrity: sha512-vqaHROLKp89xdIbaKVG6BQ44uMN9E6/rSTeltkvquD2qdTObssafGDbAKVFjwZhlNO+sdzHDCLekGabn5VAL6A==} + '@solana/keys@3.0.1': + resolution: {integrity: sha512-6DdquYFD+btdoM6kwoj/VJvfUmsz+yRkErmqlcIqGS/Ztqsi1cxo+yTYuJD3jFaCl7VIOu3oxrNzjAeaJLhkxg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/options@2.1.0': - resolution: {integrity: sha512-T/vJCr8qnwK6HxriOPXCrx31IpA9ZYecxuOzQ3G74kIayED4spmpXp6PLtRYR/fo2LZ6UcgHN0qSgONnvwEweg==} + '@solana/kit@3.0.1': + resolution: {integrity: sha512-kQaCLad8ZlFhnJYs2UmhkCULq1XLDYwH9x8VuV6hkD8SJHvRU12SrXN27RcrizAKFkucqyCno/FhqLng7WA8yQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/programs@2.1.0': - resolution: {integrity: sha512-9Y30/yUbTR99+QRN2ukNXQQTGY68oKmVrXnh/et6StM1JF5WHvAJqBigsHG5bt6KxTISoRuncBnH/IRnDqPxKg==} + '@solana/nominal-types@3.0.1': + resolution: {integrity: sha512-EpcR8HMowYUewTgQ7LRS2AcBs+Rqe4t/O4ehyLzdrZJh5yHuEfDFDPXRqJCR0Su5ShxEZhSNNro/4IlctBEjYw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/promises@2.1.0': - resolution: {integrity: sha512-eQJaQXA2kD4dVyifzhslV3wOvq27fwOJ4az89BQ4Cz83zPbR94xOeDShwcXrKBYqaUf6XqH5MzdEo14t4tKAFQ==} + '@solana/options@3.0.1': + resolution: {integrity: sha512-BlOmXLh4/NDoq89j4gJLg0lVQNnp2Mn76efCUeh/r99NIoliDJPQFPnjvfbBiAN5BvJksr7RCkAamZQjD2j7rw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-api@2.1.0': - resolution: {integrity: sha512-4yCnHYHFlz9VffivoY5q/HVeBjT59byB2gmg7UyC3ktxD28AlF9jjsE5tJKiapAKr2J3KWm0D/rH/QwW14cGeA==} + '@solana/programs@3.0.1': + resolution: {integrity: sha512-Ao2JsRZO6NbxIbKQQWsaetZBotjH1nQ+Ona5FvKxBmTa6p2maM88j+rSJmMtstZGVKiapDIGQESYwZXenUfuhQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-parsed-types@2.1.0': - resolution: {integrity: sha512-mRzHemxlWDS9p1fPQNKwL+1vEOUMG8peSUJb0X/NbM12yjowDNdzM++fkOgIyCKDPddfkcoNmNrQmr2jwjdN1Q==} + '@solana/promises@3.0.1': + resolution: {integrity: sha512-2BRbJNiBDenMKOqtvpXbfkCS8VjhZQgaYarff+O7FCn/w7toTHp1H6hqWjSL429omF7oj6fAqq3Lg26ZrUea9g==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-spec-types@2.1.0': - resolution: {integrity: sha512-NxcZ8piXMyCdbNUL6d36QJfL2UAQEN33StlGku0ltTVe1nrokZ5WRNjSPohU1fODlNaZzTvUFzvUkM1yGCkyzw==} + '@solana/rpc-api@3.0.1': + resolution: {integrity: sha512-FEqxaVeUFuhafQCKfFFismEPKGygzbZJmnB1CCIoC3Xs2c/ab0R3H6yFVXONVS/mKFXMHRiJhJMCm2f2VncR3w==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-spec@2.1.0': - resolution: {integrity: sha512-NPAIM5EY7Jke0mHnmoMpgCEb/nZKIo+bgVFK/u+z74gY0JnCNt0DfocStUUQtlhqSmTyoHamt3lfxp4GT2zXbA==} + '@solana/rpc-parsed-types@3.0.1': + resolution: {integrity: sha512-+BXgL5KREoal01M5tGIuVwlO1aenq1jlr2TZeYD/SPFSVRrNQkHnkPWwJzOjuqJ+NuOakBuzgOHY9cfgacz+xg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-subscriptions-api@2.1.0': - resolution: {integrity: sha512-de1dBRSE2CUwoZHMXQ/0v7iC+/pG0+iYY8jLHGGNxtKrYbTnV08mXQbaAMrmv2Rk8ZFmfJWbqbYZ9dRWdO3P5g==} + '@solana/rpc-spec-types@3.0.1': + resolution: {integrity: sha512-UU/blVNDihiC/fkwv4AKqSmiwkTjuJ/xy33D4TmpnByI9J5uRFTDWAo8PlMudQOdMi+j14y8THpKCz+P3di2ZA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-subscriptions-channel-websocket@2.1.0': - resolution: {integrity: sha512-goJe9dv0cs967HJ382vSX8yapXgQzRHCmH323LsXrrpj/s3Eb3yUwJq7AcHgoh4gKIqyAfGybq/bE5Aa8Pcm9g==} + '@solana/rpc-spec@3.0.1': + resolution: {integrity: sha512-N/y2Oual+aP+AxR4uYNoZ99nJ4gpeWqWq6w8G/LLR+FWrRUKFeUAJabOLLbIYRPF2Xw3QO5DGa5suDF+UO4O0w==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' + + '@solana/rpc-subscriptions-api@3.0.1': + resolution: {integrity: sha512-/SfNNYsMcN2EYcnfM1FVRW54I1kLw/6mY+/ET7I1tCiSsPzlueF8cZ+0atHznDyKkjK5LvNTyAGpPCSy2srL0w==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5.3.3' + + '@solana/rpc-subscriptions-channel-websocket@3.0.1': + resolution: {integrity: sha512-ozfc0NxFlPBluqX4W8Tu2xOEncod1cSVFQ3LkTnHv5m8VmShHTuN5r2mY+z27TwQAtUdsvs29sSHMRQUbAONGA==} + engines: {node: '>=20.18.0'} + peerDependencies: + typescript: '>=5.3.3' ws: ^8.18.0 - '@solana/rpc-subscriptions-spec@2.1.0': - resolution: {integrity: sha512-Uqasfd3Tlr22lC/Vy5dToF0e68dMKPdnt4ks7FwXuPdEbNRM/TDGb0GqG+bt/d3IIrNOCA5Y8vsE0nQHGrWG/w==} + '@solana/rpc-subscriptions-spec@3.0.1': + resolution: {integrity: sha512-OZfd4P9jHabUxLTocJ8QdRJye+tKvBcrf6Kjibvr2E6JAKdJ2qoLTNQN4jeh66VvfHpGfsV3tXfHCIG2XeKUGA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-subscriptions@2.1.0': - resolution: {integrity: sha512-dTyI03VlueE3s7mA/OBlA5l6yKUUKHMJd31tpzxV3AFnqE/QPS5NVrF/WY6pPBobLJiCP0UFOe7eR/MKP9SUCA==} + '@solana/rpc-subscriptions@3.0.1': + resolution: {integrity: sha512-ZGehdTl/8rdXJ+oYuIx1c96VJN/QLqUdaWkawGO9ydYsJGVEMEzuMXhEPmfOr7Tua7LxLUsKVH3ZE7Fr1YVVVg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-transformers@2.1.0': - resolution: {integrity: sha512-E2xPlaCu6tNO00v4HIJxJCYkoNwgVJYad5sxbIUZOQBWwXnWIcll2jUT4bWKpBGq5vFDYfkzRBr8Rco3DhfXqg==} + '@solana/rpc-transformers@3.0.1': + resolution: {integrity: sha512-AuSLW9f3dcdv6AZtRbupf2Rs5aoMbYJe57MjTTg/D2tq8n5WuJi1/8tzr7hVnz2Pq1Jou5IOw2BgAueDh0fHnA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-transport-http@2.1.0': - resolution: {integrity: sha512-E3UovTBid4/S8QDd9FkADVKfyG+v7CW5IqI4c27ZDKfazCsnDLLkqh98C6BvNCqi278HKBui4lI2GoFpCq89Pw==} + '@solana/rpc-transport-http@3.0.1': + resolution: {integrity: sha512-0k9wxFuoHppYQ/pao/Mg9SiR5UnGmWBkEkOaKv0ivg++O/vkirBVrBvFdPMncsoct6NUt3eUiBbd5OfI8ffBkA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc-types@2.1.0': - resolution: {integrity: sha512-1ODnhmpR1X/GjB7hs4gVR3mcCagfPQV0dzq/2DNuCiMjx2snn64KP5WoAHfBEyoC9/Rb36+JpNj/hLAOikipKA==} + '@solana/rpc-types@3.0.1': + resolution: {integrity: sha512-f9n5YiynR5JxFrLJlnRBhd0wNpns3y2FcLsjS8bEhbRLI8CJcu/2WTZTpJk+2RvUyjWIiW4ib3MBzl+q553/LA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/rpc@2.1.0': - resolution: {integrity: sha512-myg9qAo6b2WKyHSMXURQykb+ZRnNEXBPLEcwRwkos8STzPPyRFg6ady2s0FCQQTtL/pVjanIU2bObZIzbMGugA==} + '@solana/rpc@3.0.1': + resolution: {integrity: sha512-TZFAUlxYVPFUfoq5boOIaUwT3p/8bDb2hkVtfZCXX2PfvyNw8/6BpDvTejtk9M7XRBJa8ZGjvqsTKqQpiTwVLQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/signers@2.1.0': - resolution: {integrity: sha512-Yq0JdJnCecRsSBshNWy+OIRmAGeVfjwIh9Z+H1jv8u8p+dJCOreKakTWuxMt5tnj3q5K1mPcak9O2PqVPZ0teA==} + '@solana/signers@3.0.1': + resolution: {integrity: sha512-VhsMJWr6NfGorBY/aaP+6RGcmCIZQA3R6TPKYFkTFkTGrm+XR2Qlvfj6lTujHSWwvhpUnRFaYD+mIsJaN5LthA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/subscribable@2.1.0': - resolution: {integrity: sha512-xi12Cm889+uT5sRKnIzr7nLnHAp3hiR3dqIzrT1P7z7iEGp8OnqUQIQCHlgozFHM2cPW+6685NQXk1l1ImuJIw==} + '@solana/subscribable@3.0.1': + resolution: {integrity: sha512-HFLwqL9GHAFrLfIE6d4pCUVY0lcLbN7x6vZpeZHFzGxUZ9GL11EkOBPvX4MTog5VLypCbagxcsJ20ouQLvnkTA==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/sysvars@2.1.0': - resolution: {integrity: sha512-GXu9yS0zIebmM1Unqw/XFpYuvug03m42w98ioOPV/yiHzECggGRGpHGD9RLVYnkyz0eL4NRbnJ5dAEu/fvGe0A==} + '@solana/sysvars@3.0.1': + resolution: {integrity: sha512-zsA9xyXJHtBEtbrSiwrq3ZO6QM0WXGUZbwUYGcM7iXivC3MGb3ZC+ogLwdpC3QYy/UbPPhG5m/47ZNm3ql7WLg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/transaction-confirmation@2.1.0': - resolution: {integrity: sha512-VxOvtvs2e9h5u73PHyE2TptLAMO5x6dOXlOgvq1Nk6l3rKM2HAsd+KDpN7gjOo8/EgItMMmyEilXygWWRgpSIA==} + '@solana/transaction-confirmation@3.0.1': + resolution: {integrity: sha512-fzrLtlp3J46ankVXup7lVK4s6nXctcv2fljNA7m1akqtUu00wu+4Dhrf0HL7gRtCcrPXieHdIX3oytChpDyvCg==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/transaction-messages@2.1.0': - resolution: {integrity: sha512-+GPzZHLYNFbqHKoiL8mYALp7eAXtAbI6zLViZpIM3zUbVNU3q5+FCKGv6jCBnxs+3QCbeapu+W1OyfDa6BUtTQ==} + '@solana/transaction-messages@3.0.1': + resolution: {integrity: sha512-A5ICJJ0UdfcQucbyEws6a4h6MQIQFNq0n6V8zjMNg24n7G/DHdjWH2C7LoqdjgJyR+bXcbdh/X8Igylvs12RYQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' - '@solana/transactions@2.1.0': - resolution: {integrity: sha512-QeM4sCItReeIy5LU7LhGkz7RPfMPTg/Qo8h0LSfhiJiPTOHOhElmh42vkLJmwPl83+MsKtisyPQNK6penM2nAw==} + '@solana/transactions@3.0.1': + resolution: {integrity: sha512-2NjauyVisXse1MyALU+0e9E/VqDkmz4EjyeHHxtEtsRXvWR8+uG+me8k+c94L3a+PptxlWgWann3NRHhX+39vQ==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} @@ -593,8 +605,8 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/node@20.14.11': - resolution: {integrity: sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==} + '@types/node@24.3.0': + resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==} '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} @@ -854,6 +866,10 @@ packages: resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + chalk@5.6.0: + resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + chokidar@3.6.0: resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} engines: {node: '>= 8.10.0'} @@ -895,9 +911,9 @@ packages: resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} hasBin: true - commander@13.1.0: - resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} - engines: {node: '>=18'} + commander@14.0.0: + resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==} + engines: {node: '>=20'} commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} @@ -1916,11 +1932,11 @@ packages: engines: {node: '>=14.17'} hasBin: true - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@7.10.0: + resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==} - undici-types@7.3.0: - resolution: {integrity: sha512-z2pHpkN2BEJl3QlQo0GtfGCyuhuBbWX60vzGwyn7ex/seM2UkvyGEfEV0Qb9pXc5StNfcJpsstgaf2YTEJa63Q==} + undici-types@7.15.0: + resolution: {integrity: sha512-Xyn5T99wU4kPhLZMm+ElE6M+IoSeG8Se7eG9xoZ82ZgVHJ07wb/IWcDZeXe2GOPkavcJ8ko5oSlXMDRl/QgY9Q==} unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} @@ -2235,74 +2251,75 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@solana/accounts@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/accounts@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec': 2.1.0(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec': 3.0.1(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/addresses@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/addresses@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/assertions': 2.1.0(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/assertions': 3.0.1(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@2.1.0(typescript@5.5.3)': + '@solana/assertions@3.0.1(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-core@2.1.0(typescript@5.5.3)': + '@solana/codecs-core@3.0.1(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-data-structures@2.1.0(typescript@5.5.3)': + '@solana/codecs-data-structures@3.0.1(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-numbers@2.1.0(typescript@5.5.3)': + '@solana/codecs-numbers@3.0.1(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/codecs-strings@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/codecs-strings@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.5.3 - '@solana/codecs@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/codecs@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-data-structures': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/options': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/options': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@2.1.0(typescript@5.5.3)': + '@solana/errors@3.0.1(typescript@5.5.3)': dependencies: - chalk: 5.3.0 - commander: 13.1.0 + chalk: 5.6.0 + commander: 14.0.0 typescript: 5.5.3 '@solana/eslint-config-solana@3.0.3(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-react-hooks@4.6.0(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)': @@ -2317,273 +2334,295 @@ snapshots: eslint-plugin-typescript-sort-keys: 3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) typescript: 5.5.3 - '@solana/fast-stable-stringify@2.1.0(typescript@5.5.3)': + '@solana/fast-stable-stringify@3.0.1(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/functional@2.1.0(typescript@5.5.3)': + '@solana/functional@3.0.1(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/instructions@2.1.0(typescript@5.5.3)': + '@solana/instruction-plans@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/instructions': 3.0.1(typescript@5.5.3) + '@solana/promises': 3.0.1(typescript@5.5.3) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 + transitivePeerDependencies: + - fastestsmallesttextencoderdecoder + + '@solana/instructions@3.0.1(typescript@5.5.3)': + dependencies: + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/keys@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/keys@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/assertions': 2.1.0(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/assertions': 3.0.1(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/kit@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0)': - dependencies: - '@solana/accounts': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/instructions': 2.1.0(typescript@5.5.3) - '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/programs': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-parsed-types': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) - '@solana/rpc-subscriptions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/signers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/sysvars': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-confirmation': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) - '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/kit@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0)': + dependencies: + '@solana/accounts': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/instruction-plans': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/instructions': 3.0.1(typescript@5.5.3) + '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/programs': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-parsed-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-subscriptions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/signers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/sysvars': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-confirmation': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/options@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/nominal-types@3.0.1(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-data-structures': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + typescript: 5.5.3 + + '@solana/options@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/programs@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/promises@2.1.0(typescript@5.5.3)': + '@solana/promises@3.0.1(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/rpc-api@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': - dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-parsed-types': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec': 2.1.0(typescript@5.5.3) - '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-api@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-parsed-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec': 3.0.1(typescript@5.5.3) + '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-parsed-types@2.1.0(typescript@5.5.3)': + '@solana/rpc-parsed-types@3.0.1(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/rpc-spec-types@2.1.0(typescript@5.5.3)': + '@solana/rpc-spec-types@3.0.1(typescript@5.5.3)': dependencies: typescript: 5.5.3 - '@solana/rpc-spec@2.1.0(typescript@5.5.3)': + '@solana/rpc-spec@3.0.1(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/rpc-subscriptions-api@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc-subscriptions-api@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-subscriptions-spec': 2.1.0(typescript@5.5.3) - '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 3.0.1(typescript@5.5.3) + '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-channel-websocket@2.1.0(typescript@5.5.3)(ws@8.16.0)': + '@solana/rpc-subscriptions-channel-websocket@3.0.1(typescript@5.5.3)(ws@8.16.0)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/rpc-subscriptions-spec': 2.1.0(typescript@5.5.3) - '@solana/subscribable': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 3.0.1(typescript@5.5.3) + '@solana/subscribable': 3.0.1(typescript@5.5.3) typescript: 5.5.3 ws: 8.16.0 - '@solana/rpc-subscriptions-spec@2.1.0(typescript@5.5.3)': + '@solana/rpc-subscriptions-spec@3.0.1(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/promises': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) - '@solana/subscribable': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/promises': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) + '@solana/subscribable': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/rpc-subscriptions@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0)': - dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/fast-stable-stringify': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/promises': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) - '@solana/rpc-subscriptions-api': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-subscriptions-channel-websocket': 2.1.0(typescript@5.5.3)(ws@8.16.0) - '@solana/rpc-subscriptions-spec': 2.1.0(typescript@5.5.3) - '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/subscribable': 2.1.0(typescript@5.5.3) + '@solana/rpc-subscriptions@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0)': + dependencies: + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/fast-stable-stringify': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/promises': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-subscriptions-api': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions-channel-websocket': 3.0.1(typescript@5.5.3)(ws@8.16.0) + '@solana/rpc-subscriptions-spec': 3.0.1(typescript@5.5.3) + '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/subscribable': 3.0.1(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/rpc-transformers@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc-transformers@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-transport-http@2.1.0(typescript@5.5.3)': + '@solana/rpc-transport-http@3.0.1(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - undici-types: 7.3.0 + undici-types: 7.15.0 - '@solana/rpc-types@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/rpc-types@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': - dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/fast-stable-stringify': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/rpc-api': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-spec': 2.1.0(typescript@5.5.3) - '@solana/rpc-spec-types': 2.1.0(typescript@5.5.3) - '@solana/rpc-transformers': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-transport-http': 2.1.0(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/fast-stable-stringify': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/rpc-api': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-spec': 3.0.1(typescript@5.5.3) + '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-transport-http': 3.0.1(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/signers@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/signers@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/instructions': 2.1.0(typescript@5.5.3) - '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/instructions': 3.0.1(typescript@5.5.3) + '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/subscribable@2.1.0(typescript@5.5.3)': + '@solana/subscribable@3.0.1(typescript@5.5.3)': dependencies: - '@solana/errors': 2.1.0(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) typescript: 5.5.3 - '@solana/sysvars@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + '@solana/sysvars@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/accounts': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/accounts': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transaction-confirmation@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0)': - dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/promises': 2.1.0(typescript@5.5.3) - '@solana/rpc': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-subscriptions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transactions': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-confirmation@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0)': + dependencies: + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/promises': 3.0.1(typescript@5.5.3) + '@solana/rpc': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.16.0) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/transaction-messages@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': - dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-data-structures': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/instructions': 2.1.0(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/instructions': 3.0.1(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transactions@2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': - dependencies: - '@solana/addresses': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/codecs-core': 2.1.0(typescript@5.5.3) - '@solana/codecs-data-structures': 2.1.0(typescript@5.5.3) - '@solana/codecs-numbers': 2.1.0(typescript@5.5.3) - '@solana/codecs-strings': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/errors': 2.1.0(typescript@5.5.3) - '@solana/functional': 2.1.0(typescript@5.5.3) - '@solana/instructions': 2.1.0(typescript@5.5.3) - '@solana/keys': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/rpc-types': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) - '@solana/transaction-messages': 2.1.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 3.0.1(typescript@5.5.3) + '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3) + '@solana/codecs-numbers': 3.0.1(typescript@5.5.3) + '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 3.0.1(typescript@5.5.3) + '@solana/functional': 3.0.1(typescript@5.5.3) + '@solana/instructions': 3.0.1(typescript@5.5.3) + '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/nominal-types': 3.0.1(typescript@5.5.3) + '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder @@ -2592,9 +2631,9 @@ snapshots: '@types/json-schema@7.0.15': {} - '@types/node@20.14.11': + '@types/node@24.3.0': dependencies: - undici-types: 5.26.5 + undici-types: 7.10.0 '@types/semver@7.5.8': {} @@ -2916,6 +2955,8 @@ snapshots: chalk@5.3.0: {} + chalk@5.6.0: {} + chokidar@3.6.0: dependencies: anymatch: 3.1.3 @@ -2959,7 +3000,7 @@ snapshots: color-support@1.1.3: {} - commander@13.1.0: {} + commander@14.0.0: {} commander@4.1.1: {} @@ -3922,9 +3963,9 @@ snapshots: typescript@5.5.3: {} - undici-types@5.26.5: {} + undici-types@7.10.0: {} - undici-types@7.3.0: {} + undici-types@7.15.0: {} unicorn-magic@0.1.0: {} diff --git a/clients/js/src/generated/accounts/nonce.ts b/clients/js/src/generated/accounts/nonce.ts index 274894d..9423655 100644 --- a/clients/js/src/generated/accounts/nonce.ts +++ b/clients/js/src/generated/accounts/nonce.ts @@ -21,12 +21,12 @@ import { getU64Encoder, type Account, type Address, - type Codec, - type Decoder, type EncodedAccount, - type Encoder, type FetchAccountConfig, type FetchAccountsConfig, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, } from '@solana/kit'; @@ -57,7 +57,7 @@ export type NonceArgs = { lamportsPerSignature: number | bigint; }; -export function getNonceEncoder(): Encoder { +export function getNonceEncoder(): FixedSizeEncoder { return getStructEncoder([ ['version', getNonceVersionEncoder()], ['state', getNonceStateEncoder()], @@ -67,7 +67,7 @@ export function getNonceEncoder(): Encoder { ]); } -export function getNonceDecoder(): Decoder { +export function getNonceDecoder(): FixedSizeDecoder { return getStructDecoder([ ['version', getNonceVersionDecoder()], ['state', getNonceStateDecoder()], @@ -77,7 +77,7 @@ export function getNonceDecoder(): Decoder { ]); } -export function getNonceCodec(): Codec { +export function getNonceCodec(): FixedSizeCodec { return combineCodec(getNonceEncoder(), getNonceDecoder()); } diff --git a/clients/js/src/generated/instructions/advanceNonceAccount.ts b/clients/js/src/generated/instructions/advanceNonceAccount.ts index fb9928d..7341d77 100644 --- a/clients/js/src/generated/instructions/advanceNonceAccount.ts +++ b/clients/js/src/generated/instructions/advanceNonceAccount.ts @@ -13,17 +13,18 @@ import { getU32Decoder, getU32Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, } from '@solana/kit'; @@ -38,15 +39,15 @@ export function getAdvanceNonceAccountDiscriminatorBytes() { export type AdvanceNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNonceAccount extends string | IAccountMeta = string, + TAccountNonceAccount extends string | AccountMeta = string, TAccountRecentBlockhashesSysvar extends | string - | IAccountMeta = 'SysvarRecentB1ockHashes11111111111111111111', - TAccountNonceAuthority extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + | AccountMeta = 'SysvarRecentB1ockHashes11111111111111111111', + TAccountNonceAuthority extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNonceAccount extends string ? WritableAccount @@ -56,7 +57,7 @@ export type AdvanceNonceAccountInstruction< : TAccountRecentBlockhashesSysvar, TAccountNonceAuthority extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountNonceAuthority, ...TRemainingAccounts, ] @@ -66,7 +67,7 @@ export type AdvanceNonceAccountInstructionData = { discriminator: number }; export type AdvanceNonceAccountInstructionDataArgs = {}; -export function getAdvanceNonceAccountInstructionDataEncoder(): Encoder { +export function getAdvanceNonceAccountInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([['discriminator', getU32Encoder()]]), (value) => ({ @@ -76,11 +77,11 @@ export function getAdvanceNonceAccountInstructionDataEncoder(): Encoder { +export function getAdvanceNonceAccountInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([['discriminator', getU32Decoder()]]); } -export function getAdvanceNonceAccountInstructionDataCodec(): Codec< +export function getAdvanceNonceAccountInstructionDataCodec(): FixedSizeCodec< AdvanceNonceAccountInstructionDataArgs, AdvanceNonceAccountInstructionData > { @@ -162,7 +163,7 @@ export function getAdvanceNonceAccountInstruction< export type ParsedAdvanceNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -175,11 +176,11 @@ export type ParsedAdvanceNonceAccountInstruction< export function parseAdvanceNonceAccountInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedAdvanceNonceAccountInstruction { if (instruction.accounts.length < 3) { // TODO: Coded error. @@ -187,7 +188,7 @@ export function parseAdvanceNonceAccountInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/allocate.ts b/clients/js/src/generated/instructions/allocate.ts index 2dba77c..ed7801e 100644 --- a/clients/js/src/generated/instructions/allocate.ts +++ b/clients/js/src/generated/instructions/allocate.ts @@ -15,15 +15,16 @@ import { getU64Decoder, getU64Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, + type ReadonlyUint8Array, type TransactionSigner, type WritableSignerAccount, } from '@solana/kit'; @@ -38,15 +39,15 @@ export function getAllocateDiscriminatorBytes() { export type AllocateInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNewAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountNewAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNewAccount extends string ? WritableSignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountNewAccount, ...TRemainingAccounts, ] @@ -56,7 +57,7 @@ export type AllocateInstructionData = { discriminator: number; space: bigint }; export type AllocateInstructionDataArgs = { space: number | bigint }; -export function getAllocateInstructionDataEncoder(): Encoder { +export function getAllocateInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -66,14 +67,14 @@ export function getAllocateInstructionDataEncoder(): Encoder { +export function getAllocateInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['space', getU64Decoder()], ]); } -export function getAllocateInstructionDataCodec(): Codec< +export function getAllocateInstructionDataCodec(): FixedSizeCodec< AllocateInstructionDataArgs, AllocateInstructionData > { @@ -124,7 +125,7 @@ export function getAllocateInstruction< export type ParsedAllocateInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -135,11 +136,11 @@ export type ParsedAllocateInstruction< export function parseAllocateInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedAllocateInstruction { if (instruction.accounts.length < 1) { // TODO: Coded error. @@ -147,7 +148,7 @@ export function parseAllocateInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/allocateWithSeed.ts b/clients/js/src/generated/instructions/allocateWithSeed.ts index e49c8d3..243bbd8 100644 --- a/clients/js/src/generated/instructions/allocateWithSeed.ts +++ b/clients/js/src/generated/instructions/allocateWithSeed.ts @@ -21,16 +21,17 @@ import { getUtf8Decoder, getUtf8Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, } from '@solana/kit'; @@ -45,19 +46,19 @@ export function getAllocateWithSeedDiscriminatorBytes() { export type AllocateWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNewAccount extends string | IAccountMeta = string, - TAccountBaseAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountNewAccount extends string | AccountMeta = string, + TAccountBaseAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNewAccount extends string ? WritableAccount : TAccountNewAccount, TAccountBaseAccount extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountBaseAccount, ...TRemainingAccounts, ] @@ -172,7 +173,7 @@ export function getAllocateWithSeedInstruction< export type ParsedAllocateWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -184,11 +185,11 @@ export type ParsedAllocateWithSeedInstruction< export function parseAllocateWithSeedInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedAllocateWithSeedInstruction { if (instruction.accounts.length < 2) { // TODO: Coded error. @@ -196,7 +197,7 @@ export function parseAllocateWithSeedInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/assign.ts b/clients/js/src/generated/instructions/assign.ts index f97c9db..4721cee 100644 --- a/clients/js/src/generated/instructions/assign.ts +++ b/clients/js/src/generated/instructions/assign.ts @@ -15,15 +15,16 @@ import { getU32Decoder, getU32Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, + type ReadonlyUint8Array, type TransactionSigner, type WritableSignerAccount, } from '@solana/kit'; @@ -38,15 +39,15 @@ export function getAssignDiscriminatorBytes() { export type AssignInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountAccount extends string ? WritableSignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountAccount, ...TRemainingAccounts, ] @@ -59,7 +60,7 @@ export type AssignInstructionData = { export type AssignInstructionDataArgs = { programAddress: Address }; -export function getAssignInstructionDataEncoder(): Encoder { +export function getAssignInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -69,14 +70,14 @@ export function getAssignInstructionDataEncoder(): Encoder { +export function getAssignInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['programAddress', getAddressDecoder()], ]); } -export function getAssignInstructionDataCodec(): Codec< +export function getAssignInstructionDataCodec(): FixedSizeCodec< AssignInstructionDataArgs, AssignInstructionData > { @@ -127,7 +128,7 @@ export function getAssignInstruction< export type ParsedAssignInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -138,11 +139,11 @@ export type ParsedAssignInstruction< export function parseAssignInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedAssignInstruction { if (instruction.accounts.length < 1) { // TODO: Coded error. @@ -150,7 +151,7 @@ export function parseAssignInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/assignWithSeed.ts b/clients/js/src/generated/instructions/assignWithSeed.ts index a92d446..081725e 100644 --- a/clients/js/src/generated/instructions/assignWithSeed.ts +++ b/clients/js/src/generated/instructions/assignWithSeed.ts @@ -21,16 +21,17 @@ import { getUtf8Decoder, getUtf8Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, } from '@solana/kit'; @@ -45,19 +46,19 @@ export function getAssignWithSeedDiscriminatorBytes() { export type AssignWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountAccount extends string | IAccountMeta = string, - TAccountBaseAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountAccount extends string | AccountMeta = string, + TAccountBaseAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountAccount extends string ? WritableAccount : TAccountAccount, TAccountBaseAccount extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountBaseAccount, ...TRemainingAccounts, ] @@ -167,7 +168,7 @@ export function getAssignWithSeedInstruction< export type ParsedAssignWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -179,11 +180,11 @@ export type ParsedAssignWithSeedInstruction< export function parseAssignWithSeedInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedAssignWithSeedInstruction { if (instruction.accounts.length < 2) { // TODO: Coded error. @@ -191,7 +192,7 @@ export function parseAssignWithSeedInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/authorizeNonceAccount.ts b/clients/js/src/generated/instructions/authorizeNonceAccount.ts index 83f0112..3d695ff 100644 --- a/clients/js/src/generated/instructions/authorizeNonceAccount.ts +++ b/clients/js/src/generated/instructions/authorizeNonceAccount.ts @@ -15,16 +15,17 @@ import { getU32Decoder, getU32Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, } from '@solana/kit'; @@ -39,19 +40,19 @@ export function getAuthorizeNonceAccountDiscriminatorBytes() { export type AuthorizeNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNonceAccount extends string | IAccountMeta = string, - TAccountNonceAuthority extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountNonceAccount extends string | AccountMeta = string, + TAccountNonceAuthority extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNonceAccount extends string ? WritableAccount : TAccountNonceAccount, TAccountNonceAuthority extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountNonceAuthority, ...TRemainingAccounts, ] @@ -66,7 +67,7 @@ export type AuthorizeNonceAccountInstructionDataArgs = { newNonceAuthority: Address; }; -export function getAuthorizeNonceAccountInstructionDataEncoder(): Encoder { +export function getAuthorizeNonceAccountInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -79,14 +80,14 @@ export function getAuthorizeNonceAccountInstructionDataEncoder(): Encoder { +export function getAuthorizeNonceAccountInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['newNonceAuthority', getAddressDecoder()], ]); } -export function getAuthorizeNonceAccountInstructionDataCodec(): Codec< +export function getAuthorizeNonceAccountInstructionDataCodec(): FixedSizeCodec< AuthorizeNonceAccountInstructionDataArgs, AuthorizeNonceAccountInstructionData > { @@ -157,7 +158,7 @@ export function getAuthorizeNonceAccountInstruction< export type ParsedAuthorizeNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -169,11 +170,11 @@ export type ParsedAuthorizeNonceAccountInstruction< export function parseAuthorizeNonceAccountInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedAuthorizeNonceAccountInstruction { if (instruction.accounts.length < 2) { // TODO: Coded error. @@ -181,7 +182,7 @@ export function parseAuthorizeNonceAccountInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/createAccount.ts b/clients/js/src/generated/instructions/createAccount.ts index cae6b5f..9dca20d 100644 --- a/clients/js/src/generated/instructions/createAccount.ts +++ b/clients/js/src/generated/instructions/createAccount.ts @@ -18,22 +18,23 @@ import { getU64Decoder, getU64Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, + type ReadonlyUint8Array, type TransactionSigner, type WritableSignerAccount, } from '@solana/kit'; import { SYSTEM_PROGRAM_ADDRESS } from '../programs'; import { getAccountMetaFactory, - type IInstructionWithByteDelta, + type InstructionWithByteDelta, type ResolvedAccount, } from '../shared'; @@ -45,20 +46,20 @@ export function getCreateAccountDiscriminatorBytes() { export type CreateAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountPayer extends string | IAccountMeta = string, - TAccountNewAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountPayer extends string | AccountMeta = string, + TAccountNewAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountPayer extends string ? WritableSignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountPayer, TAccountNewAccount extends string ? WritableSignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountNewAccount, ...TRemainingAccounts, ] @@ -77,7 +78,7 @@ export type CreateAccountInstructionDataArgs = { programAddress: Address; }; -export function getCreateAccountInstructionDataEncoder(): Encoder { +export function getCreateAccountInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -89,7 +90,7 @@ export function getCreateAccountInstructionDataEncoder(): Encoder { +export function getCreateAccountInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['lamports', getU64Decoder()], @@ -98,7 +99,7 @@ export function getCreateAccountInstructionDataDecoder(): Decoder { @@ -131,7 +132,7 @@ export function getCreateAccountInstruction< TAccountPayer, TAccountNewAccount > & - IInstructionWithByteDelta { + InstructionWithByteDelta { // Program address. const programAddress = config?.programAddress ?? SYSTEM_PROGRAM_ADDRESS; @@ -175,7 +176,7 @@ export function getCreateAccountInstruction< export type ParsedCreateAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -187,11 +188,11 @@ export type ParsedCreateAccountInstruction< export function parseCreateAccountInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedCreateAccountInstruction { if (instruction.accounts.length < 2) { // TODO: Coded error. @@ -199,7 +200,7 @@ export function parseCreateAccountInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/createAccountWithSeed.ts b/clients/js/src/generated/instructions/createAccountWithSeed.ts index eb5219a..ba42a37 100644 --- a/clients/js/src/generated/instructions/createAccountWithSeed.ts +++ b/clients/js/src/generated/instructions/createAccountWithSeed.ts @@ -21,16 +21,17 @@ import { getUtf8Decoder, getUtf8Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount, @@ -46,24 +47,24 @@ export function getCreateAccountWithSeedDiscriminatorBytes() { export type CreateAccountWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountPayer extends string | IAccountMeta = string, - TAccountNewAccount extends string | IAccountMeta = string, - TAccountBaseAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountPayer extends string | AccountMeta = string, + TAccountNewAccount extends string | AccountMeta = string, + TAccountBaseAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountPayer extends string ? WritableSignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountPayer, TAccountNewAccount extends string ? WritableAccount : TAccountNewAccount, TAccountBaseAccount extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountBaseAccount, ...TRemainingAccounts, ] @@ -197,7 +198,7 @@ export function getCreateAccountWithSeedInstruction< export type ParsedCreateAccountWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -210,11 +211,11 @@ export type ParsedCreateAccountWithSeedInstruction< export function parseCreateAccountWithSeedInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedCreateAccountWithSeedInstruction { if (instruction.accounts.length < 3) { // TODO: Coded error. @@ -222,7 +223,7 @@ export function parseCreateAccountWithSeedInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/initializeNonceAccount.ts b/clients/js/src/generated/instructions/initializeNonceAccount.ts index 2163579..358f1e4 100644 --- a/clients/js/src/generated/instructions/initializeNonceAccount.ts +++ b/clients/js/src/generated/instructions/initializeNonceAccount.ts @@ -15,15 +15,16 @@ import { getU32Decoder, getU32Encoder, transformEncoder, + type AccountMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlyAccount, + type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; import { SYSTEM_PROGRAM_ADDRESS } from '../programs'; @@ -37,17 +38,17 @@ export function getInitializeNonceAccountDiscriminatorBytes() { export type InitializeNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNonceAccount extends string | IAccountMeta = string, + TAccountNonceAccount extends string | AccountMeta = string, TAccountRecentBlockhashesSysvar extends | string - | IAccountMeta = 'SysvarRecentB1ockHashes11111111111111111111', + | AccountMeta = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends | string - | IAccountMeta = 'SysvarRent111111111111111111111111111111111', - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + | AccountMeta = 'SysvarRent111111111111111111111111111111111', + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNonceAccount extends string ? WritableAccount @@ -71,7 +72,7 @@ export type InitializeNonceAccountInstructionDataArgs = { nonceAuthority: Address; }; -export function getInitializeNonceAccountInstructionDataEncoder(): Encoder { +export function getInitializeNonceAccountInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -84,14 +85,14 @@ export function getInitializeNonceAccountInstructionDataEncoder(): Encoder { +export function getInitializeNonceAccountInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['nonceAuthority', getAddressDecoder()], ]); } -export function getInitializeNonceAccountInstructionDataCodec(): Codec< +export function getInitializeNonceAccountInstructionDataCodec(): FixedSizeCodec< InitializeNonceAccountInstructionDataArgs, InitializeNonceAccountInstructionData > { @@ -183,7 +184,7 @@ export function getInitializeNonceAccountInstruction< export type ParsedInitializeNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -196,11 +197,11 @@ export type ParsedInitializeNonceAccountInstruction< export function parseInitializeNonceAccountInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedInitializeNonceAccountInstruction { if (instruction.accounts.length < 3) { // TODO: Coded error. @@ -208,7 +209,7 @@ export function parseInitializeNonceAccountInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/transferSol.ts b/clients/js/src/generated/instructions/transferSol.ts index 5746526..c2b520e 100644 --- a/clients/js/src/generated/instructions/transferSol.ts +++ b/clients/js/src/generated/instructions/transferSol.ts @@ -15,15 +15,16 @@ import { getU64Decoder, getU64Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount, @@ -39,16 +40,16 @@ export function getTransferSolDiscriminatorBytes() { export type TransferSolInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountSource extends string | IAccountMeta = string, - TAccountDestination extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountSource extends string | AccountMeta = string, + TAccountDestination extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountSource extends string ? WritableSignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountSource, TAccountDestination extends string ? WritableAccount @@ -64,7 +65,7 @@ export type TransferSolInstructionData = { export type TransferSolInstructionDataArgs = { amount: number | bigint }; -export function getTransferSolInstructionDataEncoder(): Encoder { +export function getTransferSolInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -74,14 +75,14 @@ export function getTransferSolInstructionDataEncoder(): Encoder { +export function getTransferSolInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['amount', getU64Decoder()], ]); } -export function getTransferSolInstructionDataCodec(): Codec< +export function getTransferSolInstructionDataCodec(): FixedSizeCodec< TransferSolInstructionDataArgs, TransferSolInstructionData > { @@ -149,7 +150,7 @@ export function getTransferSolInstruction< export type ParsedTransferSolInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -161,11 +162,11 @@ export type ParsedTransferSolInstruction< export function parseTransferSolInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedTransferSolInstruction { if (instruction.accounts.length < 2) { // TODO: Coded error. @@ -173,7 +174,7 @@ export function parseTransferSolInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/transferSolWithSeed.ts b/clients/js/src/generated/instructions/transferSolWithSeed.ts index c49f886..df2483f 100644 --- a/clients/js/src/generated/instructions/transferSolWithSeed.ts +++ b/clients/js/src/generated/instructions/transferSolWithSeed.ts @@ -21,16 +21,17 @@ import { getUtf8Decoder, getUtf8Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, } from '@solana/kit'; @@ -45,20 +46,20 @@ export function getTransferSolWithSeedDiscriminatorBytes() { export type TransferSolWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountSource extends string | IAccountMeta = string, - TAccountBaseAccount extends string | IAccountMeta = string, - TAccountDestination extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountSource extends string | AccountMeta = string, + TAccountBaseAccount extends string | AccountMeta = string, + TAccountDestination extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountSource extends string ? WritableAccount : TAccountSource, TAccountBaseAccount extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountBaseAccount, TAccountDestination extends string ? WritableAccount @@ -185,7 +186,7 @@ export function getTransferSolWithSeedInstruction< export type ParsedTransferSolWithSeedInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -198,11 +199,11 @@ export type ParsedTransferSolWithSeedInstruction< export function parseTransferSolWithSeedInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedTransferSolWithSeedInstruction { if (instruction.accounts.length < 3) { // TODO: Coded error. @@ -210,7 +211,7 @@ export function parseTransferSolWithSeedInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/upgradeNonceAccount.ts b/clients/js/src/generated/instructions/upgradeNonceAccount.ts index 1d8fc0f..ce96cea 100644 --- a/clients/js/src/generated/instructions/upgradeNonceAccount.ts +++ b/clients/js/src/generated/instructions/upgradeNonceAccount.ts @@ -13,14 +13,15 @@ import { getU32Decoder, getU32Encoder, transformEncoder, + type AccountMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, + type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; import { SYSTEM_PROGRAM_ADDRESS } from '../programs'; @@ -34,11 +35,11 @@ export function getUpgradeNonceAccountDiscriminatorBytes() { export type UpgradeNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNonceAccount extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + TAccountNonceAccount extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNonceAccount extends string ? WritableAccount @@ -51,7 +52,7 @@ export type UpgradeNonceAccountInstructionData = { discriminator: number }; export type UpgradeNonceAccountInstructionDataArgs = {}; -export function getUpgradeNonceAccountInstructionDataEncoder(): Encoder { +export function getUpgradeNonceAccountInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([['discriminator', getU32Encoder()]]), (value) => ({ @@ -61,11 +62,11 @@ export function getUpgradeNonceAccountInstructionDataEncoder(): Encoder { +export function getUpgradeNonceAccountInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([['discriminator', getU32Decoder()]]); } -export function getUpgradeNonceAccountInstructionDataCodec(): Codec< +export function getUpgradeNonceAccountInstructionDataCodec(): FixedSizeCodec< UpgradeNonceAccountInstructionDataArgs, UpgradeNonceAccountInstructionData > { @@ -112,7 +113,7 @@ export function getUpgradeNonceAccountInstruction< export type ParsedUpgradeNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -123,11 +124,11 @@ export type ParsedUpgradeNonceAccountInstruction< export function parseUpgradeNonceAccountInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedUpgradeNonceAccountInstruction { if (instruction.accounts.length < 1) { // TODO: Coded error. @@ -135,7 +136,7 @@ export function parseUpgradeNonceAccountInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/instructions/withdrawNonceAccount.ts b/clients/js/src/generated/instructions/withdrawNonceAccount.ts index f0cc5e2..2a3b9ff 100644 --- a/clients/js/src/generated/instructions/withdrawNonceAccount.ts +++ b/clients/js/src/generated/instructions/withdrawNonceAccount.ts @@ -15,17 +15,18 @@ import { getU64Decoder, getU64Encoder, transformEncoder, + type AccountMeta, + type AccountSignerMeta, type Address, - type Codec, - type Decoder, - type Encoder, - type IAccountMeta, - type IAccountSignerMeta, - type IInstruction, - type IInstructionWithAccounts, - type IInstructionWithData, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, + type Instruction, + type InstructionWithAccounts, + type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, + type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, } from '@solana/kit'; @@ -40,19 +41,19 @@ export function getWithdrawNonceAccountDiscriminatorBytes() { export type WithdrawNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountNonceAccount extends string | IAccountMeta = string, - TAccountRecipientAccount extends string | IAccountMeta = string, + TAccountNonceAccount extends string | AccountMeta = string, + TAccountRecipientAccount extends string | AccountMeta = string, TAccountRecentBlockhashesSysvar extends | string - | IAccountMeta = 'SysvarRecentB1ockHashes11111111111111111111', + | AccountMeta = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends | string - | IAccountMeta = 'SysvarRent111111111111111111111111111111111', - TAccountNonceAuthority extends string | IAccountMeta = string, - TRemainingAccounts extends readonly IAccountMeta[] = [], -> = IInstruction & - IInstructionWithData & - IInstructionWithAccounts< + | AccountMeta = 'SysvarRent111111111111111111111111111111111', + TAccountNonceAuthority extends string | AccountMeta = string, + TRemainingAccounts extends readonly AccountMeta[] = [], +> = Instruction & + InstructionWithData & + InstructionWithAccounts< [ TAccountNonceAccount extends string ? WritableAccount @@ -68,7 +69,7 @@ export type WithdrawNonceAccountInstruction< : TAccountRentSysvar, TAccountNonceAuthority extends string ? ReadonlySignerAccount & - IAccountSignerMeta + AccountSignerMeta : TAccountNonceAuthority, ...TRemainingAccounts, ] @@ -83,7 +84,7 @@ export type WithdrawNonceAccountInstructionDataArgs = { withdrawAmount: number | bigint; }; -export function getWithdrawNonceAccountInstructionDataEncoder(): Encoder { +export function getWithdrawNonceAccountInstructionDataEncoder(): FixedSizeEncoder { return transformEncoder( getStructEncoder([ ['discriminator', getU32Encoder()], @@ -96,14 +97,14 @@ export function getWithdrawNonceAccountInstructionDataEncoder(): Encoder { +export function getWithdrawNonceAccountInstructionDataDecoder(): FixedSizeDecoder { return getStructDecoder([ ['discriminator', getU32Decoder()], ['withdrawAmount', getU64Decoder()], ]); } -export function getWithdrawNonceAccountInstructionDataCodec(): Codec< +export function getWithdrawNonceAccountInstructionDataCodec(): FixedSizeCodec< WithdrawNonceAccountInstructionDataArgs, WithdrawNonceAccountInstructionData > { @@ -214,7 +215,7 @@ export function getWithdrawNonceAccountInstruction< export type ParsedWithdrawNonceAccountInstruction< TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, - TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[], > = { programAddress: Address; accounts: { @@ -229,11 +230,11 @@ export type ParsedWithdrawNonceAccountInstruction< export function parseWithdrawNonceAccountInstruction< TProgram extends string, - TAccountMetas extends readonly IAccountMeta[], + TAccountMetas extends readonly AccountMeta[], >( - instruction: IInstruction & - IInstructionWithAccounts & - IInstructionWithData + instruction: Instruction & + InstructionWithAccounts & + InstructionWithData ): ParsedWithdrawNonceAccountInstruction { if (instruction.accounts.length < 5) { // TODO: Coded error. @@ -241,7 +242,7 @@ export function parseWithdrawNonceAccountInstruction< } let accountIndex = 0; const getNextAccount = () => { - const accountMeta = instruction.accounts![accountIndex]!; + const accountMeta = (instruction.accounts as TAccountMetas)[accountIndex]!; accountIndex += 1; return accountMeta; }; diff --git a/clients/js/src/generated/shared/index.ts b/clients/js/src/generated/shared/index.ts index 7ba9053..8841a27 100644 --- a/clients/js/src/generated/shared/index.ts +++ b/clients/js/src/generated/shared/index.ts @@ -10,9 +10,9 @@ import { AccountRole, isProgramDerivedAddress, isTransactionSigner as kitIsTransactionSigner, + type AccountMeta, + type AccountSignerMeta, type Address, - type IAccountMeta, - type IAccountSignerMeta, type ProgramDerivedAddress, type TransactionSigner, upgradeRoleToSigner, @@ -23,7 +23,7 @@ import { * @internal */ export function expectSome(value: T | null | undefined): T { - if (value == null) { + if (value === null || value === undefined) { throw new Error('Expected a value but received null or undefined.'); } return value; @@ -48,7 +48,7 @@ export function expectAddress( return value.address; } if (Array.isArray(value)) { - return value[0]; + return value[0] as Address; } return value as Address; } @@ -113,7 +113,7 @@ export type ResolvedAccount< * Defines an instruction that stores additional bytes on-chain. * @internal */ -export type IInstructionWithByteDelta = { +export type InstructionWithByteDelta = { byteDelta: number; }; @@ -127,7 +127,7 @@ export function getAccountMetaFactory( ) { return ( account: ResolvedAccount - ): IAccountMeta | IAccountSignerMeta | undefined => { + ): AccountMeta | AccountSignerMeta | undefined => { if (!account.value) { if (optionalAccountStrategy === 'omitted') return; return Object.freeze({ diff --git a/clients/js/src/generated/types/nonceState.ts b/clients/js/src/generated/types/nonceState.ts index 9e58c5c..a243ac2 100644 --- a/clients/js/src/generated/types/nonceState.ts +++ b/clients/js/src/generated/types/nonceState.ts @@ -12,9 +12,9 @@ import { getEnumEncoder, getU32Decoder, getU32Encoder, - type Codec, - type Decoder, - type Encoder, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, } from '@solana/kit'; export enum NonceState { @@ -24,14 +24,17 @@ export enum NonceState { export type NonceStateArgs = NonceState; -export function getNonceStateEncoder(): Encoder { +export function getNonceStateEncoder(): FixedSizeEncoder { return getEnumEncoder(NonceState, { size: getU32Encoder() }); } -export function getNonceStateDecoder(): Decoder { +export function getNonceStateDecoder(): FixedSizeDecoder { return getEnumDecoder(NonceState, { size: getU32Decoder() }); } -export function getNonceStateCodec(): Codec { +export function getNonceStateCodec(): FixedSizeCodec< + NonceStateArgs, + NonceState +> { return combineCodec(getNonceStateEncoder(), getNonceStateDecoder()); } diff --git a/clients/js/src/generated/types/nonceVersion.ts b/clients/js/src/generated/types/nonceVersion.ts index 25f4489..1b02715 100644 --- a/clients/js/src/generated/types/nonceVersion.ts +++ b/clients/js/src/generated/types/nonceVersion.ts @@ -12,9 +12,9 @@ import { getEnumEncoder, getU32Decoder, getU32Encoder, - type Codec, - type Decoder, - type Encoder, + type FixedSizeCodec, + type FixedSizeDecoder, + type FixedSizeEncoder, } from '@solana/kit'; export enum NonceVersion { @@ -24,14 +24,17 @@ export enum NonceVersion { export type NonceVersionArgs = NonceVersion; -export function getNonceVersionEncoder(): Encoder { +export function getNonceVersionEncoder(): FixedSizeEncoder { return getEnumEncoder(NonceVersion, { size: getU32Encoder() }); } -export function getNonceVersionDecoder(): Decoder { +export function getNonceVersionDecoder(): FixedSizeDecoder { return getEnumDecoder(NonceVersion, { size: getU32Decoder() }); } -export function getNonceVersionCodec(): Codec { +export function getNonceVersionCodec(): FixedSizeCodec< + NonceVersionArgs, + NonceVersion +> { return combineCodec(getNonceVersionEncoder(), getNonceVersionDecoder()); } diff --git a/clients/js/test/_setup.ts b/clients/js/test/_setup.ts index 8c9cfcd..2a36eca 100644 --- a/clients/js/test/_setup.ts +++ b/clients/js/test/_setup.ts @@ -1,15 +1,17 @@ import { Address, + BaseTransactionMessage, Commitment, - CompilableTransactionMessage, Rpc, RpcSubscriptions, SolanaRpcApi, SolanaRpcSubscriptionsApi, TransactionMessageWithBlockhashLifetime, + TransactionMessageWithFeePayer, TransactionSigner, airdropFactory, appendTransactionMessageInstruction, + assertIsSendableTransaction, createSolanaRpc, createSolanaRpcSubscriptions, createTransactionMessage, @@ -69,13 +71,15 @@ export const createDefaultTransaction = async ( export const signAndSendTransaction = async ( client: Client, - transactionMessage: CompilableTransactionMessage & + transactionMessage: BaseTransactionMessage & + TransactionMessageWithFeePayer & TransactionMessageWithBlockhashLifetime, commitment: Commitment = 'confirmed' ) => { const signedTransaction = await signTransactionMessageWithSigners(transactionMessage); const signature = getSignatureFromTransaction(signedTransaction); + assertIsSendableTransaction(signedTransaction); await sendAndConfirmTransactionFactory(client)(signedTransaction, { commitment, }); diff --git a/clients/rust/src/generated/accounts/nonce.rs b/clients/rust/src/generated/accounts/nonce.rs index 2d73e35..5423ac4 100644 --- a/clients/rust/src/generated/accounts/nonce.rs +++ b/clients/rust/src/generated/accounts/nonce.rs @@ -53,7 +53,7 @@ impl<'a> TryFrom<&solana_program::account_info::AccountInfo<'a>> for Nonce { #[cfg(feature = "fetch")] pub fn fetch_nonce( rpc: &solana_client::rpc_client::RpcClient, - address: &Pubkey, + address: &solana_program::pubkey::Pubkey, ) -> Result, std::io::Error> { let accounts = fetch_all_nonce(rpc, &[*address])?; Ok(accounts[0].clone()) @@ -62,10 +62,10 @@ pub fn fetch_nonce( #[cfg(feature = "fetch")] pub fn fetch_all_nonce( rpc: &solana_client::rpc_client::RpcClient, - addresses: &[Pubkey], + addresses: &[solana_program::pubkey::Pubkey], ) -> Result>, std::io::Error> { let accounts = rpc - .get_multiple_accounts(&addresses) + .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() { @@ -87,7 +87,7 @@ pub fn fetch_all_nonce( #[cfg(feature = "fetch")] pub fn fetch_maybe_nonce( rpc: &solana_client::rpc_client::RpcClient, - address: &Pubkey, + address: &solana_program::pubkey::Pubkey, ) -> Result, std::io::Error> { let accounts = fetch_all_maybe_nonce(rpc, &[*address])?; Ok(accounts[0].clone()) @@ -96,10 +96,10 @@ pub fn fetch_maybe_nonce( #[cfg(feature = "fetch")] pub fn fetch_all_maybe_nonce( rpc: &solana_client::rpc_client::RpcClient, - addresses: &[Pubkey], + addresses: &[solana_program::pubkey::Pubkey], ) -> Result>, std::io::Error> { let accounts = rpc - .get_multiple_accounts(&addresses) + .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() { diff --git a/clients/rust/src/generated/instructions/advance_nonce_account.rs b/clients/rust/src/generated/instructions/advance_nonce_account.rs index c3e3160..189970f 100644 --- a/clients/rust/src/generated/instructions/advance_nonce_account.rs +++ b/clients/rust/src/generated/instructions/advance_nonce_account.rs @@ -22,6 +22,7 @@ impl AdvanceNonceAccount { pub fn instruction(&self) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(&[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -197,6 +198,7 @@ impl<'a, 'b> AdvanceNonceAccountCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/allocate.rs b/clients/rust/src/generated/instructions/allocate.rs index 84ddf11..634e107 100644 --- a/clients/rust/src/generated/instructions/allocate.rs +++ b/clients/rust/src/generated/instructions/allocate.rs @@ -21,6 +21,7 @@ impl Allocate { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -175,6 +176,7 @@ impl<'a, 'b> AllocateCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/allocate_with_seed.rs b/clients/rust/src/generated/instructions/allocate_with_seed.rs index 539ff43..71d3220 100644 --- a/clients/rust/src/generated/instructions/allocate_with_seed.rs +++ b/clients/rust/src/generated/instructions/allocate_with_seed.rs @@ -25,6 +25,7 @@ impl AllocateWithSeed { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -223,6 +224,7 @@ impl<'a, 'b> AllocateWithSeedCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/assign.rs b/clients/rust/src/generated/instructions/assign.rs index 3dfb837..618d82f 100644 --- a/clients/rust/src/generated/instructions/assign.rs +++ b/clients/rust/src/generated/instructions/assign.rs @@ -22,6 +22,7 @@ impl Assign { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -179,6 +180,7 @@ impl<'a, 'b> AssignCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/assign_with_seed.rs b/clients/rust/src/generated/instructions/assign_with_seed.rs index 5894901..4ccbd59 100644 --- a/clients/rust/src/generated/instructions/assign_with_seed.rs +++ b/clients/rust/src/generated/instructions/assign_with_seed.rs @@ -25,6 +25,7 @@ impl AssignWithSeed { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -215,6 +216,7 @@ impl<'a, 'b> AssignWithSeedCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/authorize_nonce_account.rs b/clients/rust/src/generated/instructions/authorize_nonce_account.rs index 9e4e397..e3ba4d8 100644 --- a/clients/rust/src/generated/instructions/authorize_nonce_account.rs +++ b/clients/rust/src/generated/instructions/authorize_nonce_account.rs @@ -24,6 +24,7 @@ impl AuthorizeNonceAccount { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -201,6 +202,7 @@ impl<'a, 'b> AuthorizeNonceAccountCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/create_account.rs b/clients/rust/src/generated/instructions/create_account.rs index 1b2f3e3..bd404db 100644 --- a/clients/rust/src/generated/instructions/create_account.rs +++ b/clients/rust/src/generated/instructions/create_account.rs @@ -24,6 +24,7 @@ impl CreateAccount { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -213,6 +214,7 @@ impl<'a, 'b> CreateAccountCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/create_account_with_seed.rs b/clients/rust/src/generated/instructions/create_account_with_seed.rs index 2eb945f..e397827 100644 --- a/clients/rust/src/generated/instructions/create_account_with_seed.rs +++ b/clients/rust/src/generated/instructions/create_account_with_seed.rs @@ -27,6 +27,7 @@ impl CreateAccountWithSeed { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -249,6 +250,7 @@ impl<'a, 'b> CreateAccountWithSeedCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/initialize_nonce_account.rs b/clients/rust/src/generated/instructions/initialize_nonce_account.rs index 9462425..bd4da9e 100644 --- a/clients/rust/src/generated/instructions/initialize_nonce_account.rs +++ b/clients/rust/src/generated/instructions/initialize_nonce_account.rs @@ -26,6 +26,7 @@ impl InitializeNonceAccount { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -226,6 +227,7 @@ impl<'a, 'b> InitializeNonceAccountCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/transfer_sol.rs b/clients/rust/src/generated/instructions/transfer_sol.rs index 83dd5e2..d330bb3 100644 --- a/clients/rust/src/generated/instructions/transfer_sol.rs +++ b/clients/rust/src/generated/instructions/transfer_sol.rs @@ -23,6 +23,7 @@ impl TransferSol { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -194,6 +195,7 @@ impl<'a, 'b> TransferSolCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/transfer_sol_with_seed.rs b/clients/rust/src/generated/instructions/transfer_sol_with_seed.rs index 61363f0..eb08139 100644 --- a/clients/rust/src/generated/instructions/transfer_sol_with_seed.rs +++ b/clients/rust/src/generated/instructions/transfer_sol_with_seed.rs @@ -27,6 +27,7 @@ impl TransferSolWithSeed { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -231,6 +232,7 @@ impl<'a, 'b> TransferSolWithSeedCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/upgrade_nonce_account.rs b/clients/rust/src/generated/instructions/upgrade_nonce_account.rs index c8a44ce..d82a046 100644 --- a/clients/rust/src/generated/instructions/upgrade_nonce_account.rs +++ b/clients/rust/src/generated/instructions/upgrade_nonce_account.rs @@ -18,6 +18,7 @@ impl UpgradeNonceAccount { pub fn instruction(&self) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(&[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -150,6 +151,7 @@ impl<'a, 'b> UpgradeNonceAccountCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/clients/rust/src/generated/instructions/withdraw_nonce_account.rs b/clients/rust/src/generated/instructions/withdraw_nonce_account.rs index 2a8c827..207d967 100644 --- a/clients/rust/src/generated/instructions/withdraw_nonce_account.rs +++ b/clients/rust/src/generated/instructions/withdraw_nonce_account.rs @@ -29,6 +29,7 @@ impl WithdrawNonceAccount { ) -> solana_program::instruction::Instruction { self.instruction_with_remaining_accounts(args, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::vec_init_then_push)] pub fn instruction_with_remaining_accounts( &self, @@ -271,6 +272,7 @@ impl<'a, 'b> WithdrawNonceAccountCpi<'a, 'b> { ) -> solana_program::entrypoint::ProgramResult { self.invoke_signed_with_remaining_accounts(signers_seeds, &[]) } + #[allow(clippy::arithmetic_side_effects)] #[allow(clippy::clone_on_copy)] #[allow(clippy::vec_init_then_push)] pub fn invoke_signed_with_remaining_accounts( diff --git a/package.json b/package.json index 7d33721..d45dd56 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,9 @@ "generate:clients": "codama run --all" }, "devDependencies": { - "@codama/renderers-js": "^1.2.7", - "@codama/renderers-rust": "^1.0.16", - "codama": "^1.2.8" + "@codama/renderers-js": "^1.3", + "@codama/renderers-rust": "~1.0", + "codama": "^1.3" }, "engines": { "node": ">=v20.0.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8019c9f..2125ca9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,66 +9,64 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^1.2.7 - version: 1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) + specifier: ^1.3 + version: 1.3.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) '@codama/renderers-rust': - specifier: ^1.0.16 - version: 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) + specifier: ~1.0 + version: 1.0.22(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) codama: - specifier: ^1.2.8 - version: 1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) + specifier: ^1.3 + version: 1.3.3 packages: - '@codama/cli@1.0.7': - resolution: {integrity: sha512-qA+cDhTnx3r4Ds9JAIduGTzaEJjjCSVj+Bt2mm1hEW1hrI4hymAxW+BeLfFehzqjggdTVM3UIrTwkXAkhNJfEw==} + '@codama/cli@1.3.1': + resolution: {integrity: sha512-3m84aErp6W0cFIArYh9Ymzp2QFFHL+zFx/QS8R8piBjkA/WbSTdslZnierBBqgXkoSM6uIqvm008DSvo3gj1LA==} + hasBin: true - '@codama/errors@1.2.8': - resolution: {integrity: sha512-TVPf7oJpbHtxdu52ruftJX+DlTNWi7D65tasysqs7mfRKoiZKzmkatr5hqidBz/M9WzCddUeFAHL9ZiW6g9Ccg==} + '@codama/errors@1.3.0': + resolution: {integrity: sha512-pYp/gOi1c/9btrybWvH2iK5jj7SOpMmyLm9EqbxrivV+lqzfEogU8IG+BLch9sqnuhPgg/PzCaB4sYd438UC/Q==} hasBin: true - '@codama/node-types@1.2.8': - resolution: {integrity: sha512-PEvPLMN3QGJvkwsQ7R9DmAtdazQXN0RD9WYlmHyeiR4nathV0qy9nZGFDoRh5nbNfPkbeLTgL5o3zAoeeRP6GQ==} + '@codama/errors@1.3.3': + resolution: {integrity: sha512-iyo5qEW/rgNTTtcZnGqahcnUtMHRRTlTzeTZo6SLpuNistbEn2itOssnklNZVClhXR/4Td0riHwGedP3AjwgJA==} + hasBin: true - '@codama/nodes-from-anchor@1.1.8': - resolution: {integrity: sha512-eaoGrcMMc5yr1XPnv1H3hPw6cCh0e6BRmmuzOBOIDG4PR2gVm415RnBkfQOX2JqRTX7wKLv8Y1EIZV4IgVxkvw==} + '@codama/node-types@1.3.0': + resolution: {integrity: sha512-3dPbMXR/QgKUqXMMxc6PUi2f8Dq6eZ9P/v6+ChTQFLGhSQmqC1PsCbL77PuM7mf4IK9np1RXFqbC/EVpgLvbgA==} - '@codama/nodes@1.2.8': - resolution: {integrity: sha512-tCi7KErG2ChQr5n3Nj3dwciFmUo3O8RQ+S4Qv23w1zvYLaGwhEvdg3KRtgCGEI0wr9uvm2QtTBM670kdLntZiQ==} + '@codama/node-types@1.3.3': + resolution: {integrity: sha512-41GdFy/OPRemXTAmptDSi/wDXHPimy40mx9v0z2EdIMNYEyKAYZDcvr2jzSei8meeCV9j4PgKF5snwBQK7HaSg==} - '@codama/renderers-core@1.0.10': - resolution: {integrity: sha512-7NwoyP2j1cZKgHCrd1RRn891gtxpZeiXNSP3aCFdVsRPW8dDNUL1sJ1SNOF9ILHfNP77clCBtL3eoZIFdeNQAg==} + '@codama/nodes@1.3.0': + resolution: {integrity: sha512-Spf+Whm4jBLFxGPtJuDGmteGe+avoIDnh6rsByU1iJlYmcJJLjZayexFkvW8+1IeDclUMPQYBSj6SjuQEItLqQ==} - '@codama/renderers-js-umi@1.1.9': - resolution: {integrity: sha512-rYrm1u3zqqHfYtLnnYmhU+4KXYCqmGJxQP+eiyHIDwxcALzH6y8Ng2zEz3YRGNLXqdlwCB4bx1lJOCjfbRZiwA==} + '@codama/nodes@1.3.3': + resolution: {integrity: sha512-CgxGfH6ndcZpvf+RfVwSyIOyq8cNejbqY9TRr4SqVMIEbE1Wpqx+GPrEGRKtwHgB8KqsWCz7Pve8BCGhsPkr2g==} - '@codama/renderers-js@1.2.7': - resolution: {integrity: sha512-xzWK7tdPneNhbPAMeh5B4ddXjMfkNtTbDDRJ81jNvGv8WRPCvA97c0zMeTskHY+W/C+GlbsSNGMuL4Ga8bEmSA==} + '@codama/renderers-core@1.0.16': + resolution: {integrity: sha512-IJshH6JsX7GUaYmC6KlOd5pLLyW1Yqd0I8B0pVWvvv9BfPNosC4t4RfusHSkYQePkIvs7CJ7YlwUywwW36Vt8A==} - '@codama/renderers-rust@1.0.16': - resolution: {integrity: sha512-pFHwHN6X4Yuk26Yfh+VT9Ps1i/QEjuK3EoT8BpsCTATOk6ntJNqyD5aQngG2lE4KWx3uQrCYYbQEAN4vG6v+EA==} + '@codama/renderers-core@1.0.19': + resolution: {integrity: sha512-ARvgw8ObOMiIbeahcKBpWKl2N4lYaywDOAsbYDjr/zV8jpPll39TVidgQt0lP4JjdGz7xZTBCmQmtxW5hqr9pA==} - '@codama/renderers@1.0.16': - resolution: {integrity: sha512-Mj3k1BJ7Rg9BlaCNCvhWY+FRmgLnislwatA6t9zHiReSeukrOFmSW9KKPpWHXm4+i1ueZFKmLeFzGPEt927WBA==} + '@codama/renderers-js@1.3.4': + resolution: {integrity: sha512-srcHHCc7l2FXTlUEoPOolw0bmxBkdyqpzOGtBNc7eeF9sOCE3mlR84qXzxoqCKx4T26wl+QHihI0wby0bMlfrA==} - '@codama/validators@1.2.8': - resolution: {integrity: sha512-cGyYgV+zhPzhT3RHBKgDLueeOvSTo3ry9QEliPv90+sL6Q9ecKj4Ut9QVxjmwvdv67rNAZq5JBl+GC8SYcDhPg==} + '@codama/renderers-rust@1.0.22': + resolution: {integrity: sha512-ovK1UyFYt/oWW8W2B6ghe/nc1kvITakVQqVIlK21l2VHGo6yEFcdWvBRYn5VXMuwW0nMwPuC7Hv0eZmGLRR7xg==} - '@codama/visitors-core@1.2.8': - resolution: {integrity: sha512-sYmZT2Z6Goacgr/HrAhjLSGtu2Udcal10tEfYN8ZJBXs34PGPu0oWOC8kFx7CxvmAvt/6mw8NhKIPtg/UaIKHw==} + '@codama/validators@1.3.3': + resolution: {integrity: sha512-dj3vlwMlxU57l6cRLxb76ZwlrEGv+dq7llDtH0aqc1z3OW5SOryREUuzeqL7T/2hY8FiY+pxjH4CQx+A08hULQ==} - '@codama/visitors@1.2.8': - resolution: {integrity: sha512-LbcTyzTUEJfGRbCTuQIAVR9X5bLdZ1oD7GAuw5kxaq63+H6JHAbigaKwaq9uvr/OXMT4U/2GcWgKfX1oGKXg/g==} + '@codama/visitors-core@1.3.0': + resolution: {integrity: sha512-Lldy0aOc882QYDa1IhjXhwpDsQE7oirBaebRddggXYFQs4+cvFROibHXBqG2npHPvQM4Mot6dJHQqffB/QL4iQ==} - '@noble/hashes@1.7.1': - resolution: {integrity: sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==} - engines: {node: ^14.21.3 || >=16} + '@codama/visitors-core@1.3.3': + resolution: {integrity: sha512-Kuz2we5iDhq0Y9bPwEjEGGSueBPJkLxoDkJ+Z3NuHlqo/k2aHvDNl9NaoOOUPwNzPVbntfpJW9Ga3pP9oc/PQQ==} - '@solana/codecs-core@2.0.0': - resolution: {integrity: sha512-qCG+3hDU5Pm8V6joJjR4j4Zv9md1z0RaecniNDIkEglnxmOUODnmPLWbtOjnDylfItyuZeDihK8hkewdj8cUtw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5' + '@codama/visitors@1.3.3': + resolution: {integrity: sha512-ReZoo0kItffkhpvl9qRjy3HV1nZXv/k8p4wZ10NveUTDtRghk72YkY0kpK2lt/p+2SlWrhQ9IkO4Q+EQoqABrA==} '@solana/codecs-core@2.0.0-rc.4': resolution: {integrity: sha512-JIrTSps032mSE3wBxW3bXOqWfoy4CMy1CX/XeVCijyh5kLVxZTSDIdRTYdePdL1yzaOZF1Xysvt1DhOUgBdM+A==} @@ -76,17 +74,11 @@ packages: 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': - resolution: {integrity: sha512-r66i7VzJO1MZkQWZIAI6jjJOFVpnq0+FIabo2Z2ZDtrArFus/SbSEv543yCLeD2tdR/G/p+1+P5On10qF50Y1Q==} + '@solana/codecs-core@2.3.0': + resolution: {integrity: sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==} engines: {node: '>=20.18.0'} peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' '@solana/codecs-numbers@2.0.0-rc.4': resolution: {integrity: sha512-ZJR7TaUO65+3Hzo3YOOUCS0wlzh17IW+j0MZC2LCk1R0woaypRpHKj4iSMYeQOZkMxsd9QT3WNvjFrPC2qA6Sw==} @@ -94,12 +86,11 @@ packages: peerDependencies: typescript: '>=5' - '@solana/codecs-strings@2.0.0': - resolution: {integrity: sha512-dNqeCypsvaHcjW86H0gYgAZGGkKVBeKVeh7WXlOZ9kno7PeQ2wNkpccyzDfuzaIsKv+HZUD3v/eo86GCvnKazQ==} + '@solana/codecs-numbers@2.3.0': + resolution: {integrity: sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==} engines: {node: '>=20.18.0'} peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5' + typescript: '>=5.3.3' '@solana/codecs-strings@2.0.0-rc.4': resolution: {integrity: sha512-LGfK2RL0BKjYYUfzu2FG/gTgCsYOMz9FKVs2ntji6WneZygPxJTV5W98K3J8Rl0JewpCSCFQH3xjLSHBJUS0fA==} @@ -108,18 +99,12 @@ packages: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/codecs@2.0.0': - resolution: {integrity: sha512-xneIG5ppE6WIGaZCK7JTys0uLhzlnEJUdBO8nRVIyerwH6aqCfb0fGe7q5WNNYAVDRSxC0Pc1TDe1hpdx3KWmQ==} + '@solana/codecs-strings@2.3.0': + resolution: {integrity: sha512-y5pSBYwzVziXu521hh+VxqUtp0hYGTl1eWGoc1W+8mdvBdC1kTqm/X7aYQw33J42hw03JjryvYOvmGgk3Qz/Ug==} 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' + fastestsmallesttextencoderdecoder: ^1.0.22 + typescript: '>=5.3.3' '@solana/errors@2.0.0-rc.4': resolution: {integrity: sha512-0PPaMyB81keEHG/1pnyEuiBVKctbXO641M2w3CIOrYT/wzjunfF0FTxsqq9wYJeYo0AyiefCKGgSPs6wiY2PpQ==} @@ -128,11 +113,12 @@ packages: peerDependencies: typescript: '>=5' - '@solana/options@2.0.0': - resolution: {integrity: sha512-OVc4KnYosB8oAukQ/htgrxXSxlUP6gUu5Aau6d/BgEkPQzWd/Pr+w91VWw3i3zZuu2SGpedbyh05RoJBe/hSXA==} + '@solana/errors@2.3.0': + resolution: {integrity: sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==} engines: {node: '>=20.18.0'} + hasBin: true peerDependencies: - typescript: '>=5' + typescript: '>=5.3.3' a-sync-waterfall@1.0.1: resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} @@ -144,20 +130,28 @@ packages: resolution: {integrity: sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==} engines: {node: '>= 0.4'} + 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==} + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} engines: {node: '>= 0.4'} 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==} + chalk@5.6.0: + resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==} + engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + + codama@1.3.3: + resolution: {integrity: sha512-eCOflah25uWKHGyjvW2FPydRAwhDw4ZAjBuBFF9AVJIE3xknR+pcRMLdlxO5LO3ixlxkHKHdESXJY/aVXmzZtw==} hasBin: true commander@12.1.0: @@ -168,6 +162,10 @@ packages: resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==} engines: {node: '>=18'} + commander@14.0.0: + resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==} + engines: {node: '>=20'} + commander@5.1.0: resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} engines: {node: '>= 6'} @@ -202,6 +200,10 @@ packages: resolution: {integrity: sha512-VW6Pxhsrk0KAOqs3WEd0klDiF/+V7gQOpAvY1jVU/LHmaD/kQO4523aiJuikX/QAKYiW6x8Jh+RJej1almdtCA==} 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'} @@ -224,8 +226,8 @@ packages: isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} - json-stable-stringify@1.2.1: - resolution: {integrity: sha512-Lp6HbbBgosLmJbjx0pBLbgvx68FaFU1sdkmBuckmhhJ88kL13OA51CDtR2yJB50eCNMH9wRqtQNNiAqQH4YXnA==} + json-stable-stringify@1.3.0: + resolution: {integrity: sha512-qtYiSSFlwot9XHtF9bD9c7rwKjr+RecWT//ZnPvSmEjpV5mmPOCN4j8UjY5hbjNkOwZ/jQv3J6R1/pL7RwgMsg==} engines: {node: '>= 0.4'} jsonify@0.0.1: @@ -256,8 +258,8 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - prettier@3.5.2: - resolution: {integrity: sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==} + prettier@3.6.2: + resolution: {integrity: sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==} engines: {node: '>=14'} hasBin: true @@ -279,90 +281,73 @@ packages: snapshots: - '@codama/cli@1.0.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@codama/cli@1.3.1': dependencies: - '@codama/nodes': 1.2.8 - '@codama/nodes-from-anchor': 1.1.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/renderers': 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/renderers-js': 1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/renderers-js-umi': 1.1.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/renderers-rust': 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/visitors': 1.2.8 - '@codama/visitors-core': 1.2.8 - commander: 13.1.0 + '@codama/nodes': 1.3.3 + '@codama/visitors': 1.3.3 + '@codama/visitors-core': 1.3.3 + commander: 14.0.0 picocolors: 1.1.1 prompts: 2.4.2 - transitivePeerDependencies: - - chokidar - - fastestsmallesttextencoderdecoder - - typescript - '@codama/errors@1.2.8': + '@codama/errors@1.3.0': dependencies: - '@codama/node-types': 1.2.8 - chalk: 5.4.1 + '@codama/node-types': 1.3.0 + chalk: 5.6.0 commander: 13.1.0 - '@codama/node-types@1.2.8': {} + '@codama/errors@1.3.3': + dependencies: + '@codama/node-types': 1.3.3 + chalk: 5.6.0 + commander: 14.0.0 + + '@codama/node-types@1.3.0': {} - '@codama/nodes-from-anchor@1.1.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@codama/node-types@1.3.3': {} + + '@codama/nodes@1.3.0': 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.7.3) - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - typescript + '@codama/errors': 1.3.0 + '@codama/node-types': 1.3.0 - '@codama/nodes@1.2.8': + '@codama/nodes@1.3.3': dependencies: - '@codama/errors': 1.2.8 - '@codama/node-types': 1.2.8 + '@codama/errors': 1.3.3 + '@codama/node-types': 1.3.3 - '@codama/renderers-core@1.0.10': + '@codama/renderers-core@1.0.16': dependencies: - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - '@codama/visitors-core': 1.2.8 + '@codama/errors': 1.3.0 + '@codama/nodes': 1.3.0 + '@codama/visitors-core': 1.3.0 - '@codama/renderers-js-umi@1.1.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@codama/renderers-core@1.0.19': dependencies: - '@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.7.3) - nunjucks: 3.2.4 - prettier: 3.5.2 - transitivePeerDependencies: - - chokidar - - fastestsmallesttextencoderdecoder - - typescript + '@codama/errors': 1.3.3 + '@codama/nodes': 1.3.3 + '@codama/visitors-core': 1.3.3 - '@codama/renderers-js@1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@codama/renderers-js@1.3.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': dependencies: - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - '@codama/nodes-from-anchor': 1.1.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@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.7.3) + '@codama/errors': 1.3.3 + '@codama/nodes': 1.3.3 + '@codama/renderers-core': 1.0.19 + '@codama/visitors-core': 1.3.3 + '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) nunjucks: 3.2.4 - prettier: 3.5.2 + prettier: 3.6.2 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers-rust@1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@codama/renderers-rust@1.0.22(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': dependencies: - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - '@codama/renderers-core': 1.0.10 - '@codama/visitors-core': 1.2.8 + '@codama/errors': 1.3.0 + '@codama/nodes': 1.3.0 + '@codama/renderers-core': 1.0.16 + '@codama/visitors-core': 1.3.0 '@solana/codecs-strings': 2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) nunjucks: 3.2.4 transitivePeerDependencies: @@ -370,57 +355,38 @@ snapshots: - fastestsmallesttextencoderdecoder - typescript - '@codama/renderers@1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@codama/validators@1.3.3': dependencies: - '@codama/renderers-js': 1.2.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/renderers-js-umi': 1.1.9(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/renderers-rust': 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - transitivePeerDependencies: - - chokidar - - fastestsmallesttextencoderdecoder - - typescript - - '@codama/validators@1.2.8': - dependencies: - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - '@codama/visitors-core': 1.2.8 + '@codama/errors': 1.3.3 + '@codama/nodes': 1.3.3 + '@codama/visitors-core': 1.3.3 - '@codama/visitors-core@1.2.8': + '@codama/visitors-core@1.3.0': dependencies: - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - json-stable-stringify: 1.2.1 + '@codama/errors': 1.3.0 + '@codama/nodes': 1.3.0 + json-stable-stringify: 1.3.0 - '@codama/visitors@1.2.8': + '@codama/visitors-core@1.3.3': dependencies: - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - '@codama/visitors-core': 1.2.8 + '@codama/errors': 1.3.3 + '@codama/nodes': 1.3.3 + json-stable-stringify: 1.3.0 - '@noble/hashes@1.7.1': {} - - '@solana/codecs-core@2.0.0(typescript@5.7.3)': + '@codama/visitors@1.3.3': dependencies: - '@solana/errors': 2.0.0(typescript@5.7.3) - typescript: 5.7.3 + '@codama/errors': 1.3.3 + '@codama/nodes': 1.3.3 + '@codama/visitors-core': 1.3.3 '@solana/codecs-core@2.0.0-rc.4(typescript@5.7.3)': dependencies: '@solana/errors': 2.0.0-rc.4(typescript@5.7.3) typescript: 5.7.3 - '@solana/codecs-data-structures@2.0.0(typescript@5.7.3)': - dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.7.3) - '@solana/codecs-numbers': 2.0.0(typescript@5.7.3) - '@solana/errors': 2.0.0(typescript@5.7.3) - typescript: 5.7.3 - - '@solana/codecs-numbers@2.0.0(typescript@5.7.3)': + '@solana/codecs-core@2.3.0(typescript@5.7.3)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.7.3) - '@solana/errors': 2.0.0(typescript@5.7.3) + '@solana/errors': 2.3.0(typescript@5.7.3) typescript: 5.7.3 '@solana/codecs-numbers@2.0.0-rc.4(typescript@5.7.3)': @@ -429,12 +395,10 @@ snapshots: '@solana/errors': 2.0.0-rc.4(typescript@5.7.3) typescript: 5.7.3 - '@solana/codecs-strings@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@solana/codecs-numbers@2.3.0(typescript@5.7.3)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.7.3) - '@solana/codecs-numbers': 2.0.0(typescript@5.7.3) - '@solana/errors': 2.0.0(typescript@5.7.3) - fastestsmallesttextencoderdecoder: 1.0.22 + '@solana/codecs-core': 2.3.0(typescript@5.7.3) + '@solana/errors': 2.3.0(typescript@5.7.3) typescript: 5.7.3 '@solana/codecs-strings@2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': @@ -445,39 +409,25 @@ snapshots: fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.7.3 - '@solana/codecs@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@solana/codecs-strings@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.7.3) - '@solana/codecs-data-structures': 2.0.0(typescript@5.7.3) - '@solana/codecs-numbers': 2.0.0(typescript@5.7.3) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@solana/options': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - typescript: 5.7.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/errors@2.0.0(typescript@5.7.3)': - dependencies: - chalk: 5.4.1 - commander: 12.1.0 + '@solana/codecs-core': 2.3.0(typescript@5.7.3) + '@solana/codecs-numbers': 2.3.0(typescript@5.7.3) + '@solana/errors': 2.3.0(typescript@5.7.3) + fastestsmallesttextencoderdecoder: 1.0.22 typescript: 5.7.3 '@solana/errors@2.0.0-rc.4(typescript@5.7.3)': dependencies: - chalk: 5.4.1 + chalk: 5.6.0 commander: 12.1.0 typescript: 5.7.3 - '@solana/options@2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3)': + '@solana/errors@2.3.0(typescript@5.7.3)': dependencies: - '@solana/codecs-core': 2.0.0(typescript@5.7.3) - '@solana/codecs-data-structures': 2.0.0(typescript@5.7.3) - '@solana/codecs-numbers': 2.0.0(typescript@5.7.3) - '@solana/codecs-strings': 2.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@solana/errors': 2.0.0(typescript@5.7.3) + chalk: 5.4.1 + commander: 14.0.0 typescript: 5.7.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder a-sync-waterfall@1.0.1: {} @@ -488,6 +438,11 @@ snapshots: es-errors: 1.3.0 function-bind: 1.1.2 + call-bind-apply-helpers@1.0.2: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + call-bind@1.0.8: dependencies: call-bind-apply-helpers: 1.0.1 @@ -495,29 +450,29 @@ snapshots: get-intrinsic: 1.2.7 set-function-length: 1.2.2 - call-bound@1.0.3: + call-bound@1.0.4: dependencies: - call-bind-apply-helpers: 1.0.1 - get-intrinsic: 1.2.7 + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 chalk@5.4.1: {} - codama@1.2.8(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3): + chalk@5.6.0: {} + + codama@1.3.3: dependencies: - '@codama/cli': 1.0.7(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.7.3) - '@codama/errors': 1.2.8 - '@codama/nodes': 1.2.8 - '@codama/validators': 1.2.8 - '@codama/visitors': 1.2.8 - transitivePeerDependencies: - - chokidar - - fastestsmallesttextencoderdecoder - - typescript + '@codama/cli': 1.3.1 + '@codama/errors': 1.3.3 + '@codama/nodes': 1.3.3 + '@codama/validators': 1.3.3 + '@codama/visitors': 1.3.3 commander@12.1.0: {} commander@13.1.0: {} + commander@14.0.0: {} + commander@5.1.0: {} define-data-property@1.1.4: @@ -557,6 +512,19 @@ snapshots: hasown: 2.0.2 math-intrinsics: 1.1.0 + 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 @@ -576,10 +544,10 @@ snapshots: isarray@2.0.5: {} - json-stable-stringify@1.2.1: + json-stable-stringify@1.3.0: dependencies: call-bind: 1.0.8 - call-bound: 1.0.3 + call-bound: 1.0.4 isarray: 2.0.5 jsonify: 0.0.1 object-keys: 1.1.1 @@ -600,7 +568,7 @@ snapshots: picocolors@1.1.1: {} - prettier@3.5.2: {} + prettier@3.6.2: {} prompts@2.4.2: dependencies: