Browse Source

Bump JS client to Kit v4 (#103)

* Bump JS client to Kit v4

* Bump system dependency
Loris Leiva 3 days ago
parent
commit
988d6f28a5
50 changed files with 591 additions and 639 deletions
  1. 3 3
      clients/js/package.json
  2. 309 309
      clients/js/pnpm-lock.yaml
  3. 2 2
      clients/js/src/generated/accounts/index.ts
  4. 2 2
      clients/js/src/generated/accounts/mint.ts
  5. 2 2
      clients/js/src/generated/accounts/multisig.ts
  6. 2 2
      clients/js/src/generated/accounts/token.ts
  7. 2 2
      clients/js/src/generated/errors/associatedToken.ts
  8. 2 2
      clients/js/src/generated/errors/index.ts
  9. 2 2
      clients/js/src/generated/errors/token.ts
  10. 2 2
      clients/js/src/generated/index.ts
  11. 6 10
      clients/js/src/generated/instructions/amountToUiAmount.ts
  12. 5 7
      clients/js/src/generated/instructions/approve.ts
  13. 5 7
      clients/js/src/generated/instructions/approveChecked.ts
  14. 5 7
      clients/js/src/generated/instructions/burn.ts
  15. 5 7
      clients/js/src/generated/instructions/burnChecked.ts
  16. 5 7
      clients/js/src/generated/instructions/closeAccount.ts
  17. 8 12
      clients/js/src/generated/instructions/createAssociatedToken.ts
  18. 8 12
      clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts
  19. 5 7
      clients/js/src/generated/instructions/freezeAccount.ts
  20. 6 10
      clients/js/src/generated/instructions/getAccountDataSize.ts
  21. 2 2
      clients/js/src/generated/instructions/index.ts
  22. 5 7
      clients/js/src/generated/instructions/initializeAccount.ts
  23. 5 7
      clients/js/src/generated/instructions/initializeAccount2.ts
  24. 6 11
      clients/js/src/generated/instructions/initializeAccount3.ts
  25. 6 10
      clients/js/src/generated/instructions/initializeImmutableOwner.ts
  26. 6 11
      clients/js/src/generated/instructions/initializeMint.ts
  27. 6 10
      clients/js/src/generated/instructions/initializeMint2.ts
  28. 6 11
      clients/js/src/generated/instructions/initializeMultisig.ts
  29. 6 10
      clients/js/src/generated/instructions/initializeMultisig2.ts
  30. 5 7
      clients/js/src/generated/instructions/mintTo.ts
  31. 5 7
      clients/js/src/generated/instructions/mintToChecked.ts
  32. 8 12
      clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts
  33. 6 11
      clients/js/src/generated/instructions/revoke.ts
  34. 6 11
      clients/js/src/generated/instructions/setAuthority.ts
  35. 6 10
      clients/js/src/generated/instructions/syncNative.ts
  36. 5 7
      clients/js/src/generated/instructions/thawAccount.ts
  37. 5 7
      clients/js/src/generated/instructions/transfer.ts
  38. 5 7
      clients/js/src/generated/instructions/transferChecked.ts
  39. 6 10
      clients/js/src/generated/instructions/uiAmountToAmount.ts
  40. 2 2
      clients/js/src/generated/pdas/associatedToken.ts
  41. 2 2
      clients/js/src/generated/pdas/index.ts
  42. 2 2
      clients/js/src/generated/programs/associatedToken.ts
  43. 2 2
      clients/js/src/generated/programs/index.ts
  44. 2 2
      clients/js/src/generated/programs/token.ts
  45. 2 2
      clients/js/src/generated/shared/index.ts
  46. 2 2
      clients/js/src/generated/types/accountState.ts
  47. 2 2
      clients/js/src/generated/types/authorityType.ts
  48. 2 2
      clients/js/src/generated/types/index.ts
  49. 1 1
      package.json
  50. 81 38
      pnpm-lock.yaml

+ 3 - 3
clients/js/package.json

@@ -42,13 +42,13 @@
   },
   "homepage": "https://github.com/solana-program/token#readme",
   "peerDependencies": {
-    "@solana/kit": "^3.0"
+    "@solana/kit": "^4.0"
   },
   "devDependencies": {
     "@ava/typescript": "^4.1.0",
-    "@solana-program/system": "^0.8.0",
+    "@solana-program/system": "^0.9.0",
     "@solana/eslint-config-solana": "^3.0.3",
-    "@solana/kit": "^3.0",
+    "@solana/kit": "^4.0",
     "@types/node": "^24",
     "@typescript-eslint/eslint-plugin": "^7.16.1",
     "@typescript-eslint/parser": "^7.16.1",

+ 309 - 309
clients/js/pnpm-lock.yaml

@@ -12,14 +12,14 @@ importers:
         specifier: ^4.1.0
         version: 4.1.0
       '@solana-program/system':
-        specifier: ^0.8.0
-        version: 0.8.0(@solana/kit@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0))
+        specifier: ^0.9.0
+        version: 0.9.0(@solana/kit@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0))
       '@solana/eslint-config-solana':
         specifier: ^3.0.3
         version: 3.0.3(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)
       '@solana/kit':
-        specifier: ^3.0
-        version: 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
+        specifier: ^4.0
+        version: 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
       '@types/node':
         specifier: ^24
         version: 24.3.0
@@ -360,62 +360,62 @@ packages:
     resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==}
     engines: {node: '>=18'}
 
-  '@solana-program/system@0.8.0':
-    resolution: {integrity: sha512-/VJZjFoI+FMrsO5gPgktRIo6Sf/2pMEkkpA6grLtm4Xx52bQDo4fBvhA33FL+3pSf25yHcMcXwrKwqDk6/O1fw==}
+  '@solana-program/system@0.9.0':
+    resolution: {integrity: sha512-yu+i0SZ+c+0E9Cy+btoMiCbxRnP/FLQuv/Ba8l2klZApAiOX1Ja/2IGkctFV36fglsI7PwD9czkSkHm8og+QeA==}
     peerDependencies:
-      '@solana/kit': ^3.0
+      '@solana/kit': ^4.0
 
