From 8ffa1a7d444afbacd0a921bb952e1b38c3b34977 Mon Sep 17 00:00:00 2001 From: Loris Leiva Date: Mon, 21 Sep 2026 10:30:54 +0100 Subject: [PATCH] Bump Codama JS renderer and regenerate client MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR bumps `@codama/renderers-js` to 2.5.0 and regenerates the JavaScript client, adopting the wider instruction-account input types the new renderer emits — signer and non-signer accounts now accept any address carrier, account meta, or program-derived address in addition to the previous inputs, while remaining backwards compatible with existing call sites. The `@solana/kit` floor moves to `^8.3.0` to match, and `@solana-program/system` is bumped to `^0.15.0` to require the newly published System client. The Rust client is hand-written and unaffected. --- clients/js/package.json | 6 +- clients/js/pnpm-lock.yaml | 2350 ++++++----------- .../instructions/amountToUiAmount.ts | 30 +- .../js/src/generated/instructions/approve.ts | 80 +- .../generated/instructions/approveChecked.ts | 92 +- clients/js/src/generated/instructions/burn.ts | 80 +- .../src/generated/instructions/burnChecked.ts | 80 +- .../generated/instructions/closeAccount.ts | 80 +- .../instructions/createAssociatedToken.ts | 170 +- .../createAssociatedTokenIdempotent.ts | 170 +- .../generated/instructions/freezeAccount.ts | 80 +- .../instructions/getAccountDataSize.ts | 30 +- .../instructions/initializeAccount.ts | 60 +- .../instructions/initializeAccount2.ts | 50 +- .../instructions/initializeAccount3.ts | 41 +- .../instructions/initializeImmutableOwner.ts | 30 +- .../generated/instructions/initializeMint.ts | 41 +- .../generated/instructions/initializeMint2.ts | 30 +- .../instructions/initializeMultisig.ts | 52 +- .../instructions/initializeMultisig2.ts | 41 +- .../js/src/generated/instructions/mintTo.ts | 80 +- .../generated/instructions/mintToChecked.ts | 80 +- .../recoverNestedAssociatedToken.ts | 318 ++- .../js/src/generated/instructions/revoke.ts | 69 +- .../generated/instructions/setAuthority.ts | 69 +- .../src/generated/instructions/syncNative.ts | 41 +- .../src/generated/instructions/thawAccount.ts | 80 +- .../js/src/generated/instructions/transfer.ts | 80 +- .../generated/instructions/transferChecked.ts | 92 +- .../instructions/uiAmountToAmount.ts | 30 +- .../generated/instructions/unwrapLamports.ts | 80 +- .../instructions/withdrawExcessLamports.ts | 80 +- package.json | 2 +- pnpm-lock.yaml | 228 +- 34 files changed, 2302 insertions(+), 2620 deletions(-) diff --git a/clients/js/package.json b/clients/js/package.json index 617de99b..ca7e687b 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -44,11 +44,11 @@ "prepublishOnly": "pnpm build" }, "dependencies": { - "@solana-program/system": "^0.14.0" + "@solana-program/system": "^0.15.0" }, "devDependencies": { "@solana-config/oxc": "^0.1.1", - "@solana/kit": "^8.0.0", + "@solana/kit": "^8.3.0", "@solana/kit-plugin-litesvm": "^0.18.0", "@solana/kit-plugin-signer": "^0.18.0", "@types/node": "^24", @@ -62,7 +62,7 @@ "vitest": "^4.0.15" }, "peerDependencies": { - "@solana/kit": "^8.0.0" + "@solana/kit": "^8.3.0" }, "devEngines": { "runtime": { diff --git a/clients/js/pnpm-lock.yaml b/clients/js/pnpm-lock.yaml index 0e4a8d77..5605ee7b 100644 --- a/clients/js/pnpm-lock.yaml +++ b/clients/js/pnpm-lock.yaml @@ -9,30 +9,30 @@ importers: .: dependencies: '@solana-program/system': - specifier: ^0.14.0 - version: 0.14.0(@solana/kit@8.0.0(typescript@5.9.3)) + specifier: ^0.15.0 + version: 0.15.0(@solana/kit@8.3.0(typescript@5.9.3)) devDependencies: '@solana-config/oxc': specifier: ^0.1.1 - version: 0.1.1(oxfmt@0.55.0)(oxlint@1.79.0(oxlint-tsgolint@0.23.0)) + version: 0.1.1(oxfmt@0.55.0)(oxlint@1.83.0(oxlint-tsgolint@0.23.0)) '@solana/kit': - specifier: ^8.0.0 - version: 8.0.0(typescript@5.9.3) + specifier: ^8.3.0 + version: 8.3.0(typescript@5.9.3) '@solana/kit-plugin-litesvm': specifier: ^0.18.0 - version: 0.18.0(@solana/kit@8.0.0(typescript@5.9.3))(typescript@5.9.3) + version: 0.18.0(@solana/kit@8.3.0(typescript@5.9.3))(typescript@5.9.3) '@solana/kit-plugin-signer': specifier: ^0.18.0 - version: 0.18.0(@solana/kit@8.0.0(typescript@5.9.3)) + version: 0.18.0(@solana/kit@8.3.0(typescript@5.9.3)) '@types/node': specifier: ^24 - version: 24.13.3 + version: 24.13.6 oxfmt: specifier: ^0.55.0 version: 0.55.0 oxlint: specifier: ^1.70.0 - version: 1.79.0(oxlint-tsgolint@0.23.0) + version: 1.83.0(oxlint-tsgolint@0.23.0) oxlint-tsgolint: specifier: ^0.23.0 version: 0.23.0 @@ -41,7 +41,7 @@ importers: version: 5.0.10 tsup: specifier: ^8.1.2 - version: 8.5.1(postcss@8.5.26)(typescript@5.9.3) + version: 8.5.1(postcss@8.5.28)(typescript@5.9.3) typedoc: specifier: ^0.25.12 version: 0.25.13(typescript@5.9.3) @@ -50,7 +50,7 @@ importers: version: 5.9.3 vitest: specifier: ^4.0.15 - version: 4.1.11(@types/node@24.13.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.27.7)) + version: 4.1.11(@types/node@24.13.6)(vite@8.3.0(@types/node@24.13.6)(esbuild@0.27.7)) packages: @@ -221,8 +221,8 @@ packages: resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} engines: {node: '>=6.0.0'} - '@jridgewell/sourcemap-codec@1.5.5': - resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==} + '@jridgewell/sourcemap-codec@1.6.0': + resolution: {integrity: sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==} '@jridgewell/trace-mapping@0.3.31': resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==} @@ -233,8 +233,8 @@ packages: cpu: [x64] os: [linux] - '@oxc-project/types@0.146.0': - resolution: {integrity: sha512-XC0QsnnhVe7sLIWmYmdPw7x5P0h4W8vUU3Nv1ySgWXtvCz8NizoAEpGXA0sOYoJQV2Rl13LgURAHQ5cI5ILCSA==} + '@oxc-project/types@0.150.0': + resolution: {integrity: sha512-rDS5/31E9HfPl/CIzGrn0DOlvBbXFseQ5URJ9sYMfstbKLD/c6Gm9vmRzRGDdAXyOIL4zmO37lc9RIwYqVruZw==} '@oxfmt/binding-android-arm-eabi@0.55.0': resolution: {integrity: sha512-+rFDOqQe5LOWgxrAJaZgLRudr6GQm0wGI6gtu7vVkrdLGjNMUSGbAlaCr8j7F2H2Er97vYQCU8WDb30onqMM1g==} @@ -380,116 +380,116 @@ packages: cpu: [x64] os: [win32] - '@oxlint/binding-android-arm-eabi@1.79.0': - resolution: {integrity: sha512-TebFaaMklO/RXzTv7PucaCq9l3X6D1gA+C8H6K4njtjFOV+zWE9MKLpulcJZN9bzytbUbQIY0mZuz12nQ5Kv4Q==} + '@oxlint/binding-android-arm-eabi@1.83.0': + resolution: {integrity: sha512-0yGY24EwsLk5YDe6F+VkmZyRHSwJDALa3nIrPpq7FXmp2lV2d0TzvBCGeZk+wgiULRGr5blhyr4QMp5KCXJUqA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@oxlint/binding-android-arm64@1.79.0': - resolution: {integrity: sha512-KqqnOtAVgNsPPF0YSodkFZA1O80jcKoCZCTu3bgsszxA+MrMP9TLzfXitKjEj1FmrPprKDMdRDMmY3weESO9sg==} + '@oxlint/binding-android-arm64@1.83.0': + resolution: {integrity: sha512-hHfJ0vc17A4iUjH5p9BsTUPYbYRNxGpvD2lbu1aBRk54bzNIx9o5TtYF39QPZcV95DagZd+4DEAw2RH3G2ZsMg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@oxlint/binding-darwin-arm64@1.79.0': - resolution: {integrity: sha512-BVC2nsMzqQzRDPc5RhixkZ+m1p7iH4bxRRvqkbwDXX0PlQKm1BPy8J8cRjnAFafOq2QzI+BfO3vE8w2GZ3CBag==} + '@oxlint/binding-darwin-arm64@1.83.0': + resolution: {integrity: sha512-hsOjYjszLb/3zym/TkzUMPAoQlTJcuzSyEPOAyA+skXJIX9M0o+4JfOtqopX/Vf4hSLrJ98j0nvFo23gzk8auQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@oxlint/binding-darwin-x64@1.79.0': - resolution: {integrity: sha512-p6Lm+snmhGuLKL1+CpCV8L6ijkE/qJzK2H2jG9+eKJT0n31RbY4FLsdhexekgP3bLpw4Kgde+9DZuDZQ4yIInA==} + '@oxlint/binding-darwin-x64@1.83.0': + resolution: {integrity: sha512-mjh5oH2EA+wl5yRJYT9K9G61O2zFlpuv+yf2JwZOi0+dq2FnTUtm1h8i+5Ik0fXPWIu/k84I1psZR9aQsLAnyA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@oxlint/binding-freebsd-x64@1.79.0': - resolution: {integrity: sha512-qDMm0dXZnoHyRqSL4N4xUq82T4sqK5cbKSjvd/dF/YbMUXc2R1wEPf+vmA5S0qUmi0nwXfNbjXBtZaIqzQLIMg==} + '@oxlint/binding-freebsd-x64@1.83.0': + resolution: {integrity: sha512-fNHr64/YaO8YssuoDVC8+F4Uk5enR86q5uxfHkQrjAPs1dbAILOrD2uaud+J7MO8Fx774g44ERLD0IGIvZE48w==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@oxlint/binding-linux-arm-gnueabihf@1.79.0': - resolution: {integrity: sha512-2od7s0nuKPzqyUZAWk9KkCyGg7eI9dwFPZg+20lB15fKFkVZ0c9ZFxqPfiBAyDTlTkh9stPI0t+JlPCqMbItVA==} + '@oxlint/binding-linux-arm-gnueabihf@1.83.0': + resolution: {integrity: sha512-Qpwy3zzAwMj+8/lyYItHmkSMwbkprFNWTK7jPYDOxSyxEhaSLOWYUTCMkjF334J8/WD0nznCCsoBbIH6hpsuIw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm-musleabihf@1.79.0': - resolution: {integrity: sha512-ZOQUjkzDnvlhSE3+tWC3YXx94MMl+sYMlwH+u1+YGApGHOJP/YAc8ZBRFOXZ6eOBmxtXAWuS/fBcdZr8qqNO1A==} + '@oxlint/binding-linux-arm-musleabihf@1.83.0': + resolution: {integrity: sha512-s+BirYLFq7JL2k9sP0XI3ZXJ9dYvJ8sX3jLCLoag7tt+zrSHpZxP0jqznfL+Gdgwu7ay0dYgGYJXrQvq3iWloA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@oxlint/binding-linux-arm64-gnu@1.79.0': - resolution: {integrity: sha512-lu158FR4nGqGeRS3BQvtG85wRgU/Fy4MD5Cxp1hzJXizGiLo6u2742wJSCDKh8cFcZntvX7fcxlq4mMmfryH1g==} + '@oxlint/binding-linux-arm64-gnu@1.83.0': + resolution: {integrity: sha512-7lihXt3vKr+GIyapNbHrnFHm/biiW30le6Zv/DExbAFPF6YwCQXVFlONPFehxs0CpGO4CBfYPM9rdDT+XMoIlg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@oxlint/binding-linux-arm64-musl@1.79.0': - resolution: {integrity: sha512-mbpKQeE2aflTjddaHK7MP8KP/OFbUM++lt5M635ENM8IyIdK0jm2t9pb+2v9mVVIvhF6TqA4l7F79Pll1mi+uw==} + '@oxlint/binding-linux-arm64-musl@1.83.0': + resolution: {integrity: sha512-q63JalLYVkZiZvls1z3PPUnpmQluOMXp0khqQMznCeAPLGydfNY8JhvuA4WlK57JfrvikU8wB5lPVveqpIXvew==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@oxlint/binding-linux-ppc64-gnu@1.79.0': - resolution: {integrity: sha512-WpGNua7gaxaHnpSDeog2ji8IDHn/QLPl9LPzwkR/FvVv58vT5BcXjRXnU+wbu3N75cpeha8CdC7ho/U2OIsB4g==} + '@oxlint/binding-linux-ppc64-gnu@1.83.0': + resolution: {integrity: sha512-krQmDF+dRbxvdqVPV88ZuOoPPu8X5BuqDA8Hd+qcS4YMRQCb+nexA57DazgGsc/rGdKBe3QmV0mnv0bdpW/p5g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] - '@oxlint/binding-linux-riscv64-gnu@1.79.0': - resolution: {integrity: sha512-tK1E93A5LVzISg4ngpKJnfTs7EqtIUceGI7MQ4GyDjJiLi8wPCkEyKlj2xkyKWZ1yzkDJyLHTBJ5/iFWRdnJvg==} + '@oxlint/binding-linux-riscv64-gnu@1.83.0': + resolution: {integrity: sha512-MmOl8Y6txEAXZU1RG8Rr264jQ6D7VPmqFsU/45x/FeWsGe32hklTqGrLE6UxHzp5Rjt0wP+20tY8YXKgSFB3mw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] - '@oxlint/binding-linux-riscv64-musl@1.79.0': - resolution: {integrity: sha512-qhQvUIrngXivA2A9pQ+xPCychztn/5qUv7yS3gDwXv3w7Rag+eTeeXWmRyx+t7XsW5x6LuY/8AsTq36UgFIblg==} + '@oxlint/binding-linux-riscv64-musl@1.83.0': + resolution: {integrity: sha512-u1rMymh0W3JZkq370kzQsYPULGWqhE09pZRqnZvUSoYaI9pVO5yVX+iYIslmWuEgwuzH9YAaOsScJiobWCHoOw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [riscv64] os: [linux] - '@oxlint/binding-linux-s390x-gnu@1.79.0': - resolution: {integrity: sha512-sv6AaVgU/eE6u+6WFiQVDcPPwTxP6IJMSB9k701W2r/r6Tx465e8vPvVyRxquNH4Vy6KwRNu90mVbxXJN8+5gg==} + '@oxlint/binding-linux-s390x-gnu@1.83.0': + resolution: {integrity: sha512-y0zK3HNwGysu7rqtE+BQG/d0bx5gh/KwlOtghN8oWeK1KcWzeaLqtZrbm8owqdma1lFyrce/hTO5ismuNu+INQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] - '@oxlint/binding-linux-x64-gnu@1.79.0': - resolution: {integrity: sha512-iFZL02deziHslb3jEX9KdqlAkYoo4fGyotchKDzdfK1f5mxlIBeiQeHhvK3iFpuEJSB4ma/qeFn9oxPiwnhUPQ==} + '@oxlint/binding-linux-x64-gnu@1.83.0': + resolution: {integrity: sha512-rS5gM0NgD7ngmuJmbIehsidtrOwKkLFwCQbKEeb9KuyQrrWNq5Zkn0uV6AYdXOMJ0grrWEiLwBuvMxt8w5vsNw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@oxlint/binding-linux-x64-musl@1.79.0': - resolution: {integrity: sha512-3DtZR2raqObnh7wXZoFYFd0Fw7skBvcb3f7A+/lkEiDuh8hrE6vv9b/62Qxao1a9/OeHLw/FcXlXzgsW9wTRFg==} + '@oxlint/binding-linux-x64-musl@1.83.0': + resolution: {integrity: sha512-W2IH4EtpcPaWcvNGCA95YoDg4vxqE/ZiPCi3arrxEEpsK7+JQN9WYwrlYFx9pcdP6KPXqRqkv3zdQPHcx7b6YQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@oxlint/binding-openharmony-arm64@1.79.0': - resolution: {integrity: sha512-Oatt4GuA1WJkqzk2ozx4HrWROOi7opV3AKDw/U8qDIqeTqzsjn5K2x3REJMNjU3/KU/Bkq96Zi3CknaiDTaC/Q==} + '@oxlint/binding-openharmony-arm64@1.83.0': + resolution: {integrity: sha512-6LyKkUyoajssTPLlZmDbZIbu4IZ5B4bGuRUnBgCGpEvHP3FQMaYITncHA/unPUo7q+Z+pIu2HhdkQ+8d1SG7iA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@oxlint/binding-win32-arm64-msvc@1.79.0': - resolution: {integrity: sha512-NAgZr9Qp8nIA9rpo0JEvwiabTF/2UVqBNnupBG9X4kxXcQoScJUTi+qHhvabb9s/thgj5wQ4XcIaJvb+ZMgoKw==} + '@oxlint/binding-win32-arm64-msvc@1.83.0': + resolution: {integrity: sha512-Uz/fObEtF0jmNJQJ8CGRBKfefYstS0/wjD3s6IGzP8nUwsJykHQJBiN3npHwKiGRGn/vvBEgNr4B3cCzmmatvg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@oxlint/binding-win32-ia32-msvc@1.79.0': - resolution: {integrity: sha512-+KyXjIvcpaXmWW/j9NNY5yWjrIVxaX18VyIheQy3jwc2GSYgpCr7MGI/HxIGQ/shAL5IWEKbhsqoMpAO5Stiog==} + '@oxlint/binding-win32-ia32-msvc@1.83.0': + resolution: {integrity: sha512-u7XcvPW6Bk58tY5iWs2ESb0vJjoE/kuSpHxopbwp/p3ZtWVQXZ6wor5w3ssVTHOqd/v8b+QdhSFWQ4grEUNWpA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ia32] os: [win32] - '@oxlint/binding-win32-x64-msvc@1.79.0': - resolution: {integrity: sha512-mEelcCMMBS57sIXh2veGMNy+pQwuGtcMxHxGIZWQ5Ba9pJ5jCCUFOZB9E2JhBaxGsURe+WGe0zJp4RVre52gpQ==} + '@oxlint/binding-win32-x64-msvc@1.83.0': + resolution: {integrity: sha512-LZRubd7ph13QmAg4fFecTYVZkiYbROR2Htaxh/ufWRkDhPOm2wrwaEYR89e0YpPFD3dqBrPoxS7myBw5hmYA7Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -498,92 +498,92 @@ packages: resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} - '@rolldown/binding-android-arm-eabi@1.2.5': - resolution: {integrity: sha512-DLe/i+l8ynIBY7XEQ191TeZvCoowIGa18R+dIV30GW7DiOtp74i/xX8hs8GUjW5ARV7VZuie3d6AumSmCwbeRA==} + '@rolldown/binding-android-arm-eabi@1.2.9': + resolution: {integrity: sha512-tNISae1QEf/vkb3xkRcjV5SEdzPE97We5IVaa2Z8jSszQPZ8U60B/YCYpw4QI7VidYsBtKavczXf+DyDs9WGxw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [android] - '@rolldown/binding-android-arm64@1.2.5': - resolution: {integrity: sha512-zXcwKlQApYAOELHd8PwKDFkagYF9Wy4e0RJ+0qnzl9Pjnpj75TEG8ufv40p2J7kCEfwZAsNiuzRIyNNMWT38ig==} + '@rolldown/binding-android-arm64@1.2.9': + resolution: {integrity: sha512-YC8YsI30o606GTZi0VyzYlsDKFP8W61i/QzayHDkLbNEz/IShqAmTa+hsJRj13xTHA0H+6fk4b2UmGn+Q/cMlg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.2.5': - resolution: {integrity: sha512-dK4QakI42nzWgJT5sm4y4y/O//D4OxM75/cH28RLV+nzIN9AY+YsbuUVrUTjlLjXR6vpyxFbSsbmNuJ6BP9sww==} + '@rolldown/binding-darwin-arm64@1.2.9': + resolution: {integrity: sha512-IwhlH3qK5urrY8hZiEgGkHKEFN901p/p2bjxCxJlr4GyNnF7wYpUvK+Y43uaRYuC4hpfjzbR3SJC3arX1jGvmw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.2.5': - resolution: {integrity: sha512-fqSALaUu1Wjd1nK2uW2kJDWdLCc8lx1IcY+MTY26Aurfdx19anlzhqXOgCFbBFQnlFDTn4TC1/7Nz4Bl2mLP3A==} + '@rolldown/binding-darwin-x64@1.2.9': + resolution: {integrity: sha512-XxpJfVzFh+jilRxIXUqcfYAYcunIc/XEzIizsOL1fcJee5Sf7H3mH8WlLmfHfluz5amqR88QQo9izKtmMlavAw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.2.5': - resolution: {integrity: sha512-/vCnNxlkxs9tKxNDcyWUePpJ/PgTzxIaVhoM5SmG8UV+GR/IcPam4VYxi7GIMo7PSDuNqlJqvprqii9NqqVCMw==} + '@rolldown/binding-freebsd-x64@1.2.9': + resolution: {integrity: sha512-kSfvhmgeWyfkbT3p/1s5vSgboogoah2zkm9fX2zjg2hHxSV7T4KhMWRUUaRk4OXNqoD3QAUeRqLcs1aZOK4U1g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.2.5': - resolution: {integrity: sha512-abk0NLA519LxRCszmbE0jYKuQ9YPocOXTiOXOo6Yr+YAT95VH+PtqYAjOJvGKt3viEd/x4qzabAlwd5bHOOARg==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.9': + resolution: {integrity: sha512-1RVzG17pxqbTfYLC352JlLt6kKLG+6Hr30n8DlIJqsnV5luUDd2Qdx9Ayw1Cabfyb1K9k0jXEZ7evxkRoT+uiw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.2.5': - resolution: {integrity: sha512-Y7eALiJ8lr0M2HH103Js+g7V34wf6snlpZLAsHI90uLhr3PVlNsbFVAXJC9d/V6BnPyKtpSwI+NcB/RLxsQxuA==} + '@rolldown/binding-linux-arm64-gnu@1.2.9': + resolution: {integrity: sha512-BXqPvZ2drqVD+/Z8UpKwcs4Mp7grM+eGFku4CAEKrEtcbAsUpzREphK1sogCRZGreVPiMkiiBtw0n3TPteuqvw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@rolldown/binding-linux-arm64-musl@1.2.5': - resolution: {integrity: sha512-xMvZgnbZg4YVnR/AX2b3oOPDTFYJvUVaJg5FedA/LuvexAtXibZQej4cnTkw3rjsJ/ggUROB64TdtETiim+FYA==} + '@rolldown/binding-linux-arm64-musl@1.2.9': + resolution: {integrity: sha512-11vWvo8YDwLzukt27J3aYDWU+gg2P7J+ZOmiJ0hkF5BXZDW7pVya7r40MXDy6ya0i9KamoENSVKIugvJNgFXIA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] - '@rolldown/binding-linux-ppc64-gnu@1.2.5': - resolution: {integrity: sha512-GRjeqTUDHTo5GwntsLaAMcBahG3nlpjftXWZLN73HiYQlhwEowvarFgQnRnQZtIp4keXX7quXFbG38uPZBa2EA==} + '@rolldown/binding-linux-ppc64-gnu@1.2.9': + resolution: {integrity: sha512-a1tijMkdwsIARtc0F39ApURROkf3NwqinI6TOiSSWCTR7dT96dffNvMUtDHnq64wKNTIZOIlzKrFvvFUznJiyw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] - '@rolldown/binding-linux-s390x-gnu@1.2.5': - resolution: {integrity: sha512-vLNTR45F2Uwc8AufkNXPmB4VliaXs+FvcheEogIzOXzO4l+LzieXF5A/TWxLy5HtqpsRCHUfd0lPVrrdgXdLHQ==} + '@rolldown/binding-linux-s390x-gnu@1.2.9': + resolution: {integrity: sha512-x6SQNdAvv4c3hWqTMaWuawzMX9myaCs/yEmlGsxJzkdClnHW7FbrjQuSiRDhuSYzEYoEMhsaJy9qHG/XNemJPQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] - '@rolldown/binding-linux-x64-gnu@1.2.5': - resolution: {integrity: sha512-Mgj59/HTuYeK9Gz2MA+mBWKnHsAgkBSec15ZMb1st3oIfFbX7gCjOae7GydHhzcyQi9Z/7M1QuN9bR3oFqF0jQ==} + '@rolldown/binding-linux-x64-gnu@1.2.9': + resolution: {integrity: sha512-9s0AZ8BFK5/n7B/TBoa2yJE3gI3KURrbXcPBlsAsvjU4VeJKgE90y1YtNxyEUIcHPQkg6/yfF3qihUrcM/Kf0Q==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@rolldown/binding-linux-x64-musl@1.2.5': - resolution: {integrity: sha512-mY8AP0/ichsbhAxGnLa3d3+MwV0EfgrPND2bplI3Ym8T6R2pJ0N87bvrKVwNXmdy3jnr6eQBecdqx/HMknBmpA==} + '@rolldown/binding-linux-x64-musl@1.2.9': + resolution: {integrity: sha512-P7VWAmV+WdJluH7ovnRGoiv2i8To7GAZ+kGzfGup635cyL7SyYl3lSUaA3Gp5THf0n/Co5EyEqb2zbqq+nMOHQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] - '@rolldown/binding-openharmony-arm64@1.2.5': - resolution: {integrity: sha512-8SLssA2oweAxyRgDp789ACfRb/3P+zNRJpzZxSizxF9m8NUDQ4+3xjo8ttjhVGGw6Qxb70oZiEtIjaKikCO7Yw==} + '@rolldown/binding-openharmony-arm64@1.2.9': + resolution: {integrity: sha512-1qixtsE4BK8h+yS3BfmZ09UhA7O/N4IACva6YBr7EBvCJraByTuRcgOTaiA62Tm0vey3UcKXLOaoGHtYmNGEVg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-win32-arm64-msvc@1.2.5': - resolution: {integrity: sha512-vGbruD5zquhoc8D9SViXgN2FBJtNdTyQ4DtG+SWiEGlJiAzoKcZ2xp+xuXCffhubVdt0NJlTZqkeRuERy7g8Cw==} + '@rolldown/binding-win32-arm64-msvc@1.2.9': + resolution: {integrity: sha512-ok8IQjcEPs1AKZfuEUznVBrJw+gK4soq+bx8b1X2XoMqVClarc1q5JDmVtWXY1xfr6ZuHTAsPXHTgTrqKTZeww==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.2.5': - resolution: {integrity: sha512-e/SXpgISz+IoqVcSSI0rx/d/he8zqLex+/rCWpnHpmVfmPIUjag9H6P7zotf0gJHwPUhQxZ/mF8tr6acebT9yw==} + '@rolldown/binding-win32-x64-msvc@1.2.9': + resolution: {integrity: sha512-Ip2mXoU0hM0boq3Rf+ekuT653OROSo6aSYcPT1VHE4q52KvyxgFkQgrgb/IEsxOuvQ2fZZbs8khJAyCEPM24/g==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -591,128 +591,128 @@ packages: '@rolldown/pluginutils@1.0.1': resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==} - '@rollup/rollup-android-arm-eabi@4.62.5': - resolution: {integrity: sha512-jfkGfTwhQpsiSckPF8r9bU3pn3vyd72NlWaO+TgEO6WPSDnUhXzrNYCHBMOYj0ACaUgjm6eERLF+XV9a6RstoA==} + '@rollup/rollup-android-arm-eabi@4.63.4': + resolution: {integrity: sha512-I+BSHzTAhKN2n7ZwGZsegGcZjDpLqFOMAtJz/u6uFGe0pUFbq56dEHjqJV/ZUdRJtNXNxA+hREUatZBvMR3Oiw==} cpu: [arm] os: [android] - '@rollup/rollup-android-arm64@4.62.5': - resolution: {integrity: sha512-oGVqyQlxnrz9/ty89oHpU857VUHEl5/Xu4R2lS+aivCTrNnSsbiENzTnNaBsjxH0CNWGPhzHArOLFwo+oKXveA==} + '@rollup/rollup-android-arm64@4.63.4': + resolution: {integrity: sha512-pu3BdjS2LtEzRu2elmGzS3fIeWSZy4BMDIaLNwjorO76+k2d0LMluijhsDx3KQyQBQ/lLUZCQA9/s6csvUfuhw==} cpu: [arm64] os: [android] - '@rollup/rollup-darwin-arm64@4.62.5': - resolution: {integrity: sha512-bW7B8xMEq8n99Q3ieEcPRGuphurdZAaFzQc9Efyyw3FL6DZO6pMy9xhdN+kBoD7Sy05xNXSr4OyPPnpkYriS/A==} + '@rollup/rollup-darwin-arm64@4.63.4': + resolution: {integrity: sha512-xfSrj9MHnWK9GaSqT9U0ImHtH/N8WZlHLx4cZHiuLcqs640hvZ3hLPd5UR2AZS57FaE8HrRUSpltbZdWRxHiDA==} cpu: [arm64] os: [darwin] - '@rollup/rollup-darwin-x64@4.62.5': - resolution: {integrity: sha512-YSwBS86QeHOGlrxJ1PSOIZSkzRL/JmKeunhc+lV6M1a6En8QuVCD/T/qIA0J4Gd2Y86RIOBYrLcOUtqGh9+/1w==} + '@rollup/rollup-darwin-x64@4.63.4': + resolution: {integrity: sha512-bqU99PLJb/dqb3S0GIMdeuyAEETSUgZBoqXYd3Sd+WCsV+MmPhnN6JrotWyir31+QgH7EvvE5/mwGJlEoci8Fw==} cpu: [x64] os: [darwin] - '@rollup/rollup-freebsd-arm64@4.62.5': - resolution: {integrity: sha512-2fST8lILgl7cKbme/1KDdPCmbXbG+gqoV3bHp19L0ypX/3akYMBVdOunPleRCwonoLnXOZ/0F+Mt/v8POFmfcQ==} + '@rollup/rollup-freebsd-arm64@4.63.4': + resolution: {integrity: sha512-JinsFZ5G40oXQb+sUuiA5x689vhr6dDYK0H0NL+rwKdL6CqnmYN8PE4ZwfRSoIjrCxqTQG/SLfTtSvHeGxoVlw==} cpu: [arm64] os: [freebsd] - '@rollup/rollup-freebsd-x64@4.62.5': - resolution: {integrity: sha512-cpIxQCP9J+EVad0a6LO1kY3ZGODlk80VlI+2I96B8xMcdHZ4pLVhfQ49JFpYqjPF91FFkQWftf57YlDcTiw9yQ==} + '@rollup/rollup-freebsd-x64@4.63.4': + resolution: {integrity: sha512-GAdA4UxpiNm27cLHr2GqXBpAD0x9FqwYBY7/YSP0Ss0/PNi4k8gbviqpIpYbVSRBaS2ZcegXEzgTQMbRNCwxCw==} cpu: [x64] os: [freebsd] - '@rollup/rollup-linux-arm-gnueabihf@4.62.5': - resolution: {integrity: sha512-r9fGh3eFs3e/udWh5ZjXQtxiYK/xoFxQaYR/cELxac/Udkl5Th+IsFm0CX3Kl9hmUH/we7EoMpjJgeQNnE0+IA==} + '@rollup/rollup-linux-arm-gnueabihf@4.63.4': + resolution: {integrity: sha512-qDd6NoA1znaLjp4jR5U/KWCdLAKDJNB8W9ChbbDaKbo0xA+Atln5HK6LFCZ4oJQpemtRZA288DCirFRjrspptw==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm-musleabihf@4.62.5': - resolution: {integrity: sha512-xdvFdp7OM6KLJviJT2g/YuRSUjnZgGHk4RNgwIbN7X6cPugOucV60DdHXWzsBVCUdrGb6qSXnJQrrAKMmQuj3Q==} + '@rollup/rollup-linux-arm-musleabihf@4.63.4': + resolution: {integrity: sha512-WtB5Tz5KTNINb8ZA+8sQ7bmjuS1JrRT7YverYIhUGdWWDlpzVWmIwuZE+jidkEXUn1l0zrEkaIMa8dHF3NGcsA==} cpu: [arm] os: [linux] - '@rollup/rollup-linux-arm64-gnu@4.62.5': - resolution: {integrity: sha512-rRqILAndyzHzP7T9NFQrq+4HFWNhqkqkKur7eiBpfLmz01PO0JKx5Vchu3YllE4YXI/Ftgq/szrDWg5GJ0mI8g==} + '@rollup/rollup-linux-arm64-gnu@4.63.4': + resolution: {integrity: sha512-VcQ3L1tjnkKzWjryAVaFhHEWcqOfICX9uxVVoDzm2t0DpgKRHd2zOpVrJc0xsWeBZcBFyYROCIBdyR/fS174pg==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-arm64-musl@4.62.5': - resolution: {integrity: sha512-Gf4X3qVMucayUvux6aXXPgXovocSFUC0rrffDuPI/S2nHhNMhjcZxsrAFYCOF350PRreW1XwzFj3CT/3bKsWCw==} + '@rollup/rollup-linux-arm64-musl@4.63.4': + resolution: {integrity: sha512-6+ZQX6P5s0cMDN2Ypb8Lbm2+/sZYmZjdaYny992ujUU9UKi/4CWoJWsl1pNvjWJHNHGK51m+jKGLlh1ylb2ifQ==} cpu: [arm64] os: [linux] - '@rollup/rollup-linux-loong64-gnu@4.62.5': - resolution: {integrity: sha512-+s5qA0TNM0qm8PK/a5gt/1Hpx+NV08uSuCncvhziIlQzT6AEV2fnUQo7eBtFTFO0nA9scauvoR2HusfXmQnO4w==} + '@rollup/rollup-linux-loong64-gnu@4.63.4': + resolution: {integrity: sha512-D72ZnvkFkBXOfzMMQLcwfPLyGkKb7HZ9/mf97B7v6/P5Lbv4oFOtSY/uHbS8lH6uKUOxoKiuokdb50XZSzzbJw==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-loong64-musl@4.62.5': - resolution: {integrity: sha512-ybb6QvWwWJCbBWqERpc8K3pYVGIrXlG8MEQ8IIuJY6Y9KdHQxoFoNyfkAOtKn1VHu3KuLidXvwrvGR1mEjeWCw==} + '@rollup/rollup-linux-loong64-musl@4.63.4': + resolution: {integrity: sha512-piU6BxeqA3O9KSu3kRCIQQtNqFFaTu21SEV4FwaRZowpnj3bLaWPZHw+xFqCs0XlJ+aOH3PTRWGoglH+mKA/OA==} cpu: [loong64] os: [linux] - '@rollup/rollup-linux-ppc64-gnu@4.62.5': - resolution: {integrity: sha512-nZb1DtnOyhCmYvsC8A2CwOkopVg+IS1+fPUa7rMOAXtNw5+lLCLLPqd6XAiNrGtoQKsbvIBOwsHnBH/3wnb4HQ==} + '@rollup/rollup-linux-ppc64-gnu@4.63.4': + resolution: {integrity: sha512-/5PGpHwqt2EEEOUs1XwzubE/ucr0dWDQ+to3zqi4Ds7EWpwtQ79wXc4JBoxqj/OwpawTsKWzJxHfSuBOq3DrWA==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-ppc64-musl@4.62.5': - resolution: {integrity: sha512-yMbj63Sp89ryrXLWyz+sy+fYD2HpOnMCLGbe4Oa1smclFSUukdtD/BgdiHaAetJNb74URD8U4hM+qG5KVzMEkg==} + '@rollup/rollup-linux-ppc64-musl@4.63.4': + resolution: {integrity: sha512-cX3beZDLWt7G2oJF+nhChiT+qtaihs+S2xi7ziGmVB+2pwPng6D0Ed0HmElQOgv2UsUmSJJLGwpBao/3TDx3VA==} cpu: [ppc64] os: [linux] - '@rollup/rollup-linux-riscv64-gnu@4.62.5': - resolution: {integrity: sha512-mhoan3OJw2kYV/e1jtIdmvUZgyBFeA6zGWsOswmR0Tg19TQbowZuR+JMLID6spbbBN7Zee2ejrgmy3+FxGrIdA==} + '@rollup/rollup-linux-riscv64-gnu@4.63.4': + resolution: {integrity: sha512-1uz2mGWHyptR7DgHHrlbdRAjXK7v7elGZ9lMja910/RP+ZYbX6xAmCiU9UZSX4hqmgtHMv6lr5l3kq1HIOpcag==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-riscv64-musl@4.62.5': - resolution: {integrity: sha512-5ZTLmjWbb1VZdjuyhe83K/8QO0/h11midQCBP+X5OYn32ra7eOBoM0ZqtaY4nkgNsYgmdVhMYPoyVPTjUpHf3w==} + '@rollup/rollup-linux-riscv64-musl@4.63.4': + resolution: {integrity: sha512-nLS8topojxyz7SRpKR2IODRpQ0XPZ+xaOXvT3+hqK/Uy8Lo5HFgkkIBiIrCu5tL5YqzTvgovGw55PwpahTAGig==} cpu: [riscv64] os: [linux] - '@rollup/rollup-linux-s390x-gnu@4.62.5': - resolution: {integrity: sha512-m53kG+br6PGxOTmgBEM2DHSDs9RVjsyEbUwjJPJGTFm1grWOG8EKJggDCTb60unD4Tjby8fi7/m9XfkEWasVWg==} + '@rollup/rollup-linux-s390x-gnu@4.63.4': + resolution: {integrity: sha512-gs7DRKotr3l3q+jGPQBjH0ng1FjlEDm5ueQrkw5JtQvtLyEIcLASqAEaor56BhkKRzk+IcQzrcanBdb/bBQn8g==} cpu: [s390x] os: [linux] - '@rollup/rollup-linux-x64-gnu@4.62.5': - resolution: {integrity: sha512-6RHPJR1g/uvdYU8uXBnfq3nlqyZCP82Fr6NHgfGoaIeSh0YEqnX/x6uA9MmJJbnSH7swqX4F+CkGdUF+6doiQA==} + '@rollup/rollup-linux-x64-gnu@4.63.4': + resolution: {integrity: sha512-791ET7W17NnScOZM7h4dX5hYspxE28htPFsb1awY/NRR8+PRNkS53e475rDdxXXDrP+kwnCcNWg9CX5ztn/Aqw==} cpu: [x64] os: [linux] - '@rollup/rollup-linux-x64-musl@4.62.5': - resolution: {integrity: sha512-xs+OXQtEXgpXT0DmA5+U3qnRZHdCST/5HRQxS8wSPZTUZN/EMWeHuSIod32LQklTBZBV9DyfncKBQ8n5V3eFdw==} + '@rollup/rollup-linux-x64-musl@4.63.4': + resolution: {integrity: sha512-iwZQRcmj7g88g3tzefIrQY7qvmuA/cfYwhrDtTBhsmukO4U2huVO5W+86XacUMRvdSFVAc6kZUZy21JaRwiB9w==} cpu: [x64] os: [linux] - '@rollup/rollup-openbsd-x64@4.62.5': - resolution: {integrity: sha512-e7hD+sl3s+mcLQDZ8pbudBVsdG6r5yN4w3LqG2TJ8sQHDpblWj5lrJs/3m01Cvlxbt4x13zu5thLjgypgtkYzw==} + '@rollup/rollup-openbsd-x64@4.63.4': + resolution: {integrity: sha512-dVHFp9gRWrdTpnqQuGfCwd7hOQDatK1VCP2iWhLY/cGrOQs/ucFzJ6A5SRqbXX12ZDI8EUuejSM5kwg+ja7Png==} cpu: [x64] os: [openbsd] - '@rollup/rollup-openharmony-arm64@4.62.5': - resolution: {integrity: sha512-GiyJaCf+WpMub/17aPcKk27QMl5W6f+KhdPTjlFOn5akH5Wa/DCM9Stdx5cDfmasyKB08MqpVQ1uJE2RkkpbXg==} + '@rollup/rollup-openharmony-arm64@4.63.4': + resolution: {integrity: sha512-t3NlauOW6gxZVVFcBEnO62Cb4wbyDFL416gTg1uFI/2tgqYQlf69FbSE115Ajre9I+c26Lk4mcmdFUsS/DGifQ==} cpu: [arm64] os: [openharmony] - '@rollup/rollup-win32-arm64-msvc@4.62.5': - resolution: {integrity: sha512-+OQ8U2DdoEfXl8T4Fb18AjmEwbXMerKDKCL8yCPAYhKCEEKoul7rkbeGCBFCbAlaGaa7pmtRTpkAJM2LE/i5FA==} + '@rollup/rollup-win32-arm64-msvc@4.63.4': + resolution: {integrity: sha512-xWuIaSye5FWZF8+UYtVEcHtRJDN5kN9Kfgxx3Kq8XIov9KSKbc1fiqQCm90SKrgQbUXZelbnUhnlUJmfSE7P9A==} cpu: [arm64] os: [win32] - '@rollup/rollup-win32-ia32-msvc@4.62.5': - resolution: {integrity: sha512-KanvAZrPKbDBFwrgiU9yEVpQoox9QPV1WZOXX7HudJQY+eSlu82CtWxDU8WtuRRvtN5EGkLczkd6Y6DTcvm9wA==} + '@rollup/rollup-win32-ia32-msvc@4.63.4': + resolution: {integrity: sha512-9ALJJUOg/ZflMJepVo2PlgsGxSaxN7SQ4Z8GoZfVlarWr6r3rkHUNsd/zAio7p4YMtChSMXPionxej4Hkf6CXQ==} cpu: [ia32] os: [win32] - '@rollup/rollup-win32-x64-gnu@4.62.5': - resolution: {integrity: sha512-1aC3UEWTtRl3RK3VpDJ/Tqk1XI4SLTmXIthAq6wRWo8XiSXJNd+VprJM4/1P4+i6HIaFEFlVi9sTTziniD2tOQ==} + '@rollup/rollup-win32-x64-gnu@4.63.4': + resolution: {integrity: sha512-blj9z5qx/Pv4WU0W1NMFDB97e0JH5ed+aZGywW8WCvp/NhWX/4PFAq5uu6Q0AebNn+Vo6KzUYDT++JzTT5ojlQ==} cpu: [x64] os: [win32] - '@rollup/rollup-win32-x64-msvc@4.62.5': - resolution: {integrity: sha512-/gDJaRs4gl0NPIwqCz+6PkpmhhjRAD2j6P4rSNHBzUkO3naEx2mIU0pRle1vUNRQ7mE/+8OOeXLTv/J56FKiQg==} + '@rollup/rollup-win32-x64-msvc@4.63.4': + resolution: {integrity: sha512-Erx822VRBwLa124shbj+wNXe//BOgMEctDV0m1aqTQdNO1S69DgNUCFKC1RCeZfixs1J31l6igk1ziyXErbigQ==} cpu: [x64] os: [win32] @@ -727,398 +727,23 @@ packages: oxlint: optional: true - '@solana-program/system@0.12.2': - resolution: {integrity: sha512-MaBeOxlvTruQhA7UYkOb3hVTEHPPagOtd+PvTm6a8rGgvEAP0kD4BbC37NceOaR4ABNqdaCmD5OMVRKgrE6KAg==} - peerDependencies: - '@solana/kit': ^6.4.0 - - '@solana-program/system@0.14.0': - resolution: {integrity: sha512-Pjs2RINZHYmk/pqWNBCuQmfNjZT9woPJ/w7QkzzCSwcqcokbARtxsnIdgj4lJVxvr1DuxG8JGIbKnq6z1QRY6Q==} - peerDependencies: - '@solana/kit': ^8.0.0 - - '@solana-program/token@0.14.0': - resolution: {integrity: sha512-zpLMr6JZndlsQCQvrm0gezfwdr1lmzOGqN6v2WIYXjtDmbF+xg6zh/MAp2UFHRpv3uDmylEdjtQo05pa2OeaYg==} - engines: {node: '>=24.0.0'} - peerDependencies: - '@solana/kit': ^6.5.0 - - '@solana/accounts@6.10.0': - resolution: {integrity: sha512-+FxfDOrnifoPlBkF+fr8eeQdgM6xtIgAg9xKMu3WnIz60oZd4Xnry6+ff6t+ePPoZZp397FSg9ZJet68VCWm5Q==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/accounts@8.0.0': - resolution: {integrity: sha512-+uqFCoI/P9oo0FGR3t3TJJxi0aoAdaEvFXzZCfNoLH5txZLTiw6/d/9QCSE/FXpbNZfk0VPGWcGN+QAXp/yrRA==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/addresses@6.10.0': - resolution: {integrity: sha512-vEoCGBTxG0HCERAn84KXkrJjl+pDaNzOpZ0qbgcPS98fYxP5yzbKB8SNOY2bzrbkRUmmw5Q3hqTRERemUN2Gcw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/addresses@8.0.0': - resolution: {integrity: sha512-hPtZOGxeMVEVoXleEsYcOj1mhxtvUTeEivE3iqCT7HJGGnYZFaV0/MduoqsEMiaBM+2ggjpVh9V7QoXPJIhbhw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/assertions@6.10.0': - resolution: {integrity: sha512-lKSAdVo+P/6Lp4vs6shstXmFOpvxrABwn4o1462tb7sKkNapk6o9pPFVPGw4DUgPS3WqWRs1j2tmpuVjhQRntg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/assertions@8.0.0': - resolution: {integrity: sha512-qvS9Jicl3ZKc4QkRhz6ZT32E/hmPMR3CkGaQccG8JhMVbOSJBK6+18IO2T03K1kNGnP335FDDL6H/Yzw0IhQ7g==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-core@6.10.0': - resolution: {integrity: sha512-nfAl9OMGo4HanIMxGsQoVB7BxMoqBCYEUxl8oEAZZ09pDxnaXQZkTRXEwPPccag37XfW1ciPd1vWPKwB2b0HHQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-core@8.0.0': - resolution: {integrity: sha512-WU/W1IEssIae1rKfJHAwuxvbnhwFH9+WCjD+l4oK2TiKgRDIdO3ndF58ABl5hFqgISCthHxeiFqBtd8C8EhzWw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-data-structures@6.10.0': - resolution: {integrity: sha512-CNasJW3bq5u+632Zt5aJ8rOjAjv2HyenpV8o9kAIqdmV4CBpjCCoBnKn8LkuR/sbeREZxJYfhKTXO/9ruAkw7A==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-data-structures@8.0.0': - resolution: {integrity: sha512-iCwbuANIuUbr7f69wx8E7tzT5tHcrJpKq8Ni06Y7H8aKhzJUlTeNQnpCbQr/e2bhvM6VI65yaXLUNEXfM7OS6Q==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-numbers@6.10.0': - resolution: {integrity: sha512-CcM+wX4zOiA9zkh8A7t1787A0Ehgmu5+6Z2tKoHew6cNw/dkaUTPa8JnNHbvfsLC8dfHC1BhAEJl86sKmRsfkQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-numbers@8.0.0': - resolution: {integrity: sha512-Islv8gZPQhVA1DvCk3KspTTw9r0z/qL6EWwN5/vvA9LYWe11RmNarJ+C0qxg1vPh2lQh8W6t/GcpZS/TJbHI0A==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs-strings@6.10.0': - resolution: {integrity: sha512-zlaqkg7K6F6IN4V/Ec8TWkTn054gxv7ZLagvGkuEyAdPQ6BzzsehOm2TqCuyXgJJTCGPLY1bEk6yH9NxANe0kA==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5.4.0' - peerDependenciesMeta: - fastestsmallesttextencoderdecoder: - optional: true - typescript: - optional: true - - '@solana/codecs-strings@8.0.0': - resolution: {integrity: sha512-4l8XCWIFt9DYX/zH22Jygmu+DRjKpFjFE1CNqnin24+LZ6WQu6Zk3cU+nftV3OrLns2Yi+o4cSlv/eVUsxA3qA==} - engines: {node: '>=20.18.0'} - peerDependencies: - fastestsmallesttextencoderdecoder: ^1.0.22 - typescript: '>=5.4.0' - peerDependenciesMeta: - fastestsmallesttextencoderdecoder: - optional: true - typescript: - optional: true - - '@solana/codecs@6.10.0': - resolution: {integrity: sha512-lLVuxod4ChWp9i7OvpgIykYG8Q9OGPVXKnHM9VlzDDLylsx7Y1FoQL00sHa7PqFkJVmkBufaA6dcGbQ7FU+lAQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/codecs@8.0.0': - resolution: {integrity: sha512-Pk33P602YQSYHJka2IH4LhTg9vcVskYQb/XfOCqXyXDsgJS2x3au7kpXB7Q6M5yiw8VBw8ZNu/a0iGBX44v7tw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/errors@6.10.0': - resolution: {integrity: sha512-KBLAxCtAXr357JNhCyIDQXWbuSj5vN6w+28FSfcYY6OOSiphmXLAV3V58jgV0C6iNbIzFJFi6yatFyDTdeJsNg==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/errors@8.0.0': - resolution: {integrity: sha512-S7vuD1EWVkp2OX9J7fQW7j7nGP3e+iuscDktheMDxpM/5d9GwfjjNiFDTOQB/SwEKuFd9PnZ5Wq5MmMBJxVSrw==} - engines: {node: '>=20.18.0'} - hasBin: true - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/fast-stable-stringify@6.10.0': - resolution: {integrity: sha512-iCNed27wk6PKSS3QUtHovRfMWF/jbVWogs2vB4tukKUCsqG4rDfDInIwZ6ur/nY6XTrgi2gMMdZq9GAUlWsbfw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/fast-stable-stringify@8.0.0': - resolution: {integrity: sha512-2cg1e6ytDOtID8AnoqdIC0vzmEo5J2N96RtON6+nuyYjaOKH+i8T5nLmUAmVpcozcdntp899MfGGrUcxHJ/7Sw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/fixed-points@6.10.0': - resolution: {integrity: sha512-ZkKL0alXH3L7/wMiVG8YUuG8qBKunlM810+YBD7nUPRhifiGsX1zwADViHLYNqLr/jUk0mTYFUcKznTpB/K+Gg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/fixed-points@8.0.0': - resolution: {integrity: sha512-KA7ZA3xUIGNqDlagrTpzUtXsVSZn+vZC4odBDT3iXoRQysqV9t5g191HFH1OiTM68+7H8Rrte1Z0pTZSrQceTg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/functional@6.10.0': - resolution: {integrity: sha512-P8cevu4mAqHTXC37h1TVoOh8zhWB2tlOI/R9vWjYPpcLwcyWf8p2qq4LEGHl5kY+1C+4PNX39HsmCocXOPCDkQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/functional@8.0.0': - resolution: {integrity: sha512-w5GZeeLJQyIBc21PRWPzOs7M+7aKJdbklA5cqzSx7u5cNjJQ9VDs7/JkPTtgTzrhNIqa7jqZRNf97ecx7dQVvg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/instruction-plans@6.10.0': - resolution: {integrity: sha512-YG7mo4zykzdc6ZTV0BuN6pveK9qeBySzlYYerq578A4eQu3xcypMAYRGAvhMZtWTanjjmD6CKtM0M7kVp0TNxg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/instruction-plans@8.0.0': - resolution: {integrity: sha512-sD9W72Pn59UT1swV5wwR7uFpBdAUAc+o2Am3fEFZbm24HWQVhcV5rOmCZqzu/dlU10puFFra28AEVq20o5crAg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/instructions@6.10.0': - resolution: {integrity: sha512-0TToYF+8LXQ3ofPMx+yF6yaM9l4YJvcAPMy0qV5JsrBUFlWXBSANRuudKBQLHMvb+a3OiUTq5X7omuorKMBB3A==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/instructions@8.0.0': - resolution: {integrity: sha512-xcToa7n5IBnjaKfOBwHwj2UU+wmE7Rvh8jLFHRrSeAXzqZkABDviMrrKAPdcgD+/lhnofyuz1cYLH6cuc5hdnQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/keys@6.10.0': - resolution: {integrity: sha512-26IRfdm/hTUCmM7MeEeX0ULSbCM6OzkZTkfkrPircqmRM7xyNqP4hq7u0P7wjb9dl7NfgyG6K7cdvUxrj2e3mA==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/keys@8.0.0': - resolution: {integrity: sha512-nUg748MurpMmfVoWYwshpxrWsJZIcJ31mYf9xm1Z7NV0fySWyZYhgQbrEtONpMW6TPt2kpgBYDVKWs/wAyPokw==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/kit-plugin-instruction-plan@0.18.0': - resolution: {integrity: sha512-GVhSf/QFtowshm4zhwqOrFI5oMpeOgRDCv5WMmYER0xZqE8+aSDxHsbEyI3dS/s4YilA296EHpQpzTAdlpj/bw==} + '@solana-program/system@0.14.1': + resolution: {integrity: sha512-K6ZiIrAKoJAfcwfUdsoFvfSAxeRJaRrV7BPFTJvUVRS4m3zszN+nLcdaNMMe2F1/zTriZqC+xh+Kgw6ziGUqpQ==} peerDependencies: '@solana/kit': ^8.0.0 - '@solana/kit-plugin-litesvm@0.18.0': - resolution: {integrity: sha512-KAUdUzUSDkQKfkNKykZRB7Nd5JvvAUBw6jYo0hrVXqKeGGVQ4ZbiX5sAhUR7EKjXAWfN08VLGZ7vdjGeEKkWYg==} - peerDependencies: - '@solana/kit': ^8.0.0 - - '@solana/kit-plugin-signer@0.18.0': - resolution: {integrity: sha512-/CkyDE0HArqH503UUdsiiknBYpM0gAbe/QhlQ37hCRwP+WcnQkqQNdqhx999vMZaKii68ffSD8+xsvOZcSvC+w==} - peerDependencies: - '@solana/kit': ^8.0.0 - - '@solana/kit@6.10.0': - resolution: {integrity: sha512-/WnnQp3uARh2JCFSfAakejTAqwmXVuMVTcRn5r2yDwY2yzZ4R6mt/Cl59VPimVLNSoTyN/KsEwhv9omr3ERazQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/kit@8.0.0': - resolution: {integrity: sha512-HAruLcW5OPVJu/T/NeMHFTPC8c6De1TjXsOGF8ZablZV14ytlyx2CwyIkOJeU2WTRq1WNM933RI/XuOBUCPrtA==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/nominal-types@6.10.0': - resolution: {integrity: sha512-9ykyBBvnkInH7fCacjJi7zu2PJyd+OCt+VTjIISv070fHzKIMFqZqJJ/dJ0SRH2aHwfB3n86iVsmtBtuxi4KKA==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/nominal-types@8.0.0': - resolution: {integrity: sha512-aCvkLVfJLy7q0xSbzJXLMZkLEDtxbQZtJKJJAsdi7u40KwkK4ZLITLYc7wbIVKCpxLJcs1XspwJKLZGlcFGwSQ==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/offchain-messages@6.10.0': - resolution: {integrity: sha512-RiEgAueeMkFMC1suOXBIcmCZgtXRxy24yk0DldPB37bB4zwOF1SAaRjNRPjIkGK8RhCYrEpPosnzLyavw9ueRg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/offchain-messages@8.0.0': - resolution: {integrity: sha512-wynBOsq3bwwqDG+KIUK9/5hNlo/tpRjmUf+VcFWUdD0LgSRr9NtF8QL2/Modj/m+Xj1iFkjfP+p8f94iGUF56g==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/options@6.10.0': - resolution: {integrity: sha512-RO9UT3UYD8/Cu2uM6ZXbKvLeMnVD42+g9JRds7Pfs4AhiOyg4R4TJrQUAppTgavPTO3PBRlWtWOC05ZH/yAIbg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true - - '@solana/options@8.0.0': - resolution: {integrity: sha512-OOrtPfPOuJY2+jNUUUgm6d9pQewhs+fTaR6R6nRAGJOl2IVgmTOMQ6+mpj2nfH36bLXRNuXmJR7SCG64mMi8Dg==} - engines: {node: '>=20.18.0'} - peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true + '@solana-program/system@0.15.0': + resolution: {integrity: sha512-xE08wZCyNRhOaO/XNRd9A3kSLfUrTe/BnmAHhql8uqc2eriNy2ZmnvaGRrs0m+kOSihvUbANzHljmJsTzGL5kg==} + peerDependencies: + '@solana/kit': ^8.3.0 - '@solana/plugin-core@6.10.0': - resolution: {integrity: sha512-JE70YTQOfFACVFGvoJon4Scc/eHUWjMu8Ovo35CcV2kHTAHYMCd4UkBd2gmlhK0vRMMomsQi1ZLPlAlTq0OoUQ==} - engines: {node: '>=20.18.0'} + '@solana-program/token@0.16.1': + resolution: {integrity: sha512-X9dsvbh+VDq4SuCfvxn95P1DCvtBYHJOBiVmgBJMfW8l/lp8uSwEhy9IurpcdltnGi5kNIkCm4sk4YOXKAMiCw==} peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true + '@solana/kit': ^8.0.0 - '@solana/plugin-core@8.0.0': - resolution: {integrity: sha512-8ciqi0mT7TocVt/ZjW0rzch8jgmaYbZeW6J2EFM2Oxe1vG2QloK+voikRxkYtsHMxGtSLfiTZDnklX24xBSa9Q==} + '@solana/accounts@8.3.0': + resolution: {integrity: sha512-HNVCs4yyE5kTRHVD3ApuKuByuO85GHE6Ns7I/yMB9vXhFgZjGzFhOGi/YCjlWpIk3RqTyX7wGniHyEb49R3ELQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1126,8 +751,8 @@ packages: typescript: optional: true - '@solana/plugin-interfaces@6.10.0': - resolution: {integrity: sha512-vr0/l9wcM4orwGr8cjkFWaJ9A4HvzuAv00jMFNMg0Spd0GZqnwnpW+D/fXa1lIJnTRaF3EeEjLh4VjKU037T0Q==} + '@solana/addresses@8.3.0': + resolution: {integrity: sha512-HSAPbu5TpHYZqUo9SBALvDeOyfU1Cdtk9PCmxv+YjclNuDVbh+yMnesZ614zjhKJ8clvyidWSgmISjlFCJv6qA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1135,8 +760,8 @@ packages: typescript: optional: true - '@solana/plugin-interfaces@8.0.0': - resolution: {integrity: sha512-xi8co+87aAT51XBt0GJDntww172Rke+Bb+hjxPHMoNHd4C1WdMf9VQHwpGhh/km3DYYGx75JBxwpNwPZIbzNxQ==} + '@solana/assertions@8.3.0': + resolution: {integrity: sha512-6NI79X6VANpq1b1BAnQevCs63dW4l3XKSbikVd5k8mlIsURlCTFdtrbXfQInqsUWZJWElf7ZLQu7RkbBOj6wuw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1144,8 +769,8 @@ packages: typescript: optional: true - '@solana/program-client-core@6.10.0': - resolution: {integrity: sha512-4PPbTLdC1ylHIuvhOFDP8RnSkXPCFjNFWGslzc+UFKnoR4ajzBcByX94jmaruDMk5ncxgj7tr9pzJTvfGHIaMA==} + '@solana/codecs-core@8.3.0': + resolution: {integrity: sha512-rpt01CPeF4FhTTJHyr0Tr4n8U1shYPhe7q2mcmTYyKPATYAkyb5CLHnYKnN6LO71EZSFq3Y2Wm27rwWcBvAJzg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1153,8 +778,8 @@ packages: typescript: optional: true - '@solana/program-client-core@8.0.0': - resolution: {integrity: sha512-LS2cgz6imea+PLCQ9J3wKbacR127YpO8aKo/gl1x60GoBasdT1km5Dw63gsv7HEkmEF0iQZGjA9TBwYZNAOXFw==} + '@solana/codecs-data-structures@8.3.0': + resolution: {integrity: sha512-ojwHBnDia6VtkoCzppJGXJ1JZkQ4teYToTRu0e4N5dEkZlFU5EmpeX+1xsw7gu4bR9cNXXMWbWw4uFgVM8Nd6Q==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1162,8 +787,8 @@ packages: typescript: optional: true - '@solana/programs@6.10.0': - resolution: {integrity: sha512-qn/HeLP5KGUJXVub3fyGe69/rWaLX4jzwm6V/1pNxJDbdF+MBdgn18hP6F+VmhfdNmwK0lue3J/1HQ1UTMuQeQ==} + '@solana/codecs-numbers@8.3.0': + resolution: {integrity: sha512-12u+Y9ERE+gqraV1g0BP/5QxbamukFub05kyj3d3s6V/26ZEby6ReHJ8yuKtPl9fIUnfoQ2M4+th/7u5+5v14w==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1171,17 +796,20 @@ packages: typescript: optional: true - '@solana/programs@8.0.0': - resolution: {integrity: sha512-7n40XqVlTntQWYGwSiFyY4pQSOmCdLmI13oXWbHeSh/e1f4hJvPrVIpKe/h/liT630mSdjgxy1Je+2c7cV24Sw==} + '@solana/codecs-strings@8.3.0': + resolution: {integrity: sha512-S7rZrc1B90AS0QVRlo6+6cX2t+0TGtsadsPWdfA7tXcaDKQfQn4C/6OJxJ7/n8ugw8LMgGC+Xcs81ii4nIp6aQ==} engines: {node: '>=20.18.0'} peerDependencies: + fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5.4.0' peerDependenciesMeta: + fastestsmallesttextencoderdecoder: + optional: true typescript: optional: true - '@solana/promises@6.10.0': - resolution: {integrity: sha512-oJSIn+VBBMWDo8oqw7RV3tI6Jih+Ieup6FcQLYLDUriaeo7+8l1Zdezl8zh7SIfeU4lOfAbRg6mR0huaS/Lltg==} + '@solana/codecs@8.3.0': + resolution: {integrity: sha512-BtiHdl7pDw6tadQAn3Vi1s0wgp0BGQ3ndTQRBtxuwmyCzlGfyuvMBq+ynkuGWwknvOpU2eTNEO84U/b7wqLB7w==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1189,17 +817,18 @@ packages: typescript: optional: true - '@solana/promises@8.0.0': - resolution: {integrity: sha512-KYjpZeKOkW4eAserk48349BlWjPorhjP2dkGjYMG0ZRWg67tpby708Yizu1g3S4CAwOAH40EFFYTW6NXaZqcpQ==} + '@solana/errors@8.3.0': + resolution: {integrity: sha512-XsoQ5ThBOwfMz1KS7I2zZoduLxUYFe+NHuRAm/gt+uk44nnXqwzNJHo/9GEMqJqxafViqvfRZ35GF1fDkwW32Q==} engines: {node: '>=20.18.0'} + hasBin: true peerDependencies: typescript: '>=5.4.0' peerDependenciesMeta: typescript: optional: true - '@solana/rpc-api@6.10.0': - resolution: {integrity: sha512-RjPIVsAb/85P1ptoO3WpC0x7QG6gG/e4q/3lo6gbSznUZOcoM+8sSBnCX7BwP1ZkCDS6NK/ClXLnhhhYZx+OGg==} + '@solana/fast-stable-stringify@8.3.0': + resolution: {integrity: sha512-QVVSFQPLJaFeUFekWHe04TUr5rL2QbgPCEK0HcmlOLgCWTvduwj1D9e73jjYzL5HU1QRyUfzkw+GnSw95nvjLg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1207,8 +836,8 @@ packages: typescript: optional: true - '@solana/rpc-api@8.0.0': - resolution: {integrity: sha512-NT2fBS9wivcMuNAwFiiiVpQ1EIR29mTzq0j7fnq9T5D4EBrl/OmA7xZXN+Z6TzUPpNLAaLADzPceXHrqqeaRSw==} + '@solana/fixed-points@8.3.0': + resolution: {integrity: sha512-cah+OuTSXqSMRlTQdj3sQmf7RK1m2RG50RzSgLFWeAAl+WCsoR4pyGPFxhQMw9JdaniqOUkKKB3ppxTMgfoHEg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1216,8 +845,8 @@ packages: typescript: optional: true - '@solana/rpc-parsed-types@6.10.0': - resolution: {integrity: sha512-5275mvSV1mxhwvrMVa+K7BU/nAetpHfcb+8Ql9rtA8RRf6DyiimFQFZUukE4Ez6XJihEpCHNy98yhkgai9wytQ==} + '@solana/functional@8.3.0': + resolution: {integrity: sha512-HBtC8tA8q73JQYHFaNROGiBLcwPcbQHldN7f1NqCgYY9x/iIt/zvWPeoxiRkncYCE9MwDLyWMq3LnetjqOifOA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1225,8 +854,8 @@ packages: typescript: optional: true - '@solana/rpc-parsed-types@8.0.0': - resolution: {integrity: sha512-UEzab+gqgWZ84e1SwMoofInmu5Q0a8+DB7YYC+YnzfJJjbEL/qyFPdNpIvKX3DFyHJ+Hg5rjE9iVUVOP6Pqk2w==} + '@solana/instruction-plans@8.3.0': + resolution: {integrity: sha512-ltuS+fTWsNQokFxK8StQzn/ZDkrR/P4Pao5EpQxYHPQQ+Z83g61kWFEnR+bB9WBDUZwu2CJptNXItKSgGOWwmg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1234,8 +863,8 @@ packages: typescript: optional: true - '@solana/rpc-spec-types@6.10.0': - resolution: {integrity: sha512-NDZrKyZrJk4HaMFhTE/lAiMB824cWAodKqDHyKi0UteHU9pyRmil3BN1jt7e+j08mwMWwfklSgyrTaq52g6DIQ==} + '@solana/instructions@8.3.0': + resolution: {integrity: sha512-piAAqqC5NEvN2Mf2FP6PWogl8qCVg/2cEt+LKyq89P0sNbaeMPK11wGcZR6e3LEBMBSnjAw4DbDerDWg6GC0eg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1243,8 +872,8 @@ packages: typescript: optional: true - '@solana/rpc-spec-types@8.0.0': - resolution: {integrity: sha512-o9/NGXsY2fBOMsJxt/exjDyV+zPsDDUl0szspDdLuh2w/YUb3U9D2ZvsCmxjtWotgbmIqFn6uKKf1/0pL/Wtdw==} + '@solana/keys@8.3.0': + resolution: {integrity: sha512-Fs8rtmxliPlDu/6iJniU4FfvUfD63OSxIAbMv2CyNvK9fg7dmQ9fUEBuK3WpwAlpKwhEHCzaFSWNUaB2SmeviQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1252,35 +881,23 @@ packages: typescript: optional: true - '@solana/rpc-spec@6.10.0': - resolution: {integrity: sha512-yQdbWw5mZEWrwsunHR9NHkuhMXIB9sPOObwm18D53v5tAJnxTB0IcHvO647XqFDLTK/yQ4AdDtlYD1vsY07AMQ==} - engines: {node: '>=20.18.0'} + '@solana/kit-plugin-instruction-plan@0.18.0': + resolution: {integrity: sha512-GVhSf/QFtowshm4zhwqOrFI5oMpeOgRDCv5WMmYER0xZqE8+aSDxHsbEyI3dS/s4YilA296EHpQpzTAdlpj/bw==} peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true + '@solana/kit': ^8.0.0 - '@solana/rpc-spec@8.0.0': - resolution: {integrity: sha512-8Mji0374hnloSXSMgLQSCj+E/c2A8qMCa9IOm1xbdHtDu91q/1fB7v88j9jT/lHmSBbShVJLyGCI9OKzxT1Tiw==} - engines: {node: '>=20.18.0'} + '@solana/kit-plugin-litesvm@0.18.0': + resolution: {integrity: sha512-KAUdUzUSDkQKfkNKykZRB7Nd5JvvAUBw6jYo0hrVXqKeGGVQ4ZbiX5sAhUR7EKjXAWfN08VLGZ7vdjGeEKkWYg==} peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true + '@solana/kit': ^8.0.0 - '@solana/rpc-subscriptions-api@6.10.0': - resolution: {integrity: sha512-CRPQoTtT1cOwOQUsqS7jgo7wYdAj7jB5ab/UmMPWVpecf2FNMhWhgvxP2s82M7VkDGTGl13qaQ0WySmi7Egrlg==} - engines: {node: '>=20.18.0'} + '@solana/kit-plugin-signer@0.18.0': + resolution: {integrity: sha512-/CkyDE0HArqH503UUdsiiknBYpM0gAbe/QhlQ37hCRwP+WcnQkqQNdqhx999vMZaKii68ffSD8+xsvOZcSvC+w==} peerDependencies: - typescript: '>=5.4.0' - peerDependenciesMeta: - typescript: - optional: true + '@solana/kit': ^8.0.0 - '@solana/rpc-subscriptions-api@8.0.0': - resolution: {integrity: sha512-ILmWLSRMs0cmes78FDln79OCVpRn5WwVg8aIgkH+phR6qsybg9ZA6JmVKPsNjRJzWhnvKw3cnY3YscRNk/uW2A==} + '@solana/kit@8.3.0': + resolution: {integrity: sha512-2T2QaO+0/CeZnPMsjv/bGhBSEiBCMY6V/Qi0xhFF/+8yCH8tkzM/kgE7fX5JlrR3gZpl9Bu+C62KTqnvk/bcjw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1288,8 +905,8 @@ packages: typescript: optional: true - '@solana/rpc-subscriptions-channel-websocket@6.10.0': - resolution: {integrity: sha512-KkqP1186HELPlJftA88SNAT2znR8knCVzsUipXVzY4zfW8sN3LOa0ePMzh9VZ/V+J+raTt55laR87ovAO0n+zw==} + '@solana/nominal-types@8.3.0': + resolution: {integrity: sha512-x2aCcMwe6C2tQNq4pAhx4bEd2zhrm3i7DjkdAJAPVCtPKd6ecO6iaV+53/RvE2ImZ0E9aVB41lPV8ZM0dMhRiw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1297,8 +914,8 @@ packages: typescript: optional: true - '@solana/rpc-subscriptions-channel-websocket@8.0.0': - resolution: {integrity: sha512-5gOIiaA+UsDGTuVIszwUzwlGI0AKOxsStXg5abk9BdWsx8B0iEqRZ0FTXeZxHOs6t4k25yhLFkAeam7i18qKeg==} + '@solana/offchain-messages@8.3.0': + resolution: {integrity: sha512-zpwwQRTX+aBF97fgZW+T+grZWqKbCMa6moDnYHsCkQg67nCeb9OrPtZxMbCT5bP+kDgMTq2URQwS1NcZOwut+Q==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1306,8 +923,8 @@ packages: typescript: optional: true - '@solana/rpc-subscriptions-spec@6.10.0': - resolution: {integrity: sha512-nWMwGaG4ulzeX2sskY5TywXF3cwEd8FDmUpLe2JBWxE8XDAOGOKcsYPYFcBgb8ee9KqfPT2PTNdcz9jOhJf34w==} + '@solana/options@8.3.0': + resolution: {integrity: sha512-+mi+EvxdjlOxt3dv7wTfzGxVFw0j8flZ8gGSXCx969JrML9EZd3+wgsKuMNb3whbvGa/N5exPZXfzsG+wNlK8A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1315,8 +932,8 @@ packages: typescript: optional: true - '@solana/rpc-subscriptions-spec@8.0.0': - resolution: {integrity: sha512-RdKaVmuC1ATsCiiFzb8Fd5uJIouS32TvF+eVCRx/fmqHmbW7J7testCqi/gjITJGjr8JE/7qPJIoUU1dccWzLg==} + '@solana/plugin-core@8.3.0': + resolution: {integrity: sha512-cU5S9QR7C1Xsn9DDRSLN7Vq8+kWy6Fw6g2lwa+9yZqdSqABhmdH5HBJG/Zl8HULz2Ady0y8qHcu8fEZsehuU0g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1324,8 +941,8 @@ packages: typescript: optional: true - '@solana/rpc-subscriptions@6.10.0': - resolution: {integrity: sha512-6mfuHp/K7unFKCOTCCBC9ziEGnxe2tyJ74EbR51QUnBeCUdYD7Hhdpxic1WRSJ3UeNW/mG4OzFM6z8Wi64Eh9Q==} + '@solana/plugin-interfaces@8.3.0': + resolution: {integrity: sha512-EawuCQiW5A13qdArRODYbAsAvi9fRkORk1hq14kbRAR0A/7XwQLniAWrgKY4WZ1UXuECB/LxKc8uQwfH5u1JOw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1333,8 +950,8 @@ packages: typescript: optional: true - '@solana/rpc-subscriptions@8.0.0': - resolution: {integrity: sha512-Ar2UgTHqx6W1xFJ8JmkZiY2xvcSzrW7FrXF2cg7AiBw89PIeMcpQOUHokaZtI8bN2CHp3f5VT1d4CcKFe0UIJg==} + '@solana/program-client-core@8.3.0': + resolution: {integrity: sha512-GUFVAFaEgVvznI6mrfa69I0SVnO5mD5RpYKdSEHvGnIMzupgjZhTcmhSxMIU06hFA2ZLF+NbKsOKMQFVicOCjw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1342,8 +959,8 @@ packages: typescript: optional: true - '@solana/rpc-transformers@6.10.0': - resolution: {integrity: sha512-2nFUrVTiE720pJOY4XKx3HuYmishw0of/4oScu76YGm6O8wsmvFvPNAkrEinmieWXQkfpBfRvLZmpl8PaAy+ug==} + '@solana/programs@8.3.0': + resolution: {integrity: sha512-XosDh9GNaDUCvzpFE2e3M7iQ6tounwrhR16+KInjYNcvQDLgA5yeCbNfByai7OSz9iqEi5nlXjQFIQCckLANVw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1351,8 +968,8 @@ packages: typescript: optional: true - '@solana/rpc-transformers@8.0.0': - resolution: {integrity: sha512-OA4wEcLte+WJirlYfZcsFcX6Sn5/deWaJ+G1x1VbfDYXwGEzo39JBk7A23VZ9T9MOmDfpgfds7lCjCix9lFZJQ==} + '@solana/promises@8.3.0': + resolution: {integrity: sha512-RekTh1UzvyD1EtF4hjenJDrnpGakJwTCE7cq6auQKtBxQUIJrKwDxmpyiJTJ00wvQYdMfMuyJEPQNuxgm6mxrg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1360,8 +977,8 @@ packages: typescript: optional: true - '@solana/rpc-transport-http@6.10.0': - resolution: {integrity: sha512-JrdNuYi0nBbD3X8JUtgX1dQJwIwz/WJvmigDdELysXfGB2bTJpfjqGDLhCLOz2sRl66FASIEqgG/LVa2C9VXcA==} + '@solana/rpc-api@8.3.0': + resolution: {integrity: sha512-8wvVbQLbp8Mjd0Vcg2IZqkNreSGkgOPe4IhCrO2GqJQyTNAI8Ir6o/Qt3zIj02IQS9LDL9rZPvynL+1PFPSlOA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1369,8 +986,8 @@ packages: typescript: optional: true - '@solana/rpc-transport-http@8.0.0': - resolution: {integrity: sha512-fGk4ym3zApquQnKI2vyO+wdEwfKEKsRQfUunLVgjAMLYSd2dxV4rQ2rFErxzJpJE0gMWE3vBH9JTPm9NXHgiuA==} + '@solana/rpc-parsed-types@8.3.0': + resolution: {integrity: sha512-cK0Yu7I8HADKYQdlyIuCFd2sq1sCrIm7q0H9nqeS7b5ILLYoH9T3AnCZ437N7Z4jZBekL2DGdpdE2M84F0fphQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1378,8 +995,8 @@ packages: typescript: optional: true - '@solana/rpc-types@6.10.0': - resolution: {integrity: sha512-zaSecTfCPvz/vcoAmKD6XoRstGHTr1EKJBD8T9UcpEFFB6CtF6DxerDB+wrzkamuT6msmnR2DWXMrYOGDAsgIg==} + '@solana/rpc-spec-types@8.3.0': + resolution: {integrity: sha512-D757241XGKwmBRlQ1xSGknBqRaXq8ZO0BDl5UupG0UyHsfdk6iKDrJFccaNx1m2LKExzlu8iWZTEdnrueDDL7A==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1387,8 +1004,8 @@ packages: typescript: optional: true - '@solana/rpc-types@8.0.0': - resolution: {integrity: sha512-OvuMUHeeuK7cySRGs8pMd/qXvYyUiAAeTI6NRgQCR0moRbegQ9DqtQycnS1y9wkpywv8bEjpoJoi8QZfMpx/WQ==} + '@solana/rpc-spec@8.3.0': + resolution: {integrity: sha512-HWMQsAUsW8LOkojFopkkkTSIFAFeYDA6B4NiXtXZ8q5qKRKDB+qCVTC1un8RorKrnayLM7gF73Oi5gPD2ANL/w==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1396,8 +1013,8 @@ packages: typescript: optional: true - '@solana/rpc@6.10.0': - resolution: {integrity: sha512-EwxsqoD+NXV+m+iobnWNtATD93gTgaNsOiQOzYB1/2e+8S6fl6obdNPB55yfXgtl4jt6GV6/ae4xuPhLv76vvg==} + '@solana/rpc-subscriptions-api@8.3.0': + resolution: {integrity: sha512-NHjPuylayZHuBNXPkMT0sMHGUKAenck+P9Iep1ZzfH0py9SJcKOU8LHecSdGl7GjHk0SCs+iCBew+89JYrcTaA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1405,8 +1022,8 @@ packages: typescript: optional: true - '@solana/rpc@8.0.0': - resolution: {integrity: sha512-wzo+xjw0oTVOf8jX1dfowegVv8kjpSE7AMoAcBWRiTOOzrLViYiVEPSHvJAow27TTgLoI8ujkfCl+emXFFrA9A==} + '@solana/rpc-subscriptions-channel-websocket@8.3.0': + resolution: {integrity: sha512-4Ix52idqRT3q0Ty5sr9lUj/S8Flf+/8q7NMuAxYNH827C71AO6vVpkpAY1YpU53MKnKy0Tox0mLLScocftgEJQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1414,8 +1031,8 @@ packages: typescript: optional: true - '@solana/signers@6.10.0': - resolution: {integrity: sha512-+vtCc+mT1FpGxrA5oL2aaMxSHiMJ2hH5PcDIfjo2XJkHz2klZiCZyT5F9+zpltc9vdi1QTElQq59Sfplmtd33A==} + '@solana/rpc-subscriptions-spec@8.3.0': + resolution: {integrity: sha512-iv6f4N7Pva3KGljkT4kEBsMDjWVHShtysuPOko8doLBSKuelOj+b+79iYpezeu6hpbZ0YxBvlmJkOtUyeIhRJA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1423,8 +1040,8 @@ packages: typescript: optional: true - '@solana/signers@8.0.0': - resolution: {integrity: sha512-yKqD54Hh8a+BBgjdcyRDYukKRG9d2Zj9aLAOuXapIcj1fWG1bWGIf3LEdVAjdoNJPTa2NEb787ouM6QOA+DAMA==} + '@solana/rpc-subscriptions@8.3.0': + resolution: {integrity: sha512-/oI9aXKOTFnIoZ+wmvZeNfSu5h8Vl90a4W6U/K8OZE2AKjK1dbKI4bR1k7P/3SORY9Z0AN2S9UsohQ6Z6n9jKA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1432,8 +1049,8 @@ packages: typescript: optional: true - '@solana/subscribable@6.10.0': - resolution: {integrity: sha512-VsR6XMwkiDBkZJUcoGkEOhf397pOV75gKCL9Bx8bpi2T3Bbs0CxUpMn4yaUgAnRba3eXmjbXMNCXjttfa6sKbw==} + '@solana/rpc-transformers@8.3.0': + resolution: {integrity: sha512-eDn1PwS+MbMAJN4ZSWzMYGt0jEwvyaZJwDeQdOdWYEkqKJKlLsO1AAxLmz3LW3R/iKyWa4KwjrJ5Ia9oAugS6g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1441,8 +1058,8 @@ packages: typescript: optional: true - '@solana/subscribable@8.0.0': - resolution: {integrity: sha512-/vu8j2WeAklP5h7xBgbrM4zG9/W+lju0HN50f0qMRqcmo1VhQejHFb42MVaHFb3iRUvsuvC2M627DGUFb8CMZw==} + '@solana/rpc-transport-http@8.3.0': + resolution: {integrity: sha512-XD3Bo5KZekQhrReoF6UzFW66NUYqa4Rg1wBjFEIsC/sABhLJ+062O1GPS3HY9AcxZBW48rAmfNe1Qqkerxajzw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1450,8 +1067,8 @@ packages: typescript: optional: true - '@solana/sysvars@6.10.0': - resolution: {integrity: sha512-cG13p1+onxz+20iWjwWQr1Z1jQwPm0fnjoW75fqZq7p4rVCie3L2sXvaJsYPjWKrUvpOzOIEHnqZGkG05rCpjg==} + '@solana/rpc-types@8.3.0': + resolution: {integrity: sha512-T8DlDU5hu/pspKNWriwkJHXqzb7B6EQVVC6sgciZp78VB9R413+K6QhC7jZc96mNcoaATKRRg2tDDyiezKZVIg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1459,8 +1076,8 @@ packages: typescript: optional: true - '@solana/sysvars@8.0.0': - resolution: {integrity: sha512-z8bZDr/RfvEeQr5t2UVtdG/qzS5yjBnTpcuVvpQcoWqkfzMISb5+dMTc1qiYtnwGz2176QZROgZ7+OQogfDbnw==} + '@solana/rpc@8.3.0': + resolution: {integrity: sha512-giS/v09dby/VD77uDfNrhr5fLi5K5NIOp3jIFfKpdAnfPHgKLv050xdmL9ZltrWucrGuePinzUTLWkdkf4s/cw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1468,8 +1085,8 @@ packages: typescript: optional: true - '@solana/transaction-confirmation@6.10.0': - resolution: {integrity: sha512-ULvtg65qfenh4T/GYcIlKSUv5EqDcng9UN0dxbHU4kuZdR2e0B8HN2xDC4WhcFQVeFJSbTZmaYFkeTY/Y4gfGQ==} + '@solana/signers@8.3.0': + resolution: {integrity: sha512-uNiJZV6npLBQ0jYsK5fmtemZ0igQ4HW9QR9t5qSxbxRa52yZjzX7zkSpFhQJsxvBCAUR2ppVmhanDeupPXf4Mw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1477,8 +1094,8 @@ packages: typescript: optional: true - '@solana/transaction-confirmation@8.0.0': - resolution: {integrity: sha512-vz72wtWChtoqzCXmYpQwD0ZRtA1qM10FGg+hwtmUeoxvoq014MAJ5JEJ4PN5X3D5ST/qdmv3TmmFyfdyJ8kfCQ==} + '@solana/subscribable@8.3.0': + resolution: {integrity: sha512-tLoGNOt19oUTxIoOaBxQRNxKJET/IXBx1NZkGD1lh4X8iNc6V0lY3MMIWjNvRivFIpzeWtWYxX/tAb27xpmcXg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1486,8 +1103,8 @@ packages: typescript: optional: true - '@solana/transaction-introspection@8.0.0': - resolution: {integrity: sha512-GkmR+SXN70Amh1f+MvzEGUiqr3/YL/FyEqeT6oCAMTR2AidXfyZIKNkoTB4+1jABeXFFMaYiCfPhKD6+BznnXA==} + '@solana/sysvars@8.3.0': + resolution: {integrity: sha512-SXnKqpV4pj3vLvcyBn8+jeVouu4Bbk0PTmHMknsig6edWcpmvAXkufcRdxgVy5t58pdSf1+GlJGEEhP5NR/0xA==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1495,8 +1112,8 @@ packages: typescript: optional: true - '@solana/transaction-messages@6.10.0': - resolution: {integrity: sha512-s7v8G3BTxGlKYIj3eWCG0g1296v+1LBt16mVnlRH5FuyaJ5AdhlhtRho5HUDpdwE8EXun+y1c48V6uhcZ8wdbQ==} + '@solana/transaction-confirmation@8.3.0': + resolution: {integrity: sha512-xx4sO4+0nP84SvxPPmHFKkUyBEQDFC2Vn8eqV8qEG3yo0ruHlZ45g0IeYhz9WS20WPgkXvGB5bVU8Y3yv/4vPw==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1504,8 +1121,8 @@ packages: typescript: optional: true - '@solana/transaction-messages@8.0.0': - resolution: {integrity: sha512-/3QXUWIPLDicPLOt2aVczgTRJrWih59mHndLOwCD3i7/phGFnH66cjoyYy7+ootJJJwDlsgMoOmgdGJJHnqyFA==} + '@solana/transaction-introspection@8.3.0': + resolution: {integrity: sha512-uuPNYLhgueMG1ZxWH+SqPHiyz7KM0vFUDPCVRQUVTTWFryWDeu6GExfy+mFMPRR25cp+hWYmYhddub8BU2sPXQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1513,8 +1130,8 @@ packages: typescript: optional: true - '@solana/transactions@6.10.0': - resolution: {integrity: sha512-VADSqP9OTYmhrox4pcgDd4+RjVmednXSE0+8Y7SPK4PN1pK5Az2RJ0nSsy0xcTnaOr8mF/crwFktqPrRQwSbQA==} + '@solana/transaction-messages@8.3.0': + resolution: {integrity: sha512-AkgHRPOnwonB7n81rTwnZ9WFlagnhzDzXKGhETdffzC+A1GifXC2s/ou0/qNozuqlgPVDaBR02S/A3Vt1tYr/g==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1522,8 +1139,8 @@ packages: typescript: optional: true - '@solana/transactions@8.0.0': - resolution: {integrity: sha512-8HQmyVN9qv0v1ylTqOR38T8834oQ+sPLSRpPueTd5yfwiv60CtUwndHg1M+y5n7Q4DP1jJZ0M5YReJ5BpnD2Zg==} + '@solana/transactions@8.3.0': + resolution: {integrity: sha512-zNCHu2W3t6r4W3rsCA5vZ93bGqcZPNgfgYjTamRC6xTZPP2qn5JR+bSR9/WBMpi8GwLzWYuDk6YtNp3+pYGKuQ==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -1543,8 +1160,8 @@ packages: '@types/estree@1.0.9': resolution: {integrity: sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==} - '@types/node@24.13.3': - resolution: {integrity: sha512-Dh8vAsV36ig5wa9OX4pXvMc9D3Veibfw2wix0CUwYODLD8nkj9UsLjASr49nPg+2eKzxhBV+v7L8pXvT4e639Q==} + '@types/node@24.13.6': + resolution: {integrity: sha512-SGrw/h3KPFshy3OE6ZL53LMBG5vGQQ8/gIpiqz/kRZhPJ7HgwCEs8LBuNtWLa8dvGZVpSF7+Bf+c11HUrCb/yg==} '@vitest/expect@4.1.11': resolution: {integrity: sha512-VX2x5vNJXET47KAFzwERI+KRMtTTCSWTfSMKsW7JsUsXV4psq++e3DvZpuTDOpHcxytiDs6p2nhVb2tVDiiUYw==} @@ -1609,8 +1226,8 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - brace-expansion@2.1.4: - resolution: {integrity: sha512-hGfVzPxthbf3+2yjg/RBs60cB0FhqBS/zvdV/4wn4/BmN0bNMMHPc4V/BbFieqf1TKAGGAHnY4eSjajCl0f2Xg==} + brace-expansion@2.1.7: + resolution: {integrity: sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==} bundle-require@5.1.0: resolution: {integrity: sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==} @@ -1820,44 +1437,44 @@ packages: lines-and-columns@1.2.4: resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} - litesvm-darwin-arm64@1.3.0: - resolution: {integrity: sha512-fj6cV/ofjMXdl5CwjyyLTQnZObfVH5HYDScQ6O44iRqxASmgEyEh4sC8a7M0YZ1rcli9nu2cWl5ARGura89I7Q==} + litesvm-darwin-arm64@1.4.1: + resolution: {integrity: sha512-6dofWLOxtknSL0W6N9W3f/kdnitsJ3xR0oE1W37CLcfd5kX4qCMVbaejZWJkLo4G2JzAk+hFZi965Z2OPyJACg==} engines: {node: '>= 20'} cpu: [arm64] os: [darwin] - litesvm-darwin-x64@1.3.0: - resolution: {integrity: sha512-ZYEddnc+tAn8sVYpzvww0oHFiekbCSv+0OZiA6eUDtcSx9uzeRDmPPQ9eI6vgyews2LefBDSENmUb70GHY6Cqg==} + litesvm-darwin-x64@1.4.1: + resolution: {integrity: sha512-Rjyg6SfnSKAO5/vMpnZpIHTcBWEUzjFj/GshXwzdyiWorrpC0poQjK3OJ9RJneJW2YDd+oUsGZCfwAplTXPGfg==} engines: {node: '>= 20'} cpu: [x64] os: [darwin] - litesvm-linux-arm64-gnu@1.3.0: - resolution: {integrity: sha512-kmmKeef96pJI4AJGCvjzMCW6QHuzFrMF1i6dE6OcrtWHaz0Ag+TFaKOU35H1bjH/fDBwoJUV9UbaIbdWht81tA==} + litesvm-linux-arm64-gnu@1.4.1: + resolution: {integrity: sha512-hyL/tcuFisAwNEwVzDGjtDRuLYDc+8PoX9QZU/M46vsLrdU2WCBU3g4WdV5z0z1nPl16TzcHVboqydyBy3ImFQ==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] - litesvm-linux-arm64-musl@1.3.0: - resolution: {integrity: sha512-FO9p6rx+/3h7R3CU7lkOebL+jy8UEDngSrENHu7pj9EOr78QVyE3Fm0O+WMnwXpMoCSgW0XLhu1cI9NHAbzCTA==} + litesvm-linux-arm64-musl@1.4.1: + resolution: {integrity: sha512-Folc4nWAXwkWvwK5iqf3C74eNAPRERg8Yn2QGVW+6pMgCXtaQt77PuIB9m32mLo+W+LZxiU+t3et0ZiFEm4YgQ==} engines: {node: '>= 20'} cpu: [arm64] os: [linux] - litesvm-linux-x64-gnu@1.3.0: - resolution: {integrity: sha512-yXC8ZAdIei9JQ2xw5/BocOTu/7EqZuFPyhgENQ1mYDhjNpoyUbIuGCWnqtria14mDda0aV9yVev8plGUrUpjUw==} + litesvm-linux-x64-gnu@1.4.1: + resolution: {integrity: sha512-sAKax22lAMS0DpWQcT6ICt8vs6phEjRJXT84LhhftnlNkcU03b0RJziFDr34LUTrkY5SMi/uqZEy0T86Xokg+w==} engines: {node: '>= 20'} cpu: [x64] os: [linux] - litesvm-linux-x64-musl@1.3.0: - resolution: {integrity: sha512-oedromp1gTjShXmKmxZ1FYtnfM824vRcrPSPvGM0CrqJqKK61m1+tFwNRAVsDlpmWKvO/zsz90ctbgAUo/3TXg==} + litesvm-linux-x64-musl@1.4.1: + resolution: {integrity: sha512-kKsOVhF7o8/sMiP6mgZCoIYr7zWEzwOBQdC0WrWp29JvOJpKOOgz3jioFdgWv/LnSYfkbJ+wZNWI8tMhAkmNOw==} engines: {node: '>= 20'} cpu: [x64] os: [linux] - litesvm@1.3.0: - resolution: {integrity: sha512-tMu9sBIqSbF1gQluXEUtGmXPfZlMc10tOoBVeDokgK77nl/CcuC506sEoFKM5Rq58Dkb070lBMVBLc43TbMUzQ==} + litesvm@1.4.1: + resolution: {integrity: sha512-SGMdN6c44m5Deo27nZX7GIn42e/OlfQ4jIv0JIVxR3F5vU8ZbbjsLRGUj3b/r5jCITyN22u14JnuP+mhDyNLlg==} engines: {node: '>= 20'} load-tsconfig@0.2.5: @@ -1895,8 +1512,8 @@ packages: mz@2.7.0: resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} - nanoid@3.3.18: - resolution: {integrity: sha512-DTg4MJbGMWkfi6VZFdNt2/caMbQy4Ou+Op/hJQvGEWcnVfoA1QA+xzRKAzw9jD6+GVOOeYr/mIcuDSdug6F6+w==} + nanoid@3.3.19: + resolution: {integrity: sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -1904,8 +1521,8 @@ packages: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} - obug@2.1.4: - resolution: {integrity: sha512-4a+OsYv9UktOJKE+l1A4OufDgdRF9PifWj+tJnHURo/P+WOxpG4GzUFL9qCalmWauao6ogiG+QvnCovwPoyAWA==} + obug@2.2.1: + resolution: {integrity: sha512-XrsrhT5sybtKI6wakr2SPOlGZWWYbUXZ7a0jT8/QOeAPau+1X/bSegNe5YR75oJmEZQbKningirmGOEJCIk61Q==} engines: {node: '>=12.20.0'} oxfmt@0.55.0: @@ -1925,8 +1542,8 @@ packages: resolution: {integrity: sha512-3mBv3CoPbh8dFbzfDGIWa2ytZjn2v+3EX4aKRXjIhsoGFzG8GCjfRirz3rwZf1wYbZzsNLTSgpw8VjQuWdp/jA==} hasBin: true - oxlint@1.79.0: - resolution: {integrity: sha512-hVJ9hq9m2unPS+Of4eJJgCPdIeCC+3DHEUX3tkmrPJr3OK2hz7PhXwgC+ZP71ZcYu8cCDEtQrqLxWNvxBppBVg==} + oxlint@1.83.0: + resolution: {integrity: sha512-cyDzSzaw3uzP0TeCeq3lLRPPoaUxkbB4ZOXj+kn+5r+BX9V+4bNVGk9lxer+WrgcpebH4JxLlJ3KQjveVztOLQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -1955,8 +1572,8 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - picomatch@4.0.5: - resolution: {integrity: sha512-RvwwcruNjI1ncT5xRakeyS9Lf8lcItv34KD+aif+VH9kduAyfYBipGh12274xtenIPZ119/R9BdTBa8gAwSh0A==} + picomatch@4.0.7: + resolution: {integrity: sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==} engines: {node: '>=12'} pirates@4.0.7: @@ -1984,8 +1601,8 @@ packages: yaml: optional: true - postcss@8.5.26: - resolution: {integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==} + postcss@8.5.28: + resolution: {integrity: sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==} engines: {node: ^10 || ^12 || >=14} readdirp@4.1.2: @@ -2000,13 +1617,13 @@ packages: resolution: {integrity: sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ==} hasBin: true - rolldown@1.2.5: - resolution: {integrity: sha512-VD2IE5PUG4Oj8zz2VGykiYd5wbnjdIiSsNQb8Qu5B+noEp+A78mu2iVvpp27g8es14Tk9rofNs5Tku9iQCS4fA==} + rolldown@1.2.9: + resolution: {integrity: sha512-hx/Pv0N1haXRb11qkfnK5MXB/iqr7i0yjWQqmO9uHqZpBgQSqzc8UsSnEpalsh+j1I8qQ2CkXAkJC8Br3dKSlg==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true - rollup@4.62.5: - resolution: {integrity: sha512-/tqMfgP7GPA3PHhCmuiS4vIjrSVhHLgY++i+dhbG462euyAj7FpM4D9uq1X3BgjlqRdpcOrYhcQtfiQLNc8tqw==} + rollup@4.63.4: + resolution: {integrity: sha512-4U0liVayNIoLp3GFl1FcI8561WepLnZ1rqfraGh7S9B3Ur5F9S283y8Futii7RUU2C/97tOBmBy7nYvhoiOpbQ==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true @@ -2076,8 +1693,8 @@ packages: tinyexec@0.3.2: resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} - tinyexec@1.3.0: - resolution: {integrity: sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==} + tinyexec@1.3.1: + resolution: {integrity: sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==} engines: {node: '>=18'} tinyglobby@0.2.17: @@ -2136,16 +1753,16 @@ packages: undici-types@7.18.2: resolution: {integrity: sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==} - undici-types@8.10.0: - resolution: {integrity: sha512-ibvdovq3nCFs8Msrd95BW+zUOq+aOVbT+wpHUoPWhztbHEoPc6oof51iFDB6Es8lTKvNvVW9jNSAB8dwrKTMGg==} + undici-types@8.10.2: + resolution: {integrity: sha512-7/+aSjzkUoLc92hV22bTW4aGanXf800zbwguhcICs0OAoCF9wDOE4wkopQ+SqfhXZm8mCK8gHpdTs7pZUWzK3w==} - vite@8.2.2: - resolution: {integrity: sha512-cFKLV/PRgAUlIRm5WjMjJ86jrftzpqcgH+Us+DS8mI3CDNiH30Whrz8uHL3+MOLPAgqbMBAqWdAHAphOAM+z/Q==} + vite@8.3.0: + resolution: {integrity: sha512-lhZBVvEHefgE+HQZC9O7EBJgCU/nVzFNl7vkS4RE0APtWLP02/8QVIkQtzBxPquh7lq5/78NHipTj7ODQ6XuyQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.4.0 || ^0.5.0 + '@vitejs/devtools': ^0.7.1 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -2350,22 +1967,22 @@ snapshots: '@jridgewell/gen-mapping@0.3.13': dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/sourcemap-codec': 1.6.0 '@jridgewell/trace-mapping': 0.3.31 '@jridgewell/resolve-uri@3.1.2': {} - '@jridgewell/sourcemap-codec@1.5.5': {} + '@jridgewell/sourcemap-codec@1.6.0': {} '@jridgewell/trace-mapping@0.3.31': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/sourcemap-codec': 1.6.0 '@napi-rs/lzma-linux-x64-gnu@1.5.1': optional: true - '@oxc-project/types@0.146.0': {} + '@oxc-project/types@0.150.0': {} '@oxfmt/binding-android-arm-eabi@0.55.0': optional: true @@ -2442,544 +2059,382 @@ snapshots: '@oxlint-tsgolint/win32-x64@0.23.0': optional: true - '@oxlint/binding-android-arm-eabi@1.79.0': + '@oxlint/binding-android-arm-eabi@1.83.0': optional: true - '@oxlint/binding-android-arm64@1.79.0': + '@oxlint/binding-android-arm64@1.83.0': optional: true - '@oxlint/binding-darwin-arm64@1.79.0': + '@oxlint/binding-darwin-arm64@1.83.0': optional: true - '@oxlint/binding-darwin-x64@1.79.0': + '@oxlint/binding-darwin-x64@1.83.0': optional: true - '@oxlint/binding-freebsd-x64@1.79.0': + '@oxlint/binding-freebsd-x64@1.83.0': optional: true - '@oxlint/binding-linux-arm-gnueabihf@1.79.0': + '@oxlint/binding-linux-arm-gnueabihf@1.83.0': optional: true - '@oxlint/binding-linux-arm-musleabihf@1.79.0': + '@oxlint/binding-linux-arm-musleabihf@1.83.0': optional: true - '@oxlint/binding-linux-arm64-gnu@1.79.0': + '@oxlint/binding-linux-arm64-gnu@1.83.0': optional: true - '@oxlint/binding-linux-arm64-musl@1.79.0': + '@oxlint/binding-linux-arm64-musl@1.83.0': optional: true - '@oxlint/binding-linux-ppc64-gnu@1.79.0': + '@oxlint/binding-linux-ppc64-gnu@1.83.0': optional: true - '@oxlint/binding-linux-riscv64-gnu@1.79.0': + '@oxlint/binding-linux-riscv64-gnu@1.83.0': optional: true - '@oxlint/binding-linux-riscv64-musl@1.79.0': + '@oxlint/binding-linux-riscv64-musl@1.83.0': optional: true - '@oxlint/binding-linux-s390x-gnu@1.79.0': + '@oxlint/binding-linux-s390x-gnu@1.83.0': optional: true - '@oxlint/binding-linux-x64-gnu@1.79.0': + '@oxlint/binding-linux-x64-gnu@1.83.0': optional: true - '@oxlint/binding-linux-x64-musl@1.79.0': + '@oxlint/binding-linux-x64-musl@1.83.0': optional: true - '@oxlint/binding-openharmony-arm64@1.79.0': + '@oxlint/binding-openharmony-arm64@1.83.0': optional: true - '@oxlint/binding-win32-arm64-msvc@1.79.0': + '@oxlint/binding-win32-arm64-msvc@1.83.0': optional: true - '@oxlint/binding-win32-ia32-msvc@1.79.0': + '@oxlint/binding-win32-ia32-msvc@1.83.0': optional: true - '@oxlint/binding-win32-x64-msvc@1.79.0': + '@oxlint/binding-win32-x64-msvc@1.83.0': optional: true '@pkgjs/parseargs@0.11.0': optional: true - '@rolldown/binding-android-arm-eabi@1.2.5': + '@rolldown/binding-android-arm-eabi@1.2.9': optional: true - '@rolldown/binding-android-arm64@1.2.5': + '@rolldown/binding-android-arm64@1.2.9': optional: true - '@rolldown/binding-darwin-arm64@1.2.5': + '@rolldown/binding-darwin-arm64@1.2.9': optional: true - '@rolldown/binding-darwin-x64@1.2.5': + '@rolldown/binding-darwin-x64@1.2.9': optional: true - '@rolldown/binding-freebsd-x64@1.2.5': + '@rolldown/binding-freebsd-x64@1.2.9': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.2.5': + '@rolldown/binding-linux-arm-gnueabihf@1.2.9': optional: true - '@rolldown/binding-linux-arm64-gnu@1.2.5': + '@rolldown/binding-linux-arm64-gnu@1.2.9': optional: true - '@rolldown/binding-linux-arm64-musl@1.2.5': + '@rolldown/binding-linux-arm64-musl@1.2.9': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.2.5': + '@rolldown/binding-linux-ppc64-gnu@1.2.9': optional: true - '@rolldown/binding-linux-s390x-gnu@1.2.5': + '@rolldown/binding-linux-s390x-gnu@1.2.9': optional: true - '@rolldown/binding-linux-x64-gnu@1.2.5': + '@rolldown/binding-linux-x64-gnu@1.2.9': optional: true - '@rolldown/binding-linux-x64-musl@1.2.5': + '@rolldown/binding-linux-x64-musl@1.2.9': optional: true - '@rolldown/binding-openharmony-arm64@1.2.5': + '@rolldown/binding-openharmony-arm64@1.2.9': optional: true - '@rolldown/binding-win32-arm64-msvc@1.2.5': + '@rolldown/binding-win32-arm64-msvc@1.2.9': optional: true - '@rolldown/binding-win32-x64-msvc@1.2.5': + '@rolldown/binding-win32-x64-msvc@1.2.9': optional: true '@rolldown/pluginutils@1.0.1': {} - '@rollup/rollup-android-arm-eabi@4.62.5': + '@rollup/rollup-android-arm-eabi@4.63.4': optional: true - '@rollup/rollup-android-arm64@4.62.5': + '@rollup/rollup-android-arm64@4.63.4': optional: true - '@rollup/rollup-darwin-arm64@4.62.5': + '@rollup/rollup-darwin-arm64@4.63.4': optional: true - '@rollup/rollup-darwin-x64@4.62.5': + '@rollup/rollup-darwin-x64@4.63.4': optional: true - '@rollup/rollup-freebsd-arm64@4.62.5': + '@rollup/rollup-freebsd-arm64@4.63.4': optional: true - '@rollup/rollup-freebsd-x64@4.62.5': + '@rollup/rollup-freebsd-x64@4.63.4': optional: true - '@rollup/rollup-linux-arm-gnueabihf@4.62.5': + '@rollup/rollup-linux-arm-gnueabihf@4.63.4': optional: true - '@rollup/rollup-linux-arm-musleabihf@4.62.5': + '@rollup/rollup-linux-arm-musleabihf@4.63.4': optional: true - '@rollup/rollup-linux-arm64-gnu@4.62.5': + '@rollup/rollup-linux-arm64-gnu@4.63.4': optional: true - '@rollup/rollup-linux-arm64-musl@4.62.5': + '@rollup/rollup-linux-arm64-musl@4.63.4': optional: true - '@rollup/rollup-linux-loong64-gnu@4.62.5': + '@rollup/rollup-linux-loong64-gnu@4.63.4': optional: true - '@rollup/rollup-linux-loong64-musl@4.62.5': + '@rollup/rollup-linux-loong64-musl@4.63.4': optional: true - '@rollup/rollup-linux-ppc64-gnu@4.62.5': + '@rollup/rollup-linux-ppc64-gnu@4.63.4': optional: true - '@rollup/rollup-linux-ppc64-musl@4.62.5': + '@rollup/rollup-linux-ppc64-musl@4.63.4': optional: true - '@rollup/rollup-linux-riscv64-gnu@4.62.5': + '@rollup/rollup-linux-riscv64-gnu@4.63.4': optional: true - '@rollup/rollup-linux-riscv64-musl@4.62.5': + '@rollup/rollup-linux-riscv64-musl@4.63.4': optional: true - '@rollup/rollup-linux-s390x-gnu@4.62.5': + '@rollup/rollup-linux-s390x-gnu@4.63.4': optional: true - '@rollup/rollup-linux-x64-gnu@4.62.5': + '@rollup/rollup-linux-x64-gnu@4.63.4': optional: true - '@rollup/rollup-linux-x64-musl@4.62.5': + '@rollup/rollup-linux-x64-musl@4.63.4': optional: true - '@rollup/rollup-openbsd-x64@4.62.5': + '@rollup/rollup-openbsd-x64@4.63.4': optional: true - '@rollup/rollup-openharmony-arm64@4.62.5': + '@rollup/rollup-openharmony-arm64@4.63.4': optional: true - '@rollup/rollup-win32-arm64-msvc@4.62.5': + '@rollup/rollup-win32-arm64-msvc@4.63.4': optional: true - '@rollup/rollup-win32-ia32-msvc@4.62.5': + '@rollup/rollup-win32-ia32-msvc@4.63.4': optional: true - '@rollup/rollup-win32-x64-gnu@4.62.5': + '@rollup/rollup-win32-x64-gnu@4.63.4': optional: true - '@rollup/rollup-win32-x64-msvc@4.62.5': + '@rollup/rollup-win32-x64-msvc@4.63.4': optional: true - '@solana-config/oxc@0.1.1(oxfmt@0.55.0)(oxlint@1.79.0(oxlint-tsgolint@0.23.0))': + '@solana-config/oxc@0.1.1(oxfmt@0.55.0)(oxlint@1.83.0(oxlint-tsgolint@0.23.0))': optionalDependencies: oxfmt: 0.55.0 - oxlint: 1.79.0(oxlint-tsgolint@0.23.0) - - '@solana-program/system@0.12.2(@solana/kit@6.10.0(typescript@5.9.3))': - dependencies: - '@solana/kit': 6.10.0(typescript@5.9.3) - - '@solana-program/system@0.14.0(@solana/kit@8.0.0(typescript@5.9.3))': - dependencies: - '@solana/kit': 8.0.0(typescript@5.9.3) + oxlint: 1.83.0(oxlint-tsgolint@0.23.0) - '@solana-program/token@0.14.0(@solana/kit@6.10.0(typescript@5.9.3))': + '@solana-program/system@0.14.1(@solana/kit@8.3.0(typescript@5.9.3))': dependencies: - '@solana-program/system': 0.12.2(@solana/kit@6.10.0(typescript@5.9.3)) - '@solana/kit': 6.10.0(typescript@5.9.3) + '@solana/kit': 8.3.0(typescript@5.9.3) - '@solana/accounts@6.10.0(typescript@5.9.3)': + '@solana-program/system@0.15.0(@solana/kit@8.3.0(typescript@5.9.3))': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder + '@solana/kit': 8.3.0(typescript@5.9.3) - '@solana/accounts@8.0.0(typescript@5.9.3)': + '@solana-program/token@0.16.1(@solana/kit@8.3.0(typescript@5.9.3))': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder + '@solana-program/system': 0.14.1(@solana/kit@8.3.0(typescript@5.9.3)) + '@solana/kit': 8.3.0(typescript@5.9.3) - '@solana/addresses@6.10.0(typescript@5.9.3)': + '@solana/accounts@8.3.0(typescript@5.9.3)': dependencies: - '@solana/assertions': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/addresses@8.0.0(typescript@5.9.3)': + '@solana/addresses@8.3.0(typescript@5.9.3)': dependencies: - '@solana/assertions': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) + '@solana/assertions': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/assertions@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/codecs-core@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/codecs-core@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/codecs-data-structures@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/codecs-data-structures@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/codecs-numbers@6.10.0(typescript@5.9.3)': + '@solana/assertions@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs-numbers@8.0.0(typescript@5.9.3)': + '@solana/codecs-core@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs-strings@6.10.0(typescript@5.9.3)': + '@solana/codecs-data-structures@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs-strings@8.0.0(typescript@5.9.3)': + '@solana/codecs-numbers@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/codecs@6.10.0(typescript@5.9.3)': + '@solana/codecs-strings@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-data-structures': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/fixed-points': 6.10.0(typescript@5.9.3) - '@solana/options': 6.10.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/codecs@8.0.0(typescript@5.9.3)': + '@solana/codecs@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-data-structures': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/fixed-points': 8.0.0(typescript@5.9.3) - '@solana/options': 8.0.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-data-structures': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/fixed-points': 8.3.0(typescript@5.9.3) + '@solana/options': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@6.10.0(typescript@5.9.3)': - dependencies: - chalk: 5.6.2 - commander: 15.0.0 - optionalDependencies: - typescript: 5.9.3 - - '@solana/errors@8.0.0(typescript@5.9.3)': + '@solana/errors@8.3.0(typescript@5.9.3)': dependencies: chalk: 5.6.2 commander: 15.0.0 optionalDependencies: typescript: 5.9.3 - '@solana/fast-stable-stringify@6.10.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/fast-stable-stringify@8.0.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/fixed-points@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) + '@solana/fast-stable-stringify@8.3.0(typescript@5.9.3)': optionalDependencies: typescript: 5.9.3 - '@solana/fixed-points@8.0.0(typescript@5.9.3)': + '@solana/fixed-points@8.3.0(typescript@5.9.3)': dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/functional@6.10.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/functional@8.0.0(typescript@5.9.3)': + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/instruction-plans@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/instructions': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/promises': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) - '@solana/transactions': 6.10.0(typescript@5.9.3) + '@solana/functional@8.3.0(typescript@5.9.3)': optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/instruction-plans@8.0.0(typescript@5.9.3)': + '@solana/instruction-plans@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/instructions@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/instructions@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/keys@6.10.0(typescript@5.9.3)': + '@solana/instructions@8.3.0(typescript@5.9.3)': dependencies: - '@solana/assertions': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - '@solana/promises': 6.10.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/keys@8.0.0(typescript@5.9.3)': + '@solana/keys@8.3.0(typescript@5.9.3)': dependencies: - '@solana/assertions': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) + '@solana/assertions': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/kit-plugin-instruction-plan@0.18.0(@solana/kit@8.0.0(typescript@5.9.3))': + '@solana/kit-plugin-instruction-plan@0.18.0(@solana/kit@8.3.0(typescript@5.9.3))': dependencies: - '@solana/kit': 8.0.0(typescript@5.9.3) + '@solana/kit': 8.3.0(typescript@5.9.3) - '@solana/kit-plugin-litesvm@0.18.0(@solana/kit@8.0.0(typescript@5.9.3))(typescript@5.9.3)': + '@solana/kit-plugin-litesvm@0.18.0(@solana/kit@8.3.0(typescript@5.9.3))(typescript@5.9.3)': dependencies: - '@solana/kit': 8.0.0(typescript@5.9.3) - '@solana/kit-plugin-instruction-plan': 0.18.0(@solana/kit@8.0.0(typescript@5.9.3)) - litesvm: 1.3.0(typescript@5.9.3) + '@solana/kit': 8.3.0(typescript@5.9.3) + '@solana/kit-plugin-instruction-plan': 0.18.0(@solana/kit@8.3.0(typescript@5.9.3)) + litesvm: 1.4.1(typescript@5.9.3) transitivePeerDependencies: - bufferutil - fastestsmallesttextencoderdecoder - typescript - utf-8-validate - '@solana/kit-plugin-signer@0.18.0(@solana/kit@8.0.0(typescript@5.9.3))': - dependencies: - '@solana/kit': 8.0.0(typescript@5.9.3) - - '@solana/kit@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/accounts': 6.10.0(typescript@5.9.3) - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/instruction-plans': 6.10.0(typescript@5.9.3) - '@solana/instructions': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/offchain-messages': 6.10.0(typescript@5.9.3) - '@solana/plugin-core': 6.10.0(typescript@5.9.3) - '@solana/plugin-interfaces': 6.10.0(typescript@5.9.3) - '@solana/program-client-core': 6.10.0(typescript@5.9.3) - '@solana/programs': 6.10.0(typescript@5.9.3) - '@solana/rpc': 6.10.0(typescript@5.9.3) - '@solana/rpc-api': 6.10.0(typescript@5.9.3) - '@solana/rpc-parsed-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/signers': 6.10.0(typescript@5.9.3) - '@solana/subscribable': 6.10.0(typescript@5.9.3) - '@solana/sysvars': 6.10.0(typescript@5.9.3) - '@solana/transaction-confirmation': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) - '@solana/transactions': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - bufferutil - - fastestsmallesttextencoderdecoder - - utf-8-validate - - '@solana/kit@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/accounts': 8.0.0(typescript@5.9.3) - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/instruction-plans': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/offchain-messages': 8.0.0(typescript@5.9.3) - '@solana/plugin-core': 8.0.0(typescript@5.9.3) - '@solana/plugin-interfaces': 8.0.0(typescript@5.9.3) - '@solana/program-client-core': 8.0.0(typescript@5.9.3) - '@solana/programs': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) - '@solana/rpc': 8.0.0(typescript@5.9.3) - '@solana/rpc-api': 8.0.0(typescript@5.9.3) - '@solana/rpc-parsed-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/signers': 8.0.0(typescript@5.9.3) - '@solana/subscribable': 8.0.0(typescript@5.9.3) - '@solana/sysvars': 8.0.0(typescript@5.9.3) - '@solana/transaction-confirmation': 8.0.0(typescript@5.9.3) - '@solana/transaction-introspection': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/kit-plugin-signer@0.18.0(@solana/kit@8.3.0(typescript@5.9.3))': + dependencies: + '@solana/kit': 8.3.0(typescript@5.9.3) + + '@solana/kit@8.3.0(typescript@5.9.3)': + dependencies: + '@solana/accounts': 8.3.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/instruction-plans': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/offchain-messages': 8.3.0(typescript@5.9.3) + '@solana/plugin-core': 8.3.0(typescript@5.9.3) + '@solana/plugin-interfaces': 8.3.0(typescript@5.9.3) + '@solana/program-client-core': 8.3.0(typescript@5.9.3) + '@solana/programs': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) + '@solana/rpc': 8.3.0(typescript@5.9.3) + '@solana/rpc-api': 8.3.0(typescript@5.9.3) + '@solana/rpc-parsed-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/signers': 8.3.0(typescript@5.9.3) + '@solana/subscribable': 8.3.0(typescript@5.9.3) + '@solana/sysvars': 8.3.0(typescript@5.9.3) + '@solana/transaction-confirmation': 8.3.0(typescript@5.9.3) + '@solana/transaction-introspection': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: @@ -2987,281 +2442,142 @@ snapshots: - fastestsmallesttextencoderdecoder - utf-8-validate - '@solana/nominal-types@6.10.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/nominal-types@8.0.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/offchain-messages@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-data-structures': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/offchain-messages@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-data-structures': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/options@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-data-structures': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/options@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-data-structures': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/plugin-core@6.10.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/plugin-core@8.0.0(typescript@5.9.3)': + '@solana/nominal-types@8.3.0(typescript@5.9.3)': optionalDependencies: typescript: 5.9.3 - '@solana/plugin-interfaces@6.10.0(typescript@5.9.3)': + '@solana/offchain-messages@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/instruction-plans': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/signers': 6.10.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-data-structures': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/plugin-interfaces@8.0.0(typescript@5.9.3)': + '@solana/options@8.3.0(typescript@5.9.3)': dependencies: - '@solana/accounts': 8.0.0(typescript@5.9.3) - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/instruction-plans': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/signers': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-data-structures': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/program-client-core@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/accounts': 6.10.0(typescript@5.9.3) - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/instruction-plans': 6.10.0(typescript@5.9.3) - '@solana/instructions': 6.10.0(typescript@5.9.3) - '@solana/plugin-interfaces': 6.10.0(typescript@5.9.3) - '@solana/rpc-api': 6.10.0(typescript@5.9.3) - '@solana/signers': 6.10.0(typescript@5.9.3) + '@solana/plugin-core@8.3.0(typescript@5.9.3)': optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/program-client-core@8.0.0(typescript@5.9.3)': + '@solana/plugin-interfaces@8.3.0(typescript@5.9.3)': dependencies: - '@solana/accounts': 8.0.0(typescript@5.9.3) - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/instruction-plans': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/plugin-interfaces': 8.0.0(typescript@5.9.3) - '@solana/rpc-api': 8.0.0(typescript@5.9.3) - '@solana/signers': 8.0.0(typescript@5.9.3) + '@solana/accounts': 8.3.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/instruction-plans': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/signers': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@6.10.0(typescript@5.9.3)': + '@solana/program-client-core@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) + '@solana/accounts': 8.3.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/instruction-plans': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/plugin-interfaces': 8.3.0(typescript@5.9.3) + '@solana/rpc-api': 8.3.0(typescript@5.9.3) + '@solana/signers': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@8.0.0(typescript@5.9.3)': + '@solana/programs@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/promises@6.10.0(typescript@5.9.3)': + '@solana/promises@8.3.0(typescript@5.9.3)': optionalDependencies: typescript: 5.9.3 - '@solana/promises@8.0.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-api@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/rpc-parsed-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-transformers': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) - '@solana/transactions': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/rpc-api@8.0.0(typescript@5.9.3)': + '@solana/rpc-api@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/rpc-parsed-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-transformers': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/rpc-parsed-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-transformers': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-parsed-types@6.10.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-parsed-types@8.0.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-spec-types@6.10.0(typescript@5.9.3)': - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-spec-types@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-spec@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - '@solana/subscribable': 6.10.0(typescript@5.9.3) + '@solana/rpc-parsed-types@8.3.0(typescript@5.9.3)': optionalDependencies: typescript: 5.9.3 - '@solana/rpc-spec@8.0.0(typescript@5.9.3)': + '@solana/rpc-spec-types@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - '@solana/subscribable': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - '@solana/rpc-subscriptions-api@6.10.0(typescript@5.9.3)': + '@solana/rpc-spec@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-transformers': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) - '@solana/transactions': 6.10.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + '@solana/subscribable': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-api@8.0.0(typescript@5.9.3)': + '@solana/rpc-subscriptions-api@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-transformers': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-transformers': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-channel-websocket@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 6.10.0(typescript@5.9.3) - '@solana/subscribable': 6.10.0(typescript@5.9.3) - ws: 8.21.3 - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - - '@solana/rpc-subscriptions-channel-websocket@8.0.0(typescript@5.9.3)': + '@solana/rpc-subscriptions-channel-websocket@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 8.0.0(typescript@5.9.3) - '@solana/subscribable': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions-spec': 8.3.0(typescript@5.9.3) + '@solana/subscribable': 8.3.0(typescript@5.9.3) ws: 8.21.3 optionalDependencies: typescript: 5.9.3 @@ -3269,57 +2585,28 @@ snapshots: - bufferutil - utf-8-validate - '@solana/rpc-subscriptions-spec@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/promises': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - '@solana/subscribable': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-subscriptions-spec@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - '@solana/subscribable': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-subscriptions@6.10.0(typescript@5.9.3)': + '@solana/rpc-subscriptions-spec@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/fast-stable-stringify': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/promises': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions-api': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions-channel-websocket': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-transformers': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/subscribable': 6.10.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + '@solana/subscribable': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - bufferutil - - fastestsmallesttextencoderdecoder - - utf-8-validate - '@solana/rpc-subscriptions@8.0.0(typescript@5.9.3)': + '@solana/rpc-subscriptions@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/fast-stable-stringify': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions-api': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions-channel-websocket': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-transformers': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/subscribable': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/fast-stable-stringify': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions-api': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions-channel-websocket': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-transformers': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/subscribable': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: @@ -3327,211 +2614,105 @@ snapshots: - fastestsmallesttextencoderdecoder - utf-8-validate - '@solana/rpc-transformers@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/rpc-transformers@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/rpc-transport-http@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - undici-types: 8.10.0 - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-transport-http@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - undici-types: 8.10.0 - optionalDependencies: - typescript: 5.9.3 - - '@solana/rpc-types@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/fixed-points': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/rpc-types@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/fixed-points': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/rpc@6.10.0(typescript@5.9.3)': + '@solana/rpc-transformers@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/fast-stable-stringify': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/rpc-api': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec': 6.10.0(typescript@5.9.3) - '@solana/rpc-spec-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-transformers': 6.10.0(typescript@5.9.3) - '@solana/rpc-transport-http': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc@8.0.0(typescript@5.9.3)': + '@solana/rpc-transport-http@8.3.0(typescript@5.9.3)': dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/fast-stable-stringify': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/rpc-api': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec': 8.0.0(typescript@5.9.3) - '@solana/rpc-spec-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-transformers': 8.0.0(typescript@5.9.3) - '@solana/rpc-transport-http': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + undici-types: 8.10.2 optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/signers@6.10.0(typescript@5.9.3)': + '@solana/rpc-types@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/instructions': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - '@solana/offchain-messages': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) - '@solana/transactions': 6.10.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/fixed-points': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/signers@8.0.0(typescript@5.9.3)': + '@solana/rpc@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - '@solana/offchain-messages': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/fast-stable-stringify': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/rpc-api': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec': 8.3.0(typescript@5.9.3) + '@solana/rpc-spec-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-transformers': 8.3.0(typescript@5.9.3) + '@solana/rpc-transport-http': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/subscribable@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/promises': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/subscribable@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - - '@solana/sysvars@6.10.0(typescript@5.9.3)': + '@solana/signers@8.3.0(typescript@5.9.3)': dependencies: - '@solana/accounts': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-data-structures': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) + '@solana/offchain-messages': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/sysvars@8.0.0(typescript@5.9.3)': + '@solana/subscribable@8.3.0(typescript@5.9.3)': dependencies: - '@solana/accounts': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-data-structures': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - '@solana/transaction-confirmation@6.10.0(typescript@5.9.3)': + '@solana/sysvars@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/promises': 6.10.0(typescript@5.9.3) - '@solana/rpc': 6.10.0(typescript@5.9.3) - '@solana/rpc-subscriptions': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) - '@solana/transactions': 6.10.0(typescript@5.9.3) + '@solana/accounts': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-data-structures': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - - bufferutil - fastestsmallesttextencoderdecoder - - utf-8-validate - '@solana/transaction-confirmation@8.0.0(typescript@5.9.3)': + '@solana/transaction-confirmation@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/promises': 8.0.0(typescript@5.9.3) - '@solana/rpc': 8.0.0(typescript@5.9.3) - '@solana/rpc-subscriptions': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/promises': 8.3.0(typescript@5.9.3) + '@solana/rpc': 8.3.0(typescript@5.9.3) + '@solana/rpc-subscriptions': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: @@ -3539,86 +2720,51 @@ snapshots: - fastestsmallesttextencoderdecoder - utf-8-validate - '@solana/transaction-introspection@8.0.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) - '@solana/transactions': 8.0.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/transaction-messages@6.10.0(typescript@5.9.3)': - dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-data-structures': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/instructions': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - optionalDependencies: - typescript: 5.9.3 - transitivePeerDependencies: - - fastestsmallesttextencoderdecoder - - '@solana/transaction-messages@8.0.0(typescript@5.9.3)': + '@solana/transaction-introspection@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-data-structures': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) + '@solana/transactions': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transactions@6.10.0(typescript@5.9.3)': + '@solana/transaction-messages@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 6.10.0(typescript@5.9.3) - '@solana/codecs-core': 6.10.0(typescript@5.9.3) - '@solana/codecs-data-structures': 6.10.0(typescript@5.9.3) - '@solana/codecs-numbers': 6.10.0(typescript@5.9.3) - '@solana/codecs-strings': 6.10.0(typescript@5.9.3) - '@solana/errors': 6.10.0(typescript@5.9.3) - '@solana/functional': 6.10.0(typescript@5.9.3) - '@solana/instructions': 6.10.0(typescript@5.9.3) - '@solana/keys': 6.10.0(typescript@5.9.3) - '@solana/nominal-types': 6.10.0(typescript@5.9.3) - '@solana/rpc-types': 6.10.0(typescript@5.9.3) - '@solana/transaction-messages': 6.10.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-data-structures': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transactions@8.0.0(typescript@5.9.3)': + '@solana/transactions@8.3.0(typescript@5.9.3)': dependencies: - '@solana/addresses': 8.0.0(typescript@5.9.3) - '@solana/codecs-core': 8.0.0(typescript@5.9.3) - '@solana/codecs-data-structures': 8.0.0(typescript@5.9.3) - '@solana/codecs-numbers': 8.0.0(typescript@5.9.3) - '@solana/codecs-strings': 8.0.0(typescript@5.9.3) - '@solana/errors': 8.0.0(typescript@5.9.3) - '@solana/functional': 8.0.0(typescript@5.9.3) - '@solana/instructions': 8.0.0(typescript@5.9.3) - '@solana/keys': 8.0.0(typescript@5.9.3) - '@solana/nominal-types': 8.0.0(typescript@5.9.3) - '@solana/rpc-types': 8.0.0(typescript@5.9.3) - '@solana/transaction-messages': 8.0.0(typescript@5.9.3) + '@solana/addresses': 8.3.0(typescript@5.9.3) + '@solana/codecs-core': 8.3.0(typescript@5.9.3) + '@solana/codecs-data-structures': 8.3.0(typescript@5.9.3) + '@solana/codecs-numbers': 8.3.0(typescript@5.9.3) + '@solana/codecs-strings': 8.3.0(typescript@5.9.3) + '@solana/errors': 8.3.0(typescript@5.9.3) + '@solana/functional': 8.3.0(typescript@5.9.3) + '@solana/instructions': 8.3.0(typescript@5.9.3) + '@solana/keys': 8.3.0(typescript@5.9.3) + '@solana/nominal-types': 8.3.0(typescript@5.9.3) + '@solana/rpc-types': 8.3.0(typescript@5.9.3) + '@solana/transaction-messages': 8.3.0(typescript@5.9.3) optionalDependencies: typescript: 5.9.3 transitivePeerDependencies: @@ -3635,7 +2781,7 @@ snapshots: '@types/estree@1.0.9': {} - '@types/node@24.13.3': + '@types/node@24.13.6': dependencies: undici-types: 7.18.2 @@ -3648,13 +2794,13 @@ snapshots: chai: 6.2.2 tinyrainbow: 3.1.1 - '@vitest/mocker@4.1.11(vite@8.2.2(@types/node@24.13.3)(esbuild@0.27.7))': + '@vitest/mocker@4.1.11(vite@8.3.0(@types/node@24.13.6)(esbuild@0.27.7))': dependencies: '@vitest/spy': 4.1.11 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.2.2(@types/node@24.13.3)(esbuild@0.27.7) + vite: 8.3.0(@types/node@24.13.6)(esbuild@0.27.7) '@vitest/pretty-format@4.1.11': dependencies: @@ -3700,7 +2846,7 @@ snapshots: balanced-match@1.0.2: {} - brace-expansion@2.1.4: + brace-expansion@2.1.7: dependencies: balanced-match: 1.0.2 @@ -3790,15 +2936,15 @@ snapshots: expect-type@1.4.0: {} - fdir@6.5.0(picomatch@4.0.5): + fdir@6.5.0(picomatch@4.0.7): optionalDependencies: - picomatch: 4.0.5 + picomatch: 4.0.7 fix-dts-default-cjs-exports@1.0.1: dependencies: magic-string: 0.30.21 mlly: 1.8.2 - rollup: 4.62.5 + rollup: 4.63.4 foreground-child@3.3.1: dependencies: @@ -3884,36 +3030,36 @@ snapshots: lines-and-columns@1.2.4: {} - litesvm-darwin-arm64@1.3.0: + litesvm-darwin-arm64@1.4.1: optional: true - litesvm-darwin-x64@1.3.0: + litesvm-darwin-x64@1.4.1: optional: true - litesvm-linux-arm64-gnu@1.3.0: + litesvm-linux-arm64-gnu@1.4.1: optional: true - litesvm-linux-arm64-musl@1.3.0: + litesvm-linux-arm64-musl@1.4.1: optional: true - litesvm-linux-x64-gnu@1.3.0: + litesvm-linux-x64-gnu@1.4.1: optional: true - litesvm-linux-x64-musl@1.3.0: + litesvm-linux-x64-musl@1.4.1: optional: true - litesvm@1.3.0(typescript@5.9.3): + litesvm@1.4.1(typescript@5.9.3): dependencies: - '@solana-program/system': 0.12.2(@solana/kit@6.10.0(typescript@5.9.3)) - '@solana-program/token': 0.14.0(@solana/kit@6.10.0(typescript@5.9.3)) - '@solana/kit': 6.10.0(typescript@5.9.3) + '@solana-program/system': 0.14.1(@solana/kit@8.3.0(typescript@5.9.3)) + '@solana-program/token': 0.16.1(@solana/kit@8.3.0(typescript@5.9.3)) + '@solana/kit': 8.3.0(typescript@5.9.3) optionalDependencies: - litesvm-darwin-arm64: 1.3.0 - litesvm-darwin-x64: 1.3.0 - litesvm-linux-arm64-gnu: 1.3.0 - litesvm-linux-arm64-musl: 1.3.0 - litesvm-linux-x64-gnu: 1.3.0 - litesvm-linux-x64-musl: 1.3.0 + litesvm-darwin-arm64: 1.4.1 + litesvm-darwin-x64: 1.4.1 + litesvm-linux-arm64-gnu: 1.4.1 + litesvm-linux-arm64-musl: 1.4.1 + litesvm-linux-x64-gnu: 1.4.1 + litesvm-linux-x64-musl: 1.4.1 transitivePeerDependencies: - bufferutil - fastestsmallesttextencoderdecoder @@ -3928,13 +3074,13 @@ snapshots: magic-string@0.30.21: dependencies: - '@jridgewell/sourcemap-codec': 1.5.5 + '@jridgewell/sourcemap-codec': 1.6.0 marked@4.3.0: {} minimatch@9.0.9: dependencies: - brace-expansion: 2.1.4 + brace-expansion: 2.1.7 minipass@7.1.3: {} @@ -3953,11 +3099,11 @@ snapshots: object-assign: 4.1.1 thenify-all: 1.6.0 - nanoid@3.3.18: {} + nanoid@3.3.19: {} object-assign@4.1.1: {} - obug@2.1.4: {} + obug@2.2.1: {} oxfmt@0.55.0: dependencies: @@ -3992,27 +3138,27 @@ snapshots: '@oxlint-tsgolint/win32-arm64': 0.23.0 '@oxlint-tsgolint/win32-x64': 0.23.0 - oxlint@1.79.0(oxlint-tsgolint@0.23.0): - optionalDependencies: - '@oxlint/binding-android-arm-eabi': 1.79.0 - '@oxlint/binding-android-arm64': 1.79.0 - '@oxlint/binding-darwin-arm64': 1.79.0 - '@oxlint/binding-darwin-x64': 1.79.0 - '@oxlint/binding-freebsd-x64': 1.79.0 - '@oxlint/binding-linux-arm-gnueabihf': 1.79.0 - '@oxlint/binding-linux-arm-musleabihf': 1.79.0 - '@oxlint/binding-linux-arm64-gnu': 1.79.0 - '@oxlint/binding-linux-arm64-musl': 1.79.0 - '@oxlint/binding-linux-ppc64-gnu': 1.79.0 - '@oxlint/binding-linux-riscv64-gnu': 1.79.0 - '@oxlint/binding-linux-riscv64-musl': 1.79.0 - '@oxlint/binding-linux-s390x-gnu': 1.79.0 - '@oxlint/binding-linux-x64-gnu': 1.79.0 - '@oxlint/binding-linux-x64-musl': 1.79.0 - '@oxlint/binding-openharmony-arm64': 1.79.0 - '@oxlint/binding-win32-arm64-msvc': 1.79.0 - '@oxlint/binding-win32-ia32-msvc': 1.79.0 - '@oxlint/binding-win32-x64-msvc': 1.79.0 + oxlint@1.83.0(oxlint-tsgolint@0.23.0): + optionalDependencies: + '@oxlint/binding-android-arm-eabi': 1.83.0 + '@oxlint/binding-android-arm64': 1.83.0 + '@oxlint/binding-darwin-arm64': 1.83.0 + '@oxlint/binding-darwin-x64': 1.83.0 + '@oxlint/binding-freebsd-x64': 1.83.0 + '@oxlint/binding-linux-arm-gnueabihf': 1.83.0 + '@oxlint/binding-linux-arm-musleabihf': 1.83.0 + '@oxlint/binding-linux-arm64-gnu': 1.83.0 + '@oxlint/binding-linux-arm64-musl': 1.83.0 + '@oxlint/binding-linux-ppc64-gnu': 1.83.0 + '@oxlint/binding-linux-riscv64-gnu': 1.83.0 + '@oxlint/binding-linux-riscv64-musl': 1.83.0 + '@oxlint/binding-linux-s390x-gnu': 1.83.0 + '@oxlint/binding-linux-x64-gnu': 1.83.0 + '@oxlint/binding-linux-x64-musl': 1.83.0 + '@oxlint/binding-openharmony-arm64': 1.83.0 + '@oxlint/binding-win32-arm64-msvc': 1.83.0 + '@oxlint/binding-win32-ia32-msvc': 1.83.0 + '@oxlint/binding-win32-x64-msvc': 1.83.0 oxlint-tsgolint: 0.23.0 package-json-from-dist@1.0.1: {} @@ -4028,7 +3174,7 @@ snapshots: picocolors@1.1.1: {} - picomatch@4.0.5: {} + picomatch@4.0.7: {} pirates@4.0.7: {} @@ -4038,15 +3184,15 @@ snapshots: mlly: 1.8.2 pathe: 2.0.3 - postcss-load-config@6.0.1(postcss@8.5.26): + postcss-load-config@6.0.1(postcss@8.5.28): dependencies: lilconfig: 3.1.3 optionalDependencies: - postcss: 8.5.26 + postcss: 8.5.28 - postcss@8.5.26: + postcss@8.5.28: dependencies: - nanoid: 3.3.18 + nanoid: 3.3.19 picocolors: 1.1.1 source-map-js: 1.2.1 @@ -4058,57 +3204,57 @@ snapshots: dependencies: glob: 10.5.0 - rolldown@1.2.5: + rolldown@1.2.9: dependencies: - '@oxc-project/types': 0.146.0 + '@oxc-project/types': 0.150.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm-eabi': 1.2.5 - '@rolldown/binding-android-arm64': 1.2.5 - '@rolldown/binding-darwin-arm64': 1.2.5 - '@rolldown/binding-darwin-x64': 1.2.5 - '@rolldown/binding-freebsd-x64': 1.2.5 - '@rolldown/binding-linux-arm-gnueabihf': 1.2.5 - '@rolldown/binding-linux-arm64-gnu': 1.2.5 - '@rolldown/binding-linux-arm64-musl': 1.2.5 - '@rolldown/binding-linux-ppc64-gnu': 1.2.5 - '@rolldown/binding-linux-s390x-gnu': 1.2.5 - '@rolldown/binding-linux-x64-gnu': 1.2.5 - '@rolldown/binding-linux-x64-musl': 1.2.5 - '@rolldown/binding-openharmony-arm64': 1.2.5 - '@rolldown/binding-win32-arm64-msvc': 1.2.5 - '@rolldown/binding-win32-x64-msvc': 1.2.5 - - rollup@4.62.5: + '@rolldown/binding-android-arm-eabi': 1.2.9 + '@rolldown/binding-android-arm64': 1.2.9 + '@rolldown/binding-darwin-arm64': 1.2.9 + '@rolldown/binding-darwin-x64': 1.2.9 + '@rolldown/binding-freebsd-x64': 1.2.9 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.9 + '@rolldown/binding-linux-arm64-gnu': 1.2.9 + '@rolldown/binding-linux-arm64-musl': 1.2.9 + '@rolldown/binding-linux-ppc64-gnu': 1.2.9 + '@rolldown/binding-linux-s390x-gnu': 1.2.9 + '@rolldown/binding-linux-x64-gnu': 1.2.9 + '@rolldown/binding-linux-x64-musl': 1.2.9 + '@rolldown/binding-openharmony-arm64': 1.2.9 + '@rolldown/binding-win32-arm64-msvc': 1.2.9 + '@rolldown/binding-win32-x64-msvc': 1.2.9 + + rollup@4.63.4: dependencies: '@types/estree': 1.0.9 optionalDependencies: '@napi-rs/lzma-linux-x64-gnu': 1.5.1 - '@rollup/rollup-android-arm-eabi': 4.62.5 - '@rollup/rollup-android-arm64': 4.62.5 - '@rollup/rollup-darwin-arm64': 4.62.5 - '@rollup/rollup-darwin-x64': 4.62.5 - '@rollup/rollup-freebsd-arm64': 4.62.5 - '@rollup/rollup-freebsd-x64': 4.62.5 - '@rollup/rollup-linux-arm-gnueabihf': 4.62.5 - '@rollup/rollup-linux-arm-musleabihf': 4.62.5 - '@rollup/rollup-linux-arm64-gnu': 4.62.5 - '@rollup/rollup-linux-arm64-musl': 4.62.5 - '@rollup/rollup-linux-loong64-gnu': 4.62.5 - '@rollup/rollup-linux-loong64-musl': 4.62.5 - '@rollup/rollup-linux-ppc64-gnu': 4.62.5 - '@rollup/rollup-linux-ppc64-musl': 4.62.5 - '@rollup/rollup-linux-riscv64-gnu': 4.62.5 - '@rollup/rollup-linux-riscv64-musl': 4.62.5 - '@rollup/rollup-linux-s390x-gnu': 4.62.5 - '@rollup/rollup-linux-x64-gnu': 4.62.5 - '@rollup/rollup-linux-x64-musl': 4.62.5 - '@rollup/rollup-openbsd-x64': 4.62.5 - '@rollup/rollup-openharmony-arm64': 4.62.5 - '@rollup/rollup-win32-arm64-msvc': 4.62.5 - '@rollup/rollup-win32-ia32-msvc': 4.62.5 - '@rollup/rollup-win32-x64-gnu': 4.62.5 - '@rollup/rollup-win32-x64-msvc': 4.62.5 + '@rollup/rollup-android-arm-eabi': 4.63.4 + '@rollup/rollup-android-arm64': 4.63.4 + '@rollup/rollup-darwin-arm64': 4.63.4 + '@rollup/rollup-darwin-x64': 4.63.4 + '@rollup/rollup-freebsd-arm64': 4.63.4 + '@rollup/rollup-freebsd-x64': 4.63.4 + '@rollup/rollup-linux-arm-gnueabihf': 4.63.4 + '@rollup/rollup-linux-arm-musleabihf': 4.63.4 + '@rollup/rollup-linux-arm64-gnu': 4.63.4 + '@rollup/rollup-linux-arm64-musl': 4.63.4 + '@rollup/rollup-linux-loong64-gnu': 4.63.4 + '@rollup/rollup-linux-loong64-musl': 4.63.4 + '@rollup/rollup-linux-ppc64-gnu': 4.63.4 + '@rollup/rollup-linux-ppc64-musl': 4.63.4 + '@rollup/rollup-linux-riscv64-gnu': 4.63.4 + '@rollup/rollup-linux-riscv64-musl': 4.63.4 + '@rollup/rollup-linux-s390x-gnu': 4.63.4 + '@rollup/rollup-linux-x64-gnu': 4.63.4 + '@rollup/rollup-linux-x64-musl': 4.63.4 + '@rollup/rollup-openbsd-x64': 4.63.4 + '@rollup/rollup-openharmony-arm64': 4.63.4 + '@rollup/rollup-win32-arm64-msvc': 4.63.4 + '@rollup/rollup-win32-ia32-msvc': 4.63.4 + '@rollup/rollup-win32-x64-gnu': 4.63.4 + '@rollup/rollup-win32-x64-msvc': 4.63.4 fsevents: 2.3.3 shebang-command@2.0.0: @@ -4178,12 +3324,12 @@ snapshots: tinyexec@0.3.2: {} - tinyexec@1.3.0: {} + tinyexec@1.3.1: {} tinyglobby@0.2.17: dependencies: - fdir: 6.5.0(picomatch@4.0.5) - picomatch: 4.0.5 + fdir: 6.5.0(picomatch@4.0.7) + picomatch: 4.0.7 tinypool@2.1.0: {} @@ -4193,7 +3339,7 @@ snapshots: ts-interface-checker@0.1.13: {} - tsup@8.5.1(postcss@8.5.26)(typescript@5.9.3): + tsup@8.5.1(postcss@8.5.28)(typescript@5.9.3): dependencies: bundle-require: 5.1.0(esbuild@0.27.7) cac: 6.7.14 @@ -4204,16 +3350,16 @@ snapshots: fix-dts-default-cjs-exports: 1.0.1 joycon: 3.1.1 picocolors: 1.1.1 - postcss-load-config: 6.0.1(postcss@8.5.26) + postcss-load-config: 6.0.1(postcss@8.5.28) resolve-from: 5.0.0 - rollup: 4.62.5 + rollup: 4.63.4 source-map: 0.7.6 sucrase: 3.35.1 tinyexec: 0.3.2 tinyglobby: 0.2.17 tree-kill: 1.2.2 optionalDependencies: - postcss: 8.5.26 + postcss: 8.5.28 typescript: 5.9.3 transitivePeerDependencies: - jiti @@ -4235,24 +3381,24 @@ snapshots: undici-types@7.18.2: {} - undici-types@8.10.0: {} + undici-types@8.10.2: {} - vite@8.2.2(@types/node@24.13.3)(esbuild@0.27.7): + vite@8.3.0(@types/node@24.13.6)(esbuild@0.27.7): dependencies: lightningcss: 1.33.0 - picomatch: 4.0.5 - postcss: 8.5.26 - rolldown: 1.2.5 + picomatch: 4.0.7 + postcss: 8.5.28 + rolldown: 1.2.9 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 24.13.3 + '@types/node': 24.13.6 esbuild: 0.27.7 fsevents: 2.3.3 - vitest@4.1.11(@types/node@24.13.3)(vite@8.2.2(@types/node@24.13.3)(esbuild@0.27.7)): + vitest@4.1.11(@types/node@24.13.6)(vite@8.3.0(@types/node@24.13.6)(esbuild@0.27.7)): dependencies: '@vitest/expect': 4.1.11 - '@vitest/mocker': 4.1.11(vite@8.2.2(@types/node@24.13.3)(esbuild@0.27.7)) + '@vitest/mocker': 4.1.11(vite@8.3.0(@types/node@24.13.6)(esbuild@0.27.7)) '@vitest/pretty-format': 4.1.11 '@vitest/runner': 4.1.11 '@vitest/snapshot': 4.1.11 @@ -4261,18 +3407,18 @@ snapshots: es-module-lexer: 2.3.2 expect-type: 1.4.0 magic-string: 0.30.21 - obug: 2.1.4 + obug: 2.2.1 pathe: 2.0.3 - picomatch: 4.0.5 + picomatch: 4.0.7 std-env: 4.2.0 tinybench: 2.9.0 - tinyexec: 1.3.0 + tinyexec: 1.3.1 tinyglobby: 0.2.17 tinyrainbow: 3.1.1 - vite: 8.2.2(@types/node@24.13.3)(esbuild@0.27.7) + vite: 8.3.0(@types/node@24.13.6)(esbuild@0.27.7) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 24.13.3 + '@types/node': 24.13.6 transitivePeerDependencies: - msw diff --git a/clients/js/src/generated/instructions/amountToUiAmount.ts b/clients/js/src/generated/instructions/amountToUiAmount.ts index 05c55880..0a19cdc4 100644 --- a/clients/js/src/generated/instructions/amountToUiAmount.ts +++ b/clients/js/src/generated/instructions/amountToUiAmount.ts @@ -28,7 +28,13 @@ import { type ReadonlyAccount, type ReadonlyUint8Array, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const AMOUNT_TO_UI_AMOUNT_DISCRIMINATOR = 23; @@ -82,35 +88,43 @@ export function getAmountToUiAmountInstructionDataCodec(): FixedSizeCodec< return combineCodec(getAmountToUiAmountInstructionDataEncoder(), getAmountToUiAmountInstructionDataDecoder()); } -export type AmountToUiAmountInput = { +export type AmountToUiAmountInput = { /** The mint to calculate for. */ - mint: Address; + mint: TAccountMint; amount: AmountToUiAmountInstructionDataArgs['amount']; }; export function getAmountToUiAmountInstruction< - TAccountMint extends string, + TAccountMint extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: AmountToUiAmountInput, config?: { programAddress?: TProgramAddress }, -): AmountToUiAmountInstruction { +): AmountToUiAmountInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. - const originalAccounts = { mint: { value: input.mint ?? null, isWritable: false } }; + const originalAccounts = { mint: { value: input.mint ?? null, isSigner: false, isWritable: false } }; const accounts = originalAccounts as Record; // Original args. const args = { ...input }; - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('mint', accounts.mint)], data: getAmountToUiAmountInstructionDataEncoder().encode(args as AmountToUiAmountInstructionDataArgs), programAddress, - } as AmountToUiAmountInstruction); + } as AmountToUiAmountInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> + >); } export type ParsedAmountToUiAmountInstruction< diff --git a/clients/js/src/generated/instructions/approve.ts b/clients/js/src/generated/instructions/approve.ts index a53dd8d5..4d040adc 100644 --- a/clients/js/src/generated/instructions/approve.ts +++ b/clients/js/src/generated/instructions/approve.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const APPROVE_DISCRIMINATOR = 4; @@ -92,44 +98,51 @@ export function getApproveInstructionDataCodec(): FixedSizeCodec = { /** The source account. */ - source: Address; + source: TAccountSource; /** The delegate. */ - delegate: Address; + delegate: TAccountDelegate; /** The source account owner or its multisignature account. */ - owner: Address | TransactionSigner; + owner: TAccountOwner; amount: ApproveInstructionDataArgs['amount']; - multiSigners?: Array; + multiSigners?: Array; }; export function getApproveInstruction< - TAccountSource extends string, - TAccountDelegate extends string, - TAccountOwner extends string, + TAccountSource extends InstructionAccountInput, + TAccountDelegate extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: ApproveInput, config?: { programAddress?: TProgramAddress }, ): ApproveInstruction< TProgramAddress, - TAccountSource, - TAccountDelegate, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - delegate: { value: input.delegate ?? null, isWritable: false }, - owner: { value: input.owner ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + delegate: { value: input.delegate ?? null, isSigner: false, isWritable: false }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -137,13 +150,13 @@ export function getApproveInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -155,11 +168,14 @@ export function getApproveInstruction< programAddress, } as ApproveInstruction< TProgramAddress, - TAccountSource, - TAccountDelegate, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/approveChecked.ts b/clients/js/src/generated/instructions/approveChecked.ts index e6f3ec48..7437181b 100644 --- a/clients/js/src/generated/instructions/approveChecked.ts +++ b/clients/js/src/generated/instructions/approveChecked.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const APPROVE_CHECKED_DISCRIMINATOR = 13; @@ -103,51 +109,58 @@ export function getApproveCheckedInstructionDataCodec(): FixedSizeCodec< } export type ApproveCheckedInput< - TAccountSource extends string = string, - TAccountMint extends string = string, - TAccountDelegate extends string = string, - TAccountOwner extends string = string, + TAccountSource extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountDelegate extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The source account. */ - source: Address; + source: TAccountSource; /** The token mint. */ - mint: Address; + mint: TAccountMint; /** The delegate. */ - delegate: Address; + delegate: TAccountDelegate; /** The source account owner or its multisignature account. */ - owner: Address | TransactionSigner; + owner: TAccountOwner; amount: ApproveCheckedInstructionDataArgs['amount']; decimals: ApproveCheckedInstructionDataArgs['decimals']; - multiSigners?: Array; + multiSigners?: Array; }; export function getApproveCheckedInstruction< - TAccountSource extends string, - TAccountMint extends string, - TAccountDelegate extends string, - TAccountOwner extends string, + TAccountSource extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountDelegate extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: ApproveCheckedInput, config?: { programAddress?: TProgramAddress }, ): ApproveCheckedInstruction< TProgramAddress, - TAccountSource, - TAccountMint, - TAccountDelegate, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, - delegate: { value: input.delegate ?? null, isWritable: false }, - owner: { value: input.owner ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + delegate: { value: input.delegate ?? null, isSigner: false, isWritable: false }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -155,13 +168,13 @@ export function getApproveCheckedInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -174,12 +187,15 @@ export function getApproveCheckedInstruction< programAddress, } as ApproveCheckedInstruction< TProgramAddress, - TAccountSource, - TAccountMint, - TAccountDelegate, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/burn.ts b/clients/js/src/generated/instructions/burn.ts index 38ed0894..dd0aa151 100644 --- a/clients/js/src/generated/instructions/burn.ts +++ b/clients/js/src/generated/instructions/burn.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const BURN_DISCRIMINATOR = 8; @@ -89,44 +95,51 @@ export function getBurnInstructionDataCodec(): FixedSizeCodec = { /** The account to burn from. */ - account: Address; + account: TAccountAccount; /** The token mint. */ - mint: Address; + mint: TAccountMint; /** The account's owner/delegate or its multisignature account. */ - authority: Address | TransactionSigner; + authority: TAccountAuthority; amount: BurnInstructionDataArgs['amount']; - multiSigners?: Array; + multiSigners?: Array; }; export function getBurnInstruction< - TAccountAccount extends string, - TAccountMint extends string, - TAccountAuthority extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: BurnInput, config?: { programAddress?: TProgramAddress }, ): BurnInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: true }, - authority: { value: input.authority ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: true }, + authority: { value: input.authority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -134,13 +147,13 @@ export function getBurnInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -152,11 +165,14 @@ export function getBurnInstruction< programAddress, } as BurnInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/burnChecked.ts b/clients/js/src/generated/instructions/burnChecked.ts index 7eee5c6d..3490bd15 100644 --- a/clients/js/src/generated/instructions/burnChecked.ts +++ b/clients/js/src/generated/instructions/burnChecked.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const BURN_CHECKED_DISCRIMINATOR = 15; @@ -101,45 +107,52 @@ export function getBurnCheckedInstructionDataCodec(): FixedSizeCodec< } export type BurnCheckedInput< - TAccountAccount extends string = string, - TAccountMint extends string = string, - TAccountAuthority extends string = string, + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The account to burn from. */ - account: Address; + account: TAccountAccount; /** The token mint. */ - mint: Address; + mint: TAccountMint; /** The account's owner/delegate or its multisignature account. */ - authority: Address | TransactionSigner; + authority: TAccountAuthority; amount: BurnCheckedInstructionDataArgs['amount']; decimals: BurnCheckedInstructionDataArgs['decimals']; - multiSigners?: Array; + multiSigners?: Array; }; export function getBurnCheckedInstruction< - TAccountAccount extends string, - TAccountMint extends string, - TAccountAuthority extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: BurnCheckedInput, config?: { programAddress?: TProgramAddress }, ): BurnCheckedInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: true }, - authority: { value: input.authority ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: true }, + authority: { value: input.authority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -147,13 +160,13 @@ export function getBurnCheckedInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -165,11 +178,14 @@ export function getBurnCheckedInstruction< programAddress, } as BurnCheckedInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/closeAccount.ts b/clients/js/src/generated/instructions/closeAccount.ts index 35baa6db..d337ed3d 100644 --- a/clients/js/src/generated/instructions/closeAccount.ts +++ b/clients/js/src/generated/instructions/closeAccount.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -28,10 +27,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const CLOSE_ACCOUNT_DISCRIMINATOR = 9; @@ -80,43 +86,50 @@ export function getCloseAccountInstructionDataCodec(): FixedSizeCodec< } export type CloseAccountInput< - TAccountAccount extends string = string, - TAccountDestination extends string = string, - TAccountOwner extends string = string, + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountDestination extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The account to close. */ - account: Address; + account: TAccountAccount; /** The destination account. */ - destination: Address; + destination: TAccountDestination; /** The account's owner or its multisignature account. */ - owner: Address | TransactionSigner; - multiSigners?: Array; + owner: TAccountOwner; + multiSigners?: Array; }; export function getCloseAccountInstruction< - TAccountAccount extends string, - TAccountDestination extends string, - TAccountOwner extends string, + TAccountAccount extends InstructionAccountInput, + TAccountDestination extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: CloseAccountInput, config?: { programAddress?: TProgramAddress }, ): CloseAccountInstruction< TProgramAddress, - TAccountAccount, - TAccountDestination, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - destination: { value: input.destination ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + destination: { value: input.destination ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -124,13 +137,13 @@ export function getCloseAccountInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -142,11 +155,14 @@ export function getCloseAccountInstruction< programAddress, } as CloseAccountInstruction< TProgramAddress, - TAccountAccount, - TAccountDestination, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/createAssociatedToken.ts b/clients/js/src/generated/instructions/createAssociatedToken.ts index 57fd514b..c8a25b11 100644 --- a/clients/js/src/generated/instructions/createAssociatedToken.ts +++ b/clients/js/src/generated/instructions/createAssociatedToken.ts @@ -26,14 +26,17 @@ import { type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, type WritableSignerAccount, } from '@solana/kit'; import { getAccountMetaFactory, getAddressFromResolvedInstructionAccount, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, } from '@solana/kit/program-client-core'; import { findAssociatedTokenPda } from '../pdas'; import { ASSOCIATED_TOKEN_PROGRAM_ADDRESS } from '../programs'; @@ -95,34 +98,34 @@ export function getCreateAssociatedTokenInstructionDataCodec(): FixedSizeCodec< } export type CreateAssociatedTokenAsyncInput< - TAccountPayer extends string = string, - TAccountAta extends string = string, - TAccountOwner extends string = string, - TAccountMint extends string = string, - TAccountSystemProgram extends string = string, - TAccountTokenProgram extends string = string, + TAccountPayer extends InstructionSignerInput = InstructionSignerInput, + TAccountAta extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput, > = { /** Funding account (must be a system account). */ - payer: TransactionSigner; + payer: TAccountPayer; /** Associated token account address to be created. */ - ata?: Address; + ata?: TAccountAta; /** Wallet address for the new associated token account. */ - owner: Address; + owner: TAccountOwner; /** The token mint for the new associated token account. */ - mint: Address; + mint: TAccountMint; /** System program. */ - systemProgram?: Address; + systemProgram?: TAccountSystemProgram; /** SPL Token program. */ - tokenProgram?: Address; + tokenProgram?: TAccountTokenProgram; }; export async function getCreateAssociatedTokenInstructionAsync< - TAccountPayer extends string, - TAccountAta extends string, - TAccountOwner extends string, - TAccountMint extends string, - TAccountSystemProgram extends string, - TAccountTokenProgram extends string, + TAccountPayer extends InstructionSignerInput, + TAccountAta extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof ASSOCIATED_TOKEN_PROGRAM_ADDRESS, >( input: CreateAssociatedTokenAsyncInput< @@ -137,25 +140,28 @@ export async function getCreateAssociatedTokenInstructionAsync< ): Promise< CreateAssociatedTokenInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> > > { // Program address. const programAddress = config?.programAddress ?? ASSOCIATED_TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - payer: { value: input.payer ?? null, isWritable: true }, - ata: { value: input.ata ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, - mint: { value: input.mint ?? null, isWritable: false }, - systemProgram: { value: input.systemProgram ?? null, isWritable: false }, - tokenProgram: { value: input.tokenProgram ?? null, isWritable: false }, + payer: { value: input.payer ?? null, isSigner: true, isWritable: true }, + ata: { value: input.ata ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: false, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + systemProgram: { value: input.systemProgram ?? null, isSigner: false, isWritable: false }, + tokenProgram: { value: input.tokenProgram ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -165,18 +171,20 @@ export async function getCreateAssociatedTokenInstructionAsync< 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA' as Address<'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'>; } if (!accounts.ata.value) { - accounts.ata.value = await findAssociatedTokenPda({ - owner: getAddressFromResolvedInstructionAccount('owner', accounts.owner.value), - tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), - mint: getAddressFromResolvedInstructionAccount('mint', accounts.mint.value), - }); + accounts.ata.value = await findAssociatedTokenPda( + { + owner: getAddressFromResolvedInstructionAccount('owner', accounts.owner.value), + tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), + mint: getAddressFromResolvedInstructionAccount('mint', accounts.mint.value), + }, + { programAddress }, + ); } if (!accounts.systemProgram.value) { accounts.systemProgram.value = '11111111111111111111111111111111' as Address<'11111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('payer', accounts.payer), @@ -190,44 +198,44 @@ export async function getCreateAssociatedTokenInstructionAsync< programAddress, } as CreateAssociatedTokenInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> >); } export type CreateAssociatedTokenInput< - TAccountPayer extends string = string, - TAccountAta extends string = string, - TAccountOwner extends string = string, - TAccountMint extends string = string, - TAccountSystemProgram extends string = string, - TAccountTokenProgram extends string = string, + TAccountPayer extends InstructionSignerInput = InstructionSignerInput, + TAccountAta extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput, > = { /** Funding account (must be a system account). */ - payer: TransactionSigner; + payer: TAccountPayer; /** Associated token account address to be created. */ - ata: Address; + ata: TAccountAta; /** Wallet address for the new associated token account. */ - owner: Address; + owner: TAccountOwner; /** The token mint for the new associated token account. */ - mint: Address; + mint: TAccountMint; /** System program. */ - systemProgram?: Address; + systemProgram?: TAccountSystemProgram; /** SPL Token program. */ - tokenProgram?: Address; + tokenProgram?: TAccountTokenProgram; }; export function getCreateAssociatedTokenInstruction< - TAccountPayer extends string, - TAccountAta extends string, - TAccountOwner extends string, - TAccountMint extends string, - TAccountSystemProgram extends string, - TAccountTokenProgram extends string, + TAccountPayer extends InstructionSignerInput, + TAccountAta extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof ASSOCIATED_TOKEN_PROGRAM_ADDRESS, >( input: CreateAssociatedTokenInput< @@ -241,24 +249,27 @@ export function getCreateAssociatedTokenInstruction< config?: { programAddress?: TProgramAddress }, ): CreateAssociatedTokenInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> > { // Program address. const programAddress = config?.programAddress ?? ASSOCIATED_TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - payer: { value: input.payer ?? null, isWritable: true }, - ata: { value: input.ata ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, - mint: { value: input.mint ?? null, isWritable: false }, - systemProgram: { value: input.systemProgram ?? null, isWritable: false }, - tokenProgram: { value: input.tokenProgram ?? null, isWritable: false }, + payer: { value: input.payer ?? null, isSigner: true, isWritable: true }, + ata: { value: input.ata ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: false, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + systemProgram: { value: input.systemProgram ?? null, isSigner: false, isWritable: false }, + tokenProgram: { value: input.tokenProgram ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -272,7 +283,6 @@ export function getCreateAssociatedTokenInstruction< '11111111111111111111111111111111' as Address<'11111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('payer', accounts.payer), @@ -286,12 +296,12 @@ export function getCreateAssociatedTokenInstruction< programAddress, } as CreateAssociatedTokenInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> >); } diff --git a/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts b/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts index 389a9d55..73c98c2a 100644 --- a/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts +++ b/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts @@ -26,14 +26,17 @@ import { type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, type WritableSignerAccount, } from '@solana/kit'; import { getAccountMetaFactory, getAddressFromResolvedInstructionAccount, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, } from '@solana/kit/program-client-core'; import { findAssociatedTokenPda } from '../pdas'; import { ASSOCIATED_TOKEN_PROGRAM_ADDRESS } from '../programs'; @@ -95,34 +98,34 @@ export function getCreateAssociatedTokenIdempotentInstructionDataCodec(): FixedS } export type CreateAssociatedTokenIdempotentAsyncInput< - TAccountPayer extends string = string, - TAccountAta extends string = string, - TAccountOwner extends string = string, - TAccountMint extends string = string, - TAccountSystemProgram extends string = string, - TAccountTokenProgram extends string = string, + TAccountPayer extends InstructionSignerInput = InstructionSignerInput, + TAccountAta extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput, > = { /** Funding account (must be a system account). */ - payer: TransactionSigner; + payer: TAccountPayer; /** Associated token account address to be created. */ - ata?: Address; + ata?: TAccountAta; /** Wallet address for the new associated token account. */ - owner: Address; + owner: TAccountOwner; /** The token mint for the new associated token account. */ - mint: Address; + mint: TAccountMint; /** System program. */ - systemProgram?: Address; + systemProgram?: TAccountSystemProgram; /** SPL Token program. */ - tokenProgram?: Address; + tokenProgram?: TAccountTokenProgram; }; export async function getCreateAssociatedTokenIdempotentInstructionAsync< - TAccountPayer extends string, - TAccountAta extends string, - TAccountOwner extends string, - TAccountMint extends string, - TAccountSystemProgram extends string, - TAccountTokenProgram extends string, + TAccountPayer extends InstructionSignerInput, + TAccountAta extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof ASSOCIATED_TOKEN_PROGRAM_ADDRESS, >( input: CreateAssociatedTokenIdempotentAsyncInput< @@ -137,25 +140,28 @@ export async function getCreateAssociatedTokenIdempotentInstructionAsync< ): Promise< CreateAssociatedTokenIdempotentInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> > > { // Program address. const programAddress = config?.programAddress ?? ASSOCIATED_TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - payer: { value: input.payer ?? null, isWritable: true }, - ata: { value: input.ata ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, - mint: { value: input.mint ?? null, isWritable: false }, - systemProgram: { value: input.systemProgram ?? null, isWritable: false }, - tokenProgram: { value: input.tokenProgram ?? null, isWritable: false }, + payer: { value: input.payer ?? null, isSigner: true, isWritable: true }, + ata: { value: input.ata ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: false, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + systemProgram: { value: input.systemProgram ?? null, isSigner: false, isWritable: false }, + tokenProgram: { value: input.tokenProgram ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -165,18 +171,20 @@ export async function getCreateAssociatedTokenIdempotentInstructionAsync< 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA' as Address<'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'>; } if (!accounts.ata.value) { - accounts.ata.value = await findAssociatedTokenPda({ - owner: getAddressFromResolvedInstructionAccount('owner', accounts.owner.value), - tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), - mint: getAddressFromResolvedInstructionAccount('mint', accounts.mint.value), - }); + accounts.ata.value = await findAssociatedTokenPda( + { + owner: getAddressFromResolvedInstructionAccount('owner', accounts.owner.value), + tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), + mint: getAddressFromResolvedInstructionAccount('mint', accounts.mint.value), + }, + { programAddress }, + ); } if (!accounts.systemProgram.value) { accounts.systemProgram.value = '11111111111111111111111111111111' as Address<'11111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('payer', accounts.payer), @@ -190,44 +198,44 @@ export async function getCreateAssociatedTokenIdempotentInstructionAsync< programAddress, } as CreateAssociatedTokenIdempotentInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> >); } export type CreateAssociatedTokenIdempotentInput< - TAccountPayer extends string = string, - TAccountAta extends string = string, - TAccountOwner extends string = string, - TAccountMint extends string = string, - TAccountSystemProgram extends string = string, - TAccountTokenProgram extends string = string, + TAccountPayer extends InstructionSignerInput = InstructionSignerInput, + TAccountAta extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput = InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput, > = { /** Funding account (must be a system account). */ - payer: TransactionSigner; + payer: TAccountPayer; /** Associated token account address to be created. */ - ata: Address; + ata: TAccountAta; /** Wallet address for the new associated token account. */ - owner: Address; + owner: TAccountOwner; /** The token mint for the new associated token account. */ - mint: Address; + mint: TAccountMint; /** System program. */ - systemProgram?: Address; + systemProgram?: TAccountSystemProgram; /** SPL Token program. */ - tokenProgram?: Address; + tokenProgram?: TAccountTokenProgram; }; export function getCreateAssociatedTokenIdempotentInstruction< - TAccountPayer extends string, - TAccountAta extends string, - TAccountOwner extends string, - TAccountMint extends string, - TAccountSystemProgram extends string, - TAccountTokenProgram extends string, + TAccountPayer extends InstructionSignerInput, + TAccountAta extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountSystemProgram extends InstructionAccountInput, + TAccountTokenProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof ASSOCIATED_TOKEN_PROGRAM_ADDRESS, >( input: CreateAssociatedTokenIdempotentInput< @@ -241,24 +249,27 @@ export function getCreateAssociatedTokenIdempotentInstruction< config?: { programAddress?: TProgramAddress }, ): CreateAssociatedTokenIdempotentInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> > { // Program address. const programAddress = config?.programAddress ?? ASSOCIATED_TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - payer: { value: input.payer ?? null, isWritable: true }, - ata: { value: input.ata ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, - mint: { value: input.mint ?? null, isWritable: false }, - systemProgram: { value: input.systemProgram ?? null, isWritable: false }, - tokenProgram: { value: input.tokenProgram ?? null, isWritable: false }, + payer: { value: input.payer ?? null, isSigner: true, isWritable: true }, + ata: { value: input.ata ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: false, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + systemProgram: { value: input.systemProgram ?? null, isSigner: false, isWritable: false }, + tokenProgram: { value: input.tokenProgram ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -272,7 +283,6 @@ export function getCreateAssociatedTokenIdempotentInstruction< '11111111111111111111111111111111' as Address<'11111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('payer', accounts.payer), @@ -286,12 +296,12 @@ export function getCreateAssociatedTokenIdempotentInstruction< programAddress, } as CreateAssociatedTokenIdempotentInstruction< TProgramAddress, - TAccountPayer, - TAccountAta, - TAccountOwner, - TAccountMint, - TAccountSystemProgram, - TAccountTokenProgram + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> >); } diff --git a/clients/js/src/generated/instructions/freezeAccount.ts b/clients/js/src/generated/instructions/freezeAccount.ts index 5cc8be27..a3adf250 100644 --- a/clients/js/src/generated/instructions/freezeAccount.ts +++ b/clients/js/src/generated/instructions/freezeAccount.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -28,10 +27,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const FREEZE_ACCOUNT_DISCRIMINATOR = 10; @@ -80,43 +86,50 @@ export function getFreezeAccountInstructionDataCodec(): FixedSizeCodec< } export type FreezeAccountInput< - TAccountAccount extends string = string, - TAccountMint extends string = string, - TAccountOwner extends string = string, + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The account to freeze. */ - account: Address; + account: TAccountAccount; /** The token mint. */ - mint: Address; + mint: TAccountMint; /** The mint freeze authority or its multisignature account. */ - owner: Address | TransactionSigner; - multiSigners?: Array; + owner: TAccountOwner; + multiSigners?: Array; }; export function getFreezeAccountInstruction< - TAccountAccount extends string, - TAccountMint extends string, - TAccountOwner extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: FreezeAccountInput, config?: { programAddress?: TProgramAddress }, ): FreezeAccountInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, - owner: { value: input.owner ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -124,13 +137,13 @@ export function getFreezeAccountInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -142,11 +155,14 @@ export function getFreezeAccountInstruction< programAddress, } as FreezeAccountInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/getAccountDataSize.ts b/clients/js/src/generated/instructions/getAccountDataSize.ts index 335ea1cd..fe630f69 100644 --- a/clients/js/src/generated/instructions/getAccountDataSize.ts +++ b/clients/js/src/generated/instructions/getAccountDataSize.ts @@ -26,7 +26,13 @@ import { type ReadonlyAccount, type ReadonlyUint8Array, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const GET_ACCOUNT_DATA_SIZE_DISCRIMINATOR = 21; @@ -67,31 +73,39 @@ export function getGetAccountDataSizeInstructionDataCodec(): FixedSizeCodec< return combineCodec(getGetAccountDataSizeInstructionDataEncoder(), getGetAccountDataSizeInstructionDataDecoder()); } -export type GetAccountDataSizeInput = { +export type GetAccountDataSizeInput = { /** The mint to calculate for. */ - mint: Address; + mint: TAccountMint; }; export function getGetAccountDataSizeInstruction< - TAccountMint extends string, + TAccountMint extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: GetAccountDataSizeInput, config?: { programAddress?: TProgramAddress }, -): GetAccountDataSizeInstruction { +): GetAccountDataSizeInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. - const originalAccounts = { mint: { value: input.mint ?? null, isWritable: false } }; + const originalAccounts = { mint: { value: input.mint ?? null, isSigner: false, isWritable: false } }; const accounts = originalAccounts as Record; - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('mint', accounts.mint)], data: getGetAccountDataSizeInstructionDataEncoder().encode({}), programAddress, - } as GetAccountDataSizeInstruction); + } as GetAccountDataSizeInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> + >); } export type ParsedGetAccountDataSizeInstruction< diff --git a/clients/js/src/generated/instructions/initializeAccount.ts b/clients/js/src/generated/instructions/initializeAccount.ts index d4f13e94..7bff3eee 100644 --- a/clients/js/src/generated/instructions/initializeAccount.ts +++ b/clients/js/src/generated/instructions/initializeAccount.ts @@ -27,7 +27,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_ACCOUNT_DISCRIMINATOR = 1; @@ -78,40 +84,49 @@ export function getInitializeAccountInstructionDataCodec(): FixedSizeCodec< } export type InitializeAccountInput< - TAccountAccount extends string = string, - TAccountMint extends string = string, - TAccountOwner extends string = string, - TAccountRent extends string = string, + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput = InstructionAccountInput, + TAccountRent extends InstructionAccountInput = InstructionAccountInput, > = { /** The account to initialize. */ - account: Address; + account: TAccountAccount; /** The mint this account will be associated with. */ - mint: Address; + mint: TAccountMint; /** The new account's owner/multisignature. */ - owner: Address; + owner: TAccountOwner; /** Rent sysvar. */ - rent?: Address; + rent?: TAccountRent; }; export function getInitializeAccountInstruction< - TAccountAccount extends string, - TAccountMint extends string, - TAccountOwner extends string, - TAccountRent extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput, + TAccountRent extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeAccountInput, config?: { programAddress?: TProgramAddress }, -): InitializeAccountInstruction { +): InitializeAccountInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, - owner: { value: input.owner ?? null, isWritable: false }, - rent: { value: input.rent ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + owner: { value: input.owner ?? null, isSigner: false, isWritable: false }, + rent: { value: input.rent ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -121,7 +136,6 @@ export function getInitializeAccountInstruction< 'SysvarRent111111111111111111111111111111111' as Address<'SysvarRent111111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -131,7 +145,13 @@ export function getInitializeAccountInstruction< ], data: getInitializeAccountInstructionDataEncoder().encode({}), programAddress, - } as InitializeAccountInstruction); + } as InitializeAccountInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeAccountInstruction< diff --git a/clients/js/src/generated/instructions/initializeAccount2.ts b/clients/js/src/generated/instructions/initializeAccount2.ts index 3bd0d2bb..2d01eab1 100644 --- a/clients/js/src/generated/instructions/initializeAccount2.ts +++ b/clients/js/src/generated/instructions/initializeAccount2.ts @@ -29,7 +29,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_ACCOUNT2_DISCRIMINATOR = 16; @@ -91,36 +97,44 @@ export function getInitializeAccount2InstructionDataCodec(): FixedSizeCodec< } export type InitializeAccount2Input< - TAccountAccount extends string = string, - TAccountMint extends string = string, - TAccountRent extends string = string, + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountRent extends InstructionAccountInput = InstructionAccountInput, > = { /** The account to initialize. */ - account: Address; + account: TAccountAccount; /** The mint this account will be associated with. */ - mint: Address; + mint: TAccountMint; /** Rent sysvar. */ - rent?: Address; + rent?: TAccountRent; owner: InitializeAccount2InstructionDataArgs['owner']; }; export function getInitializeAccount2Instruction< - TAccountAccount extends string, - TAccountMint extends string, - TAccountRent extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountRent extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeAccount2Input, config?: { programAddress?: TProgramAddress }, -): InitializeAccount2Instruction { +): InitializeAccount2Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, - rent: { value: input.rent ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + rent: { value: input.rent ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -133,7 +147,6 @@ export function getInitializeAccount2Instruction< 'SysvarRent111111111111111111111111111111111' as Address<'SysvarRent111111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -142,7 +155,12 @@ export function getInitializeAccount2Instruction< ], data: getInitializeAccount2InstructionDataEncoder().encode(args as InitializeAccount2InstructionDataArgs), programAddress, - } as InitializeAccount2Instruction); + } as InitializeAccount2Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeAccount2Instruction< diff --git a/clients/js/src/generated/instructions/initializeAccount3.ts b/clients/js/src/generated/instructions/initializeAccount3.ts index d1df7b4c..ce70ff13 100644 --- a/clients/js/src/generated/instructions/initializeAccount3.ts +++ b/clients/js/src/generated/instructions/initializeAccount3.ts @@ -29,7 +29,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_ACCOUNT3_DISCRIMINATOR = 18; @@ -88,41 +94,54 @@ export function getInitializeAccount3InstructionDataCodec(): FixedSizeCodec< return combineCodec(getInitializeAccount3InstructionDataEncoder(), getInitializeAccount3InstructionDataDecoder()); } -export type InitializeAccount3Input = { +export type InitializeAccount3Input< + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, +> = { /** The account to initialize. */ - account: Address; + account: TAccountAccount; /** The mint this account will be associated with. */ - mint: Address; + mint: TAccountMint; owner: InitializeAccount3InstructionDataArgs['owner']; }; export function getInitializeAccount3Instruction< - TAccountAccount extends string, - TAccountMint extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeAccount3Input, config?: { programAddress?: TProgramAddress }, -): InitializeAccount3Instruction { +): InitializeAccount3Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; // Original args. const args = { ...input }; - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('account', accounts.account), getAccountMeta('mint', accounts.mint)], data: getInitializeAccount3InstructionDataEncoder().encode(args as InitializeAccount3InstructionDataArgs), programAddress, - } as InitializeAccount3Instruction); + } as InitializeAccount3Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeAccount3Instruction< diff --git a/clients/js/src/generated/instructions/initializeImmutableOwner.ts b/clients/js/src/generated/instructions/initializeImmutableOwner.ts index 289d0f8b..ca2be81b 100644 --- a/clients/js/src/generated/instructions/initializeImmutableOwner.ts +++ b/clients/js/src/generated/instructions/initializeImmutableOwner.ts @@ -26,7 +26,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_IMMUTABLE_OWNER_DISCRIMINATOR = 22; @@ -70,31 +76,39 @@ export function getInitializeImmutableOwnerInstructionDataCodec(): FixedSizeCode ); } -export type InitializeImmutableOwnerInput = { +export type InitializeImmutableOwnerInput = { /** The account to initialize. */ - account: Address; + account: TAccountAccount; }; export function getInitializeImmutableOwnerInstruction< - TAccountAccount extends string, + TAccountAccount extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeImmutableOwnerInput, config?: { programAddress?: TProgramAddress }, -): InitializeImmutableOwnerInstruction { +): InitializeImmutableOwnerInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. - const originalAccounts = { account: { value: input.account ?? null, isWritable: true } }; + const originalAccounts = { account: { value: input.account ?? null, isSigner: false, isWritable: true } }; const accounts = originalAccounts as Record; - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('account', accounts.account)], data: getInitializeImmutableOwnerInstructionDataEncoder().encode({}), programAddress, - } as InitializeImmutableOwnerInstruction); + } as InitializeImmutableOwnerInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeImmutableOwnerInstruction< diff --git a/clients/js/src/generated/instructions/initializeMint.ts b/clients/js/src/generated/instructions/initializeMint.ts index 7b1baa19..eeb3ae65 100644 --- a/clients/js/src/generated/instructions/initializeMint.ts +++ b/clients/js/src/generated/instructions/initializeMint.ts @@ -34,7 +34,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_MINT_DISCRIMINATOR = 0; @@ -109,31 +115,41 @@ export function getInitializeMintInstructionDataCodec(): Codec< return combineCodec(getInitializeMintInstructionDataEncoder(), getInitializeMintInstructionDataDecoder()); } -export type InitializeMintInput = { +export type InitializeMintInput< + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountRent extends InstructionAccountInput = InstructionAccountInput, +> = { /** Token mint account. */ - mint: Address; + mint: TAccountMint; /** Rent sysvar. */ - rent?: Address; + rent?: TAccountRent; decimals: InitializeMintInstructionDataArgs['decimals']; mintAuthority: InitializeMintInstructionDataArgs['mintAuthority']; freezeAuthority?: InitializeMintInstructionDataArgs['freezeAuthority']; }; export function getInitializeMintInstruction< - TAccountMint extends string, - TAccountRent extends string, + TAccountMint extends InstructionAccountInput, + TAccountRent extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeMintInput, config?: { programAddress?: TProgramAddress }, -): InitializeMintInstruction { +): InitializeMintInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - mint: { value: input.mint ?? null, isWritable: true }, - rent: { value: input.rent ?? null, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: true }, + rent: { value: input.rent ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -146,12 +162,15 @@ export function getInitializeMintInstruction< 'SysvarRent111111111111111111111111111111111' as Address<'SysvarRent111111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('mint', accounts.mint), getAccountMeta('rent', accounts.rent)], data: getInitializeMintInstructionDataEncoder().encode(args as InitializeMintInstructionDataArgs), programAddress, - } as InitializeMintInstruction); + } as InitializeMintInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeMintInstruction< diff --git a/clients/js/src/generated/instructions/initializeMint2.ts b/clients/js/src/generated/instructions/initializeMint2.ts index 1f999cf5..cf48a665 100644 --- a/clients/js/src/generated/instructions/initializeMint2.ts +++ b/clients/js/src/generated/instructions/initializeMint2.ts @@ -33,7 +33,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_MINT2_DISCRIMINATOR = 20; @@ -103,37 +109,45 @@ export function getInitializeMint2InstructionDataCodec(): Codec< return combineCodec(getInitializeMint2InstructionDataEncoder(), getInitializeMint2InstructionDataDecoder()); } -export type InitializeMint2Input = { +export type InitializeMint2Input = { /** The mint to initialize. */ - mint: Address; + mint: TAccountMint; decimals: InitializeMint2InstructionDataArgs['decimals']; mintAuthority: InitializeMint2InstructionDataArgs['mintAuthority']; freezeAuthority?: InitializeMint2InstructionDataArgs['freezeAuthority']; }; export function getInitializeMint2Instruction< - TAccountMint extends string, + TAccountMint extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeMint2Input, config?: { programAddress?: TProgramAddress }, -): InitializeMint2Instruction { +): InitializeMint2Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. - const originalAccounts = { mint: { value: input.mint ?? null, isWritable: true } }; + const originalAccounts = { mint: { value: input.mint ?? null, isSigner: false, isWritable: true } }; const accounts = originalAccounts as Record; // Original args. const args = { ...input }; - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('mint', accounts.mint)], data: getInitializeMint2InstructionDataEncoder().encode(args as InitializeMint2InstructionDataArgs), programAddress, - } as InitializeMint2Instruction); + } as InitializeMint2Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeMint2Instruction< diff --git a/clients/js/src/generated/instructions/initializeMultisig.ts b/clients/js/src/generated/instructions/initializeMultisig.ts index 168d3fcf..61014bea 100644 --- a/clients/js/src/generated/instructions/initializeMultisig.ts +++ b/clients/js/src/generated/instructions/initializeMultisig.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -28,7 +27,14 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_MULTISIG_DISCRIMINATOR = 2; @@ -87,30 +93,40 @@ export function getInitializeMultisigInstructionDataCodec(): FixedSizeCodec< return combineCodec(getInitializeMultisigInstructionDataEncoder(), getInitializeMultisigInstructionDataDecoder()); } -export type InitializeMultisigInput = { +export type InitializeMultisigInput< + TAccountMultisig extends InstructionAccountInput = InstructionAccountInput, + TAccountRent extends InstructionAccountInput = InstructionAccountInput, +> = { /** The multisignature account to initialize. */ - multisig: Address; + multisig: TAccountMultisig; /** Rent sysvar. */ - rent?: Address; + rent?: TAccountRent; m: InitializeMultisigInstructionDataArgs['m']; - signers: Array
; + signers: Array; }; export function getInitializeMultisigInstruction< - TAccountMultisig extends string, - TAccountRent extends string, + TAccountMultisig extends InstructionAccountInput, + TAccountRent extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeMultisigInput, config?: { programAddress?: TProgramAddress }, -): InitializeMultisigInstruction { +): InitializeMultisigInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - multisig: { value: input.multisig ?? null, isWritable: true }, - rent: { value: input.rent ?? null, isWritable: false }, + multisig: { value: input.multisig ?? null, isSigner: false, isWritable: true }, + rent: { value: input.rent ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -124,9 +140,13 @@ export function getInitializeMultisigInstruction< } // Remaining accounts. - const remainingAccounts: AccountMeta[] = args.signers.map(address => ({ address, role: AccountRole.READONLY })); + const remainingAccounts: AccountMeta[] = args.signers.map(value => + getNonNullResolvedInstructionInput( + 'signers', + getAccountMeta('signers', { value, isSigner: false, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('multisig', accounts.multisig), @@ -135,7 +155,11 @@ export function getInitializeMultisigInstruction< ], data: getInitializeMultisigInstructionDataEncoder().encode(args as InitializeMultisigInstructionDataArgs), programAddress, - } as InitializeMultisigInstruction); + } as InitializeMultisigInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeMultisigInstruction< diff --git a/clients/js/src/generated/instructions/initializeMultisig2.ts b/clients/js/src/generated/instructions/initializeMultisig2.ts index a4aaa96e..7d9d996d 100644 --- a/clients/js/src/generated/instructions/initializeMultisig2.ts +++ b/clients/js/src/generated/instructions/initializeMultisig2.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -27,7 +26,14 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const INITIALIZE_MULTISIG2_DISCRIMINATOR = 19; @@ -81,39 +87,52 @@ export function getInitializeMultisig2InstructionDataCodec(): FixedSizeCodec< return combineCodec(getInitializeMultisig2InstructionDataEncoder(), getInitializeMultisig2InstructionDataDecoder()); } -export type InitializeMultisig2Input = { +export type InitializeMultisig2Input = { /** The multisignature account to initialize. */ - multisig: Address; + multisig: TAccountMultisig; m: InitializeMultisig2InstructionDataArgs['m']; - signers: Array
; + signers: Array; }; export function getInitializeMultisig2Instruction< - TAccountMultisig extends string, + TAccountMultisig extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: InitializeMultisig2Input, config?: { programAddress?: TProgramAddress }, -): InitializeMultisig2Instruction { +): InitializeMultisig2Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. - const originalAccounts = { multisig: { value: input.multisig ?? null, isWritable: true } }; + const originalAccounts = { multisig: { value: input.multisig ?? null, isSigner: false, isWritable: true } }; const accounts = originalAccounts as Record; // Original args. const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = args.signers.map(address => ({ address, role: AccountRole.READONLY })); + const remainingAccounts: AccountMeta[] = args.signers.map(value => + getNonNullResolvedInstructionInput( + 'signers', + getAccountMeta('signers', { value, isSigner: false, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('multisig', accounts.multisig), ...remainingAccounts], data: getInitializeMultisig2InstructionDataEncoder().encode(args as InitializeMultisig2InstructionDataArgs), programAddress, - } as InitializeMultisig2Instruction); + } as InitializeMultisig2Instruction< + TProgramAddress, + ResolvedInstructionAccountMeta> + >); } export type ParsedInitializeMultisig2Instruction< diff --git a/clients/js/src/generated/instructions/mintTo.ts b/clients/js/src/generated/instructions/mintTo.ts index ef039794..c29b7794 100644 --- a/clients/js/src/generated/instructions/mintTo.ts +++ b/clients/js/src/generated/instructions/mintTo.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const MINT_TO_DISCRIMINATOR = 7; @@ -92,44 +98,51 @@ export function getMintToInstructionDataCodec(): FixedSizeCodec = { /** The mint account. */ - mint: Address; + mint: TAccountMint; /** The account to mint tokens to. */ - token: Address; + token: TAccountToken; /** The mint's minting authority or its multisignature account. */ - mintAuthority: Address | TransactionSigner; + mintAuthority: TAccountMintAuthority; amount: MintToInstructionDataArgs['amount']; - multiSigners?: Array; + multiSigners?: Array; }; export function getMintToInstruction< - TAccountMint extends string, - TAccountToken extends string, - TAccountMintAuthority extends string, + TAccountMint extends InstructionAccountInput, + TAccountToken extends InstructionAccountInput, + TAccountMintAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: MintToInput, config?: { programAddress?: TProgramAddress }, ): MintToInstruction< TProgramAddress, - TAccountMint, - TAccountToken, - (typeof input)['mintAuthority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountMintAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountMintAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - mint: { value: input.mint ?? null, isWritable: true }, - token: { value: input.token ?? null, isWritable: true }, - mintAuthority: { value: input.mintAuthority ?? null, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: true }, + token: { value: input.token ?? null, isSigner: false, isWritable: true }, + mintAuthority: { value: input.mintAuthority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -137,13 +150,13 @@ export function getMintToInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('mint', accounts.mint), @@ -155,11 +168,14 @@ export function getMintToInstruction< programAddress, } as MintToInstruction< TProgramAddress, - TAccountMint, - TAccountToken, - (typeof input)['mintAuthority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountMintAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountMintAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/mintToChecked.ts b/clients/js/src/generated/instructions/mintToChecked.ts index 2962f06c..e8d5dd60 100644 --- a/clients/js/src/generated/instructions/mintToChecked.ts +++ b/clients/js/src/generated/instructions/mintToChecked.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const MINT_TO_CHECKED_DISCRIMINATOR = 14; @@ -101,45 +107,52 @@ export function getMintToCheckedInstructionDataCodec(): FixedSizeCodec< } export type MintToCheckedInput< - TAccountMint extends string = string, - TAccountToken extends string = string, - TAccountMintAuthority extends string = string, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountToken extends InstructionAccountInput = InstructionAccountInput, + TAccountMintAuthority extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The mint. */ - mint: Address; + mint: TAccountMint; /** The account to mint tokens to. */ - token: Address; + token: TAccountToken; /** The mint's minting authority or its multisignature account. */ - mintAuthority: Address | TransactionSigner; + mintAuthority: TAccountMintAuthority; amount: MintToCheckedInstructionDataArgs['amount']; decimals: MintToCheckedInstructionDataArgs['decimals']; - multiSigners?: Array; + multiSigners?: Array; }; export function getMintToCheckedInstruction< - TAccountMint extends string, - TAccountToken extends string, - TAccountMintAuthority extends string, + TAccountMint extends InstructionAccountInput, + TAccountToken extends InstructionAccountInput, + TAccountMintAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: MintToCheckedInput, config?: { programAddress?: TProgramAddress }, ): MintToCheckedInstruction< TProgramAddress, - TAccountMint, - TAccountToken, - (typeof input)['mintAuthority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountMintAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountMintAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - mint: { value: input.mint ?? null, isWritable: true }, - token: { value: input.token ?? null, isWritable: true }, - mintAuthority: { value: input.mintAuthority ?? null, isWritable: false }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: true }, + token: { value: input.token ?? null, isSigner: false, isWritable: true }, + mintAuthority: { value: input.mintAuthority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -147,13 +160,13 @@ export function getMintToCheckedInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('mint', accounts.mint), @@ -165,11 +178,14 @@ export function getMintToCheckedInstruction< programAddress, } as MintToCheckedInstruction< TProgramAddress, - TAccountMint, - TAccountToken, - (typeof input)['mintAuthority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountMintAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountMintAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts b/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts index ca49cf93..a83ab298 100644 --- a/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts +++ b/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts @@ -26,14 +26,17 @@ import { type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, type WritableSignerAccount, } from '@solana/kit'; import { getAccountMetaFactory, getAddressFromResolvedInstructionAccount, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, } from '@solana/kit/program-client-core'; import { findAssociatedTokenPda } from '../pdas'; import { ASSOCIATED_TOKEN_PROGRAM_ADDRESS } from '../programs'; @@ -107,38 +110,38 @@ export function getRecoverNestedAssociatedTokenInstructionDataCodec(): FixedSize } export type RecoverNestedAssociatedTokenAsyncInput< - TAccountNestedAssociatedAccountAddress extends string = string, - TAccountNestedTokenMintAddress extends string = string, - TAccountDestinationAssociatedAccountAddress extends string = string, - TAccountOwnerAssociatedAccountAddress extends string = string, - TAccountOwnerTokenMintAddress extends string = string, - TAccountWalletAddress extends string = string, - TAccountTokenProgram extends string = string, + TAccountNestedAssociatedAccountAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountNestedTokenMintAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountDestinationAssociatedAccountAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountOwnerAssociatedAccountAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountOwnerTokenMintAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountWalletAddress extends InstructionSignerInput = InstructionSignerInput, + TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput, > = { /** Nested associated token account, must be owned by `ownerAssociatedAccountAddress`. */ - nestedAssociatedAccountAddress?: Address; + nestedAssociatedAccountAddress?: TAccountNestedAssociatedAccountAddress; /** Token mint for the nested associated token account. */ - nestedTokenMintAddress: Address; + nestedTokenMintAddress: TAccountNestedTokenMintAddress; /** Wallet's associated token account. */ - destinationAssociatedAccountAddress?: Address; + destinationAssociatedAccountAddress?: TAccountDestinationAssociatedAccountAddress; /** Owner associated token account address, must be owned by `walletAddress`. */ - ownerAssociatedAccountAddress?: Address; + ownerAssociatedAccountAddress?: TAccountOwnerAssociatedAccountAddress; /** Token mint for the owner associated token account. */ - ownerTokenMintAddress: Address; + ownerTokenMintAddress: TAccountOwnerTokenMintAddress; /** Wallet address for the owner associated token account. */ - walletAddress: TransactionSigner; + walletAddress: TAccountWalletAddress; /** SPL Token program. */ - tokenProgram?: Address; + tokenProgram?: TAccountTokenProgram; }; export async function getRecoverNestedAssociatedTokenInstructionAsync< - TAccountNestedAssociatedAccountAddress extends string, - TAccountNestedTokenMintAddress extends string, - TAccountDestinationAssociatedAccountAddress extends string, - TAccountOwnerAssociatedAccountAddress extends string, - TAccountOwnerTokenMintAddress extends string, - TAccountWalletAddress extends string, - TAccountTokenProgram extends string, + TAccountNestedAssociatedAccountAddress extends InstructionAccountInput, + TAccountNestedTokenMintAddress extends InstructionAccountInput, + TAccountDestinationAssociatedAccountAddress extends InstructionAccountInput, + TAccountOwnerAssociatedAccountAddress extends InstructionAccountInput, + TAccountOwnerTokenMintAddress extends InstructionAccountInput, + TAccountWalletAddress extends InstructionSignerInput, + TAccountTokenProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof ASSOCIATED_TOKEN_PROGRAM_ADDRESS, >( input: RecoverNestedAssociatedTokenAsyncInput< @@ -154,30 +157,57 @@ export async function getRecoverNestedAssociatedTokenInstructionAsync< ): Promise< RecoverNestedAssociatedTokenInstruction< TProgramAddress, - TAccountNestedAssociatedAccountAddress, - TAccountNestedTokenMintAddress, - TAccountDestinationAssociatedAccountAddress, - TAccountOwnerAssociatedAccountAddress, - TAccountOwnerTokenMintAddress, - TAccountWalletAddress, - TAccountTokenProgram + ResolvedInstructionAccountMeta< + TAccountNestedAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountNestedTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountDestinationAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> > > { // Program address. const programAddress = config?.programAddress ?? ASSOCIATED_TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - nestedAssociatedAccountAddress: { value: input.nestedAssociatedAccountAddress ?? null, isWritable: true }, - nestedTokenMintAddress: { value: input.nestedTokenMintAddress ?? null, isWritable: false }, + nestedAssociatedAccountAddress: { + value: input.nestedAssociatedAccountAddress ?? null, + isSigner: false, + isWritable: true, + }, + nestedTokenMintAddress: { value: input.nestedTokenMintAddress ?? null, isSigner: false, isWritable: false }, destinationAssociatedAccountAddress: { value: input.destinationAssociatedAccountAddress ?? null, + isSigner: false, isWritable: true, }, - ownerAssociatedAccountAddress: { value: input.ownerAssociatedAccountAddress ?? null, isWritable: false }, - ownerTokenMintAddress: { value: input.ownerTokenMintAddress ?? null, isWritable: false }, - walletAddress: { value: input.walletAddress ?? null, isWritable: true }, - tokenProgram: { value: input.tokenProgram ?? null, isWritable: false }, + ownerAssociatedAccountAddress: { + value: input.ownerAssociatedAccountAddress ?? null, + isSigner: false, + isWritable: false, + }, + ownerTokenMintAddress: { value: input.ownerTokenMintAddress ?? null, isSigner: false, isWritable: false }, + walletAddress: { value: input.walletAddress ?? null, isSigner: true, isWritable: true }, + tokenProgram: { value: input.tokenProgram ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -187,40 +217,48 @@ export async function getRecoverNestedAssociatedTokenInstructionAsync< 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA' as Address<'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'>; } if (!accounts.ownerAssociatedAccountAddress.value) { - accounts.ownerAssociatedAccountAddress.value = await findAssociatedTokenPda({ - owner: getAddressFromResolvedInstructionAccount('walletAddress', accounts.walletAddress.value), - tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), - mint: getAddressFromResolvedInstructionAccount( - 'ownerTokenMintAddress', - accounts.ownerTokenMintAddress.value, - ), - }); + accounts.ownerAssociatedAccountAddress.value = await findAssociatedTokenPda( + { + owner: getAddressFromResolvedInstructionAccount('walletAddress', accounts.walletAddress.value), + tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), + mint: getAddressFromResolvedInstructionAccount( + 'ownerTokenMintAddress', + accounts.ownerTokenMintAddress.value, + ), + }, + { programAddress }, + ); } if (!accounts.nestedAssociatedAccountAddress.value) { - accounts.nestedAssociatedAccountAddress.value = await findAssociatedTokenPda({ - owner: getAddressFromResolvedInstructionAccount( - 'ownerAssociatedAccountAddress', - accounts.ownerAssociatedAccountAddress.value, - ), - tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), - mint: getAddressFromResolvedInstructionAccount( - 'nestedTokenMintAddress', - accounts.nestedTokenMintAddress.value, - ), - }); + accounts.nestedAssociatedAccountAddress.value = await findAssociatedTokenPda( + { + owner: getAddressFromResolvedInstructionAccount( + 'ownerAssociatedAccountAddress', + accounts.ownerAssociatedAccountAddress.value, + ), + tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), + mint: getAddressFromResolvedInstructionAccount( + 'nestedTokenMintAddress', + accounts.nestedTokenMintAddress.value, + ), + }, + { programAddress }, + ); } if (!accounts.destinationAssociatedAccountAddress.value) { - accounts.destinationAssociatedAccountAddress.value = await findAssociatedTokenPda({ - owner: getAddressFromResolvedInstructionAccount('walletAddress', accounts.walletAddress.value), - tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), - mint: getAddressFromResolvedInstructionAccount( - 'nestedTokenMintAddress', - accounts.nestedTokenMintAddress.value, - ), - }); + accounts.destinationAssociatedAccountAddress.value = await findAssociatedTokenPda( + { + owner: getAddressFromResolvedInstructionAccount('walletAddress', accounts.walletAddress.value), + tokenProgram: getAddressFromResolvedInstructionAccount('tokenProgram', accounts.tokenProgram.value), + mint: getAddressFromResolvedInstructionAccount( + 'nestedTokenMintAddress', + accounts.nestedTokenMintAddress.value, + ), + }, + { programAddress }, + ); } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('nestedAssociatedAccountAddress', accounts.nestedAssociatedAccountAddress), @@ -235,49 +273,64 @@ export async function getRecoverNestedAssociatedTokenInstructionAsync< programAddress, } as RecoverNestedAssociatedTokenInstruction< TProgramAddress, - TAccountNestedAssociatedAccountAddress, - TAccountNestedTokenMintAddress, - TAccountDestinationAssociatedAccountAddress, - TAccountOwnerAssociatedAccountAddress, - TAccountOwnerTokenMintAddress, - TAccountWalletAddress, - TAccountTokenProgram + ResolvedInstructionAccountMeta< + TAccountNestedAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountNestedTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountDestinationAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> >); } export type RecoverNestedAssociatedTokenInput< - TAccountNestedAssociatedAccountAddress extends string = string, - TAccountNestedTokenMintAddress extends string = string, - TAccountDestinationAssociatedAccountAddress extends string = string, - TAccountOwnerAssociatedAccountAddress extends string = string, - TAccountOwnerTokenMintAddress extends string = string, - TAccountWalletAddress extends string = string, - TAccountTokenProgram extends string = string, + TAccountNestedAssociatedAccountAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountNestedTokenMintAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountDestinationAssociatedAccountAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountOwnerAssociatedAccountAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountOwnerTokenMintAddress extends InstructionAccountInput = InstructionAccountInput, + TAccountWalletAddress extends InstructionSignerInput = InstructionSignerInput, + TAccountTokenProgram extends InstructionAccountInput = InstructionAccountInput, > = { /** Nested associated token account, must be owned by `ownerAssociatedAccountAddress`. */ - nestedAssociatedAccountAddress: Address; + nestedAssociatedAccountAddress: TAccountNestedAssociatedAccountAddress; /** Token mint for the nested associated token account. */ - nestedTokenMintAddress: Address; + nestedTokenMintAddress: TAccountNestedTokenMintAddress; /** Wallet's associated token account. */ - destinationAssociatedAccountAddress: Address; + destinationAssociatedAccountAddress: TAccountDestinationAssociatedAccountAddress; /** Owner associated token account address, must be owned by `walletAddress`. */ - ownerAssociatedAccountAddress: Address; + ownerAssociatedAccountAddress: TAccountOwnerAssociatedAccountAddress; /** Token mint for the owner associated token account. */ - ownerTokenMintAddress: Address; + ownerTokenMintAddress: TAccountOwnerTokenMintAddress; /** Wallet address for the owner associated token account. */ - walletAddress: TransactionSigner; + walletAddress: TAccountWalletAddress; /** SPL Token program. */ - tokenProgram?: Address; + tokenProgram?: TAccountTokenProgram; }; export function getRecoverNestedAssociatedTokenInstruction< - TAccountNestedAssociatedAccountAddress extends string, - TAccountNestedTokenMintAddress extends string, - TAccountDestinationAssociatedAccountAddress extends string, - TAccountOwnerAssociatedAccountAddress extends string, - TAccountOwnerTokenMintAddress extends string, - TAccountWalletAddress extends string, - TAccountTokenProgram extends string, + TAccountNestedAssociatedAccountAddress extends InstructionAccountInput, + TAccountNestedTokenMintAddress extends InstructionAccountInput, + TAccountDestinationAssociatedAccountAddress extends InstructionAccountInput, + TAccountOwnerAssociatedAccountAddress extends InstructionAccountInput, + TAccountOwnerTokenMintAddress extends InstructionAccountInput, + TAccountWalletAddress extends InstructionSignerInput, + TAccountTokenProgram extends InstructionAccountInput, TProgramAddress extends Address = typeof ASSOCIATED_TOKEN_PROGRAM_ADDRESS, >( input: RecoverNestedAssociatedTokenInput< @@ -292,29 +345,56 @@ export function getRecoverNestedAssociatedTokenInstruction< config?: { programAddress?: TProgramAddress }, ): RecoverNestedAssociatedTokenInstruction< TProgramAddress, - TAccountNestedAssociatedAccountAddress, - TAccountNestedTokenMintAddress, - TAccountDestinationAssociatedAccountAddress, - TAccountOwnerAssociatedAccountAddress, - TAccountOwnerTokenMintAddress, - TAccountWalletAddress, - TAccountTokenProgram + ResolvedInstructionAccountMeta< + TAccountNestedAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountNestedTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountDestinationAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> > { // Program address. const programAddress = config?.programAddress ?? ASSOCIATED_TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - nestedAssociatedAccountAddress: { value: input.nestedAssociatedAccountAddress ?? null, isWritable: true }, - nestedTokenMintAddress: { value: input.nestedTokenMintAddress ?? null, isWritable: false }, + nestedAssociatedAccountAddress: { + value: input.nestedAssociatedAccountAddress ?? null, + isSigner: false, + isWritable: true, + }, + nestedTokenMintAddress: { value: input.nestedTokenMintAddress ?? null, isSigner: false, isWritable: false }, destinationAssociatedAccountAddress: { value: input.destinationAssociatedAccountAddress ?? null, + isSigner: false, isWritable: true, }, - ownerAssociatedAccountAddress: { value: input.ownerAssociatedAccountAddress ?? null, isWritable: false }, - ownerTokenMintAddress: { value: input.ownerTokenMintAddress ?? null, isWritable: false }, - walletAddress: { value: input.walletAddress ?? null, isWritable: true }, - tokenProgram: { value: input.tokenProgram ?? null, isWritable: false }, + ownerAssociatedAccountAddress: { + value: input.ownerAssociatedAccountAddress ?? null, + isSigner: false, + isWritable: false, + }, + ownerTokenMintAddress: { value: input.ownerTokenMintAddress ?? null, isSigner: false, isWritable: false }, + walletAddress: { value: input.walletAddress ?? null, isSigner: true, isWritable: true }, + tokenProgram: { value: input.tokenProgram ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -324,7 +404,6 @@ export function getRecoverNestedAssociatedTokenInstruction< 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA' as Address<'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('nestedAssociatedAccountAddress', accounts.nestedAssociatedAccountAddress), @@ -339,13 +418,28 @@ export function getRecoverNestedAssociatedTokenInstruction< programAddress, } as RecoverNestedAssociatedTokenInstruction< TProgramAddress, - TAccountNestedAssociatedAccountAddress, - TAccountNestedTokenMintAddress, - TAccountDestinationAssociatedAccountAddress, - TAccountOwnerAssociatedAccountAddress, - TAccountOwnerTokenMintAddress, - TAccountWalletAddress, - TAccountTokenProgram + ResolvedInstructionAccountMeta< + TAccountNestedAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountNestedTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountDestinationAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerAssociatedAccountAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta< + TAccountOwnerTokenMintAddress, + InstructionAccountInputAddress + >, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> >); } diff --git a/clients/js/src/generated/instructions/revoke.ts b/clients/js/src/generated/instructions/revoke.ts index 6528cb44..4cedb983 100644 --- a/clients/js/src/generated/instructions/revoke.ts +++ b/clients/js/src/generated/instructions/revoke.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -28,10 +27,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const REVOKE_DISCRIMINATOR = 5; @@ -74,35 +80,45 @@ export function getRevokeInstructionDataCodec(): FixedSizeCodec = { +export type RevokeInput< + TAccountSource extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, +> = { /** The source account. */ - source: Address; + source: TAccountSource; /** The source account owner or its multisignature. */ - owner: Address | TransactionSigner; - multiSigners?: Array; + owner: TAccountOwner; + multiSigners?: Array; }; export function getRevokeInstruction< - TAccountSource extends string, - TAccountOwner extends string, + TAccountSource extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: RevokeInput, config?: { programAddress?: TProgramAddress }, ): RevokeInstruction< TProgramAddress, - TAccountSource, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -110,13 +126,13 @@ export function getRevokeInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -127,10 +143,13 @@ export function getRevokeInstruction< programAddress, } as RevokeInstruction< TProgramAddress, - TAccountSource, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/setAuthority.ts b/clients/js/src/generated/instructions/setAuthority.ts index 6599cd27..a2fd7ad5 100644 --- a/clients/js/src/generated/instructions/setAuthority.ts +++ b/clients/js/src/generated/instructions/setAuthority.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getAddressDecoder, getAddressEncoder, @@ -34,10 +33,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; import { getAuthorityTypeDecoder, getAuthorityTypeEncoder, type AuthorityType, type AuthorityTypeArgs } from '../types'; @@ -103,37 +109,47 @@ export function getSetAuthorityInstructionDataCodec(): Codec< return combineCodec(getSetAuthorityInstructionDataEncoder(), getSetAuthorityInstructionDataDecoder()); } -export type SetAuthorityInput = { +export type SetAuthorityInput< + TAccountOwned extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, +> = { /** The mint or account to change the authority of. */ - owned: Address; + owned: TAccountOwned; /** The current authority or the multisignature account of the mint or account to update. */ - owner: Address | TransactionSigner; + owner: TAccountOwner; authorityType: SetAuthorityInstructionDataArgs['authorityType']; newAuthority: SetAuthorityInstructionDataArgs['newAuthority']; - multiSigners?: Array; + multiSigners?: Array; }; export function getSetAuthorityInstruction< - TAccountOwned extends string, - TAccountOwner extends string, + TAccountOwned extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: SetAuthorityInput, config?: { programAddress?: TProgramAddress }, ): SetAuthorityInstruction< TProgramAddress, - TAccountOwned, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - owned: { value: input.owned ?? null, isWritable: true }, - owner: { value: input.owner ?? null, isWritable: false }, + owned: { value: input.owned ?? null, isSigner: false, isWritable: true }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -141,13 +157,13 @@ export function getSetAuthorityInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('owned', accounts.owned), @@ -158,10 +174,13 @@ export function getSetAuthorityInstruction< programAddress, } as SetAuthorityInstruction< TProgramAddress, - TAccountOwned, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/syncNative.ts b/clients/js/src/generated/instructions/syncNative.ts index 2ec2a604..f209405b 100644 --- a/clients/js/src/generated/instructions/syncNative.ts +++ b/clients/js/src/generated/instructions/syncNative.ts @@ -27,7 +27,13 @@ import { type ReadonlyUint8Array, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const SYNC_NATIVE_DISCRIMINATOR = 17; @@ -75,28 +81,38 @@ export function getSyncNativeInstructionDataCodec(): FixedSizeCodec< return combineCodec(getSyncNativeInstructionDataEncoder(), getSyncNativeInstructionDataDecoder()); } -export type SyncNativeInput = { +export type SyncNativeInput< + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountRent extends InstructionAccountInput = InstructionAccountInput, +> = { /** The native token account to sync with its underlying lamports. */ - account: Address; + account: TAccountAccount; /** Rent sysvar. */ - rent?: Address; + rent?: TAccountRent; }; export function getSyncNativeInstruction< - TAccountAccount extends string, - TAccountRent extends string, + TAccountAccount extends InstructionAccountInput, + TAccountRent extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: SyncNativeInput, config?: { programAddress?: TProgramAddress }, -): SyncNativeInstruction { +): SyncNativeInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'omitted'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - rent: { value: input.rent ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + rent: { value: input.rent ?? null, isSigner: false, isWritable: false }, }; const accounts = originalAccounts as Record; @@ -106,14 +122,17 @@ export function getSyncNativeInstruction< 'SysvarRent111111111111111111111111111111111' as Address<'SysvarRent111111111111111111111111111111111'>; } - const getAccountMeta = getAccountMetaFactory(programAddress, 'omitted'); return Object.freeze({ accounts: [getAccountMeta('account', accounts.account), getAccountMeta('rent', accounts.rent)].filter( (x: T | undefined): x is T => x !== undefined, ), data: getSyncNativeInstructionDataEncoder().encode({}), programAddress, - } as SyncNativeInstruction); + } as SyncNativeInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta> + >); } export type ParsedSyncNativeInstruction< diff --git a/clients/js/src/generated/instructions/thawAccount.ts b/clients/js/src/generated/instructions/thawAccount.ts index 038bdbf6..3749bc32 100644 --- a/clients/js/src/generated/instructions/thawAccount.ts +++ b/clients/js/src/generated/instructions/thawAccount.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -28,10 +27,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const THAW_ACCOUNT_DISCRIMINATOR = 11; @@ -80,43 +86,50 @@ export function getThawAccountInstructionDataCodec(): FixedSizeCodec< } export type ThawAccountInput< - TAccountAccount extends string = string, - TAccountMint extends string = string, - TAccountOwner extends string = string, + TAccountAccount extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The account to thaw. */ - account: Address; + account: TAccountAccount; /** The token mint. */ - mint: Address; + mint: TAccountMint; /** The mint freeze authority or its multisignature account. */ - owner: Address | TransactionSigner; - multiSigners?: Array; + owner: TAccountOwner; + multiSigners?: Array; }; export function getThawAccountInstruction< - TAccountAccount extends string, - TAccountMint extends string, - TAccountOwner extends string, + TAccountAccount extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountOwner extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: ThawAccountInput, config?: { programAddress?: TProgramAddress }, ): ThawAccountInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - account: { value: input.account ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, - owner: { value: input.owner ?? null, isWritable: false }, + account: { value: input.account ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + owner: { value: input.owner ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -124,13 +137,13 @@ export function getThawAccountInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('account', accounts.account), @@ -142,11 +155,14 @@ export function getThawAccountInstruction< programAddress, } as ThawAccountInstruction< TProgramAddress, - TAccountAccount, - TAccountMint, - (typeof input)['owner'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountOwner + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountOwner, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/transfer.ts b/clients/js/src/generated/instructions/transfer.ts index b5b80f7f..8bc095fe 100644 --- a/clients/js/src/generated/instructions/transfer.ts +++ b/clients/js/src/generated/instructions/transfer.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const TRANSFER_DISCRIMINATOR = 3; @@ -95,44 +101,51 @@ export function getTransferInstructionDataCodec(): FixedSizeCodec< } export type TransferInput< - TAccountSource extends string = string, - TAccountDestination extends string = string, - TAccountAuthority extends string = string, + TAccountSource extends InstructionAccountInput = InstructionAccountInput, + TAccountDestination extends InstructionAccountInput = InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The source account. */ - source: Address; + source: TAccountSource; /** The destination account. */ - destination: Address; + destination: TAccountDestination; /** The source account's owner/delegate or its multisignature account. */ - authority: Address | TransactionSigner; + authority: TAccountAuthority; amount: TransferInstructionDataArgs['amount']; - multiSigners?: Array; + multiSigners?: Array; }; export function getTransferInstruction< - TAccountSource extends string, - TAccountDestination extends string, - TAccountAuthority extends string, + TAccountSource extends InstructionAccountInput, + TAccountDestination extends InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: TransferInput, config?: { programAddress?: TProgramAddress }, ): TransferInstruction< TProgramAddress, - TAccountSource, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - destination: { value: input.destination ?? null, isWritable: true }, - authority: { value: input.authority ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + destination: { value: input.destination ?? null, isSigner: false, isWritable: true }, + authority: { value: input.authority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -140,13 +153,13 @@ export function getTransferInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -158,11 +171,14 @@ export function getTransferInstruction< programAddress, } as TransferInstruction< TProgramAddress, - TAccountSource, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/transferChecked.ts b/clients/js/src/generated/instructions/transferChecked.ts index 49f55861..f8ada03c 100644 --- a/clients/js/src/generated/instructions/transferChecked.ts +++ b/clients/js/src/generated/instructions/transferChecked.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -30,10 +29,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const TRANSFER_CHECKED_DISCRIMINATOR = 12; @@ -103,51 +109,58 @@ export function getTransferCheckedInstructionDataCodec(): FixedSizeCodec< } export type TransferCheckedInput< - TAccountSource extends string = string, - TAccountMint extends string = string, - TAccountDestination extends string = string, - TAccountAuthority extends string = string, + TAccountSource extends InstructionAccountInput = InstructionAccountInput, + TAccountMint extends InstructionAccountInput = InstructionAccountInput, + TAccountDestination extends InstructionAccountInput = InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The source account. */ - source: Address; + source: TAccountSource; /** The token mint. */ - mint: Address; + mint: TAccountMint; /** The destination account. */ - destination: Address; + destination: TAccountDestination; /** The source account's owner/delegate or its multisignature account. */ - authority: Address | TransactionSigner; + authority: TAccountAuthority; amount: TransferCheckedInstructionDataArgs['amount']; decimals: TransferCheckedInstructionDataArgs['decimals']; - multiSigners?: Array; + multiSigners?: Array; }; export function getTransferCheckedInstruction< - TAccountSource extends string, - TAccountMint extends string, - TAccountDestination extends string, - TAccountAuthority extends string, + TAccountSource extends InstructionAccountInput, + TAccountMint extends InstructionAccountInput, + TAccountDestination extends InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: TransferCheckedInput, config?: { programAddress?: TProgramAddress }, ): TransferCheckedInstruction< TProgramAddress, - TAccountSource, - TAccountMint, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - mint: { value: input.mint ?? null, isWritable: false }, - destination: { value: input.destination ?? null, isWritable: true }, - authority: { value: input.authority ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + mint: { value: input.mint ?? null, isSigner: false, isWritable: false }, + destination: { value: input.destination ?? null, isSigner: false, isWritable: true }, + authority: { value: input.authority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -155,13 +168,13 @@ export function getTransferCheckedInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -174,12 +187,15 @@ export function getTransferCheckedInstruction< programAddress, } as TransferCheckedInstruction< TProgramAddress, - TAccountSource, - TAccountMint, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/uiAmountToAmount.ts b/clients/js/src/generated/instructions/uiAmountToAmount.ts index 45746983..71c5734f 100644 --- a/clients/js/src/generated/instructions/uiAmountToAmount.ts +++ b/clients/js/src/generated/instructions/uiAmountToAmount.ts @@ -28,7 +28,13 @@ import { type ReadonlyAccount, type ReadonlyUint8Array, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const UI_AMOUNT_TO_AMOUNT_DISCRIMINATOR = 24; @@ -82,35 +88,43 @@ export function getUiAmountToAmountInstructionDataCodec(): Codec< return combineCodec(getUiAmountToAmountInstructionDataEncoder(), getUiAmountToAmountInstructionDataDecoder()); } -export type UiAmountToAmountInput = { +export type UiAmountToAmountInput = { /** The mint to calculate for. */ - mint: Address; + mint: TAccountMint; uiAmount: UiAmountToAmountInstructionDataArgs['uiAmount']; }; export function getUiAmountToAmountInstruction< - TAccountMint extends string, + TAccountMint extends InstructionAccountInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: UiAmountToAmountInput, config?: { programAddress?: TProgramAddress }, -): UiAmountToAmountInstruction { +): UiAmountToAmountInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> +> { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. - const originalAccounts = { mint: { value: input.mint ?? null, isWritable: false } }; + const originalAccounts = { mint: { value: input.mint ?? null, isSigner: false, isWritable: false } }; const accounts = originalAccounts as Record; // Original args. const args = { ...input }; - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [getAccountMeta('mint', accounts.mint)], data: getUiAmountToAmountInstructionDataEncoder().encode(args as UiAmountToAmountInstructionDataArgs), programAddress, - } as UiAmountToAmountInstruction); + } as UiAmountToAmountInstruction< + TProgramAddress, + ResolvedInstructionAccountMeta> + >); } export type ParsedUiAmountToAmountInstruction< diff --git a/clients/js/src/generated/instructions/unwrapLamports.ts b/clients/js/src/generated/instructions/unwrapLamports.ts index 7ff6389b..17b603dc 100644 --- a/clients/js/src/generated/instructions/unwrapLamports.ts +++ b/clients/js/src/generated/instructions/unwrapLamports.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getOptionDecoder, getOptionEncoder, @@ -35,10 +34,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const UNWRAP_LAMPORTS_DISCRIMINATOR = 45; @@ -106,44 +112,51 @@ export function getUnwrapLamportsInstructionDataCodec(): Codec< } export type UnwrapLamportsInput< - TAccountSource extends string = string, - TAccountDestination extends string = string, - TAccountAuthority extends string = string, + TAccountSource extends InstructionAccountInput = InstructionAccountInput, + TAccountDestination extends InstructionAccountInput = InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The source account. */ - source: Address; + source: TAccountSource; /** The destination account. */ - destination: Address; + destination: TAccountDestination; /** The source account owner or its multisignature account. */ - authority: Address | TransactionSigner; + authority: TAccountAuthority; amount?: UnwrapLamportsInstructionDataArgs['amount']; - multiSigners?: Array; + multiSigners?: Array; }; export function getUnwrapLamportsInstruction< - TAccountSource extends string, - TAccountDestination extends string, - TAccountAuthority extends string, + TAccountSource extends InstructionAccountInput, + TAccountDestination extends InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: UnwrapLamportsInput, config?: { programAddress?: TProgramAddress }, ): UnwrapLamportsInstruction< TProgramAddress, - TAccountSource, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - destination: { value: input.destination ?? null, isWritable: true }, - authority: { value: input.authority ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + destination: { value: input.destination ?? null, isSigner: false, isWritable: true }, + authority: { value: input.authority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -151,13 +164,13 @@ export function getUnwrapLamportsInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -169,11 +182,14 @@ export function getUnwrapLamportsInstruction< programAddress, } as UnwrapLamportsInstruction< TProgramAddress, - TAccountSource, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/clients/js/src/generated/instructions/withdrawExcessLamports.ts b/clients/js/src/generated/instructions/withdrawExcessLamports.ts index 2fce5bd8..4346ffbb 100644 --- a/clients/js/src/generated/instructions/withdrawExcessLamports.ts +++ b/clients/js/src/generated/instructions/withdrawExcessLamports.ts @@ -7,7 +7,6 @@ */ import { - AccountRole, combineCodec, getStructDecoder, getStructEncoder, @@ -28,10 +27,17 @@ import { type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, - type TransactionSigner, type WritableAccount, } from '@solana/kit'; -import { getAccountMetaFactory, type ResolvedInstructionAccount } from '@solana/kit/program-client-core'; +import { + getAccountMetaFactory, + getNonNullResolvedInstructionInput, + type InstructionAccountInput, + type InstructionAccountInputAddress, + type InstructionSignerInput, + type ResolvedInstructionAccount, + type ResolvedInstructionAccountMeta, +} from '@solana/kit/program-client-core'; import { TOKEN_PROGRAM_ADDRESS } from '../programs'; export const WITHDRAW_EXCESS_LAMPORTS_DISCRIMINATOR = 38; @@ -83,43 +89,50 @@ export function getWithdrawExcessLamportsInstructionDataCodec(): FixedSizeCodec< } export type WithdrawExcessLamportsInput< - TAccountSource extends string = string, - TAccountDestination extends string = string, - TAccountAuthority extends string = string, + TAccountSource extends InstructionAccountInput = InstructionAccountInput, + TAccountDestination extends InstructionAccountInput = InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput = + InstructionAccountInput | InstructionSignerInput, > = { /** The source account. */ - source: Address; + source: TAccountSource; /** The destination account. */ - destination: Address; + destination: TAccountDestination; /** The source account owner or its multisignature account. */ - authority: Address | TransactionSigner; - multiSigners?: Array; + authority: TAccountAuthority; + multiSigners?: Array; }; export function getWithdrawExcessLamportsInstruction< - TAccountSource extends string, - TAccountDestination extends string, - TAccountAuthority extends string, + TAccountSource extends InstructionAccountInput, + TAccountDestination extends InstructionAccountInput, + TAccountAuthority extends InstructionAccountInput | InstructionSignerInput, TProgramAddress extends Address = typeof TOKEN_PROGRAM_ADDRESS, >( input: WithdrawExcessLamportsInput, config?: { programAddress?: TProgramAddress }, ): WithdrawExcessLamportsInstruction< TProgramAddress, - TAccountSource, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > > { // Program address. const programAddress = config?.programAddress ?? TOKEN_PROGRAM_ADDRESS; + // Account meta helper. + const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); + // Original accounts. const originalAccounts = { - source: { value: input.source ?? null, isWritable: true }, - destination: { value: input.destination ?? null, isWritable: true }, - authority: { value: input.authority ?? null, isWritable: false }, + source: { value: input.source ?? null, isSigner: false, isWritable: true }, + destination: { value: input.destination ?? null, isSigner: false, isWritable: true }, + authority: { value: input.authority ?? null, isSigner: 'either', isWritable: false }, }; const accounts = originalAccounts as Record; @@ -127,13 +140,13 @@ export function getWithdrawExcessLamportsInstruction< const args = { ...input }; // Remaining accounts. - const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(signer => ({ - address: signer.address, - role: AccountRole.READONLY_SIGNER, - signer, - })); + const remainingAccounts: AccountMeta[] = (args.multiSigners ?? []).map(value => + getNonNullResolvedInstructionInput( + 'multiSigners', + getAccountMeta('multiSigners', { value, isSigner: true, isWritable: false }), + ), + ); - const getAccountMeta = getAccountMetaFactory(programAddress, 'programId'); return Object.freeze({ accounts: [ getAccountMeta('source', accounts.source), @@ -145,11 +158,14 @@ export function getWithdrawExcessLamportsInstruction< programAddress, } as WithdrawExcessLamportsInstruction< TProgramAddress, - TAccountSource, - TAccountDestination, - (typeof input)['authority'] extends TransactionSigner - ? ReadonlySignerAccount & AccountSignerMeta - : TAccountAuthority + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta>, + ResolvedInstructionAccountMeta< + TAccountAuthority, + InstructionAccountInputAddress, + ReadonlySignerAccount> & + AccountSignerMeta> + > >); } diff --git a/package.json b/package.json index f2e4318b..20310423 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, "devDependencies": { - "@codama/renderers-js": "^2.3.0", + "@codama/renderers-js": "^2.5.0", "codama": "^1.10.0" }, "engines": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 65256a28..2dfffa25 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,62 +9,49 @@ importers: .: devDependencies: '@codama/renderers-js': - specifier: ^2.3.0 - version: 2.3.0 + specifier: ^2.5.0 + version: 2.5.0 codama: specifier: ^1.10.0 - version: 1.10.0 + version: 1.11.0 packages: - '@codama/cli@1.6.0': - resolution: {integrity: sha512-68fam0kzWsKp2ip/LZn3kDyFjWcbzHExCuDgEHGTX8C0gSscMch/c4EgtTq7NsWKc1cse0GMC5WIxCFumroTyQ==} + '@codama/cli@1.6.3': + resolution: {integrity: sha512-VSL/5hshedUUq9RmWgq/Q8GpeTfiJkr9LBejhK0I6n1+my5Mr8GFo1p66cqV5Rz7KS1m8UUiM8QZxmUwwEdioA==} hasBin: true - '@codama/errors@1.10.0': - resolution: {integrity: sha512-/qiWQcbPIsyFlP1LrLqJfHt1QNbkY2wtC4UxZyKLnuZtc62YPlgDrN2wp4wcfRuE/DC0n3Y6ZSwYUrDBZyAnvA==} + '@codama/errors@1.11.0': + resolution: {integrity: sha512-JVEgRdHTuTER9eb0Y6uGhG2UHN9LRKA4gj9Wiijvsnj8mxhaweLbbqyJcBAWUvx95yo+CsvHJdItS/7TY0Loxg==} hasBin: true - '@codama/errors@1.8.0': - resolution: {integrity: sha512-A0FNhbfS1PBSK0nS+g65IR8+OKkifuIJCCnLCUBXb+I/OYMGlJMycMpU4pwAEEGS5GAnue7D/llXE+KpUaMi8w==} - hasBin: true - - '@codama/fragments@0.1.1': - resolution: {integrity: sha512-+DeC2YklyYf+qjRkoTKeG6HFgwsW7hiQko7er18dgsxF15M316EwYL2W40nKDPWlEhB/iME+sZR5++VQPUO/6w==} - - '@codama/node-types@1.10.0': - resolution: {integrity: sha512-fMoJQ8TgB9A5Pl+GA8ffhDbGK63cV1nrbDrYTgIhPDKeVqBSdkSAoAuAtvWfRd7X2ML73H6RRi6jZRJmo2xfHQ==} - - '@codama/node-types@1.8.0': - resolution: {integrity: sha512-KE9K9jjEdeFKtDKRrjjm5YwEkg7l+YwoWiH2w1UXJL/x6P5uul6+O5WnGsJn8IFtBVSLN4hbD7YSsZ0/lktJxQ==} + '@codama/fragments@1.0.0': + resolution: {integrity: sha512-hwiteKd/MC3JdU8YS6BwdsEqs7NLcNDd6zz433ac85VUMT17YaYVLlfSCqb1RZRRXzgBA2Kso8DtWFlvwd3UIw==} - '@codama/nodes@1.10.0': - resolution: {integrity: sha512-P3NXVw6kZq2VDb4wYU6zQ3xFksDqSuDYqp11P6Dpei9XIZZ11NtL2jBjBcqsIudGIx104bMgSo4SZ7Hlej056A==} + '@codama/node-types@1.11.0': + resolution: {integrity: sha512-QfTvw+q8TLHHHAKvmbhklYTcb5dnO8PO8I4HaON5j/nWSM999r46nTOSyOx8yQ5kPN/mBJy3lpU93cvVrDrmNg==} - '@codama/nodes@1.8.0': - resolution: {integrity: sha512-rl+7BxYatAE6uq5h9b5fEilGLd3YeJaJxqgLDAvdKQ5pspq6ch5ww9NiigkwdvDYli1Yk56PRhMZdLsiZIVgAA==} + '@codama/nodes@1.11.0': + resolution: {integrity: sha512-u9Gd42ovraxtYts1+B80fO9PumGlpj3wOazStiI/bckjDJs4ytedfkR47vEfYTdy5P3uD152RLr/0t+Cs7ts5A==} - '@codama/renderers-core@1.3.9': - resolution: {integrity: sha512-DwMxltM+cldAK+rgtE3jVOmrGZuP7fA/ZLu6vgrsQYBp5dkOXCyiGBdpAz0VlhxaN4lB5TzT2Ia+EVv5G4YdGQ==} + '@codama/renderers-core@1.4.1': + resolution: {integrity: sha512-L/mNuzP29emEz9O2+tghToNvtTnfjpenJ984LrnRi4p8uonf3vOROUzDE+9w5httoowQt0YHCxFvQ8DP5lK0DQ==} - '@codama/renderers-js@2.3.0': - resolution: {integrity: sha512-PSvoLATBx7EomzZgCXegPTn5TxaFjA+NIraNUx22vNZ6rxPxu5Tctq8KxeXaaPCnKLpBUKcwmhUPRO4QLNQlvg==} + '@codama/renderers-js@2.5.0': + resolution: {integrity: sha512-Jh7qkU4jim2YX7JZujSzlMsmi8PIfGW4ZVLF69uq6EmGZJ48oxRR9zVGc1BxYWH3PHxRQsJCLlEzRKqb93XGcA==} engines: {node: '>=20.18.0'} - '@codama/validators@1.10.0': - resolution: {integrity: sha512-5WH1IHmyVVG/9QThZsrVM2ROv5w3yLF/8+4HK/kr8uw0ZXnIBGidnmyrxr1P8V+X6DgZqKJaX46V30dSs/NOTQ==} + '@codama/validators@1.11.0': + resolution: {integrity: sha512-aOv+DL01aUkg7lW4N1A37NZ6cpWdNvlYV0M6FSP7IhqX4h3wsdnoBWMp5pRbZKYlJp78uF1dG9+W5U7l9SKxOg==} - '@codama/visitors-core@1.10.0': - resolution: {integrity: sha512-8koBGs4m/NI4nDLJZx7Q1KzRUKkBy/GAnZq4xOEFGlhTvDCIAzEgo3biAhNFynGY45gzZJSX08QTDWKsPRjnaA==} + '@codama/visitors-core@1.11.0': + resolution: {integrity: sha512-hF3d9JocVx4kRWgMNRTbL/4yq56z31l+C2JKRoRTJ6IlOZESlqUxUcU8HeuoR/2zXbsWTIMnvxFlfTemCOGvgg==} - '@codama/visitors-core@1.8.0': - resolution: {integrity: sha512-CLO0icVvzAutjI7imuN1Rib0/GIBc7hhwQ5gcE3aVAVBHUNS4M27BzagqYTpL0cMC9I1tL9c6lhpCBV2kKs6Zg==} + '@codama/visitors@1.11.0': + resolution: {integrity: sha512-2Xfkqk3fxiPL69gi24HThCV8cflWq94pGf+4rmDx9SmPtvK5wfOVQ6J68d47T1/FuVTsFJ8R41ZVfaoGZ/CBRg==} - '@codama/visitors@1.10.0': - resolution: {integrity: sha512-xAGKosZQnXBo9MiHFipA9Dsec1k9nbpv5UgUyY1j3l85FGEZQT2tHqrNxtBmPrC3LNSLVOfAdiUUMVUXUX5ydA==} - - '@solana/codecs-core@6.9.0': - resolution: {integrity: sha512-F2BmLecG/1nTtnjyD509NsEc254pxJKa2bpvotymv1lL1WfEn3zchcZ9SMIiLyL4G6J8b9F3OKIq2YSZho2AOQ==} + '@solana/codecs-core@8.3.0': + resolution: {integrity: sha512-rpt01CPeF4FhTTJHyr0Tr4n8U1shYPhe7q2mcmTYyKPATYAkyb5CLHnYKnN6LO71EZSFq3Y2Wm27rwWcBvAJzg==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -72,8 +59,8 @@ packages: typescript: optional: true - '@solana/codecs-numbers@6.9.0': - resolution: {integrity: sha512-XMI0FOHV2h7yPAllxWCX8z+J1msidNjXzN1mRjH5KR6C+vfzyKa2xWHve0bNSV/bjVAhqqhc7dQCpBKuF4+ScQ==} + '@solana/codecs-numbers@8.3.0': + resolution: {integrity: sha512-12u+Y9ERE+gqraV1g0BP/5QxbamukFub05kyj3d3s6V/26ZEby6ReHJ8yuKtPl9fIUnfoQ2M4+th/7u5+5v14w==} engines: {node: '>=20.18.0'} peerDependencies: typescript: '>=5.4.0' @@ -81,8 +68,8 @@ packages: typescript: optional: true - '@solana/codecs-strings@6.9.0': - resolution: {integrity: sha512-PTqYQxMsmdfEEq29bV1AnALD4FjFEsSxOj1fYNqooOSTEQEpUoYEQtsd55/kBsnIKltXbvYwXYXBusm19n1sQA==} + '@solana/codecs-strings@8.3.0': + resolution: {integrity: sha512-S7rZrc1B90AS0QVRlo6+6cX2t+0TGtsadsPWdfA7tXcaDKQfQn4C/6OJxJ7/n8ugw8LMgGC+Xcs81ii4nIp6aQ==} engines: {node: '>=20.18.0'} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 @@ -93,8 +80,8 @@ packages: typescript: optional: true - '@solana/errors@6.9.0': - resolution: {integrity: sha512-7i+b07KMnkbHvFlz7uWade3jvyc22UmVm8o9taxPK8YV3JNM/NkS8oQFvMac2MIaLPAlEs7I8MHyVLUal1yY4g==} + '@solana/errors@8.3.0': + resolution: {integrity: sha512-XsoQ5ThBOwfMz1KS7I2zZoduLxUYFe+NHuRAm/gt+uk44nnXqwzNJHo/9GEMqJqxafViqvfRZ35GF1fDkwW32Q==} engines: {node: '>=20.18.0'} hasBin: true peerDependencies: @@ -119,13 +106,13 @@ packages: resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} - codama@1.10.0: - resolution: {integrity: sha512-fH1wz1P6bbPOWNM23Sk4VzRSpqxRW1CpXNiWQY23vHT2tno/K1/JtaaUc7DS5ddl5rGFKtq9R2UFsegR96IxRQ==} + codama@1.11.0: + resolution: {integrity: sha512-h8IjY8s1yNAA87aeA7D63SbZd9Be1lwfjp7r4pO3b8qwlYL+OKrZxEcErUyeMaXkpH8vKJUotRNlRKFsV1YVTg==} hasBin: true - commander@14.0.3: - resolution: {integrity: sha512-H+y0Jo/T1RZ9qPP4Eh1pkcQcLRglraJaSLoyOtHxu6AapkjWVCy2Sit1QQ4x3Dng8qDlSsZEet7g5Pq06MvTgw==} - engines: {node: '>=20'} + commander@15.0.0: + resolution: {integrity: sha512-z67u4ZhzCL/Tydu1lJARtEZYWbWaN7oYLHbsuzocr6y4N6WZAagG3RQ4FW61V1/0+jImpj293XfrcYnd1qxtPg==} + engines: {node: '>=22.12.0'} define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} @@ -198,8 +185,8 @@ packages: picocolors@1.1.1: resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} - prettier@3.8.4: - resolution: {integrity: sha512-N2MylSdi48+5N/6S5j+maeHbUSIzzZ5uOcX5Hm4QpV8Dkb1HFjfAKTKX6yNPJQD9AhcT3ifHNB66tWTTJDi11Q==} + prettier@3.9.8: + resolution: {integrity: sha512-WRFq3Wn3WId7LLROfMLdH7xaFr2jR62wU8nLO6rQUOLOxNZUviyJQs1M0iIhLexSFy+L+w0ch66wtoO2jRjG0A==} engines: {node: '>=14'} hasBin: true @@ -207,8 +194,8 @@ packages: resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} engines: {node: '>= 6'} - semver@7.8.4: - resolution: {integrity: sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==} + semver@7.8.5: + resolution: {integrity: sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==} engines: {node: '>=10'} hasBin: true @@ -221,108 +208,89 @@ packages: snapshots: - '@codama/cli@1.6.0': + '@codama/cli@1.6.3': dependencies: - '@codama/nodes': 1.10.0 - '@codama/visitors': 1.10.0 - '@codama/visitors-core': 1.10.0 - commander: 14.0.3 + '@codama/nodes': 1.11.0 + '@codama/visitors': 1.11.0 + '@codama/visitors-core': 1.11.0 + commander: 15.0.0 picocolors: 1.1.1 prompts: 2.4.2 - '@codama/errors@1.10.0': - dependencies: - '@codama/node-types': 1.10.0 - commander: 14.0.3 - picocolors: 1.1.1 - - '@codama/errors@1.8.0': + '@codama/errors@1.11.0': dependencies: - '@codama/node-types': 1.8.0 - commander: 14.0.3 + '@codama/node-types': 1.11.0 + commander: 15.0.0 picocolors: 1.1.1 - '@codama/fragments@0.1.1': + '@codama/fragments@1.0.0': dependencies: - '@codama/errors': 1.8.0 - - '@codama/node-types@1.10.0': {} + '@codama/errors': 1.11.0 - '@codama/node-types@1.8.0': {} - - '@codama/nodes@1.10.0': - dependencies: - '@codama/errors': 1.10.0 - '@codama/node-types': 1.10.0 + '@codama/node-types@1.11.0': {} - '@codama/nodes@1.8.0': + '@codama/nodes@1.11.0': dependencies: - '@codama/errors': 1.8.0 - '@codama/node-types': 1.8.0 + '@codama/errors': 1.11.0 + '@codama/node-types': 1.11.0 - '@codama/renderers-core@1.3.9': + '@codama/renderers-core@1.4.1': dependencies: - '@codama/errors': 1.8.0 - '@codama/fragments': 0.1.1 - '@codama/nodes': 1.8.0 - '@codama/visitors-core': 1.8.0 + '@codama/errors': 1.11.0 + '@codama/fragments': 1.0.0 + '@codama/nodes': 1.11.0 + '@codama/visitors-core': 1.11.0 - '@codama/renderers-js@2.3.0': + '@codama/renderers-js@2.5.0': dependencies: - '@codama/errors': 1.8.0 - '@codama/nodes': 1.8.0 - '@codama/renderers-core': 1.3.9 - '@codama/visitors-core': 1.8.0 - '@solana/codecs-strings': 6.9.0 - prettier: 3.8.4 - semver: 7.8.4 + '@codama/errors': 1.11.0 + '@codama/nodes': 1.11.0 + '@codama/renderers-core': 1.4.1 + '@codama/visitors-core': 1.11.0 + '@solana/codecs-strings': 8.3.0 + prettier: 3.9.8 + semver: 7.8.5 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - typescript - '@codama/validators@1.10.0': + '@codama/validators@1.11.0': dependencies: - '@codama/errors': 1.10.0 - '@codama/nodes': 1.10.0 - '@codama/visitors-core': 1.10.0 - - '@codama/visitors-core@1.10.0': - dependencies: - '@codama/errors': 1.10.0 - '@codama/nodes': 1.10.0 - json-stable-stringify: 1.3.0 + '@codama/errors': 1.11.0 + '@codama/nodes': 1.11.0 + '@codama/visitors-core': 1.11.0 - '@codama/visitors-core@1.8.0': + '@codama/visitors-core@1.11.0': dependencies: - '@codama/errors': 1.8.0 - '@codama/nodes': 1.8.0 + '@codama/errors': 1.11.0 + '@codama/nodes': 1.11.0 json-stable-stringify: 1.3.0 - '@codama/visitors@1.10.0': + '@codama/visitors@1.11.0': dependencies: - '@codama/errors': 1.10.0 - '@codama/nodes': 1.10.0 - '@codama/visitors-core': 1.10.0 + '@codama/errors': 1.11.0 + '@codama/nodes': 1.11.0 + '@codama/visitors-core': 1.11.0 - '@solana/codecs-core@6.9.0': + '@solana/codecs-core@8.3.0': dependencies: - '@solana/errors': 6.9.0 + '@solana/errors': 8.3.0 - '@solana/codecs-numbers@6.9.0': + '@solana/codecs-numbers@8.3.0': dependencies: - '@solana/codecs-core': 6.9.0 - '@solana/errors': 6.9.0 + '@solana/codecs-core': 8.3.0 + '@solana/errors': 8.3.0 - '@solana/codecs-strings@6.9.0': + '@solana/codecs-strings@8.3.0': dependencies: - '@solana/codecs-core': 6.9.0 - '@solana/codecs-numbers': 6.9.0 - '@solana/errors': 6.9.0 + '@solana/codecs-core': 8.3.0 + '@solana/codecs-numbers': 8.3.0 + '@solana/errors': 8.3.0 - '@solana/errors@6.9.0': + '@solana/errors@8.3.0': dependencies: chalk: 5.6.2 - commander: 14.0.3 + commander: 15.0.0 call-bind-apply-helpers@1.0.2: dependencies: @@ -343,15 +311,15 @@ snapshots: chalk@5.6.2: {} - codama@1.10.0: + codama@1.11.0: dependencies: - '@codama/cli': 1.6.0 - '@codama/errors': 1.10.0 - '@codama/nodes': 1.10.0 - '@codama/validators': 1.10.0 - '@codama/visitors': 1.10.0 + '@codama/cli': 1.6.3 + '@codama/errors': 1.11.0 + '@codama/nodes': 1.11.0 + '@codama/validators': 1.11.0 + '@codama/visitors': 1.11.0 - commander@14.0.3: {} + commander@15.0.0: {} define-data-property@1.1.4: dependencies: @@ -425,14 +393,14 @@ snapshots: picocolors@1.1.1: {} - prettier@3.8.4: {} + prettier@3.9.8: {} prompts@2.4.2: dependencies: kleur: 3.0.3 sisteransi: 1.0.5 - semver@7.8.4: {} + semver@7.8.5: {} set-function-length@1.2.2: dependencies: