diff --git a/clients/js/package.json b/clients/js/package.json index 7081cf4c..4a4bd4b8 100644 --- a/clients/js/package.json +++ b/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", diff --git a/clients/js/pnpm-lock.yaml b/clients/js/pnpm-lock.yaml index 7b554fd4..b6395309 100644 --- a/clients/js/pnpm-lock.yaml +++ b/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: {} diff --git a/clients/js/src/generated/accounts/index.ts b/clients/js/src/generated/accounts/index.ts index 22eaa0c9..6faecdd0 100644 --- a/clients/js/src/generated/accounts/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/accounts/mint.ts b/clients/js/src/generated/accounts/mint.ts index 1ab2fc36..86e22c19 100644 --- a/clients/js/src/generated/accounts/mint.ts +++ b/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 */ diff --git a/clients/js/src/generated/accounts/multisig.ts b/clients/js/src/generated/accounts/multisig.ts index 504b7030..1ef430e1 100644 --- a/clients/js/src/generated/accounts/multisig.ts +++ b/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 */ diff --git a/clients/js/src/generated/accounts/token.ts b/clients/js/src/generated/accounts/token.ts index 0fd3bb9c..1a02da71 100644 --- a/clients/js/src/generated/accounts/token.ts +++ b/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 */ diff --git a/clients/js/src/generated/errors/associatedToken.ts b/clients/js/src/generated/errors/associatedToken.ts index beda1557..158a432c 100644 --- a/clients/js/src/generated/errors/associatedToken.ts +++ b/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 */ diff --git a/clients/js/src/generated/errors/index.ts b/clients/js/src/generated/errors/index.ts index 4a8094e5..674e59be 100644 --- a/clients/js/src/generated/errors/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/errors/token.ts b/clients/js/src/generated/errors/token.ts index 1a9624ec..9dd4fcc9 100644 --- a/clients/js/src/generated/errors/token.ts +++ b/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 */ diff --git a/clients/js/src/generated/index.ts b/clients/js/src/generated/index.ts index 1f8edf1d..157d6f19 100644 --- a/clients/js/src/generated/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/instructions/amountToUiAmount.ts b/clients/js/src/generated/instructions/amountToUiAmount.ts index 262b521a..9e308139 100644 --- a/clients/js/src/generated/instructions/amountToUiAmount.ts +++ b/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; - - return instruction; + programAddress, + } as AmountToUiAmountInstruction); } 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), }; } diff --git a/clients/js/src/generated/instructions/approve.ts b/clients/js/src/generated/instructions/approve.ts index 7a09baba..7304b3bb 100644 --- a/clients/js/src/generated/instructions/approve.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner - >; - - return instruction; + >); } export type ParsedApproveInstruction< diff --git a/clients/js/src/generated/instructions/approveChecked.ts b/clients/js/src/generated/instructions/approveChecked.ts index 807de5ee..88ae1afe 100644 --- a/clients/js/src/generated/instructions/approveChecked.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner - >; - - return instruction; + >); } export type ParsedApproveCheckedInstruction< diff --git a/clients/js/src/generated/instructions/burn.ts b/clients/js/src/generated/instructions/burn.ts index fb175975..633b695e 100644 --- a/clients/js/src/generated/instructions/burn.ts +++ b/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 & AccountSignerMeta : TAccountAuthority - >; - - return instruction; + >); } export type ParsedBurnInstruction< diff --git a/clients/js/src/generated/instructions/burnChecked.ts b/clients/js/src/generated/instructions/burnChecked.ts index d8ac7696..6f7d9a7e 100644 --- a/clients/js/src/generated/instructions/burnChecked.ts +++ b/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 & AccountSignerMeta : TAccountAuthority - >; - - return instruction; + >); } export type ParsedBurnCheckedInstruction< diff --git a/clients/js/src/generated/instructions/closeAccount.ts b/clients/js/src/generated/instructions/closeAccount.ts index 4f226151..df2c80ea 100644 --- a/clients/js/src/generated/instructions/closeAccount.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner - >; - - return instruction; + >); } export type ParsedCloseAccountInstruction< diff --git a/clients/js/src/generated/instructions/createAssociatedToken.ts b/clients/js/src/generated/instructions/createAssociatedToken.ts index ba05c243..b3ef36a9 100644 --- a/clients/js/src/generated/instructions/createAssociatedToken.ts +++ b/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< diff --git a/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts b/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts index 9e7ff7f1..32a3c92f 100644 --- a/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts +++ b/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< diff --git a/clients/js/src/generated/instructions/freezeAccount.ts b/clients/js/src/generated/instructions/freezeAccount.ts index 68bf4cb7..18872728 100644 --- a/clients/js/src/generated/instructions/freezeAccount.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner - >; - - return instruction; + >); } export type ParsedFreezeAccountInstruction< diff --git a/clients/js/src/generated/instructions/getAccountDataSize.ts b/clients/js/src/generated/instructions/getAccountDataSize.ts index e995f7a4..6c5544ed 100644 --- a/clients/js/src/generated/instructions/getAccountDataSize.ts +++ b/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; - - return instruction; + programAddress, + } as GetAccountDataSizeInstruction); } 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 ), diff --git a/clients/js/src/generated/instructions/index.ts b/clients/js/src/generated/instructions/index.ts index 6011a9d2..a9731e09 100644 --- a/clients/js/src/generated/instructions/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/instructions/initializeAccount.ts b/clients/js/src/generated/instructions/initializeAccount.ts index 0971eafc..ce17e4c6 100644 --- a/clients/js/src/generated/instructions/initializeAccount.ts +++ b/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< diff --git a/clients/js/src/generated/instructions/initializeAccount2.ts b/clients/js/src/generated/instructions/initializeAccount2.ts index 967471f7..96a3d9f0 100644 --- a/clients/js/src/generated/instructions/initializeAccount2.ts +++ b/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< diff --git a/clients/js/src/generated/instructions/initializeAccount3.ts b/clients/js/src/generated/instructions/initializeAccount3.ts index 2f3115fe..c5d13fbf 100644 --- a/clients/js/src/generated/instructions/initializeAccount3.ts +++ b/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 ), diff --git a/clients/js/src/generated/instructions/initializeImmutableOwner.ts b/clients/js/src/generated/instructions/initializeImmutableOwner.ts index 076db633..edbf8aa7 100644 --- a/clients/js/src/generated/instructions/initializeImmutableOwner.ts +++ b/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; - - return instruction; + programAddress, + } as InitializeImmutableOwnerInstruction); } 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 ), diff --git a/clients/js/src/generated/instructions/initializeMint.ts b/clients/js/src/generated/instructions/initializeMint.ts index c4dc04c1..6ab52384 100644 --- a/clients/js/src/generated/instructions/initializeMint.ts +++ b/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; - - return instruction; + programAddress, + } as InitializeMintInstruction); } 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), }; } diff --git a/clients/js/src/generated/instructions/initializeMint2.ts b/clients/js/src/generated/instructions/initializeMint2.ts index cd3f70d8..cf15c7c6 100644 --- a/clients/js/src/generated/instructions/initializeMint2.ts +++ b/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; - - return instruction; + programAddress, + } as InitializeMint2Instruction); } 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), }; } diff --git a/clients/js/src/generated/instructions/initializeMultisig.ts b/clients/js/src/generated/instructions/initializeMultisig.ts index 030972f2..777fd7c2 100644 --- a/clients/js/src/generated/instructions/initializeMultisig.ts +++ b/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 ), diff --git a/clients/js/src/generated/instructions/initializeMultisig2.ts b/clients/js/src/generated/instructions/initializeMultisig2.ts index 21d4f32e..30d5234a 100644 --- a/clients/js/src/generated/instructions/initializeMultisig2.ts +++ b/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; - - return instruction; + programAddress, + } as InitializeMultisig2Instruction); } 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 ), diff --git a/clients/js/src/generated/instructions/mintTo.ts b/clients/js/src/generated/instructions/mintTo.ts index e35e5836..1a4b9022 100644 --- a/clients/js/src/generated/instructions/mintTo.ts +++ b/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 & AccountSignerMeta : TAccountMintAuthority - >; - - return instruction; + >); } export type ParsedMintToInstruction< diff --git a/clients/js/src/generated/instructions/mintToChecked.ts b/clients/js/src/generated/instructions/mintToChecked.ts index c7604c02..bf8f18d0 100644 --- a/clients/js/src/generated/instructions/mintToChecked.ts +++ b/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 & AccountSignerMeta : TAccountMintAuthority - >; - - return instruction; + >); } export type ParsedMintToCheckedInstruction< diff --git a/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts b/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts index 724c62ab..c6ef4111 100644 --- a/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts +++ b/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< diff --git a/clients/js/src/generated/instructions/revoke.ts b/clients/js/src/generated/instructions/revoke.ts index f073c761..28db621c 100644 --- a/clients/js/src/generated/instructions/revoke.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : 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), }; } diff --git a/clients/js/src/generated/instructions/setAuthority.ts b/clients/js/src/generated/instructions/setAuthority.ts index d848f494..74730f1e 100644 --- a/clients/js/src/generated/instructions/setAuthority.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : 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), }; } diff --git a/clients/js/src/generated/instructions/syncNative.ts b/clients/js/src/generated/instructions/syncNative.ts index e1f6102d..c66b9372 100644 --- a/clients/js/src/generated/instructions/syncNative.ts +++ b/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; - - return instruction; + programAddress, + } as SyncNativeInstruction); } 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), }; } diff --git a/clients/js/src/generated/instructions/thawAccount.ts b/clients/js/src/generated/instructions/thawAccount.ts index fbf8a9c7..d93055a4 100644 --- a/clients/js/src/generated/instructions/thawAccount.ts +++ b/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 ? ReadonlySignerAccount & AccountSignerMeta : TAccountOwner - >; - - return instruction; + >); } export type ParsedThawAccountInstruction< diff --git a/clients/js/src/generated/instructions/transfer.ts b/clients/js/src/generated/instructions/transfer.ts index 80f004c1..f35d21b2 100644 --- a/clients/js/src/generated/instructions/transfer.ts +++ b/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 & AccountSignerMeta : TAccountAuthority - >; - - return instruction; + >); } export type ParsedTransferInstruction< diff --git a/clients/js/src/generated/instructions/transferChecked.ts b/clients/js/src/generated/instructions/transferChecked.ts index 58c92716..6490b33b 100644 --- a/clients/js/src/generated/instructions/transferChecked.ts +++ b/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 & AccountSignerMeta : TAccountAuthority - >; - - return instruction; + >); } export type ParsedTransferCheckedInstruction< diff --git a/clients/js/src/generated/instructions/uiAmountToAmount.ts b/clients/js/src/generated/instructions/uiAmountToAmount.ts index 36385ec2..dad78525 100644 --- a/clients/js/src/generated/instructions/uiAmountToAmount.ts +++ b/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; - - return instruction; + programAddress, + } as UiAmountToAmountInstruction); } 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), }; } diff --git a/clients/js/src/generated/pdas/associatedToken.ts b/clients/js/src/generated/pdas/associatedToken.ts index 2ccb314a..54867308 100644 --- a/clients/js/src/generated/pdas/associatedToken.ts +++ b/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 */ diff --git a/clients/js/src/generated/pdas/index.ts b/clients/js/src/generated/pdas/index.ts index 6cd1010c..7185e807 100644 --- a/clients/js/src/generated/pdas/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/programs/associatedToken.ts b/clients/js/src/generated/programs/associatedToken.ts index 5c3e1323..769f83f1 100644 --- a/clients/js/src/generated/programs/associatedToken.ts +++ b/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 */ diff --git a/clients/js/src/generated/programs/index.ts b/clients/js/src/generated/programs/index.ts index 4a8094e5..674e59be 100644 --- a/clients/js/src/generated/programs/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/programs/token.ts b/clients/js/src/generated/programs/token.ts index dc17fc3e..3859cb9f 100644 --- a/clients/js/src/generated/programs/token.ts +++ b/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 */ diff --git a/clients/js/src/generated/shared/index.ts b/clients/js/src/generated/shared/index.ts index 8841a272..83a31834 100644 --- a/clients/js/src/generated/shared/index.ts +++ b/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 */ diff --git a/clients/js/src/generated/types/accountState.ts b/clients/js/src/generated/types/accountState.ts index ee0457d7..a00965ca 100644 --- a/clients/js/src/generated/types/accountState.ts +++ b/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 */ diff --git a/clients/js/src/generated/types/authorityType.ts b/clients/js/src/generated/types/authorityType.ts index f6075a1d..eabe796b 100644 --- a/clients/js/src/generated/types/authorityType.ts +++ b/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 */ diff --git a/clients/js/src/generated/types/index.ts b/clients/js/src/generated/types/index.ts index 81281230..653d6f52 100644 --- a/clients/js/src/generated/types/index.ts +++ b/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 */ diff --git a/package.json b/package.json index 2efb5a5c..fccfc92c 100644 --- a/package.json +++ b/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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 51939026..c4d5f5f9 100644 --- a/pnpm-lock.yaml +++ b/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: {}