-  '@solana/accounts@3.0.1':
-    resolution: {integrity: sha512-mnSikkN1QFuo77nPnXduynNteP28UnGDJDaSZ7eruyHTNwYymHzadnjkyzdh132pKYcUfyXmoqX2wfBFQ2RQqw==}
+  '@solana/accounts@4.0.0':
+    resolution: {integrity: sha512-fxTtTk7PCJrigdzqhkc0eZYACVZpONKJZy4MkGvZzx5tCC7rUeDJvzau3IYACUCRaaAGPpkINHwYtp8weKsn8w==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/addresses@3.0.1':
-    resolution: {integrity: sha512-1trIGrZVOw6pVhusQi9rYigUt2cAxPgcd2fs0wCXN+uRnJWKvZCmqegfHVOvygy5ac65yECeyrinl6TGStbxbw==}
+  '@solana/addresses@4.0.0':
+    resolution: {integrity: sha512-1OS4nU0HFZxHRxgUb6A72Qg0QbIz6Vu2AbB0j/YSxN4EI+S2BftA83Y6uXhTFDQjKuA+MtHjxe6edB3cs1Pqxw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/assertions@3.0.1':
-    resolution: {integrity: sha512-tTARLS/c01vISXYC3xsU5R+SUiAo+wn59Me4xlqk0d8erWxjEgEj3uHGTO+xEiQyjEhPNv4rfEx+vmk8mAvCUQ==}
+  '@solana/assertions@4.0.0':
+    resolution: {integrity: sha512-QwtImPVM5JLEWOFpvHh+eKdvmxdNP6PW8FkmFFEVYR6VFDaZD/hbmSJlwt5p3L69sVmxJA0ughYgD/kkHM7fbg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/codecs-core@3.0.1':
-    resolution: {integrity: sha512-7U12QJX6VZeq03r0l0SZnGPk+YHbyU9lDjEZpjiSHdWbixy8inoYTsqV523Soy41SnGwvVsfiJf7SUB5kvgGaQ==}
+  '@solana/codecs-core@4.0.0':
+    resolution: {integrity: sha512-28kNUsyIlhU3MO3/7ZLDqeJf2YAm32B4tnTjl5A9HrbBqsTZ+upT/RzxZGP1MMm7jnPuIKCMwmTpsyqyR6IUpw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/codecs-data-structures@3.0.1':
-    resolution: {integrity: sha512-0VarnZxfxm77iTc5aq7mHxXHa6mlFCpkKboT+oc+8jXOCwLyNIss480qc7QX+2FVFSwB5gRIlR36/RubaIDbLg==}
+  '@solana/codecs-data-structures@4.0.0':
+    resolution: {integrity: sha512-pvh+Oxz6UIbWxcgwvVwMJIV4nvZn3EHL5ZvCIPClE5Ep8K5sJ8RoRvOohqLcIv9LYn/EZNoXpCodREX/OYpsGw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/codecs-numbers@3.0.1':
-    resolution: {integrity: sha512-HdXioWMVc0Ih9N7vuEF11pMwQWHqSF/TQrCDKljr981QQ5q/pBleUZB3hM43zP/ndnTasIxqAuLXIypricAGqg==}
+  '@solana/codecs-numbers@4.0.0':
+    resolution: {integrity: sha512-z9zpjtcwzqT9rbkKVZpkWB5/0V7+6YRKs6BccHkGJlaDx8Pe/+XOvPi2rEdXPqrPd9QWb5Xp1iBfcgaDMyiOiA==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/codecs-strings@3.0.1':
-    resolution: {integrity: sha512-UxaD1Xdxe35Y2B0HnSHe48ok8ew+tyrVI1w65eHj0NzGb9FxLx/KuuEg/b/qXQRUB75JQjDo8IBh5rWZ7rl5qQ==}
+  '@solana/codecs-strings@4.0.0':
+    resolution: {integrity: sha512-XvyD+sQ1zyA0amfxbpoFZsucLoe+yASQtDiLUGMDg5TZ82IHE3B7n82jE8d8cTAqi0HgqQiwU13snPhvg1O0Ow==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       fastestsmallesttextencoderdecoder: ^1.0.22
       typescript: '>=5.3.3'
 
-  '@solana/codecs@3.0.1':
-    resolution: {integrity: sha512-bvSz1L2H/WlTqUvPtEfF4IDhp1PpZeqUdvkfy3X1sj6n/A+k08FyB3T2AbjoeOm1XAg70voYHjal/nE8SAzQFw==}
+  '@solana/codecs@4.0.0':
+    resolution: {integrity: sha512-qh+Le1u9QBDPubqUrFU5BGX3Kyj7x0viO6z2SUuM0CSqYUvwE7w724LXwDA9QoEL5JkED1rB3bQg4M0bDrABpA==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/errors@3.0.1':
-    resolution: {integrity: sha512-/EhRoJLrO03wj+3/miA6YkBnGjAS12mvilWkQ4LBv/hVqhUF9V8JXpSMnD40hoaMraE23V9IaHNHcfoJmldjwA==}
+  '@solana/errors@4.0.0':
+    resolution: {integrity: sha512-3YEtvcMvtcnTl4HahqLt0VnaGVf7vVWOnt6/uPky5e0qV6BlxDSbGkbBzttNjxLXHognV0AQi3pjvrtfUnZmbg==}
     engines: {node: '>=20.18.0'}
     hasBin: true
     peerDependencies:
@@ -434,171 +434,171 @@ packages:
       eslint-plugin-typescript-sort-keys: ^3.2.0
       typescript: ^5.1.6
 
-  '@solana/fast-stable-stringify@3.0.1':
-    resolution: {integrity: sha512-/E9Hzk1XcCxp2DDXfzQYcgT6SZtJOzTij01UxSpvmsPYai/WwYtig09B/TTZO7a7C3+pstRZnba4XyFnmlrSUw==}
+  '@solana/fast-stable-stringify@4.0.0':
+    resolution: {integrity: sha512-sNJRi0RQ93vkGQ9VyFTSGm6mfKLk0FWOFpJLcqyP0BNUK1CugBaUMnxAmGqNaVSCktJagTSLqAMi9k1VSdh+Cg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/functional@3.0.1':
-    resolution: {integrity: sha512-wH0wUWKAB6sVxZ7+JQBVIAsZQWP0G4q/QaI3WGTuVNPNXwnNDkAuKNJFGSqugrWZTn2OKJHMHJUUWPNEKSkhcw==}
+  '@solana/functional@4.0.0':
+    resolution: {integrity: sha512-duprxASuT0VXlHj3bLBdy9+ZpqdmCZhzCUmTsXps4UlDKr9PxSCQIQ+NK6OPhtBWOh1sNEcT1f1nY/MVqF/KHg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/instruction-plans@3.0.1':
-    resolution: {integrity: sha512-YIWApyXGS3lhbI8lN9TzPNm1dBtvJBpPutccABqAVmSo06oi85TtWKLST7bv6qPIAP/iJX/dxMjG+K1Xqognyg==}
+  '@solana/instruction-plans@4.0.0':
+    resolution: {integrity: sha512-FcyptPR5XmKoj1EyF9xARiqy2BuF+CfrIxTU0WQn5Tix/y7whKYz5CCFtBlWbwIcGxQftmG5tAlcidgnCb7jVw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/instructions@3.0.1':
-    resolution: {integrity: sha512-JoMW+nXotoRWmN8BR1xt5IjLADOtP9NhNcLkQtwvqq2uVPMwe2WgUgHAlwSBWvVTZ6eN1T9WL57uUahC1CcWaw==}
+  '@solana/instructions@4.0.0':
+    resolution: {integrity: sha512-/Lf3E+6mhe6EL7a3+9FY020yq71lVNgueplJGr221b4wP6ykwPVtoaAiNf+lIrRRYkW8DC81auhmjd2DYpND1w==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/keys@3.0.1':
-    resolution: {integrity: sha512-6DdquYFD+btdoM6kwoj/VJvfUmsz+yRkErmqlcIqGS/Ztqsi1cxo+yTYuJD3jFaCl7VIOu3oxrNzjAeaJLhkxg==}
+  '@solana/keys@4.0.0':
+    resolution: {integrity: sha512-aPz+LF9QK3EHjuklYBnnalcLVHUNz5s4m4DXNVGAtjJD7Q9zEu2dBUm9mRKwlLbQibNOEGa1m86HCjcboqXdjg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/kit@3.0.1':
-    resolution: {integrity: sha512-kQaCLad8ZlFhnJYs2UmhkCULq1XLDYwH9x8VuV6hkD8SJHvRU12SrXN27RcrizAKFkucqyCno/FhqLng7WA8yQ==}
+  '@solana/kit@4.0.0':
+    resolution: {integrity: sha512-5c4qMRL+ciWewEtNZ2gX4wf4VpscZYXbWnU2kBiyQhWiqj8zzFIh6iCHbqMX/Myx3pOHfQs/m/iQCnQHPOag9Q==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/nominal-types@3.0.1':
-    resolution: {integrity: sha512-EpcR8HMowYUewTgQ7LRS2AcBs+Rqe4t/O4ehyLzdrZJh5yHuEfDFDPXRqJCR0Su5ShxEZhSNNro/4IlctBEjYw==}
+  '@solana/nominal-types@4.0.0':
+    resolution: {integrity: sha512-zIjHZY+5uboigbzsNhHmF3AlP/xACYxbB0Cb1VAI9i+eFShMeu/3VIrj7x1vbq9hfQKGSFHNFGFqQTivdzpbLw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/options@3.0.1':
-    resolution: {integrity: sha512-BlOmXLh4/NDoq89j4gJLg0lVQNnp2Mn76efCUeh/r99NIoliDJPQFPnjvfbBiAN5BvJksr7RCkAamZQjD2j7rw==}
+  '@solana/options@4.0.0':
+    resolution: {integrity: sha512-QTjBh24a34At66mGfs0lVF1voug1KnA13IZkvcVPr52zFb90+xYiqYeKiICTaf3HkoeoKG+TC2Q0K64+se0+CQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/programs@3.0.1':
-    resolution: {integrity: sha512-Ao2JsRZO6NbxIbKQQWsaetZBotjH1nQ+Ona5FvKxBmTa6p2maM88j+rSJmMtstZGVKiapDIGQESYwZXenUfuhQ==}
+  '@solana/programs@4.0.0':
+    resolution: {integrity: sha512-tJCNoKyDKfipGTsQtUO6R9EXk4l4ai+gYuD2R3NubJgMaLPBqIv3IMSCeDSvhuSCDuN2lQ1mLkQrDnE3lm0/iQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/promises@3.0.1':
-    resolution: {integrity: sha512-2BRbJNiBDenMKOqtvpXbfkCS8VjhZQgaYarff+O7FCn/w7toTHp1H6hqWjSL429omF7oj6fAqq3Lg26ZrUea9g==}
+  '@solana/promises@4.0.0':
+    resolution: {integrity: sha512-zEh815+n2OrrQunZ6m1iuNcoZRc9YnQaTeivBSgl1SYfPaq/Qj/rRiK5DID25Njo4L44p5quu7aal3Bk/eR+tQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-api@3.0.1':
-    resolution: {integrity: sha512-FEqxaVeUFuhafQCKfFFismEPKGygzbZJmnB1CCIoC3Xs2c/ab0R3H6yFVXONVS/mKFXMHRiJhJMCm2f2VncR3w==}
+  '@solana/rpc-api@4.0.0':
+    resolution: {integrity: sha512-nfQkTJCIW3qzUDRrhvr9MBm9jKQ+dZn4ypK35UDPrV+QB5Gc9UmPJ6prvpPtDq8WoU7wqUzswKeY3k7qtgYjEg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-parsed-types@3.0.1':
-    resolution: {integrity: sha512-+BXgL5KREoal01M5tGIuVwlO1aenq1jlr2TZeYD/SPFSVRrNQkHnkPWwJzOjuqJ+NuOakBuzgOHY9cfgacz+xg==}
+  '@solana/rpc-parsed-types@4.0.0':
+    resolution: {integrity: sha512-aOjwJwen5D0aDXoSths+ekdBO4mu7nmM+yASqCVW2PLN6v7NZmRBzV1/PgMFjDTiymVQj25ipCUvL395s1wsKg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-spec-types@3.0.1':
-    resolution: {integrity: sha512-UU/blVNDihiC/fkwv4AKqSmiwkTjuJ/xy33D4TmpnByI9J5uRFTDWAo8PlMudQOdMi+j14y8THpKCz+P3di2ZA==}
+  '@solana/rpc-spec-types@4.0.0':
+    resolution: {integrity: sha512-rpFMIaetpubeyDXIlxV08vtmiDt7ME9527kCI61slHj6O2rbj+7fABhmlN6J4YDCcL/kfnMCxZyNna94DovHZA==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-spec@3.0.1':
-    resolution: {integrity: sha512-N/y2Oual+aP+AxR4uYNoZ99nJ4gpeWqWq6w8G/LLR+FWrRUKFeUAJabOLLbIYRPF2Xw3QO5DGa5suDF+UO4O0w==}
+  '@solana/rpc-spec@4.0.0':
+    resolution: {integrity: sha512-9PFTFWjdgA/KFG4rgzbgA7gm9+aRDwsRJgI1aP7n3dGsGzYUp8vNgRQBhogWscEOETkgZNlsi/artLxgvHEHEg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-subscriptions-api@3.0.1':
-    resolution: {integrity: sha512-/SfNNYsMcN2EYcnfM1FVRW54I1kLw/6mY+/ET7I1tCiSsPzlueF8cZ+0atHznDyKkjK5LvNTyAGpPCSy2srL0w==}
+  '@solana/rpc-subscriptions-api@4.0.0':
+    resolution: {integrity: sha512-6/MzQT9VkcD7Rh8ExoGdbERTSEubA5eI+Q0R9FRuujl/SIy2BsWaNxaBMuZS0DFmKbIHM+m1ptUFdjKAVjGQuw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-subscriptions-channel-websocket@3.0.1':
-    resolution: {integrity: sha512-ozfc0NxFlPBluqX4W8Tu2xOEncod1cSVFQ3LkTnHv5m8VmShHTuN5r2mY+z27TwQAtUdsvs29sSHMRQUbAONGA==}
+  '@solana/rpc-subscriptions-channel-websocket@4.0.0':
+    resolution: {integrity: sha512-dc4cGfkQJEdkux/CXpItffuytnSU6wktReHEBL+2xaYmF+yGMBeBLzTvkCJ9BbGGfBMf06c5y5QH8X48W5CJdg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
       ws: ^8.18.0
 
-  '@solana/rpc-subscriptions-spec@3.0.1':
-    resolution: {integrity: sha512-OZfd4P9jHabUxLTocJ8QdRJye+tKvBcrf6Kjibvr2E6JAKdJ2qoLTNQN4jeh66VvfHpGfsV3tXfHCIG2XeKUGA==}
+  '@solana/rpc-subscriptions-spec@4.0.0':
+    resolution: {integrity: sha512-2ROfFymoy/TjDAlEPpsmSQAr6LZwG4l/UIhkW7+/VraRu7QPAycuWfSopJnG8D7F3fksICFSeQNwwgBXTN1TWA==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-subscriptions@3.0.1':
-    resolution: {integrity: sha512-ZGehdTl/8rdXJ+oYuIx1c96VJN/QLqUdaWkawGO9ydYsJGVEMEzuMXhEPmfOr7Tua7LxLUsKVH3ZE7Fr1YVVVg==}
+  '@solana/rpc-subscriptions@4.0.0':
+    resolution: {integrity: sha512-rM+R4Xpsym0tYF3sGAEpdY+D+c6fOMk/fhCEewR+veqdubRfvI5QEhq4kHs8qdKKuRbcpGmedPC306H+PQ6Hmg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-transformers@3.0.1':
-    resolution: {integrity: sha512-AuSLW9f3dcdv6AZtRbupf2Rs5aoMbYJe57MjTTg/D2tq8n5WuJi1/8tzr7hVnz2Pq1Jou5IOw2BgAueDh0fHnA==}
+  '@solana/rpc-transformers@4.0.0':
+    resolution: {integrity: sha512-3B3C9zpqN2O76CJV9tethtybMFdT2ViN5b2u8sObftGNFqxPmjt7XmbOmPdn7zwLyRM5S2RuZShzfcVJpBf+yQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-transport-http@3.0.1':
-    resolution: {integrity: sha512-0k9wxFuoHppYQ/pao/Mg9SiR5UnGmWBkEkOaKv0ivg++O/vkirBVrBvFdPMncsoct6NUt3eUiBbd5OfI8ffBkA==}
+  '@solana/rpc-transport-http@4.0.0':
+    resolution: {integrity: sha512-RjXcQehF3wHm8eoIala+MrdmS3mDSPRl+xwEWzmA1QmBdQl44/XTNOdPJvNkqWXrzE+bAsZGfn0gVua/oCC+zQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc-types@3.0.1':
-    resolution: {integrity: sha512-f9n5YiynR5JxFrLJlnRBhd0wNpns3y2FcLsjS8bEhbRLI8CJcu/2WTZTpJk+2RvUyjWIiW4ib3MBzl+q553/LA==}
+  '@solana/rpc-types@4.0.0':
+    resolution: {integrity: sha512-mY4W6DQVaLf3M8hSSzIEtaRsVgLg9zv5qdjjYvxkALw0fzjkLW55h3ctGbJ/k+dNpYm9gcKg7zatA7eBNnNmtQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/rpc@3.0.1':
-    resolution: {integrity: sha512-TZFAUlxYVPFUfoq5boOIaUwT3p/8bDb2hkVtfZCXX2PfvyNw8/6BpDvTejtk9M7XRBJa8ZGjvqsTKqQpiTwVLQ==}
+  '@solana/rpc@4.0.0':
+    resolution: {integrity: sha512-KF91ghi7P48aeWd4eSY5Fly/ioYz9ww2loQd/YqV3eLQwo3/2HUWd6r6lpSHsLh/HUoUkm+EsYmVN8r/3mE5fg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/signers@3.0.1':
-    resolution: {integrity: sha512-VhsMJWr6NfGorBY/aaP+6RGcmCIZQA3R6TPKYFkTFkTGrm+XR2Qlvfj6lTujHSWwvhpUnRFaYD+mIsJaN5LthA==}
+  '@solana/signers@4.0.0':
+    resolution: {integrity: sha512-r3ZrltruadsQXmx3fsGOSqAZ3SsgD7zq/QB8sT6IOVcg11Pgdvx48/CEv7djdy44wF4HVpqNCZLfi12EhoaSXQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/subscribable@3.0.1':
-    resolution: {integrity: sha512-HFLwqL9GHAFrLfIE6d4pCUVY0lcLbN7x6vZpeZHFzGxUZ9GL11EkOBPvX4MTog5VLypCbagxcsJ20ouQLvnkTA==}
+  '@solana/subscribable@4.0.0':
+    resolution: {integrity: sha512-lDI4HkDuGkmdnX7hSgvJsFFadkQxt0pLHIpZTxOt7/6KBDtNs63NTwJGd3d/EuA7ReXwYg5HDG0QtOm64divXQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/sysvars@3.0.1':
-    resolution: {integrity: sha512-zsA9xyXJHtBEtbrSiwrq3ZO6QM0WXGUZbwUYGcM7iXivC3MGb3ZC+ogLwdpC3QYy/UbPPhG5m/47ZNm3ql7WLg==}
+  '@solana/sysvars@4.0.0':
+    resolution: {integrity: sha512-HUu2B8P7iRYWAt1KL/5a6nNTKp73y04cSxZ9PZf2Ap1/KE0/5D8WnkEfnurUQmU3zBner95d+szNOyWMNBOoTw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/transaction-confirmation@3.0.1':
-    resolution: {integrity: sha512-fzrLtlp3J46ankVXup7lVK4s6nXctcv2fljNA7m1akqtUu00wu+4Dhrf0HL7gRtCcrPXieHdIX3oytChpDyvCg==}
+  '@solana/transaction-confirmation@4.0.0':
+    resolution: {integrity: sha512-DTBIMB5/UCOpVyL5E0xwswtxs/PGeSD1VL5+C1UCPlggpZNIOlhZoaQqFO56wrJDFASzPMx+dakda5BUuhQkBg==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/transaction-messages@3.0.1':
-    resolution: {integrity: sha512-A5ICJJ0UdfcQucbyEws6a4h6MQIQFNq0n6V8zjMNg24n7G/DHdjWH2C7LoqdjgJyR+bXcbdh/X8Igylvs12RYQ==}
+  '@solana/transaction-messages@4.0.0':
+    resolution: {integrity: sha512-rQo0rRyvkrROFZHUT0uL3vqeBBtxTsNKDtx8pZo6BC3TgGA7V1MoSC3rVOLwYCK6rK5NJZiYNjmneHz/7hVpwQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
 
-  '@solana/transactions@3.0.1':
-    resolution: {integrity: sha512-2NjauyVisXse1MyALU+0e9E/VqDkmz4EjyeHHxtEtsRXvWR8+uG+me8k+c94L3a+PptxlWgWann3NRHhX+39vQ==}
+  '@solana/transactions@4.0.0':
+    resolution: {integrity: sha512-bmHIIVTQq+Wlqg4es91Ew4KSbOrvdfPsKg/pVha8ZR77huwvfqQMxRyYF4zMQ+Fm3QXGFKOU0RPVKKYic15jBw==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
@@ -870,8 +870,8 @@ packages:
     resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==}
     engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
 
-  chalk@5.6.0:
-    resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==}
+  chalk@5.6.2:
+    resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}
     engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
 
   chokidar@3.6.0:
@@ -915,8 +915,8 @@ packages:
     resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==}
     hasBin: true
 
-  commander@14.0.0:
-    resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==}
+  commander@14.0.1:
+    resolution: {integrity: sha512-2JkV3gUZUVrbNA+1sjBOYLsMZ5cEEl8GTFP2a4AVz5hvasAMCQ1D2l2le/cX+pV4N6ZU17zjUahLpIXRrnWL8A==}
     engines: {node: '>=20'}
 
   commander@4.1.1:
@@ -1939,8 +1939,8 @@ packages:
   undici-types@7.10.0:
     resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==}
 
-  undici-types@7.15.0:
-    resolution: {integrity: sha512-Xyn5T99wU4kPhLZMm+ElE6M+IoSeG8Se7eG9xoZ82ZgVHJ07wb/IWcDZeXe2GOPkavcJ8ko5oSlXMDRl/QgY9Q==}
+  undici-types@7.16.0:
+    resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
 
   unicorn-magic@0.1.0:
     resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==}
@@ -2262,79 +2262,79 @@ snapshots:
 
   '@sindresorhus/merge-streams@2.3.0': {}
 
-  '@solana-program/system@0.8.0(@solana/kit@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0))':
+  '@solana-program/system@0.9.0(@solana/kit@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0))':
     dependencies:
-      '@solana/kit': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
+      '@solana/kit': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
 
-  '@solana/accounts@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/accounts@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/addresses@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/addresses@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/assertions': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
+      '@solana/assertions': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/assertions@3.0.1(typescript@5.5.3)':
+  '@solana/assertions@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/codecs-core@3.0.1(typescript@5.5.3)':
+  '@solana/codecs-core@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/codecs-data-structures@3.0.1(typescript@5.5.3)':
+  '@solana/codecs-data-structures@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/codecs-numbers@3.0.1(typescript@5.5.3)':
+  '@solana/codecs-numbers@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/codecs-strings@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/codecs-strings@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       fastestsmallesttextencoderdecoder: 1.0.22
       typescript: 5.5.3
 
-  '@solana/codecs@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/codecs@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/options': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-data-structures': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/options': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/errors@3.0.1(typescript@5.5.3)':
+  '@solana/errors@4.0.0(typescript@5.5.3)':
     dependencies:
-      chalk: 5.6.0
-      commander: 14.0.0
+      chalk: 5.6.2
+      commander: 14.0.1
       typescript: 5.5.3
 
   '@solana/eslint-config-solana@3.0.3(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)':
@@ -2349,295 +2349,295 @@ snapshots:
       eslint-plugin-typescript-sort-keys: 3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/fast-stable-stringify@3.0.1(typescript@5.5.3)':
+  '@solana/fast-stable-stringify@4.0.0(typescript@5.5.3)':
     dependencies:
       typescript: 5.5.3
 
-  '@solana/functional@3.0.1(typescript@5.5.3)':
+  '@solana/functional@4.0.0(typescript@5.5.3)':
     dependencies:
       typescript: 5.5.3
 
-  '@solana/instruction-plans@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/instruction-plans@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/instructions': 3.0.1(typescript@5.5.3)
-      '@solana/promises': 3.0.1(typescript@5.5.3)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/instructions': 4.0.0(typescript@5.5.3)
+      '@solana/promises': 4.0.0(typescript@5.5.3)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transactions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/instructions@3.0.1(typescript@5.5.3)':
+  '@solana/instructions@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/keys@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/keys@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/assertions': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
+      '@solana/assertions': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/kit@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)':
-    dependencies:
-      '@solana/accounts': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/instruction-plans': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/instructions': 3.0.1(typescript@5.5.3)
-      '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/programs': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-parsed-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-subscriptions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/signers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/sysvars': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transaction-confirmation': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+  '@solana/kit@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)':
+    dependencies:
+      '@solana/accounts': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/instruction-plans': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/instructions': 4.0.0(typescript@5.5.3)
+      '@solana/keys': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/programs': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-parsed-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-subscriptions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/signers': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/sysvars': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transaction-confirmation': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transactions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
       - ws
 
-  '@solana/nominal-types@3.0.1(typescript@5.5.3)':
+  '@solana/nominal-types@4.0.0(typescript@5.5.3)':
     dependencies:
       typescript: 5.5.3
 
-  '@solana/options@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/options@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-data-structures': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/programs@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/programs@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/promises@3.0.1(typescript@5.5.3)':
+  '@solana/promises@4.0.0(typescript@5.5.3)':
     dependencies:
       typescript: 5.5.3
 
-  '@solana/rpc-api@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
-    dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-parsed-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+  '@solana/rpc-api@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+    dependencies:
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/keys': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-parsed-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-transformers': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transactions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/rpc-parsed-types@3.0.1(typescript@5.5.3)':
+  '@solana/rpc-parsed-types@4.0.0(typescript@5.5.3)':
     dependencies:
       typescript: 5.5.3
 
-  '@solana/rpc-spec-types@3.0.1(typescript@5.5.3)':
+  '@solana/rpc-spec-types@4.0.0(typescript@5.5.3)':
     dependencies:
       typescript: 5.5.3
 
-  '@solana/rpc-spec@3.0.1(typescript@5.5.3)':
+  '@solana/rpc-spec@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/rpc-subscriptions-api@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/rpc-subscriptions-api@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-subscriptions-spec': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/keys': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-subscriptions-spec': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-transformers': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transactions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/rpc-subscriptions-channel-websocket@3.0.1(typescript@5.5.3)(ws@8.17.0)':
+  '@solana/rpc-subscriptions-channel-websocket@4.0.0(typescript@5.5.3)(ws@8.17.0)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-subscriptions-spec': 3.0.1(typescript@5.5.3)
-      '@solana/subscribable': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-subscriptions-spec': 4.0.0(typescript@5.5.3)
+      '@solana/subscribable': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
       ws: 8.17.0
 
-  '@solana/rpc-subscriptions-spec@3.0.1(typescript@5.5.3)':
+  '@solana/rpc-subscriptions-spec@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/promises': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
-      '@solana/subscribable': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/promises': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
+      '@solana/subscribable': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/rpc-subscriptions@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)':
-    dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/fast-stable-stringify': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/promises': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-subscriptions-api': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-subscriptions-channel-websocket': 3.0.1(typescript@5.5.3)(ws@8.17.0)
-      '@solana/rpc-subscriptions-spec': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/subscribable': 3.0.1(typescript@5.5.3)
+  '@solana/rpc-subscriptions@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)':
+    dependencies:
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/fast-stable-stringify': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/promises': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-subscriptions-api': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-subscriptions-channel-websocket': 4.0.0(typescript@5.5.3)(ws@8.17.0)
+      '@solana/rpc-subscriptions-spec': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-transformers': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/subscribable': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
       - ws
 
-  '@solana/rpc-transformers@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/rpc-transformers@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/rpc-transport-http@3.0.1(typescript@5.5.3)':
+  '@solana/rpc-transport-http@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
-      undici-types: 7.15.0
+      undici-types: 7.16.0
 
-  '@solana/rpc-types@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/rpc-types@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/rpc@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
-    dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/fast-stable-stringify': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-api': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-spec': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-spec-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-transformers': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-transport-http': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+  '@solana/rpc@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+    dependencies:
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/fast-stable-stringify': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-api': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-spec': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-spec-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-transformers': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-transport-http': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/signers@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/signers@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/instructions': 3.0.1(typescript@5.5.3)
-      '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/instructions': 4.0.0(typescript@5.5.3)
+      '@solana/keys': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transactions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/subscribable@3.0.1(typescript@5.5.3)':
+  '@solana/subscribable@4.0.0(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 3.0.1(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/sysvars@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/sysvars@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/accounts': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/accounts': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/transaction-confirmation@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)':
-    dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/promises': 3.0.1(typescript@5.5.3)
-      '@solana/rpc': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/rpc-subscriptions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transactions': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+  '@solana/transaction-confirmation@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)':
+    dependencies:
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/keys': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/promises': 4.0.0(typescript@5.5.3)
+      '@solana/rpc': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/rpc-subscriptions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transactions': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
       - ws
 
-  '@solana/transaction-messages@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
-    dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/instructions': 3.0.1(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+  '@solana/transaction-messages@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+    dependencies:
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-data-structures': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/instructions': 4.0.0(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
 
-  '@solana/transactions@3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
-    dependencies:
-      '@solana/addresses': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/codecs-core': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-data-structures': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-numbers': 3.0.1(typescript@5.5.3)
-      '@solana/codecs-strings': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/errors': 3.0.1(typescript@5.5.3)
-      '@solana/functional': 3.0.1(typescript@5.5.3)
-      '@solana/instructions': 3.0.1(typescript@5.5.3)
-      '@solana/keys': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/nominal-types': 3.0.1(typescript@5.5.3)
-      '@solana/rpc-types': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      '@solana/transaction-messages': 3.0.1(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+  '@solana/transactions@4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+    dependencies:
+      '@solana/addresses': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/codecs-core': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-data-structures': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-numbers': 4.0.0(typescript@5.5.3)
+      '@solana/codecs-strings': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/errors': 4.0.0(typescript@5.5.3)
+      '@solana/functional': 4.0.0(typescript@5.5.3)
+      '@solana/instructions': 4.0.0(typescript@5.5.3)
+      '@solana/keys': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/nominal-types': 4.0.0(typescript@5.5.3)
+      '@solana/rpc-types': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+      '@solana/transaction-messages': 4.0.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       typescript: 5.5.3
     transitivePeerDependencies:
       - fastestsmallesttextencoderdecoder
@@ -2970,7 +2970,7 @@ snapshots:
 
   chalk@5.3.0: {}
 
-  chalk@5.6.0: {}
+  chalk@5.6.2: {}
 
   chokidar@3.6.0:
     dependencies:
@@ -3015,7 +3015,7 @@ snapshots:
 
   color-support@1.1.3: {}
 
-  commander@14.0.0: {}
+  commander@14.0.1: {}
 
   commander@4.1.1: {}
 
@@ -3982,7 +3982,7 @@ snapshots:
 
   undici-types@7.10.0: {}
 
-  undici-types@7.15.0: {}
+  undici-types@7.16.0: {}
 
   unicorn-magic@0.1.0: {}
 

+ 2 - 2
clients/js/src/generated/accounts/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/accounts/mint.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/accounts/multisig.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/accounts/token.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/errors/associatedToken.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/errors/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/errors/token.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 6 - 10
clients/js/src/generated/instructions/amountToUiAmount.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -117,15 +117,13 @@ export function getAmountToUiAmountInstruction<
   const args = { ...input };
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.mint)],
-    programAddress,
     data: getAmountToUiAmountInstructionDataEncoder().encode(
       args as AmountToUiAmountInstructionDataArgs
     ),
-  } as AmountToUiAmountInstruction<TProgramAddress, TAccountMint>;
-
-  return instruction;
+    programAddress,
+  } as AmountToUiAmountInstruction<TProgramAddress, TAccountMint>);
 }
 
 export type ParsedAmountToUiAmountInstruction<
@@ -160,9 +158,7 @@ export function parseAmountToUiAmountInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      mint: getNextAccount(),
-    },
+    accounts: { mint: getNextAccount() },
     data: getAmountToUiAmountInstructionDataDecoder().decode(instruction.data),
   };
 }

+ 5 - 7
clients/js/src/generated/instructions/approve.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -159,17 +159,17 @@ export function getApproveInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.source),
       getAccountMeta(accounts.delegate),
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getApproveInstructionDataEncoder().encode(
       args as ApproveInstructionDataArgs
     ),
+    programAddress,
   } as ApproveInstruction<
     TProgramAddress,
     TAccountSource,
@@ -177,9 +177,7 @@ export function getApproveInstruction<
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedApproveInstruction<

+ 5 - 7
clients/js/src/generated/instructions/approveChecked.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -181,7 +181,7 @@ export function getApproveCheckedInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.source),
       getAccountMeta(accounts.mint),
@@ -189,10 +189,10 @@ export function getApproveCheckedInstruction<
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getApproveCheckedInstructionDataEncoder().encode(
       args as ApproveCheckedInstructionDataArgs
     ),
+    programAddress,
   } as ApproveCheckedInstruction<
     TProgramAddress,
     TAccountSource,
@@ -201,9 +201,7 @@ export function getApproveCheckedInstruction<
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedApproveCheckedInstruction<

+ 5 - 7
clients/js/src/generated/instructions/burn.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -157,17 +157,17 @@ export function getBurnInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.authority),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getBurnInstructionDataEncoder().encode(
       args as BurnInstructionDataArgs
     ),
+    programAddress,
   } as BurnInstruction<
     TProgramAddress,
     TAccountAccount,
@@ -176,9 +176,7 @@ export function getBurnInstruction<
       ? ReadonlySignerAccount<TAccountAuthority> &
           AccountSignerMeta<TAccountAuthority>
       : TAccountAuthority
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedBurnInstruction<

+ 5 - 7
clients/js/src/generated/instructions/burnChecked.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -167,17 +167,17 @@ export function getBurnCheckedInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.authority),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getBurnCheckedInstructionDataEncoder().encode(
       args as BurnCheckedInstructionDataArgs
     ),
+    programAddress,
   } as BurnCheckedInstruction<
     TProgramAddress,
     TAccountAccount,
@@ -186,9 +186,7 @@ export function getBurnCheckedInstruction<
       ? ReadonlySignerAccount<TAccountAuthority> &
           AccountSignerMeta<TAccountAuthority>
       : TAccountAuthority
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedBurnCheckedInstruction<

+ 5 - 7
clients/js/src/generated/instructions/closeAccount.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -143,15 +143,15 @@ export function getCloseAccountInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.destination),
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getCloseAccountInstructionDataEncoder().encode({}),
+    programAddress,
   } as CloseAccountInstruction<
     TProgramAddress,
     TAccountAccount,
@@ -159,9 +159,7 @@ export function getCloseAccountInstruction<
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedCloseAccountInstruction<

+ 8 - 12
clients/js/src/generated/instructions/createAssociatedToken.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -195,7 +195,7 @@ export async function getCreateAssociatedTokenInstructionAsync<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.payer),
       getAccountMeta(accounts.ata),
@@ -204,8 +204,8 @@ export async function getCreateAssociatedTokenInstructionAsync<
       getAccountMeta(accounts.systemProgram),
       getAccountMeta(accounts.tokenProgram),
     ],
-    programAddress,
     data: getCreateAssociatedTokenInstructionDataEncoder().encode({}),
+    programAddress,
   } as CreateAssociatedTokenInstruction<
     TProgramAddress,
     TAccountPayer,
@@ -214,9 +214,7 @@ export async function getCreateAssociatedTokenInstructionAsync<
     TAccountMint,
     TAccountSystemProgram,
     TAccountTokenProgram
-  >;
-
-  return instruction;
+  >);
 }
 
 export type CreateAssociatedTokenInput<
@@ -297,7 +295,7 @@ export function getCreateAssociatedTokenInstruction<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.payer),
       getAccountMeta(accounts.ata),
@@ -306,8 +304,8 @@ export function getCreateAssociatedTokenInstruction<
       getAccountMeta(accounts.systemProgram),
       getAccountMeta(accounts.tokenProgram),
     ],
-    programAddress,
     data: getCreateAssociatedTokenInstructionDataEncoder().encode({}),
+    programAddress,
   } as CreateAssociatedTokenInstruction<
     TProgramAddress,
     TAccountPayer,
@@ -316,9 +314,7 @@ export function getCreateAssociatedTokenInstruction<
     TAccountMint,
     TAccountSystemProgram,
     TAccountTokenProgram
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedCreateAssociatedTokenInstruction<

+ 8 - 12
clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -199,7 +199,7 @@ export async function getCreateAssociatedTokenIdempotentInstructionAsync<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.payer),
       getAccountMeta(accounts.ata),
@@ -208,8 +208,8 @@ export async function getCreateAssociatedTokenIdempotentInstructionAsync<
       getAccountMeta(accounts.systemProgram),
       getAccountMeta(accounts.tokenProgram),
     ],
-    programAddress,
     data: getCreateAssociatedTokenIdempotentInstructionDataEncoder().encode({}),
+    programAddress,
   } as CreateAssociatedTokenIdempotentInstruction<
     TProgramAddress,
     TAccountPayer,
@@ -218,9 +218,7 @@ export async function getCreateAssociatedTokenIdempotentInstructionAsync<
     TAccountMint,
     TAccountSystemProgram,
     TAccountTokenProgram
-  >;
-
-  return instruction;
+  >);
 }
 
 export type CreateAssociatedTokenIdempotentInput<
@@ -301,7 +299,7 @@ export function getCreateAssociatedTokenIdempotentInstruction<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.payer),
       getAccountMeta(accounts.ata),
@@ -310,8 +308,8 @@ export function getCreateAssociatedTokenIdempotentInstruction<
       getAccountMeta(accounts.systemProgram),
       getAccountMeta(accounts.tokenProgram),
     ],
-    programAddress,
     data: getCreateAssociatedTokenIdempotentInstructionDataEncoder().encode({}),
+    programAddress,
   } as CreateAssociatedTokenIdempotentInstruction<
     TProgramAddress,
     TAccountPayer,
@@ -320,9 +318,7 @@ export function getCreateAssociatedTokenIdempotentInstruction<
     TAccountMint,
     TAccountSystemProgram,
     TAccountTokenProgram
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedCreateAssociatedTokenIdempotentInstruction<

+ 5 - 7
clients/js/src/generated/instructions/freezeAccount.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -143,15 +143,15 @@ export function getFreezeAccountInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getFreezeAccountInstructionDataEncoder().encode({}),
+    programAddress,
   } as FreezeAccountInstruction<
     TProgramAddress,
     TAccountAccount,
@@ -159,9 +159,7 @@ export function getFreezeAccountInstruction<
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedFreezeAccountInstruction<

+ 6 - 10
clients/js/src/generated/instructions/getAccountDataSize.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -101,13 +101,11 @@ export function getGetAccountDataSizeInstruction<
   >;
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.mint)],
-    programAddress,
     data: getGetAccountDataSizeInstructionDataEncoder().encode({}),
-  } as GetAccountDataSizeInstruction<TProgramAddress, TAccountMint>;
-
-  return instruction;
+    programAddress,
+  } as GetAccountDataSizeInstruction<TProgramAddress, TAccountMint>);
 }
 
 export type ParsedGetAccountDataSizeInstruction<
@@ -142,9 +140,7 @@ export function parseGetAccountDataSizeInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      mint: getNextAccount(),
-    },
+    accounts: { mint: getNextAccount() },
     data: getGetAccountDataSizeInstructionDataDecoder().decode(
       instruction.data
     ),

+ 2 - 2
clients/js/src/generated/instructions/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 5 - 7
clients/js/src/generated/instructions/initializeAccount.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -147,24 +147,22 @@ export function getInitializeAccountInstruction<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.owner),
       getAccountMeta(accounts.rent),
     ],
-    programAddress,
     data: getInitializeAccountInstructionDataEncoder().encode({}),
+    programAddress,
   } as InitializeAccountInstruction<
     TProgramAddress,
     TAccountAccount,
     TAccountMint,
     TAccountOwner,
     TAccountRent
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedInitializeAccountInstruction<

+ 5 - 7
clients/js/src/generated/instructions/initializeAccount2.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -151,24 +151,22 @@ export function getInitializeAccount2Instruction<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.rent),
     ],
-    programAddress,
     data: getInitializeAccount2InstructionDataEncoder().encode(
       args as InitializeAccount2InstructionDataArgs
     ),
+    programAddress,
   } as InitializeAccount2Instruction<
     TProgramAddress,
     TAccountAccount,
     TAccountMint,
     TAccountRent
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedInitializeAccount2Instruction<

+ 6 - 11
clients/js/src/generated/instructions/initializeAccount3.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -133,19 +133,17 @@ export function getInitializeAccount3Instruction<
   const args = { ...input };
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.account), getAccountMeta(accounts.mint)],
-    programAddress,
     data: getInitializeAccount3InstructionDataEncoder().encode(
       args as InitializeAccount3InstructionDataArgs
     ),
+    programAddress,
   } as InitializeAccount3Instruction<
     TProgramAddress,
     TAccountAccount,
     TAccountMint
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedInitializeAccount3Instruction<
@@ -182,10 +180,7 @@ export function parseInitializeAccount3Instruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      account: getNextAccount(),
-      mint: getNextAccount(),
-    },
+    accounts: { account: getNextAccount(), mint: getNextAccount() },
     data: getInitializeAccount3InstructionDataDecoder().decode(
       instruction.data
     ),

+ 6 - 10
clients/js/src/generated/instructions/initializeImmutableOwner.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -103,13 +103,11 @@ export function getInitializeImmutableOwnerInstruction<
   >;
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.account)],
-    programAddress,
     data: getInitializeImmutableOwnerInstructionDataEncoder().encode({}),
-  } as InitializeImmutableOwnerInstruction<TProgramAddress, TAccountAccount>;
-
-  return instruction;
+    programAddress,
+  } as InitializeImmutableOwnerInstruction<TProgramAddress, TAccountAccount>);
 }
 
 export type ParsedInitializeImmutableOwnerInstruction<
@@ -144,9 +142,7 @@ export function parseInitializeImmutableOwnerInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      account: getNextAccount(),
-    },
+    accounts: { account: getNextAccount() },
     data: getInitializeImmutableOwnerInstructionDataDecoder().decode(
       instruction.data
     ),

+ 6 - 11
clients/js/src/generated/instructions/initializeMint.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -160,15 +160,13 @@ export function getInitializeMintInstruction<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.mint), getAccountMeta(accounts.rent)],
-    programAddress,
     data: getInitializeMintInstructionDataEncoder().encode(
       args as InitializeMintInstructionDataArgs
     ),
-  } as InitializeMintInstruction<TProgramAddress, TAccountMint, TAccountRent>;
-
-  return instruction;
+    programAddress,
+  } as InitializeMintInstruction<TProgramAddress, TAccountMint, TAccountRent>);
 }
 
 export type ParsedInitializeMintInstruction<
@@ -205,10 +203,7 @@ export function parseInitializeMintInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      mint: getNextAccount(),
-      rent: getNextAccount(),
-    },
+    accounts: { mint: getNextAccount(), rent: getNextAccount() },
     data: getInitializeMintInstructionDataDecoder().decode(instruction.data),
   };
 }

+ 6 - 10
clients/js/src/generated/instructions/initializeMint2.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -140,15 +140,13 @@ export function getInitializeMint2Instruction<
   const args = { ...input };
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.mint)],
-    programAddress,
     data: getInitializeMint2InstructionDataEncoder().encode(
       args as InitializeMint2InstructionDataArgs
     ),
-  } as InitializeMint2Instruction<TProgramAddress, TAccountMint>;
-
-  return instruction;
+    programAddress,
+  } as InitializeMint2Instruction<TProgramAddress, TAccountMint>);
 }
 
 export type ParsedInitializeMint2Instruction<
@@ -183,9 +181,7 @@ export function parseInitializeMint2Instruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      mint: getNextAccount(),
-    },
+    accounts: { mint: getNextAccount() },
     data: getInitializeMint2InstructionDataDecoder().decode(instruction.data),
   };
 }

+ 6 - 11
clients/js/src/generated/instructions/initializeMultisig.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -147,23 +147,21 @@ export function getInitializeMultisigInstruction<
   }));
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.multisig),
       getAccountMeta(accounts.rent),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getInitializeMultisigInstructionDataEncoder().encode(
       args as InitializeMultisigInstructionDataArgs
     ),
+    programAddress,
   } as InitializeMultisigInstruction<
     TProgramAddress,
     TAccountMultisig,
     TAccountRent
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedInitializeMultisigInstruction<
@@ -200,10 +198,7 @@ export function parseInitializeMultisigInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      multisig: getNextAccount(),
-      rent: getNextAccount(),
-    },
+    accounts: { multisig: getNextAccount(), rent: getNextAccount() },
     data: getInitializeMultisigInstructionDataDecoder().decode(
       instruction.data
     ),

+ 6 - 10
clients/js/src/generated/instructions/initializeMultisig2.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -124,15 +124,13 @@ export function getInitializeMultisig2Instruction<
   }));
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.multisig), ...remainingAccounts],
-    programAddress,
     data: getInitializeMultisig2InstructionDataEncoder().encode(
       args as InitializeMultisig2InstructionDataArgs
     ),
-  } as InitializeMultisig2Instruction<TProgramAddress, TAccountMultisig>;
-
-  return instruction;
+    programAddress,
+  } as InitializeMultisig2Instruction<TProgramAddress, TAccountMultisig>);
 }
 
 export type ParsedInitializeMultisig2Instruction<
@@ -167,9 +165,7 @@ export function parseInitializeMultisig2Instruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      multisig: getNextAccount(),
-    },
+    accounts: { multisig: getNextAccount() },
     data: getInitializeMultisig2InstructionDataDecoder().decode(
       instruction.data
     ),

+ 5 - 7
clients/js/src/generated/instructions/mintTo.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -162,17 +162,17 @@ export function getMintToInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.token),
       getAccountMeta(accounts.mintAuthority),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getMintToInstructionDataEncoder().encode(
       args as MintToInstructionDataArgs
     ),
+    programAddress,
   } as MintToInstruction<
     TProgramAddress,
     TAccountMint,
@@ -181,9 +181,7 @@ export function getMintToInstruction<
       ? ReadonlySignerAccount<TAccountMintAuthority> &
           AccountSignerMeta<TAccountMintAuthority>
       : TAccountMintAuthority
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedMintToInstruction<

+ 5 - 7
clients/js/src/generated/instructions/mintToChecked.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -169,17 +169,17 @@ export function getMintToCheckedInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.token),
       getAccountMeta(accounts.mintAuthority),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getMintToCheckedInstructionDataEncoder().encode(
       args as MintToCheckedInstructionDataArgs
     ),
+    programAddress,
   } as MintToCheckedInstruction<
     TProgramAddress,
     TAccountMint,
@@ -188,9 +188,7 @@ export function getMintToCheckedInstruction<
       ? ReadonlySignerAccount<TAccountMintAuthority> &
           AccountSignerMeta<TAccountMintAuthority>
       : TAccountMintAuthority
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedMintToCheckedInstruction<

+ 8 - 12
clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -243,7 +243,7 @@ export async function getRecoverNestedAssociatedTokenInstructionAsync<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.nestedAssociatedAccountAddress),
       getAccountMeta(accounts.nestedTokenMintAddress),
@@ -253,8 +253,8 @@ export async function getRecoverNestedAssociatedTokenInstructionAsync<
       getAccountMeta(accounts.walletAddress),
       getAccountMeta(accounts.tokenProgram),
     ],
-    programAddress,
     data: getRecoverNestedAssociatedTokenInstructionDataEncoder().encode({}),
+    programAddress,
   } as RecoverNestedAssociatedTokenInstruction<
     TProgramAddress,
     TAccountNestedAssociatedAccountAddress,
@@ -264,9 +264,7 @@ export async function getRecoverNestedAssociatedTokenInstructionAsync<
     TAccountOwnerTokenMintAddress,
     TAccountWalletAddress,
     TAccountTokenProgram
-  >;
-
-  return instruction;
+  >);
 }
 
 export type RecoverNestedAssociatedTokenInput<
@@ -365,7 +363,7 @@ export function getRecoverNestedAssociatedTokenInstruction<
   }
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.nestedAssociatedAccountAddress),
       getAccountMeta(accounts.nestedTokenMintAddress),
@@ -375,8 +373,8 @@ export function getRecoverNestedAssociatedTokenInstruction<
       getAccountMeta(accounts.walletAddress),
       getAccountMeta(accounts.tokenProgram),
     ],
-    programAddress,
     data: getRecoverNestedAssociatedTokenInstructionDataEncoder().encode({}),
+    programAddress,
   } as RecoverNestedAssociatedTokenInstruction<
     TProgramAddress,
     TAccountNestedAssociatedAccountAddress,
@@ -386,9 +384,7 @@ export function getRecoverNestedAssociatedTokenInstruction<
     TAccountOwnerTokenMintAddress,
     TAccountWalletAddress,
     TAccountTokenProgram
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedRecoverNestedAssociatedTokenInstruction<

+ 6 - 11
clients/js/src/generated/instructions/revoke.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -133,23 +133,21 @@ export function getRevokeInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.source),
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getRevokeInstructionDataEncoder().encode({}),
+    programAddress,
   } as RevokeInstruction<
     TProgramAddress,
     TAccountSource,
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedRevokeInstruction<
@@ -186,10 +184,7 @@ export function parseRevokeInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      source: getNextAccount(),
-      owner: getNextAccount(),
-    },
+    accounts: { source: getNextAccount(), owner: getNextAccount() },
     data: getRevokeInstructionDataDecoder().decode(instruction.data),
   };
 }

+ 6 - 11
clients/js/src/generated/instructions/setAuthority.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -166,25 +166,23 @@ export function getSetAuthorityInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.owned),
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getSetAuthorityInstructionDataEncoder().encode(
       args as SetAuthorityInstructionDataArgs
     ),
+    programAddress,
   } as SetAuthorityInstruction<
     TProgramAddress,
     TAccountOwned,
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedSetAuthorityInstruction<
@@ -221,10 +219,7 @@ export function parseSetAuthorityInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      owned: getNextAccount(),
-      owner: getNextAccount(),
-    },
+    accounts: { owned: getNextAccount(), owner: getNextAccount() },
     data: getSetAuthorityInstructionDataDecoder().decode(instruction.data),
   };
 }

+ 6 - 10
clients/js/src/generated/instructions/syncNative.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -98,13 +98,11 @@ export function getSyncNativeInstruction<
   >;
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.account)],
-    programAddress,
     data: getSyncNativeInstructionDataEncoder().encode({}),
-  } as SyncNativeInstruction<TProgramAddress, TAccountAccount>;
-
-  return instruction;
+    programAddress,
+  } as SyncNativeInstruction<TProgramAddress, TAccountAccount>);
 }
 
 export type ParsedSyncNativeInstruction<
@@ -139,9 +137,7 @@ export function parseSyncNativeInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      account: getNextAccount(),
-    },
+    accounts: { account: getNextAccount() },
     data: getSyncNativeInstructionDataDecoder().decode(instruction.data),
   };
 }

+ 5 - 7
clients/js/src/generated/instructions/thawAccount.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -143,15 +143,15 @@ export function getThawAccountInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.account),
       getAccountMeta(accounts.mint),
       getAccountMeta(accounts.owner),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getThawAccountInstructionDataEncoder().encode({}),
+    programAddress,
   } as ThawAccountInstruction<
     TProgramAddress,
     TAccountAccount,
@@ -159,9 +159,7 @@ export function getThawAccountInstruction<
     (typeof input)['owner'] extends TransactionSigner<TAccountOwner>
       ? ReadonlySignerAccount<TAccountOwner> & AccountSignerMeta<TAccountOwner>
       : TAccountOwner
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedThawAccountInstruction<

+ 5 - 7
clients/js/src/generated/instructions/transfer.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -160,17 +160,17 @@ export function getTransferInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.source),
       getAccountMeta(accounts.destination),
       getAccountMeta(accounts.authority),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getTransferInstructionDataEncoder().encode(
       args as TransferInstructionDataArgs
     ),
+    programAddress,
   } as TransferInstruction<
     TProgramAddress,
     TAccountSource,
@@ -179,9 +179,7 @@ export function getTransferInstruction<
       ? ReadonlySignerAccount<TAccountAuthority> &
           AccountSignerMeta<TAccountAuthority>
       : TAccountAuthority
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedTransferInstruction<

+ 5 - 7
clients/js/src/generated/instructions/transferChecked.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -182,7 +182,7 @@ export function getTransferCheckedInstruction<
   );
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [
       getAccountMeta(accounts.source),
       getAccountMeta(accounts.mint),
@@ -190,10 +190,10 @@ export function getTransferCheckedInstruction<
       getAccountMeta(accounts.authority),
       ...remainingAccounts,
     ],
-    programAddress,
     data: getTransferCheckedInstructionDataEncoder().encode(
       args as TransferCheckedInstructionDataArgs
     ),
+    programAddress,
   } as TransferCheckedInstruction<
     TProgramAddress,
     TAccountSource,
@@ -203,9 +203,7 @@ export function getTransferCheckedInstruction<
       ? ReadonlySignerAccount<TAccountAuthority> &
           AccountSignerMeta<TAccountAuthority>
       : TAccountAuthority
-  >;
-
-  return instruction;
+  >);
 }
 
 export type ParsedTransferCheckedInstruction<

+ 6 - 10
clients/js/src/generated/instructions/uiAmountToAmount.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */
@@ -117,15 +117,13 @@ export function getUiAmountToAmountInstruction<
   const args = { ...input };
 
   const getAccountMeta = getAccountMetaFactory(programAddress, 'programId');
-  const instruction = {
+  return Object.freeze({
     accounts: [getAccountMeta(accounts.mint)],
-    programAddress,
     data: getUiAmountToAmountInstructionDataEncoder().encode(
       args as UiAmountToAmountInstructionDataArgs
     ),
-  } as UiAmountToAmountInstruction<TProgramAddress, TAccountMint>;
-
-  return instruction;
+    programAddress,
+  } as UiAmountToAmountInstruction<TProgramAddress, TAccountMint>);
 }
 
 export type ParsedUiAmountToAmountInstruction<
@@ -160,9 +158,7 @@ export function parseUiAmountToAmountInstruction<
   };
   return {
     programAddress: instruction.programAddress,
-    accounts: {
-      mint: getNextAccount(),
-    },
+    accounts: { mint: getNextAccount() },
     data: getUiAmountToAmountInstructionDataDecoder().decode(instruction.data),
   };
 }

+ 2 - 2
clients/js/src/generated/pdas/associatedToken.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/pdas/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/programs/associatedToken.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/programs/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/programs/token.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/shared/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/types/accountState.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/types/authorityType.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 2 - 2
clients/js/src/generated/types/index.ts

@@ -1,7 +1,7 @@
 /**
- * This code was AUTOGENERATED using the codama library.
+ * This code was AUTOGENERATED using the Codama library.
  * Please DO NOT EDIT THIS FILE, instead use visitors
- * to add features, then rerun codama to update it.
+ * to add features, then rerun Codama to update it.
  *
  * @see https://github.com/codama-idl/codama
  */

+ 1 - 1
package.json

@@ -38,7 +38,7 @@
     "interface:test": "zx ./scripts/rust/test.mjs interface"
   },
   "devDependencies": {
-    "@codama/renderers-js": "^1.3",
+    "@codama/renderers-js": "^1.4",
     "@codama/renderers-rust": "~1.0",
     "@iarna/toml": "^2.2.5",
     "codama": "^1.3",

+ 81 - 38
pnpm-lock.yaml

@@ -9,8 +9,8 @@ importers:
   .:
     devDependencies:
       '@codama/renderers-js':
-        specifier: ^1.3
-        version: 1.3.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
+        specifier: ^1.4
+        version: 1.4.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       '@codama/renderers-rust':
         specifier: ~1.0
         version: 1.0.16(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
@@ -41,26 +41,37 @@ packages:
     resolution: {integrity: sha512-iyo5qEW/rgNTTtcZnGqahcnUtMHRRTlTzeTZo6SLpuNistbEn2itOssnklNZVClhXR/4Td0riHwGedP3AjwgJA==}
     hasBin: true
 
+  '@codama/errors@1.3.7':
+    resolution: {integrity: sha512-96BF8agDVc2vAgL4qw1lZZfuJ7XBefdzTBk2VOUnOhdMQiLb0QhJCC4BH88OcL+rZXQdet4pk7Qwarj1I1GFKg==}
+    hasBin: true
+
   '@codama/node-types@1.2.8':
     resolution: {integrity: sha512-PEvPLMN3QGJvkwsQ7R9DmAtdazQXN0RD9WYlmHyeiR4nathV0qy9nZGFDoRh5nbNfPkbeLTgL5o3zAoeeRP6GQ==}
 
   '@codama/node-types@1.3.3':
     resolution: {integrity: sha512-41GdFy/OPRemXTAmptDSi/wDXHPimy40mx9v0z2EdIMNYEyKAYZDcvr2jzSei8meeCV9j4PgKF5snwBQK7HaSg==}
 
+  '@codama/node-types@1.3.7':
+    resolution: {integrity: sha512-L9UTFfoeki5t+BYJAa4OMsqBPpbMbx8YJQar+55mYcjwGlJsKJW7mRfLYvwEFkCUYyLdNva40OVmTf88jccZCA==}
+
   '@codama/nodes@1.2.8':
     resolution: {integrity: sha512-tCi7KErG2ChQr5n3Nj3dwciFmUo3O8RQ+S4Qv23w1zvYLaGwhEvdg3KRtgCGEI0wr9uvm2QtTBM670kdLntZiQ==}
 
   '@codama/nodes@1.3.3':
     resolution: {integrity: sha512-CgxGfH6ndcZpvf+RfVwSyIOyq8cNejbqY9TRr4SqVMIEbE1Wpqx+GPrEGRKtwHgB8KqsWCz7Pve8BCGhsPkr2g==}
 
+  '@codama/nodes@1.3.7':
+    resolution: {integrity: sha512-3OV6SIBcqsIDARyzZVGdfnffNlnKSYcb0aGp/9Liz5/EID0oBTIyuh/Cmj5Ww6RX4WPb+GNAxABAGW94zbcfQg==}
+
   '@codama/renderers-core@1.0.10':
     resolution: {integrity: sha512-7NwoyP2j1cZKgHCrd1RRn891gtxpZeiXNSP3aCFdVsRPW8dDNUL1sJ1SNOF9ILHfNP77clCBtL3eoZIFdeNQAg==}
 
-  '@codama/renderers-core@1.0.19':
-    resolution: {integrity: sha512-ARvgw8ObOMiIbeahcKBpWKl2N4lYaywDOAsbYDjr/zV8jpPll39TVidgQt0lP4JjdGz7xZTBCmQmtxW5hqr9pA==}
+  '@codama/renderers-core@1.2.2':
+    resolution: {integrity: sha512-dPyHgn5L45G+tWP17ITvOlpX3+s2FcJHMjAhFZlmUHAJpH/wl+UsUwuWg698iSb56Er2jUwqX7srw5iZf7XHjQ==}
 
-  '@codama/renderers-js@1.3.4':
-    resolution: {integrity: sha512-srcHHCc7l2FXTlUEoPOolw0bmxBkdyqpzOGtBNc7eeF9sOCE3mlR84qXzxoqCKx4T26wl+QHihI0wby0bMlfrA==}
+  '@codama/renderers-js@1.4.2':
+    resolution: {integrity: sha512-emYJEPNDQ/DjHYDBNPt/HEr+97ClpEQT7LPPNZ44DRSEG4Qj9ti/aBvtgOrIyESyyTOaKrUzu7Ew6S+TBB/eFg==}
+    engines: {node: '>=20.18.0'}
 
   '@codama/renderers-rust@1.0.16':
     resolution: {integrity: sha512-pFHwHN6X4Yuk26Yfh+VT9Ps1i/QEjuK3EoT8BpsCTATOk6ntJNqyD5aQngG2lE4KWx3uQrCYYbQEAN4vG6v+EA==}
@@ -74,6 +85,9 @@ packages:
   '@codama/visitors-core@1.3.3':
     resolution: {integrity: sha512-Kuz2we5iDhq0Y9bPwEjEGGSueBPJkLxoDkJ+Z3NuHlqo/k2aHvDNl9NaoOOUPwNzPVbntfpJW9Ga3pP9oc/PQQ==}
 
+  '@codama/visitors-core@1.3.7':
+    resolution: {integrity: sha512-B1JnzhRDJiLxewha/F3YzeEp8Zrtd7eKiGNJFJHSPufAnIVm2lQUDaKS+OrAOHnSRmRKIAVdzfpFpdz6EM0N6Q==}
+
   '@codama/visitors@1.3.3':
     resolution: {integrity: sha512-ReZoo0kItffkhpvl9qRjy3HV1nZXv/k8p4wZ10NveUTDtRghk72YkY0kpK2lt/p+2SlWrhQ9IkO4Q+EQoqABrA==}
 
@@ -98,8 +112,8 @@ packages:
     peerDependencies:
       typescript: '>=5'
 
-  '@solana/codecs-core@2.3.0':
-    resolution: {integrity: sha512-oG+VZzN6YhBHIoSKgS5ESM9VIGzhWjEHEGNPSibiDTxFhsFWxNaz8LbMDPjBUE69r9wmdGLkrQ+wVPbnJcZPvw==}
+  '@solana/codecs-core@3.0.3':
+    resolution: {integrity: sha512-emKykJ3h1DmnDOY29Uv9eJXP8E/FHzvlUBJ6te+5EbKdFjj7vdlKYPfDxOI6iGdXTY+YC/ELtbNBh6QwF2uEDQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
@@ -110,8 +124,8 @@ packages:
     peerDependencies:
       typescript: '>=5'
 
-  '@solana/codecs-numbers@2.3.0':
-    resolution: {integrity: sha512-jFvvwKJKffvG7Iz9dmN51OGB7JBcy2CJ6Xf3NqD/VP90xak66m/Lg48T01u5IQ/hc15mChVHiBm+HHuOFDUrQg==}
+  '@solana/codecs-numbers@3.0.3':
+    resolution: {integrity: sha512-pfXkH9J0glrM8qj6389GAn30+cJOxzXLR2FsPOHCUMXrqLhGjMMZAWhsQkpOQ37SGc/7EiQsT/gmyGC7gxHqJQ==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       typescript: '>=5.3.3'
@@ -123,8 +137,8 @@ packages:
       fastestsmallesttextencoderdecoder: ^1.0.22
       typescript: '>=5'
 
-  '@solana/codecs-strings@2.3.0':
-    resolution: {integrity: sha512-y5pSBYwzVziXu521hh+VxqUtp0hYGTl1eWGoc1W+8mdvBdC1kTqm/X7aYQw33J42hw03JjryvYOvmGgk3Qz/Ug==}
+  '@solana/codecs-strings@3.0.3':
+    resolution: {integrity: sha512-VHBXnnTVtcQ1j+7Vrz+qSYo38no+jiHRdGnhFspRXEHNJbllzwKqgBE7YN3qoIXH+MKxgJUcwO5KHmdzf8Wn2A==}
     engines: {node: '>=20.18.0'}
     peerDependencies:
       fastestsmallesttextencoderdecoder: ^1.0.22
@@ -137,8 +151,8 @@ packages:
     peerDependencies:
       typescript: '>=5'
 
-  '@solana/errors@2.3.0':
-    resolution: {integrity: sha512-66RI9MAbwYV0UtP7kGcTBVLxJgUxoZGm8Fbc0ah+lGiAw17Gugco6+9GrJCV83VyF2mDWyYnYM9qdI3yjgpnaQ==}
+  '@solana/errors@3.0.3':
+    resolution: {integrity: sha512-1l84xJlHNva6io62PcYfUamwWlc0eM95nHgCrKX0g0cLoC6D6QHYPCEbEVkR+C5UtP9JDgyQM8MFiv+Ei5tO9Q==}
     engines: {node: '>=20.18.0'}
     hasBin: true
     peerDependencies:
@@ -200,6 +214,10 @@ packages:
     resolution: {integrity: sha512-46QrSQFyVSEyYAgQ22hQ+zDa60YHA4fBstHmtSApj1Y5vKtG27fWowW03jCk5KcbXEWPZUIR894aARCA/G1kfQ==}
     engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
 
+  chalk@5.6.2:
+    resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==}
+    engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}
+
   codama@1.3.3:
     resolution: {integrity: sha512-eCOflah25uWKHGyjvW2FPydRAwhDw4ZAjBuBFF9AVJIE3xknR+pcRMLdlxO5LO3ixlxkHKHdESXJY/aVXmzZtw==}
     hasBin: true
@@ -216,6 +234,10 @@ packages:
     resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==}
     engines: {node: '>=20'}
 
+  commander@14.0.1:
+    resolution: {integrity: sha512-2JkV3gUZUVrbNA+1sjBOYLsMZ5cEEl8GTFP2a4AVz5hvasAMCQ1D2l2le/cX+pV4N6ZU17zjUahLpIXRrnWL8A==}
+    engines: {node: '>=20'}
+
   commander@5.1.0:
     resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==}
     engines: {node: '>= 6'}
@@ -524,10 +546,18 @@ snapshots:
       chalk: 5.6.0
       commander: 14.0.0
 
+  '@codama/errors@1.3.7':
+    dependencies:
+      '@codama/node-types': 1.3.7
+      commander: 14.0.1
+      picocolors: 1.1.1
+
   '@codama/node-types@1.2.8': {}
 
   '@codama/node-types@1.3.3': {}
 
+  '@codama/node-types@1.3.7': {}
+
   '@codama/nodes@1.2.8':
     dependencies:
       '@codama/errors': 1.2.8
@@ -538,29 +568,32 @@ snapshots:
       '@codama/errors': 1.3.3
       '@codama/node-types': 1.3.3
 
+  '@codama/nodes@1.3.7':
+    dependencies:
+      '@codama/errors': 1.3.7
+      '@codama/node-types': 1.3.7
+
   '@codama/renderers-core@1.0.10':
     dependencies:
       '@codama/errors': 1.2.8
       '@codama/nodes': 1.2.8
       '@codama/visitors-core': 1.2.8
 
-  '@codama/renderers-core@1.0.19':
+  '@codama/renderers-core@1.2.2':
     dependencies:
-      '@codama/errors': 1.3.3
-      '@codama/nodes': 1.3.3
-      '@codama/visitors-core': 1.3.3
+      '@codama/errors': 1.3.7
+      '@codama/nodes': 1.3.7
+      '@codama/visitors-core': 1.3.7
 
-  '@codama/renderers-js@1.3.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@codama/renderers-js@1.4.2(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@codama/errors': 1.3.3
-      '@codama/nodes': 1.3.3
-      '@codama/renderers-core': 1.0.19
-      '@codama/visitors-core': 1.3.3
-      '@solana/codecs-strings': 2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
-      nunjucks: 3.2.4
+      '@codama/errors': 1.3.7
+      '@codama/nodes': 1.3.7
+      '@codama/renderers-core': 1.2.2
+      '@codama/visitors-core': 1.3.7
+      '@solana/codecs-strings': 3.0.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)
       prettier: 3.6.2
     transitivePeerDependencies:
-      - chokidar
       - fastestsmallesttextencoderdecoder
       - typescript
 
@@ -595,6 +628,12 @@ snapshots:
       '@codama/nodes': 1.3.3
       json-stable-stringify: 1.3.0
 
+  '@codama/visitors-core@1.3.7':
+    dependencies:
+      '@codama/errors': 1.3.7
+      '@codama/nodes': 1.3.7
+      json-stable-stringify: 1.3.0
+
   '@codama/visitors@1.3.3':
     dependencies:
       '@codama/errors': 1.3.3
@@ -620,9 +659,9 @@ snapshots:
       '@solana/errors': 2.0.0-rc.4(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/codecs-core@2.3.0(typescript@5.5.3)':
+  '@solana/codecs-core@3.0.3(typescript@5.5.3)':
     dependencies:
-      '@solana/errors': 2.3.0(typescript@5.5.3)
+      '@solana/errors': 3.0.3(typescript@5.5.3)
       typescript: 5.5.3
 
   '@solana/codecs-numbers@2.0.0-rc.4(typescript@5.5.3)':
@@ -631,10 +670,10 @@ snapshots:
       '@solana/errors': 2.0.0-rc.4(typescript@5.5.3)
       typescript: 5.5.3
 
-  '@solana/codecs-numbers@2.3.0(typescript@5.5.3)':
+  '@solana/codecs-numbers@3.0.3(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 2.3.0(typescript@5.5.3)
-      '@solana/errors': 2.3.0(typescript@5.5.3)
+      '@solana/codecs-core': 3.0.3(typescript@5.5.3)
+      '@solana/errors': 3.0.3(typescript@5.5.3)
       typescript: 5.5.3
 
   '@solana/codecs-strings@2.0.0-rc.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
@@ -645,23 +684,23 @@ snapshots:
       fastestsmallesttextencoderdecoder: 1.0.22
       typescript: 5.5.3
 
-  '@solana/codecs-strings@2.3.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
+  '@solana/codecs-strings@3.0.3(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)':
     dependencies:
-      '@solana/codecs-core': 2.3.0(typescript@5.5.3)
-      '@solana/codecs-numbers': 2.3.0(typescript@5.5.3)
-      '@solana/errors': 2.3.0(typescript@5.5.3)
+      '@solana/codecs-core': 3.0.3(typescript@5.5.3)
+      '@solana/codecs-numbers': 3.0.3(typescript@5.5.3)
+      '@solana/errors': 3.0.3(typescript@5.5.3)
       fastestsmallesttextencoderdecoder: 1.0.22
       typescript: 5.5.3
 
   '@solana/errors@2.0.0-rc.4(typescript@5.5.3)':
     dependencies:
-      chalk: 5.4.1
+      chalk: 5.6.0
       commander: 12.1.0
       typescript: 5.5.3
 
-  '@solana/errors@2.3.0(typescript@5.5.3)':
+  '@solana/errors@3.0.3(typescript@5.5.3)':
     dependencies:
-      chalk: 5.4.1
+      chalk: 5.6.2
       commander: 14.0.0
       typescript: 5.5.3
 
@@ -720,6 +759,8 @@ snapshots:
 
   chalk@5.6.0: {}
 
+  chalk@5.6.2: {}
+
   codama@1.3.3:
     dependencies:
       '@codama/cli': 1.3.1
@@ -734,6 +775,8 @@ snapshots:
 
   commander@14.0.0: {}
 
+  commander@14.0.1: {}
+
   commander@5.1.0: {}
 
   data-uri-to-buffer@4.0.1: {}