diff --git a/clients/js/env-shim.ts b/clients/js/env-shim.ts deleted file mode 100644 index 8963d75..0000000 --- a/clients/js/env-shim.ts +++ /dev/null @@ -1,3 +0,0 @@ -// Clever obfuscation to prevent the build system from inlining the value of `NODE_ENV` -export const __DEV__ = /* @__PURE__ */ (() => - (process as any)['en' + 'v'].NODE_ENV === 'development')(); diff --git a/clients/js/package.json b/clients/js/package.json index 1c6a5bd..b671c95 100644 --- a/clients/js/package.json +++ b/clients/js/package.json @@ -34,24 +34,25 @@ }, "license": "Apache-2.0", "peerDependencies": { - "@solana/web3.js": "2.0.0-preview.3" + "@solana/web3.js": "2.0.0-preview.4" }, "devDependencies": { "@ava/typescript": "^4.1.0", - "@solana/eslint-config-solana": "^3.0.0", - "@solana/web3.js": "2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27", - "@solana/webcrypto-ed25519-polyfill": "2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27", - "@solana-program/system": "^0.3.2", - "@typescript-eslint/eslint-plugin": "^7.3.1", - "@typescript-eslint/parser": "^7.3.1", - "ava": "^6.1.2", + "@solana-program/system": "^0.4.0", + "@solana/eslint-config-solana": "^3.0.3", + "@solana/web3.js": "2.0.0-preview.4", + "@solana/webcrypto-ed25519-polyfill": "2.0.0-preview.4", + "@types/node": "^20", + "@typescript-eslint/eslint-plugin": "^7.16.1", + "@typescript-eslint/parser": "^7.16.1", + "ava": "^6.1.3", "eslint": "^8.57.0", - "prettier": "^3.2.5", + "prettier": "^3.3.3", "rimraf": "^5.0.5", "tsup": "^8.0.2", "typedoc": "^0.25.12", "typedoc-plugin-missing-exports": "^2.2.0", - "typescript": "^5.4.2" + "typescript": "^5.5.3" }, "ava": { "require": [ diff --git a/clients/js/pnpm-lock.yaml b/clients/js/pnpm-lock.yaml index 90baf42..e34d49d 100644 --- a/clients/js/pnpm-lock.yaml +++ b/clients/js/pnpm-lock.yaml @@ -12,47 +12,50 @@ importers: specifier: ^4.1.0 version: 4.1.0 '@solana-program/system': - specifier: ^0.3.2 - version: 0.3.2(@solana/web3.js@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0)) + specifier: ^0.4.0 + version: 0.4.0(@solana/web3.js@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)) '@solana/eslint-config-solana': - specifier: ^3.0.0 - version: 3.0.3(@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(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.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + 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/web3.js': - specifier: 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27 - version: 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0) + specifier: 2.0.0-preview.4 + version: 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0) '@solana/webcrypto-ed25519-polyfill': - specifier: 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27 - version: 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) + specifier: 2.0.0-preview.4 + version: 2.0.0-preview.4(typescript@5.5.3) + '@types/node': + specifier: ^20 + version: 20.14.11 '@typescript-eslint/eslint-plugin': - specifier: ^7.3.1 - version: 7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.16.1 + version: 7.16.1(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) '@typescript-eslint/parser': - specifier: ^7.3.1 - version: 7.8.0(eslint@8.57.0)(typescript@5.4.5) + specifier: ^7.16.1 + version: 7.16.1(eslint@8.57.0)(typescript@5.5.3) ava: - specifier: ^6.1.2 + specifier: ^6.1.3 version: 6.1.3(@ava/typescript@4.1.0) eslint: specifier: ^8.57.0 version: 8.57.0 prettier: - specifier: ^3.2.5 - version: 3.2.5 + specifier: ^3.3.3 + version: 3.3.3 rimraf: specifier: ^5.0.5 version: 5.0.5 tsup: specifier: ^8.0.2 - version: 8.0.2(typescript@5.4.5) + version: 8.0.2(typescript@5.5.3) typedoc: specifier: ^0.25.12 - version: 0.25.13(typescript@5.4.5) + version: 0.25.13(typescript@5.5.3) typedoc-plugin-missing-exports: specifier: ^2.2.0 - version: 2.2.0(typedoc@0.25.13(typescript@5.4.5)) + version: 2.2.0(typedoc@0.25.13(typescript@5.5.3)) typescript: - specifier: ^5.4.2 - version: 5.4.5 + specifier: ^5.5.3 + version: 5.5.3 packages: @@ -360,54 +363,54 @@ packages: resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} - '@solana-program/system@0.3.2': - resolution: {integrity: sha512-tQnomntv06LPW9yDCxQqqUElhovr+2bl0r3fqDm1a38CsUGorKV54Z5g9tbXiRSk5DebQu3WhQCZgHLs7spcIw==} + '@solana-program/system@0.4.0': + resolution: {integrity: sha512-+kulWyBvu6bimkPcueoavFf6TS/Lo6CJ2mtfkOsoeOm9i7cmk48vaknrGpDKT0KnNaqneO2nMO9X6E8eEkdpgQ==} peerDependencies: - '@solana/web3.js': 2.0.0-preview.3 + '@solana/web3.js': 2.0.0-preview.4 - '@solana/accounts@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-DlQlV6rXWptnS5jiAk7z/Q6QLeqODID7fUN70Nn1Fzvl9DjHLBqRyQdKY7+eYZDmn+sq0rbCMelJ4Bs1IjaP9g==} + '@solana/accounts@2.0.0-preview.4': + resolution: {integrity: sha512-gPuYX8l7GBk/UeqvZytbrARDvuBoM9r6SgWpn+Y3WQnMhwnCQ79ldh8GV2w28Jf7jFpeg3nXKt1++8cfsmaUUw==} peerDependencies: typescript: '>=5' - '@solana/addresses@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-m729bNs3Mu+6rE4rSARYjT1XzyskdYVQ4+cakAClmTgm8i97UwrzMSCe2D52jlsiXts5fy74stgW0bLgdfZ4WQ==} + '@solana/addresses@2.0.0-preview.4': + resolution: {integrity: sha512-9UxkkAb4+2OpmXx9UguT3DiZIDnbWws6dZWXLp0zQmk4yDxN4vsei7mUkf0Gz/o/ujNhYkowuvmzkHYGHZu9QA==} peerDependencies: typescript: '>=5' - '@solana/assertions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-TBre/I7pjJX4a1G+7g9qapWkiimavPeRqyn/xmCOeQCYVtDT+Y+PsRkur4i3ygFo6yH2gJ1WEso65tMLTEl8pg==} + '@solana/assertions@2.0.0-preview.4': + resolution: {integrity: sha512-Fd1LGdbH4fNMTYBXTvt+qlcEcaS7j+CnvPsUxboJmwiJz/qzkneLJ/Ao8SD/Fo6jt27bhYal2RBg3E9KOE0TkA==} peerDependencies: typescript: '>=5' - '@solana/codecs-core@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-SlOA/roDy7fJzphz2s1ZoKa7mlgpS78u5xiDIe86WNpgfZh3DufsreE8tKo7v5W6sBnmiGbcS+R4CAHPn549oA==} + '@solana/codecs-core@2.0.0-preview.4': + resolution: {integrity: sha512-A0VVuDDA5kNKZUinOqHxJQK32aKTucaVbvn31YenGzHX1gPqq+SOnFwgaEY6pq4XEopSmaK16w938ZQS8IvCnw==} peerDependencies: typescript: '>=5' - '@solana/codecs-data-structures@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-VgDIHR1tAfmvFY8vHYOo1qi8Wj6jEU0h6WoCSZF/wkEZn25veCBEjRm1Y31y/UCAka94MNZADYUh/mxWibS6/g==} + '@solana/codecs-data-structures@2.0.0-preview.4': + resolution: {integrity: sha512-nt2k2eTeyzlI/ccutPcG36M/J8NAYfxBPI9h/nQjgJ+M+IgOKi31JV8StDDlG/1XvY0zyqugV3I0r3KAbZRJpA==} peerDependencies: typescript: '>=5' - '@solana/codecs-numbers@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-L4LEJfcg7wM6aHobiiTiCCaUkcmujKUuQLCabA9fD0yDXPP81JPpNHq6sgN/d0ADvDaHyuwjg2Sgt3cmYI8zZg==} + '@solana/codecs-numbers@2.0.0-preview.4': + resolution: {integrity: sha512-Q061rLtMadsO7uxpguT+Z7G4UHnjQ6moVIxAQxR58nLxDPCC7MB1Pk106/Z7NDhDLHTcd18uO6DZ7ajHZEn2XQ==} peerDependencies: typescript: '>=5' - '@solana/codecs-strings@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-3DQY42Z/F979LyFOsciP1CJaLFh58t0omCyTJTWaXDHz3yFzBuq3fADmyDXwVohsgDuHiyZgxXQuNZg3wZRL7g==} + '@solana/codecs-strings@2.0.0-preview.4': + resolution: {integrity: sha512-YDbsQePRWm+xnrfS64losSGRg8Wb76cjK1K6qfR8LPmdwIC3787x9uW5/E4icl/k+9nwgbIRXZ65lpF+ucZUnw==} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 typescript: '>=5' - '@solana/codecs@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-LyX6TqSvysf6Kl1aLycEIG9b8Asg59YmzQQA7PLlOWbl8aqNc1BaClpOvwmo9aus9xaud/5Ii7aYB0wu+1VGkw==} + '@solana/codecs@2.0.0-preview.4': + resolution: {integrity: sha512-gLMupqI4i+G4uPi2SGF/Tc1aXcviZF2ybC81x7Q/fARamNSgNOCUUoSCg9nWu1Gid6+UhA7LH80sWI8XjKaRog==} peerDependencies: typescript: '>=5' - '@solana/errors@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-g2IfbS1lcZycU8Fvx8DfJLAkDxzZ/lGis79sqY4yOSeONR+mt3J+5ZJQq2fG1uOZWgJFGMUobuDen7SShhTAMA==} + '@solana/errors@2.0.0-preview.4': + resolution: {integrity: sha512-kadtlbRv2LCWr8A9V22On15Us7Nn8BvqNaOB4hXsTB3O0fU40D1ru2l+cReqLcRPij4znqlRzW9Xi0m6J5DIhA==} hasBin: true peerDependencies: typescript: '>=5' @@ -425,129 +428,129 @@ packages: eslint-plugin-typescript-sort-keys: ^3.2.0 typescript: ^5.1.6 - '@solana/fast-stable-stringify@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-7ilB3aU9VEa6DolPhXEfWRSZOKkKxbpONXwVcaMci9mpFP74+/8aOEgYZdplDnbmkxtAHPFJodWQY13hJBMJOQ==} + '@solana/fast-stable-stringify@2.0.0-preview.4': + resolution: {integrity: sha512-WcJRbl+YoShyabRR0VuGciMEcIbZuX/zH0Pip40WqJRO95VVtvNG5tl80syVFX7OlYeXAQaAkYMhiDjactpEdA==} peerDependencies: typescript: '>=5' - '@solana/functional@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-7wWCS7q7SzccrhdGaCjBbDV81vbqp5379INNv6aWOEJOacMBxoHExi7abhSWm7kUNB6jfuTYyitOuk2FSRurYw==} + '@solana/functional@2.0.0-preview.4': + resolution: {integrity: sha512-swdKwWTLdqyrFDfHFYG/RFKBDLlVLjyDcjParLatT1sFD6p4jEAlrde8YmWxb/O5wqqMQEsKSPZvG8c938YqLA==} peerDependencies: typescript: '>=5' - '@solana/instructions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-1G8i4LZqW4/91C87fGrlplM3CVTbhjSMq+2DVSeBPCl5FdYtPHij5sZL/0srSrkwdcMgVSg4MFc519PZgMZi2Q==} + '@solana/instructions@2.0.0-preview.4': + resolution: {integrity: sha512-sR0bfXixX4ffYH5jH+80Z9S6SwKaoKPMKLjLHZnticiQhAlJBl7CUVfKzYatfEDgFOTAzOqa65V49kIQ2W8EPA==} peerDependencies: typescript: '>=5' - '@solana/keys@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-CAv77mVO7V1w2JxQakY3NnPU7pZI1bZYJPfCFUgX6JiaKlLN2g/Tg9J/sG9uNMO3LAypkWlk/TKlkHYOUcTMFg==} + '@solana/keys@2.0.0-preview.4': + resolution: {integrity: sha512-LBcqecCxdbcQxVv1Ut/t03rDs2WOyBJLXu3KkgqCAXIENXDdSU026Hy+nFv5EvaKraAu98kyoMyFk8DtqhosLQ==} peerDependencies: typescript: '>=5' - '@solana/options@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-Wv/hsJTAhBY235tGl4s3nePHpY6HGTRWF5VybwQ+KImLYg4I+++xYbNmsqP6u6j0MmCVkMQXnNPjPAE0p6Hdug==} + '@solana/options@2.0.0-preview.4': + resolution: {integrity: sha512-tv2O/Frxql/wSe3jbzi5nVicIWIus/BftH+5ZR+r9r3FO0/htEllZS5Q9XdbmSboHu+St87584JXeDx3xm4jaA==} peerDependencies: typescript: '>=5' - '@solana/programs@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-lxuLAcwC6AaeAfc3OXZjRba0t2dB8lBXroIylS1eyUdeYZyvUaPII5bMxPVu7LBHsHMbBuI88NFxOPP8ZyFpkQ==} + '@solana/programs@2.0.0-preview.4': + resolution: {integrity: sha512-yNgsD03QasbHpIW9UFkkX6UNhuHbrUC7bMnhXVWK6Hbo1E7tel067EfMfD46DsjPB1zyABNVHbHuo/7SKrzNUQ==} peerDependencies: typescript: '>=5' - '@solana/rpc-api@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-c9Gnmtx05XPS+P5O/s8acERgRHIuVts3vrYsssjlHoshj0s4RM/s4aI2BdmPDREX6PlRW/M0gCaU4c3NOhoc3g==} + '@solana/rpc-api@2.0.0-preview.4': + resolution: {integrity: sha512-ZBAm6I44YsxPQO6WIfaLIKyX8dAfx09gzo+YCuespLkhrpVPQgYoESZQLaaeA3SRKwFbqjsNI5bj8T+ze0dZEA==} peerDependencies: typescript: '>=5' - '@solana/rpc-parsed-types@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-Qq7n+B8g/m+P5eCIrYDazfLPW2ehixRdhQ50CcZc0P/se7r/Fp0bNKt8YIfeNWCVCijH7p61QSMBaDNIqzczgw==} + '@solana/rpc-parsed-types@2.0.0-preview.4': + resolution: {integrity: sha512-qxZ6BqrmaOtn+CCTa0jiimYir7BBBVwQBTMM5onETeDa1Qz9rcisadjfK9ZBSBmJObpVdPZmV5Afd6YRjNPHkQ==} peerDependencies: typescript: '>=5' - '@solana/rpc-spec-types@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-AN+HQYHMc6nokOSTBjINX9xZkuP8g8c1qLY0xU5USQLbZb47nhI9wTntQYk0Wc0b2cGsqFqULPVQb43X3pf+RA==} + '@solana/rpc-spec-types@2.0.0-preview.4': + resolution: {integrity: sha512-xL+sHqT5j7yzcJurfMuBAgFZGvppvsvDE08q06Uack9MYQwPYsgfCu5YG0T4Ik/ez/+ey9eFhJEhW2rOQ8A6sw==} peerDependencies: typescript: '>=5' - '@solana/rpc-spec@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-JDxaaqoVZ7ctk0t2qT21ieBN3mluAgcWcF8CowVw9nWOHUqVNbZo1c2k8E887Qu2i5OMQGJ33CD3cctX8cz+0g==} + '@solana/rpc-spec@2.0.0-preview.4': + resolution: {integrity: sha512-EjtyV/OV3b4DMsD+Ks7YebrtVM6VprEn43LRwuzlM4lIhMjTzCHnNQiYDXdj2Zmlahx9+tfSQj73g8POOlStvA==} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-api@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-hUmXzyDAfNqUhU46e8z06ZoPN7rnPsQFtWIyndB0tV6HPl3LSZ459+umo0iiH3PO5kCHKmi/0jZDgCi9d9z+rw==} + '@solana/rpc-subscriptions-api@2.0.0-preview.4': + resolution: {integrity: sha512-gxK58e95eEpBO5nNLQ0tNA6fJfA0FYIe3NzQqZySxdfqVLV60VqcynmXxZ2KnKi4HUi1tq5GhoV1jhCBUSjArQ==} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-spec@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-DsXj8klGkwFEcdyZjZtbgs8Tw3mMW+mrTtylqnzYuSMVQ5gFX9a37XVnS9yxs/FCOcS9H8/B/Gaw0+ZRGxw41A==} + '@solana/rpc-subscriptions-spec@2.0.0-preview.4': + resolution: {integrity: sha512-NjvgipVGxgL9m1QHKMwuVQY+fNd6MDjHIYsHciqk6VDZwD4i+Zq5J7CcYnOsjxC/TtQ6lQutTJ1V9tnqOwf1WA==} peerDependencies: typescript: '>=5' - '@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-i/nzvkb9lEFvoW6wR12jvzbOWWQqE/7sSan/iEZjUE9sS5gJ5uC8359qoxFvf2K7ftq55L47jKPaaluLT/y8tw==} + '@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.4': + resolution: {integrity: sha512-YnLZuraCNTeNadOd/YmsZFzaUjwvi8Vtiy8/h7tVCUGa8e6Nzu9uZFSxXaWrkimi/gHzvvee5ACXLf7gHDzXng==} peerDependencies: typescript: '>=5' ws: ^8.14.0 - '@solana/rpc-subscriptions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-SglQ+fTwUEY/oYHvEp+IwQcHpbtZ+FgaN65I5DlOvaODm8BaRguJm4/To2LL5mXlvQ8erI9F3U6vV3UJWE3rsg==} + '@solana/rpc-subscriptions@2.0.0-preview.4': + resolution: {integrity: sha512-o03upZQxhqSljsQO7//I/gqJ3cWcDCLPJW7b4gjYs3ms3qrI/nAyeMLGfcR+Qw7TSB7aLPZZ45ANvzMwSZXDWw==} peerDependencies: typescript: '>=5' - '@solana/rpc-transformers@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-LGxsnW422w68JtHH+1mc0RRXokGSFQ+gdmCF8izFRU5z7ty3XsO9Oq4RpvlnnJBBg+s+RjZM4X3DHMreUQ3edw==} + '@solana/rpc-transformers@2.0.0-preview.4': + resolution: {integrity: sha512-R6Ob2m74FcTtPEOneenwKv305Gypk/yWpdKhGafPP/1yJKLY4lp8BsHzNdDwWMP6YZ9c/GZO5iJI5o1fc9COJg==} peerDependencies: typescript: '>=5' - '@solana/rpc-transport-http@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-8eujqgtmKtrgh5E1eY8D7cSW+2QSAs1LXWyo8B7hQhhDuwvICqY778NWmcmd8XDzjdxN+cOEj5kt++FjbO7UCw==} + '@solana/rpc-transport-http@2.0.0-preview.4': + resolution: {integrity: sha512-NmezbvEnWICY+5Ftnoeb3/Fvq7eF7c4RYyGy/3lDPmYJlA9AWIrlA8BQak30q0h0b/NLLXa7cqb/oOOTzevguw==} peerDependencies: typescript: '>=5' - '@solana/rpc-types@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-KGDm/X/IksL8G89M6NrP+rRVV37kQORbLfeycSkP20o/VtyxpPbVBQskiyRO/sxbLBZAxECpW78dx09OhcvbiQ==} + '@solana/rpc-types@2.0.0-preview.4': + resolution: {integrity: sha512-bd68xA8R7qiHQbyJH2/TqhCLRRq6DIP9RQg5HShlenIeplkh46rDjwmtxdS+MWC/xJUGQ4buT1CxCCVNxoOMuw==} peerDependencies: typescript: '>=5' - '@solana/rpc@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-tBi/0a6AhUgK33dtiDzNgPfjYGjn8uCtBad54PjcYly7d9QNzfr9xe7usqbKjuamH/Tiv3dSl8WDBb77H/RkLA==} + '@solana/rpc@2.0.0-preview.4': + resolution: {integrity: sha512-iTlxQZomNcDpYuNcNbHjfwn8dcxwWrzr4bh08n3p/3DrSQqqNRl4z459M2y5BpTEjZRhM7YjB2+RUptI60hBcA==} peerDependencies: typescript: '>=5' - '@solana/signers@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-wTJROqucb0LM2OOFYhuIaMcvEOWUfauAiqMnI2QjW+TqhueA+czWInjgWaBmcWcRaUMs+m3Q9QWrts6KZcD6Ew==} + '@solana/signers@2.0.0-preview.4': + resolution: {integrity: sha512-NB5AaVnmjbfO2nXY8ubDOTfgCqoEai1HP/lPoK00y3EQ+R5k6kCxhKfKOJ4YG/sGy4osAvXdErfINjzg8oQnzQ==} peerDependencies: typescript: '>=5' - '@solana/sysvars@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-GG0p1YMHABg/qT35xns9SzDtgMpAcs6BzgXL6b/hRByP85jdCwZARwqAeTTFJM06+zScgtuoXC0WPCZUX+xQlQ==} + '@solana/sysvars@2.0.0-preview.4': + resolution: {integrity: sha512-IAd3KTsI0O5siOMoKn6cnHG+Ji+7VtTKS7hIltg6MkejTY3WStzzi3i65WUXb3kr00Xpi3ol6WpksQDCZSl5Rg==} peerDependencies: typescript: '>=5' - '@solana/transaction-confirmation@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-DYxWqnhLwpM7rvurBREiS3n3vqzCyLB2/5QDMnZjJgvWkJu1jI4UGJbnWzfoa1GPCw65PnNItF0GmCfjsO8BHQ==} + '@solana/transaction-confirmation@2.0.0-preview.4': + resolution: {integrity: sha512-owRIvEQ/oXbmZL3n1SDRuyBNUYFnWEddz89SdNVnztwzQXZ/IaULv33So+0WT8gxONkKIcrYbv9pkULYU1om6w==} peerDependencies: typescript: '>=5' - '@solana/transaction-messages@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-OBXgg9anjc192tuBpDAoz7xfBsBvosZB4y9pvJSsI8bfsmHT10jdYV6OkCO3R6fii05UInrNZCYTEhIkLWeYpw==} + '@solana/transaction-messages@2.0.0-preview.4': + resolution: {integrity: sha512-1oTkS7wL1g9qTLNFNMzDQ82gMgyTh9NFl0Jm3qns8J7raaXAwtxUz8138zqg/+jte9MEQH7wZ53c/OMpB7k8Dw==} peerDependencies: typescript: '>=5' - '@solana/transactions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-mUSwvbodVvQcVvyBNtM/QBet3ucJXyWPaMEmgTR7dgtaCmEiRzHcYzlBciY5sKZj+0E2XW1e2i5Npbl0KADCsg==} + '@solana/transactions@2.0.0-preview.4': + resolution: {integrity: sha512-5zazsq6YwbN11ePyRXX60MaTHNTrC+83UjjTX2mf7OVUvIEZwdksnNSCVC8P2ZaBUHz1pljbqAi+1prC9RirSg==} peerDependencies: typescript: '>=5' - '@solana/web3.js@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-ATVfppCam6vBsz+S8cgnPoLmTitouwU954FTzKUMQXQz3G3ri5yJQVspHwKakD3bsoA/gbCZsbKAc9GltoAFLw==} + '@solana/web3.js@2.0.0-preview.4': + resolution: {integrity: sha512-XKp3bD/okjnxQfpY1Z1StKZ2StT3Bsard/3auh+JFVLybiURNURVXRbPO6UCFCuVxYjJLu9MqAjEkZ50GgYaIA==} peerDependencies: typescript: '>=5' - '@solana/webcrypto-ed25519-polyfill@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27': - resolution: {integrity: sha512-SrUnYoGblXKtaxCTyvwHvu8oRDneZijv9IRLuCRp9xtP7nC7wuVkf5dcu0XKtCJZDvf/AAc8Hbzc2uhPYt9fMQ==} + '@solana/webcrypto-ed25519-polyfill@2.0.0-preview.4': + resolution: {integrity: sha512-FLmO3XIz1vSNMSJLM3eyU79ukFrHDnx41iDv9GNP24rBq/rNkr2CG+fO86cHT+Tu7hwwcs0KaRUYyOcVtcdnhg==} peerDependencies: typescript: '>=5' @@ -557,11 +560,14 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + '@types/node@20.14.11': + resolution: {integrity: sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA==} + '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} - '@typescript-eslint/eslint-plugin@7.8.0': - resolution: {integrity: sha512-gFTT+ezJmkwutUPmB0skOj3GZJtlEGnlssems4AjkVweUPGj7jRwwqg0Hhg7++kPGJqKtTYx+R05Ftww372aIg==} + '@typescript-eslint/eslint-plugin@7.16.1': + resolution: {integrity: sha512-SxdPak/5bO0EnGktV05+Hq8oatjAYVY3Zh2bye9pGZy6+jwyR3LG3YKkV4YatlsgqXP28BTeVm9pqwJM96vf2A==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: '@typescript-eslint/parser': ^7.0.0 @@ -577,8 +583,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - '@typescript-eslint/parser@7.8.0': - resolution: {integrity: sha512-KgKQly1pv0l4ltcftP59uQZCi4HUYswCLbTqVZEJu7uLX8CTLyswqMLqLN+2QFz4jCptqWVV4SB7vdxcH2+0kQ==} + '@typescript-eslint/parser@7.16.1': + resolution: {integrity: sha512-u+1Qx86jfGQ5i4JjK33/FnawZRpsLxRnKzGE6EABZ40KxVT/vWsiZFEBBHjFOljmmV3MBYOHEKi0Jm9hbAOClA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -591,12 +597,12 @@ packages: resolution: {integrity: sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/scope-manager@7.8.0': - resolution: {integrity: sha512-viEmZ1LmwsGcnr85gIq+FCYI7nO90DVbE37/ll51hjv9aG+YZMb4WDE2fyWpUR4O/UrhGRpYXK/XajcGTk2B8g==} + '@typescript-eslint/scope-manager@7.16.1': + resolution: {integrity: sha512-nYpyv6ALte18gbMz323RM+vpFpTjfNdyakbf3nsLvF43uF9KeNC289SUEW3QLZ1xPtyINJ1dIsZOuWuSRIWygw==} engines: {node: ^18.18.0 || >=20.0.0} - '@typescript-eslint/type-utils@7.8.0': - resolution: {integrity: sha512-H70R3AefQDQpz9mGv13Uhi121FNMh+WEaRqcXTX09YEDky21km4dV1ZXJIp8QjXc4ZaVkXVdohvWDzbnbHDS+A==} + '@typescript-eslint/type-utils@7.16.1': + resolution: {integrity: sha512-rbu/H2MWXN4SkjIIyWcmYBjlp55VT+1G3duFOIukTNFxr9PI35pLc2ydwAfejCEitCv4uztA07q0QWanOHC7dA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -609,8 +615,8 @@ packages: resolution: {integrity: sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/types@7.8.0': - resolution: {integrity: sha512-wf0peJ+ZGlcH+2ZS23aJbOv+ztjeeP8uQ9GgwMJGVLx/Nj9CJt17GWgWWoSmoRVKAX2X+7fzEnAjxdvK2gqCLw==} + '@typescript-eslint/types@7.16.1': + resolution: {integrity: sha512-AQn9XqCzUXd4bAVEsAXM/Izk11Wx2u4H3BAfQVhSfzfDOm/wAON9nP7J5rpkCxts7E5TELmN845xTUCQrD1xIQ==} engines: {node: ^18.18.0 || >=20.0.0} '@typescript-eslint/typescript-estree@5.62.0': @@ -622,8 +628,8 @@ packages: typescript: optional: true - '@typescript-eslint/typescript-estree@7.8.0': - resolution: {integrity: sha512-5pfUCOwK5yjPaJQNy44prjCwtr981dO8Qo9J9PwYXZ0MosgAbfEMB008dJ5sNo3+/BN6ytBPuSvXUg9SAqB0dg==} + '@typescript-eslint/typescript-estree@7.16.1': + resolution: {integrity: sha512-0vFPk8tMjj6apaAZ1HlwM8w7jbghC8jc1aRNJG5vN8Ym5miyhTQGMqU++kuBFDNKe9NcPeZ6x0zfSzV8xC1UlQ==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: typescript: '*' @@ -637,8 +643,8 @@ packages: peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 - '@typescript-eslint/utils@7.8.0': - resolution: {integrity: sha512-L0yFqOCflVqXxiZyXrDr80lnahQfSOfc9ELAAZ75sqicqp2i36kEZZGuUymHNFoYOqxRT05up760b4iGsl02nQ==} + '@typescript-eslint/utils@7.16.1': + resolution: {integrity: sha512-WrFM8nzCowV0he0RlkotGDujx78xudsxnGMBHI88l5J8wEhED6yBwaSLP99ygfrzAjsQvcYQ94quDwI0d7E1fA==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 @@ -647,8 +653,8 @@ packages: resolution: {integrity: sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - '@typescript-eslint/visitor-keys@7.8.0': - resolution: {integrity: sha512-q4/gibTNBQNA0lGyYQCmWRS5D15n8rXh4QjK3KV+MBPlTYHpfBUT3D3PaPR/HeNiI9W6R7FvlkcGhNyAoP+caA==} + '@typescript-eslint/visitor-keys@7.16.1': + resolution: {integrity: sha512-Qlzzx4sE4u3FsHTPQAAQFJFNOuqtuY0LFrZHwQ8IHK705XxBiWOFkfKRWu6niB7hwfgnwIpO4jTC75ozW1PHWg==} engines: {node: ^18.18.0 || >=20.0.0} '@ungap/structured-clone@1.2.0': @@ -725,6 +731,7 @@ packages: are-we-there-yet@2.0.0: resolution: {integrity: sha512-Ci/qENmwHnsYo9xKIcUJN5LeDKdJ6R1Z1j9V/J5wyq8nh/mYPEpIKJbBZXtZjG04HiK7zV/p6Vs9952MrMeUIw==} engines: {node: '>=10'} + deprecated: This package is no longer supported. argparse@1.0.10: resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} @@ -855,8 +862,8 @@ packages: resolution: {integrity: sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==} hasBin: true - commander@12.0.0: - resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==} + commander@12.1.0: + resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} engines: {node: '>=18'} commander@4.1.1: @@ -1128,6 +1135,7 @@ packages: gauge@3.0.2: resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==} engines: {node: '>=10'} + deprecated: This package is no longer supported. get-caller-file@2.0.5: resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} @@ -1474,6 +1482,7 @@ packages: npmlog@5.0.1: resolution: {integrity: sha512-AqZtDUWOMKs1G/8lwylVjrdYgqA4d9nu8hc+0gzRxlDb1I10+FHBGMXs6aiQHFdCUUlqH99MUMuLfzWDNDtfxw==} + deprecated: This package is no longer supported. object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} @@ -1578,8 +1587,8 @@ packages: resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==} engines: {node: '>= 0.8.0'} - prettier@3.2.5: - resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} engines: {node: '>=14'} hasBin: true @@ -1848,13 +1857,16 @@ packages: peerDependencies: typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + typescript@5.5.3: + resolution: {integrity: sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==} engines: {node: '>=14.17'} hasBin: true - undici-types@6.16.0: - resolution: {integrity: sha512-y3dW5MONx2FFOGdPfIE3XzcC5j5Dz52vrpbGyP8wIx3BLjc7L/TUZSi/SNWJrwJubmShcyIuhetWsqxoMmHg2w==} + undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + + undici-types@6.19.2: + resolution: {integrity: sha512-jvI+p8VJnrOIQ8AU4PyB1ytW68EyrLnI2xvCO3e5umm3nmhNjpugMD1wo+X994PyvUT9dWS/k3vO1wwRIh730Q==} unicorn-magic@0.1.0: resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==} @@ -2175,390 +2187,393 @@ snapshots: '@sindresorhus/merge-streams@2.3.0': {} - '@solana-program/system@0.3.2(@solana/web3.js@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0))': + '@solana-program/system@0.4.0(@solana/web3.js@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0))': dependencies: - '@solana/web3.js': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0) + '@solana/web3.js': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0) - '@solana/accounts@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/accounts@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/addresses@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/addresses@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/assertions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/assertions': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/assertions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/assertions@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/codecs-core@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/codecs-core@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/codecs-data-structures@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/codecs-data-structures@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/codecs-numbers@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/codecs-numbers@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/codecs-strings@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/codecs-strings@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) fastestsmallesttextencoderdecoder: 1.0.22 - typescript: 5.4.5 + typescript: 5.5.3 - '@solana/codecs@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/codecs@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-data-structures': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/options': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/options': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/errors@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/errors@2.0.0-preview.4(typescript@5.5.3)': dependencies: chalk: 5.3.0 - commander: 12.0.0 - typescript: 5.4.5 + commander: 12.1.0 + typescript: 5.5.3 - '@solana/eslint-config-solana@3.0.3(@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(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.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': + '@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)': dependencies: - '@typescript-eslint/eslint-plugin': 7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.4.5) + '@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: 8.57.0 - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + 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.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - typescript: 5.4.5 + eslint-plugin-typescript-sort-keys: 3.2.0(@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3))(eslint@8.57.0)(typescript@5.5.3) + typescript: 5.5.3 - '@solana/fast-stable-stringify@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/fast-stable-stringify@2.0.0-preview.4(typescript@5.5.3)': dependencies: - typescript: 5.4.5 + typescript: 5.5.3 - '@solana/functional@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/functional@2.0.0-preview.4(typescript@5.5.3)': dependencies: - typescript: 5.4.5 + typescript: 5.5.3 - '@solana/instructions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/instructions@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/keys@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/keys@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/assertions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/assertions': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/options@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/options@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-data-structures': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/programs@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/programs@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-api@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': - dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/keys': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-parsed-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-transformers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transaction-messages': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transactions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/rpc-api@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-parsed-types': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-parsed-types@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/rpc-parsed-types@2.0.0-preview.4(typescript@5.5.3)': dependencies: - typescript: 5.4.5 + typescript: 5.5.3 - '@solana/rpc-spec-types@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/rpc-spec-types@2.0.0-preview.4(typescript@5.5.3)': dependencies: - typescript: 5.4.5 + typescript: 5.5.3 - '@solana/rpc-spec@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/rpc-spec@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-spec-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec-types': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/rpc-subscriptions-api@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/rpc-subscriptions-api@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/keys': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-transformers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transaction-messages': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transactions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-subscriptions-spec@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/rpc-subscriptions-spec@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-spec-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec-types': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)(ws@8.17.0)': + '@solana/rpc-subscriptions-transport-websocket@2.0.0-preview.4(typescript@5.5.3)(ws@8.17.0)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 ws: 8.17.0 - '@solana/rpc-subscriptions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0)': - dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/fast-stable-stringify': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/functional': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-subscriptions-api': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-subscriptions-transport-websocket': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)(ws@8.17.0) - '@solana/rpc-transformers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/rpc-subscriptions@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)': + dependencies: + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/fast-stable-stringify': 2.0.0-preview.4(typescript@5.5.3) + '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-subscriptions-api': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-subscriptions-transport-websocket': 2.0.0-preview.4(typescript@5.5.3)(ws@8.17.0) + '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/rpc-transformers@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/rpc-transformers@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/functional': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-subscriptions-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-subscriptions-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc-transport-http@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/rpc-transport-http@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 - undici-types: 6.16.0 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 + undici-types: 6.19.2 - '@solana/rpc-types@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/rpc-types@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - typescript: 5.4.5 + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/rpc@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': - dependencies: - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/fast-stable-stringify': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/functional': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-api': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-spec': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-transformers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-transport-http': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/rpc@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/fast-stable-stringify': 2.0.0-preview.4(typescript@5.5.3) + '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-api': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-spec': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-transformers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-transport-http': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/signers@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/signers@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/instructions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/keys': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transaction-messages': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transactions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) + '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/sysvars@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': + '@solana/sysvars@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/accounts': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/accounts': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transaction-confirmation@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0)': - dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/keys': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-subscriptions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transaction-messages': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transactions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/transaction-confirmation@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)': + dependencies: + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-subscriptions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/transaction-messages@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': - dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-data-structures': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/functional': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/instructions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/transaction-messages@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) + '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/transactions@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)': - dependencies: - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs-core': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-data-structures': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-numbers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/codecs-strings': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/functional': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/instructions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/keys': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transaction-messages': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/transactions@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': + dependencies: + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-data-structures': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) + '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) + '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - '@solana/web3.js@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0)': - dependencies: - '@solana/accounts': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/addresses': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/codecs': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/errors': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/functional': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/instructions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/keys': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/programs': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/rpc-parsed-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5) - '@solana/rpc-subscriptions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0) - '@solana/rpc-types': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/signers': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/sysvars': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transaction-confirmation': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5)(ws@8.17.0) - '@solana/transaction-messages': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - '@solana/transactions': 2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.4.5) - typescript: 5.4.5 + '@solana/web3.js@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0)': + dependencies: + '@solana/accounts': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/addresses': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/codecs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + '@solana/functional': 2.0.0-preview.4(typescript@5.5.3) + '@solana/instructions': 2.0.0-preview.4(typescript@5.5.3) + '@solana/keys': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/programs': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/rpc-parsed-types': 2.0.0-preview.4(typescript@5.5.3) + '@solana/rpc-subscriptions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0) + '@solana/rpc-types': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/signers': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/sysvars': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transaction-confirmation': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)(ws@8.17.0) + '@solana/transaction-messages': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + '@solana/transactions': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) + typescript: 5.5.3 transitivePeerDependencies: - fastestsmallesttextencoderdecoder - ws - '@solana/webcrypto-ed25519-polyfill@2.0.0-preview.3.20240509193256.24c3f0f6d696e7317461cddfac56fa2c264acf27(typescript@5.4.5)': + '@solana/webcrypto-ed25519-polyfill@2.0.0-preview.4(typescript@5.5.3)': dependencies: '@noble/ed25519': 2.1.0 - typescript: 5.4.5 + typescript: 5.5.3 '@types/estree@1.0.5': {} '@types/json-schema@7.0.15': {} + '@types/node@20.14.11': + dependencies: + undici-types: 5.26.5 + '@types/semver@7.5.8': {} - '@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': + '@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)': dependencies: '@eslint-community/regexpp': 4.10.0 - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/type-utils': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.8.0 - debug: 4.3.4 + '@typescript-eslint/parser': 7.16.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/scope-manager': 7.16.1 + '@typescript-eslint/type-utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 7.16.1 eslint: 8.57.0 graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.6.1 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.5.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/experimental-utils@5.62.0(eslint@8.57.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 transitivePeerDependencies: - supports-color - typescript - '@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/parser@7.16.1(eslint@8.57.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) - '@typescript-eslint/visitor-keys': 7.8.0 + '@typescript-eslint/scope-manager': 7.16.1 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) + '@typescript-eslint/visitor-keys': 7.16.1 debug: 4.3.4 eslint: 8.57.0 optionalDependencies: - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -2567,28 +2582,28 @@ snapshots: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 - '@typescript-eslint/scope-manager@7.8.0': + '@typescript-eslint/scope-manager@7.16.1': dependencies: - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/visitor-keys': 7.8.0 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/visitor-keys': 7.16.1 - '@typescript-eslint/type-utils@7.8.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/type-utils@7.16.1(eslint@8.57.0)(typescript@5.5.3)': dependencies: - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) - '@typescript-eslint/utils': 7.8.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) + '@typescript-eslint/utils': 7.16.1(eslint@8.57.0)(typescript@5.5.3) debug: 4.3.4 eslint: 8.57.0 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.5.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color '@typescript-eslint/types@5.62.0': {} - '@typescript-eslint/types@7.8.0': {} + '@typescript-eslint/types@7.16.1': {} - '@typescript-eslint/typescript-estree@5.62.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@5.62.0(typescript@5.5.3)': dependencies: '@typescript-eslint/types': 5.62.0 '@typescript-eslint/visitor-keys': 5.62.0 @@ -2596,35 +2611,35 @@ snapshots: globby: 11.1.0 is-glob: 4.0.3 semver: 7.6.1 - tsutils: 3.21.0(typescript@5.4.5) + tsutils: 3.21.0(typescript@5.5.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/typescript-estree@7.8.0(typescript@5.4.5)': + '@typescript-eslint/typescript-estree@7.16.1(typescript@5.5.3)': dependencies: - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/visitor-keys': 7.8.0 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/visitor-keys': 7.16.1 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 semver: 7.6.1 - ts-api-utils: 1.3.0(typescript@5.4.5) + ts-api-utils: 1.3.0(typescript@5.5.3) optionalDependencies: - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/utils@5.62.0(eslint@8.57.0)(typescript@5.5.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) '@types/json-schema': 7.0.15 '@types/semver': 7.5.8 '@typescript-eslint/scope-manager': 5.62.0 '@typescript-eslint/types': 5.62.0 - '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.4.5) + '@typescript-eslint/typescript-estree': 5.62.0(typescript@5.5.3) eslint: 8.57.0 eslint-scope: 5.1.1 semver: 7.6.1 @@ -2632,16 +2647,13 @@ snapshots: - supports-color - typescript - '@typescript-eslint/utils@7.8.0(eslint@8.57.0)(typescript@5.4.5)': + '@typescript-eslint/utils@7.16.1(eslint@8.57.0)(typescript@5.5.3)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) - '@types/json-schema': 7.0.15 - '@types/semver': 7.5.8 - '@typescript-eslint/scope-manager': 7.8.0 - '@typescript-eslint/types': 7.8.0 - '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) + '@typescript-eslint/scope-manager': 7.16.1 + '@typescript-eslint/types': 7.16.1 + '@typescript-eslint/typescript-estree': 7.16.1(typescript@5.5.3) eslint: 8.57.0 - semver: 7.6.1 transitivePeerDependencies: - supports-color - typescript @@ -2651,9 +2663,9 @@ snapshots: '@typescript-eslint/types': 5.62.0 eslint-visitor-keys: 3.4.3 - '@typescript-eslint/visitor-keys@7.8.0': + '@typescript-eslint/visitor-keys@7.16.1': dependencies: - '@typescript-eslint/types': 7.8.0 + '@typescript-eslint/types': 7.16.1 eslint-visitor-keys: 3.4.3 '@ungap/structured-clone@1.2.0': {} @@ -2887,7 +2899,7 @@ snapshots: color-support@1.1.3: {} - commander@12.0.0: {} + commander@12.1.0: {} commander@4.1.1: {} @@ -2986,12 +2998,12 @@ snapshots: escape-string-regexp@5.0.0: {} - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5): + 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): dependencies: - '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/utils': 5.62.0(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 optionalDependencies: - '@typescript-eslint/eslint-plugin': 7.8.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + '@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) transitivePeerDependencies: - supports-color - typescript @@ -3011,14 +3023,14 @@ snapshots: natural-compare: 1.4.0 requireindex: 1.2.0 - eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@7.8.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5): + 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): dependencies: - '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.0)(typescript@5.4.5) - '@typescript-eslint/parser': 7.8.0(eslint@8.57.0)(typescript@5.4.5) + '@typescript-eslint/experimental-utils': 5.62.0(eslint@8.57.0)(typescript@5.5.3) + '@typescript-eslint/parser': 7.16.1(eslint@8.57.0)(typescript@5.5.3) eslint: 8.57.0 json-schema: 0.4.0 natural-compare-lite: 1.4.0 - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color @@ -3571,7 +3583,7 @@ snapshots: prelude-ls@1.2.1: {} - prettier@3.2.5: {} + prettier@3.3.3: {} pretty-ms@9.0.0: dependencies: @@ -3779,15 +3791,15 @@ snapshots: tree-kill@1.2.2: {} - ts-api-utils@1.3.0(typescript@5.4.5): + ts-api-utils@1.3.0(typescript@5.5.3): dependencies: - typescript: 5.4.5 + typescript: 5.5.3 ts-interface-checker@0.1.13: {} tslib@1.14.1: {} - tsup@8.0.2(typescript@5.4.5): + tsup@8.0.2(typescript@5.5.3): dependencies: bundle-require: 4.1.0(esbuild@0.19.12) cac: 6.7.14 @@ -3804,15 +3816,15 @@ snapshots: sucrase: 3.35.0 tree-kill: 1.2.2 optionalDependencies: - typescript: 5.4.5 + typescript: 5.5.3 transitivePeerDependencies: - supports-color - ts-node - tsutils@3.21.0(typescript@5.4.5): + tsutils@3.21.0(typescript@5.5.3): dependencies: tslib: 1.14.1 - typescript: 5.4.5 + typescript: 5.5.3 type-check@0.4.0: dependencies: @@ -3822,21 +3834,23 @@ snapshots: type-fest@0.20.2: {} - typedoc-plugin-missing-exports@2.2.0(typedoc@0.25.13(typescript@5.4.5)): + typedoc-plugin-missing-exports@2.2.0(typedoc@0.25.13(typescript@5.5.3)): dependencies: - typedoc: 0.25.13(typescript@5.4.5) + typedoc: 0.25.13(typescript@5.5.3) - typedoc@0.25.13(typescript@5.4.5): + typedoc@0.25.13(typescript@5.5.3): dependencies: lunr: 2.3.9 marked: 4.3.0 minimatch: 9.0.4 shiki: 0.14.7 - typescript: 5.4.5 + typescript: 5.5.3 + + typescript@5.5.3: {} - typescript@5.4.5: {} + undici-types@5.26.5: {} - undici-types@6.16.0: {} + undici-types@6.19.2: {} unicorn-magic@0.1.0: {} diff --git a/clients/js/src/generated/accounts/mint.ts b/clients/js/src/generated/accounts/mint.ts index e15490e..d1fead6 100644 --- a/clients/js/src/generated/accounts/mint.ts +++ b/clients/js/src/generated/accounts/mint.ts @@ -7,18 +7,6 @@ */ import { - Account, - Address, - Codec, - Decoder, - EncodedAccount, - Encoder, - FetchAccountConfig, - FetchAccountsConfig, - MaybeAccount, - MaybeEncodedAccount, - Option, - OptionOrNullable, assertAccountExists, assertAccountsExist, combineCodec, @@ -46,12 +34,24 @@ import { getU8Decoder, getU8Encoder, padLeftEncoder, + type Account, + type Address, + type Codec, + type Decoder, + type EncodedAccount, + type Encoder, + type FetchAccountConfig, + type FetchAccountsConfig, + type MaybeAccount, + type MaybeEncodedAccount, + type Option, + type OptionOrNullable, } from '@solana/web3.js'; import { - Extension, - ExtensionArgs, getExtensionDecoder, getExtensionEncoder, + type Extension, + type ExtensionArgs, } from '../types'; export type Mint = { @@ -98,7 +98,7 @@ export function getMintEncoder(): Encoder { 'mintAuthority', getOptionEncoder(getAddressEncoder(), { prefix: getU32Encoder(), - fixed: true, + noneValue: 'zeroes', }), ], ['supply', getU64Encoder()], @@ -108,7 +108,7 @@ export function getMintEncoder(): Encoder { 'freezeAuthority', getOptionEncoder(getAddressEncoder(), { prefix: getU32Encoder(), - fixed: true, + noneValue: 'zeroes', }), ], [ @@ -127,7 +127,7 @@ export function getMintDecoder(): Decoder { 'mintAuthority', getOptionDecoder(getAddressDecoder(), { prefix: getU32Decoder(), - fixed: true, + noneValue: 'zeroes', }), ], ['supply', getU64Decoder()], @@ -137,7 +137,7 @@ export function getMintDecoder(): Decoder { 'freezeAuthority', getOptionDecoder(getAddressDecoder(), { prefix: getU32Decoder(), - fixed: true, + noneValue: 'zeroes', }), ], [ diff --git a/clients/js/src/generated/accounts/multisig.ts b/clients/js/src/generated/accounts/multisig.ts index 1d43983..733c905 100644 --- a/clients/js/src/generated/accounts/multisig.ts +++ b/clients/js/src/generated/accounts/multisig.ts @@ -7,16 +7,6 @@ */ import { - Account, - Address, - Codec, - Decoder, - EncodedAccount, - Encoder, - FetchAccountConfig, - FetchAccountsConfig, - MaybeAccount, - MaybeEncodedAccount, assertAccountExists, assertAccountsExist, combineCodec, @@ -33,6 +23,16 @@ import { getStructEncoder, getU8Decoder, getU8Encoder, + type Account, + type Address, + type Codec, + type Decoder, + type EncodedAccount, + type Encoder, + type FetchAccountConfig, + type FetchAccountsConfig, + type MaybeAccount, + type MaybeEncodedAccount, } from '@solana/web3.js'; export type Multisig = { diff --git a/clients/js/src/generated/accounts/token.ts b/clients/js/src/generated/accounts/token.ts index d7c71ec..d3ca969 100644 --- a/clients/js/src/generated/accounts/token.ts +++ b/clients/js/src/generated/accounts/token.ts @@ -7,18 +7,6 @@ */ import { - Account, - Address, - Codec, - Decoder, - EncodedAccount, - Encoder, - FetchAccountConfig, - FetchAccountsConfig, - MaybeAccount, - MaybeEncodedAccount, - Option, - OptionOrNullable, assertAccountExists, assertAccountsExist, combineCodec, @@ -42,16 +30,28 @@ import { getU64Decoder, getU64Encoder, getU8Encoder, + type Account, + type Address, + type Codec, + type Decoder, + type EncodedAccount, + type Encoder, + type FetchAccountConfig, + type FetchAccountsConfig, + type MaybeAccount, + type MaybeEncodedAccount, + type Option, + type OptionOrNullable, } from '@solana/web3.js'; import { - AccountState, - AccountStateArgs, - Extension, - ExtensionArgs, getAccountStateDecoder, getAccountStateEncoder, getExtensionDecoder, getExtensionEncoder, + type AccountState, + type AccountStateArgs, + type Extension, + type ExtensionArgs, } from '../types'; export type Token = { @@ -121,7 +121,7 @@ export function getTokenEncoder(): Encoder { 'delegate', getOptionEncoder(getAddressEncoder(), { prefix: getU32Encoder(), - fixed: true, + noneValue: 'zeroes', }), ], ['state', getAccountStateEncoder()], @@ -129,7 +129,7 @@ export function getTokenEncoder(): Encoder { 'isNative', getOptionEncoder(getU64Encoder(), { prefix: getU32Encoder(), - fixed: true, + noneValue: 'zeroes', }), ], ['delegatedAmount', getU64Encoder()], @@ -137,7 +137,7 @@ export function getTokenEncoder(): Encoder { 'closeAuthority', getOptionEncoder(getAddressEncoder(), { prefix: getU32Encoder(), - fixed: true, + noneValue: 'zeroes', }), ], [ @@ -159,7 +159,7 @@ export function getTokenDecoder(): Decoder { 'delegate', getOptionDecoder(getAddressDecoder(), { prefix: getU32Decoder(), - fixed: true, + noneValue: 'zeroes', }), ], ['state', getAccountStateDecoder()], @@ -167,7 +167,7 @@ export function getTokenDecoder(): Decoder { 'isNative', getOptionDecoder(getU64Decoder(), { prefix: getU32Decoder(), - fixed: true, + noneValue: 'zeroes', }), ], ['delegatedAmount', getU64Decoder()], @@ -175,7 +175,7 @@ export function getTokenDecoder(): Decoder { 'closeAuthority', getOptionDecoder(getAddressDecoder(), { prefix: getU32Decoder(), - fixed: true, + noneValue: 'zeroes', }), ], [ diff --git a/clients/js/src/generated/errors/associatedToken.ts b/clients/js/src/generated/errors/associatedToken.ts index 118e5fa..25a8659 100644 --- a/clients/js/src/generated/errors/associatedToken.ts +++ b/clients/js/src/generated/errors/associatedToken.ts @@ -14,7 +14,7 @@ export type AssociatedTokenError = typeof ASSOCIATED_TOKEN_ERROR__INVALID_OWNER; let associatedTokenErrorMessages: | Record | undefined; -if (__DEV__) { +if (process.env.NODE_ENV !== 'production') { associatedTokenErrorMessages = { [ASSOCIATED_TOKEN_ERROR__INVALID_OWNER]: `Associated token account owner does not match address derivation`, }; @@ -23,11 +23,11 @@ if (__DEV__) { export function getAssociatedTokenErrorMessage( code: AssociatedTokenError ): string { - if (__DEV__) { + if (process.env.NODE_ENV !== 'production') { return ( associatedTokenErrorMessages as Record )[code]; } - return 'Error message not available in production bundles. Compile with `__DEV__` set to true to see more information.'; + return 'Error message not available in production bundles.'; } diff --git a/clients/js/src/generated/errors/token2022.ts b/clients/js/src/generated/errors/token2022.ts index e347e4e..5c7f667 100644 --- a/clients/js/src/generated/errors/token2022.ts +++ b/clients/js/src/generated/errors/token2022.ts @@ -70,7 +70,7 @@ export type Token2022Error = | typeof TOKEN_2022_ERROR__UNINITIALIZED_STATE; let token2022ErrorMessages: Record | undefined; -if (__DEV__) { +if (process.env.NODE_ENV !== 'production') { token2022ErrorMessages = { [TOKEN_2022_ERROR__ACCOUNT_FROZEN]: `Account is frozen`, [TOKEN_2022_ERROR__ALREADY_IN_USE]: `Already in use`, @@ -96,9 +96,9 @@ if (__DEV__) { } export function getToken2022ErrorMessage(code: Token2022Error): string { - if (__DEV__) { + if (process.env.NODE_ENV !== 'production') { return (token2022ErrorMessages as Record)[code]; } - return 'Error message not available in production bundles. Compile with `__DEV__` set to true to see more information.'; + return 'Error message not available in production bundles.'; } diff --git a/clients/js/src/generated/global.d.ts b/clients/js/src/generated/global.d.ts deleted file mode 100644 index 549103c..0000000 --- a/clients/js/src/generated/global.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -/** - * This code was AUTOGENERATED using the kinobi library. - * Please DO NOT EDIT THIS FILE, instead use visitors - * to add features, then rerun kinobi to update it. - * - * @see https://github.com/kinobi-so/kinobi - */ - -/** Global variable provided by bundlers telling us if we are building for production or not. */ -// eslint-disable-next-line @typescript-eslint/naming-convention -declare const __DEV__: boolean; diff --git a/clients/js/src/generated/instructions/amountToUiAmount.ts b/clients/js/src/generated/instructions/amountToUiAmount.ts index 0f3af88..f4d4529 100644 --- a/clients/js/src/generated/instructions/amountToUiAmount.ts +++ b/clients/js/src/generated/instructions/amountToUiAmount.ts @@ -7,15 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -24,9 +15,18 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type AmountToUiAmountInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/approve.ts b/clients/js/src/generated/instructions/approve.ts index ef481d7..1dde7d6 100644 --- a/clients/js/src/generated/instructions/approve.ts +++ b/clients/js/src/generated/instructions/approve.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type ApproveInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/approveChecked.ts b/clients/js/src/generated/instructions/approveChecked.ts index baab4f7..cac37b5 100644 --- a/clients/js/src/generated/instructions/approveChecked.ts +++ b/clients/js/src/generated/instructions/approveChecked.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type ApproveCheckedInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/burn.ts b/clients/js/src/generated/instructions/burn.ts index cfaf9cd..1b4b947 100644 --- a/clients/js/src/generated/instructions/burn.ts +++ b/clients/js/src/generated/instructions/burn.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type BurnInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/burnChecked.ts b/clients/js/src/generated/instructions/burnChecked.ts index 9577dca..79bc0a5 100644 --- a/clients/js/src/generated/instructions/burnChecked.ts +++ b/clients/js/src/generated/instructions/burnChecked.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type BurnCheckedInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/closeAccount.ts b/clients/js/src/generated/instructions/closeAccount.ts index 90f7d1b..c8ff230 100644 --- a/clients/js/src/generated/instructions/closeAccount.ts +++ b/clients/js/src/generated/instructions/closeAccount.ts @@ -8,28 +8,28 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type CloseAccountInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/createAssociatedToken.ts b/clients/js/src/generated/instructions/createAssociatedToken.ts index b9e839d..a221c9a 100644 --- a/clients/js/src/generated/instructions/createAssociatedToken.ts +++ b/clients/js/src/generated/instructions/createAssociatedToken.ts @@ -7,32 +7,32 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - TransactionSigner, - WritableAccount, - WritableSignerAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type TransactionSigner, + type WritableAccount, + type WritableSignerAccount, } from '@solana/web3.js'; import { findAssociatedTokenPda } from '../pdas'; import { ASSOCIATED_TOKEN_PROGRAM_ADDRESS } from '../programs'; import { - ResolvedAccount, expectAddress, getAccountMetaFactory, + type ResolvedAccount, } from '../shared'; export type CreateAssociatedTokenInstruction< diff --git a/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts b/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts index fc2de61..749f74a 100644 --- a/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts +++ b/clients/js/src/generated/instructions/createAssociatedTokenIdempotent.ts @@ -7,32 +7,32 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - TransactionSigner, - WritableAccount, - WritableSignerAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type TransactionSigner, + type WritableAccount, + type WritableSignerAccount, } from '@solana/web3.js'; import { findAssociatedTokenPda } from '../pdas'; import { ASSOCIATED_TOKEN_PROGRAM_ADDRESS } from '../programs'; import { - ResolvedAccount, expectAddress, getAccountMetaFactory, + type ResolvedAccount, } from '../shared'; export type CreateAssociatedTokenIdempotentInstruction< diff --git a/clients/js/src/generated/instructions/freezeAccount.ts b/clients/js/src/generated/instructions/freezeAccount.ts index 336d937..ca56dec 100644 --- a/clients/js/src/generated/instructions/freezeAccount.ts +++ b/clients/js/src/generated/instructions/freezeAccount.ts @@ -8,28 +8,28 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type FreezeAccountInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/getAccountDataSize.ts b/clients/js/src/generated/instructions/getAccountDataSize.ts index abd52d2..1850dce 100644 --- a/clients/js/src/generated/instructions/getAccountDataSize.ts +++ b/clients/js/src/generated/instructions/getAccountDataSize.ts @@ -7,24 +7,24 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type GetAccountDataSizeInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeAccount.ts b/clients/js/src/generated/instructions/initializeAccount.ts index 660dc72..8f06325 100644 --- a/clients/js/src/generated/instructions/initializeAccount.ts +++ b/clients/js/src/generated/instructions/initializeAccount.ts @@ -7,25 +7,25 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeAccountInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeAccount2.ts b/clients/js/src/generated/instructions/initializeAccount2.ts index 8d6bccf..af2eaf6 100644 --- a/clients/js/src/generated/instructions/initializeAccount2.ts +++ b/clients/js/src/generated/instructions/initializeAccount2.ts @@ -7,16 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - WritableAccount, combineCodec, getAddressDecoder, getAddressEncoder, @@ -25,9 +15,19 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeAccount2Instruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeAccount3.ts b/clients/js/src/generated/instructions/initializeAccount3.ts index 568b1f2..0a8a689 100644 --- a/clients/js/src/generated/instructions/initializeAccount3.ts +++ b/clients/js/src/generated/instructions/initializeAccount3.ts @@ -7,16 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - WritableAccount, combineCodec, getAddressDecoder, getAddressEncoder, @@ -25,9 +15,19 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeAccount3Instruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeImmutableOwner.ts b/clients/js/src/generated/instructions/initializeImmutableOwner.ts index 1e37309..bce0f46 100644 --- a/clients/js/src/generated/instructions/initializeImmutableOwner.ts +++ b/clients/js/src/generated/instructions/initializeImmutableOwner.ts @@ -7,24 +7,24 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeImmutableOwnerInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeMint.ts b/clients/js/src/generated/instructions/initializeMint.ts index 083b0da..67fd2b0 100644 --- a/clients/js/src/generated/instructions/initializeMint.ts +++ b/clients/js/src/generated/instructions/initializeMint.ts @@ -7,18 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - Option, - OptionOrNullable, - ReadonlyAccount, - WritableAccount, combineCodec, getAddressDecoder, getAddressEncoder, @@ -30,9 +18,21 @@ import { getU8Encoder, none, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type Option, + type OptionOrNullable, + type ReadonlyAccount, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeMintInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeMint2.ts b/clients/js/src/generated/instructions/initializeMint2.ts index eab4945..ac40be4 100644 --- a/clients/js/src/generated/instructions/initializeMint2.ts +++ b/clients/js/src/generated/instructions/initializeMint2.ts @@ -7,17 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - Option, - OptionOrNullable, - WritableAccount, combineCodec, getAddressDecoder, getAddressEncoder, @@ -29,9 +18,20 @@ import { getU8Encoder, none, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type Option, + type OptionOrNullable, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeMint2Instruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeMultisig.ts b/clients/js/src/generated/instructions/initializeMultisig.ts index f0dae09..35f3ef5 100644 --- a/clients/js/src/generated/instructions/initializeMultisig.ts +++ b/clients/js/src/generated/instructions/initializeMultisig.ts @@ -8,25 +8,25 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeMultisigInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/initializeMultisig2.ts b/clients/js/src/generated/instructions/initializeMultisig2.ts index b8f53cf..b281538 100644 --- a/clients/js/src/generated/instructions/initializeMultisig2.ts +++ b/clients/js/src/generated/instructions/initializeMultisig2.ts @@ -8,24 +8,24 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type InitializeMultisig2Instruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/mintTo.ts b/clients/js/src/generated/instructions/mintTo.ts index dc1440e..4b781ce 100644 --- a/clients/js/src/generated/instructions/mintTo.ts +++ b/clients/js/src/generated/instructions/mintTo.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type MintToInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/mintToChecked.ts b/clients/js/src/generated/instructions/mintToChecked.ts index 4093643..00ffa87 100644 --- a/clients/js/src/generated/instructions/mintToChecked.ts +++ b/clients/js/src/generated/instructions/mintToChecked.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type MintToCheckedInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts b/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts index 0bda5cf..8dd54f2 100644 --- a/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts +++ b/clients/js/src/generated/instructions/recoverNestedAssociatedToken.ts @@ -7,32 +7,32 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - TransactionSigner, - WritableAccount, - WritableSignerAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type TransactionSigner, + type WritableAccount, + type WritableSignerAccount, } from '@solana/web3.js'; import { findAssociatedTokenPda } from '../pdas'; import { ASSOCIATED_TOKEN_PROGRAM_ADDRESS } from '../programs'; import { - ResolvedAccount, expectAddress, getAccountMetaFactory, + type ResolvedAccount, } from '../shared'; export type RecoverNestedAssociatedTokenInstruction< diff --git a/clients/js/src/generated/instructions/revoke.ts b/clients/js/src/generated/instructions/revoke.ts index 96d3650..a2872fb 100644 --- a/clients/js/src/generated/instructions/revoke.ts +++ b/clients/js/src/generated/instructions/revoke.ts @@ -8,28 +8,28 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type RevokeInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/setAuthority.ts b/clients/js/src/generated/instructions/setAuthority.ts index 39643d8..c0e30a7 100644 --- a/clients/js/src/generated/instructions/setAuthority.ts +++ b/clients/js/src/generated/instructions/setAuthority.ts @@ -8,21 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - Option, - OptionOrNullable, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getAddressDecoder, getAddressEncoder, @@ -33,14 +18,29 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type Option, + type OptionOrNullable, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; import { - AuthorityType, - AuthorityTypeArgs, getAuthorityTypeDecoder, getAuthorityTypeEncoder, + type AuthorityType, + type AuthorityTypeArgs, } from '../types'; export type SetAuthorityInstruction< diff --git a/clients/js/src/generated/instructions/syncNative.ts b/clients/js/src/generated/instructions/syncNative.ts index 36f6b9f..a18350f 100644 --- a/clients/js/src/generated/instructions/syncNative.ts +++ b/clients/js/src/generated/instructions/syncNative.ts @@ -7,24 +7,24 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type SyncNativeInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/thawAccount.ts b/clients/js/src/generated/instructions/thawAccount.ts index 265edaa..a80ba4a 100644 --- a/clients/js/src/generated/instructions/thawAccount.ts +++ b/clients/js/src/generated/instructions/thawAccount.ts @@ -8,28 +8,28 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type ThawAccountInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/transfer.ts b/clients/js/src/generated/instructions/transfer.ts index 19e674d..c919980 100644 --- a/clients/js/src/generated/instructions/transfer.ts +++ b/clients/js/src/generated/instructions/transfer.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type TransferInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/transferChecked.ts b/clients/js/src/generated/instructions/transferChecked.ts index d854397..bbe46f6 100644 --- a/clients/js/src/generated/instructions/transferChecked.ts +++ b/clients/js/src/generated/instructions/transferChecked.ts @@ -8,19 +8,6 @@ import { AccountRole, - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IAccountSignerMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, - ReadonlySignerAccount, - TransactionSigner, - WritableAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -29,9 +16,22 @@ import { getU8Decoder, getU8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IAccountSignerMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, + type ReadonlySignerAccount, + type TransactionSigner, + type WritableAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type TransferCheckedInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/instructions/uiAmountToAmount.ts b/clients/js/src/generated/instructions/uiAmountToAmount.ts index e6c51d3..73da41e 100644 --- a/clients/js/src/generated/instructions/uiAmountToAmount.ts +++ b/clients/js/src/generated/instructions/uiAmountToAmount.ts @@ -7,15 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - IAccountMeta, - IInstruction, - IInstructionWithAccounts, - IInstructionWithData, - ReadonlyAccount, combineCodec, getStructDecoder, getStructEncoder, @@ -24,9 +15,18 @@ import { getUtf8Decoder, getUtf8Encoder, transformEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type IAccountMeta, + type IInstruction, + type IInstructionWithAccounts, + type IInstructionWithData, + type ReadonlyAccount, } from '@solana/web3.js'; import { TOKEN_2022_PROGRAM_ADDRESS } from '../programs'; -import { ResolvedAccount, getAccountMetaFactory } from '../shared'; +import { getAccountMetaFactory, type ResolvedAccount } from '../shared'; export type UiAmountToAmountInstruction< TProgram extends string = typeof TOKEN_2022_PROGRAM_ADDRESS, diff --git a/clients/js/src/generated/pdas/associatedToken.ts b/clients/js/src/generated/pdas/associatedToken.ts index d837858..c77e267 100644 --- a/clients/js/src/generated/pdas/associatedToken.ts +++ b/clients/js/src/generated/pdas/associatedToken.ts @@ -7,10 +7,10 @@ */ import { - Address, - ProgramDerivedAddress, getAddressEncoder, getProgramDerivedAddress, + type Address, + type ProgramDerivedAddress, } from '@solana/web3.js'; export type AssociatedTokenSeeds = { diff --git a/clients/js/src/generated/programs/associatedToken.ts b/clients/js/src/generated/programs/associatedToken.ts index fc23d3c..5fe5413 100644 --- a/clients/js/src/generated/programs/associatedToken.ts +++ b/clients/js/src/generated/programs/associatedToken.ts @@ -6,11 +6,11 @@ * @see https://github.com/kinobi-so/kinobi */ -import { Address, containsBytes, getU8Encoder } from '@solana/web3.js'; +import { containsBytes, getU8Encoder, type Address } from '@solana/web3.js'; import { - ParsedCreateAssociatedTokenIdempotentInstruction, - ParsedCreateAssociatedTokenInstruction, - ParsedRecoverNestedAssociatedTokenInstruction, + type ParsedCreateAssociatedTokenIdempotentInstruction, + type ParsedCreateAssociatedTokenInstruction, + type ParsedRecoverNestedAssociatedTokenInstruction, } from '../instructions'; export const ASSOCIATED_TOKEN_PROGRAM_ADDRESS = diff --git a/clients/js/src/generated/programs/token2022.ts b/clients/js/src/generated/programs/token2022.ts index 0f69670..9d8713b 100644 --- a/clients/js/src/generated/programs/token2022.ts +++ b/clients/js/src/generated/programs/token2022.ts @@ -6,33 +6,33 @@ * @see https://github.com/kinobi-so/kinobi */ -import { Address, containsBytes, getU8Encoder } from '@solana/web3.js'; +import { containsBytes, getU8Encoder, type Address } from '@solana/web3.js'; import { - ParsedAmountToUiAmountInstruction, - ParsedApproveCheckedInstruction, - ParsedApproveInstruction, - ParsedBurnCheckedInstruction, - ParsedBurnInstruction, - ParsedCloseAccountInstruction, - ParsedFreezeAccountInstruction, - ParsedGetAccountDataSizeInstruction, - ParsedInitializeAccount2Instruction, - ParsedInitializeAccount3Instruction, - ParsedInitializeAccountInstruction, - ParsedInitializeImmutableOwnerInstruction, - ParsedInitializeMint2Instruction, - ParsedInitializeMintInstruction, - ParsedInitializeMultisig2Instruction, - ParsedInitializeMultisigInstruction, - ParsedMintToCheckedInstruction, - ParsedMintToInstruction, - ParsedRevokeInstruction, - ParsedSetAuthorityInstruction, - ParsedSyncNativeInstruction, - ParsedThawAccountInstruction, - ParsedTransferCheckedInstruction, - ParsedTransferInstruction, - ParsedUiAmountToAmountInstruction, + type ParsedAmountToUiAmountInstruction, + type ParsedApproveCheckedInstruction, + type ParsedApproveInstruction, + type ParsedBurnCheckedInstruction, + type ParsedBurnInstruction, + type ParsedCloseAccountInstruction, + type ParsedFreezeAccountInstruction, + type ParsedGetAccountDataSizeInstruction, + type ParsedInitializeAccount2Instruction, + type ParsedInitializeAccount3Instruction, + type ParsedInitializeAccountInstruction, + type ParsedInitializeImmutableOwnerInstruction, + type ParsedInitializeMint2Instruction, + type ParsedInitializeMintInstruction, + type ParsedInitializeMultisig2Instruction, + type ParsedInitializeMultisigInstruction, + type ParsedMintToCheckedInstruction, + type ParsedMintToInstruction, + type ParsedRevokeInstruction, + type ParsedSetAuthorityInstruction, + type ParsedSyncNativeInstruction, + type ParsedThawAccountInstruction, + type ParsedTransferCheckedInstruction, + type ParsedTransferInstruction, + type ParsedUiAmountToAmountInstruction, } from '../instructions'; export const TOKEN_2022_PROGRAM_ADDRESS = diff --git a/clients/js/src/generated/shared/index.ts b/clients/js/src/generated/shared/index.ts index 75fbe89..278bf59 100644 --- a/clients/js/src/generated/shared/index.ts +++ b/clients/js/src/generated/shared/index.ts @@ -8,13 +8,13 @@ import { AccountRole, - Address, - IAccountMeta, - IAccountSignerMeta, - ProgramDerivedAddress, - TransactionSigner, isProgramDerivedAddress, isTransactionSigner as web3JsIsTransactionSigner, + type Address, + type IAccountMeta, + type IAccountSignerMeta, + type ProgramDerivedAddress, + type TransactionSigner, upgradeRoleToSigner, } from '@solana/web3.js'; diff --git a/clients/js/src/generated/types/accountState.ts b/clients/js/src/generated/types/accountState.ts index 4c8f7e3..51f8401 100644 --- a/clients/js/src/generated/types/accountState.ts +++ b/clients/js/src/generated/types/accountState.ts @@ -7,12 +7,12 @@ */ import { - Codec, - Decoder, - Encoder, combineCodec, getEnumDecoder, getEnumEncoder, + type Codec, + type Decoder, + type Encoder, } from '@solana/web3.js'; export enum AccountState { diff --git a/clients/js/src/generated/types/authorityType.ts b/clients/js/src/generated/types/authorityType.ts index 48d786f..5baedc9 100644 --- a/clients/js/src/generated/types/authorityType.ts +++ b/clients/js/src/generated/types/authorityType.ts @@ -7,12 +7,12 @@ */ import { - Codec, - Decoder, - Encoder, combineCodec, getEnumDecoder, getEnumEncoder, + type Codec, + type Decoder, + type Encoder, } from '@solana/web3.js'; export enum AuthorityType { diff --git a/clients/js/src/generated/types/decryptableBalance.ts b/clients/js/src/generated/types/decryptableBalance.ts index ae4c8a1..f10da08 100644 --- a/clients/js/src/generated/types/decryptableBalance.ts +++ b/clients/js/src/generated/types/decryptableBalance.ts @@ -7,15 +7,15 @@ */ import { - Codec, - Decoder, - Encoder, - ReadonlyUint8Array, combineCodec, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, + type Codec, + type Decoder, + type Encoder, + type ReadonlyUint8Array, } from '@solana/web3.js'; /** Authenticated encryption containing an account balance. */ diff --git a/clients/js/src/generated/types/encryptedBalance.ts b/clients/js/src/generated/types/encryptedBalance.ts index 52e9eba..f942a53 100644 --- a/clients/js/src/generated/types/encryptedBalance.ts +++ b/clients/js/src/generated/types/encryptedBalance.ts @@ -7,15 +7,15 @@ */ import { - Codec, - Decoder, - Encoder, - ReadonlyUint8Array, combineCodec, fixDecoderSize, fixEncoderSize, getBytesDecoder, getBytesEncoder, + type Codec, + type Decoder, + type Encoder, + type ReadonlyUint8Array, } from '@solana/web3.js'; /** ElGamal ciphertext containing an account balance. */ diff --git a/clients/js/src/generated/types/extension.ts b/clients/js/src/generated/types/extension.ts index 8cbb7e0..aa5d557 100644 --- a/clients/js/src/generated/types/extension.ts +++ b/clients/js/src/generated/types/extension.ts @@ -7,14 +7,6 @@ */ import { - Address, - Codec, - Decoder, - Encoder, - GetDiscriminatedUnionVariant, - GetDiscriminatedUnionVariantContent, - Option, - OptionOrNullable, addDecoderSizePrefix, addEncoderSizePrefix, combineCodec, @@ -28,6 +20,8 @@ import { getI16Encoder, getMapDecoder, getMapEncoder, + getOptionDecoder, + getOptionEncoder, getStructDecoder, getStructEncoder, getU16Decoder, @@ -40,18 +34,16 @@ import { getUnitEncoder, getUtf8Decoder, getUtf8Encoder, - getZeroableOptionDecoder, - getZeroableOptionEncoder, + type Address, + type Codec, + type Decoder, + type Encoder, + type GetDiscriminatedUnionVariant, + type GetDiscriminatedUnionVariantContent, + type Option, + type OptionOrNullable, } from '@solana/web3.js'; import { - AccountState, - AccountStateArgs, - DecryptableBalance, - DecryptableBalanceArgs, - EncryptedBalance, - EncryptedBalanceArgs, - TransferFee, - TransferFeeArgs, getAccountStateDecoder, getAccountStateEncoder, getDecryptableBalanceDecoder, @@ -60,6 +52,14 @@ import { getEncryptedBalanceEncoder, getTransferFeeDecoder, getTransferFeeEncoder, + type AccountState, + type AccountStateArgs, + type DecryptableBalance, + type DecryptableBalanceArgs, + type EncryptedBalance, + type EncryptedBalanceArgs, + type TransferFee, + type TransferFeeArgs, } from '.'; export type Extension = @@ -503,11 +503,20 @@ export function getExtensionEncoder(): Encoder { 'ConfidentialTransferMint', addEncoderSizePrefix( getStructEncoder([ - ['authority', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'authority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['autoApproveNewAccounts', getBooleanEncoder()], [ 'auditorElgamalPubkey', - getZeroableOptionEncoder(getAddressEncoder()), + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), ], ]), getU16Encoder() @@ -609,7 +618,13 @@ export function getExtensionEncoder(): Encoder { 'ConfidentialTransferFee', addEncoderSizePrefix( getStructEncoder([ - ['authority', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'authority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['elgamalPubkey', getAddressEncoder()], ['harvestToMintEnabled', getBooleanEncoder()], ['withheldAmount', getEncryptedBalanceEncoder()], @@ -628,8 +643,20 @@ export function getExtensionEncoder(): Encoder { 'MetadataPointer', addEncoderSizePrefix( getStructEncoder([ - ['authority', getZeroableOptionEncoder(getAddressEncoder())], - ['metadataAddress', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'authority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], + [ + 'metadataAddress', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ]), getU16Encoder() ), @@ -638,7 +665,13 @@ export function getExtensionEncoder(): Encoder { 'TokenMetadata', addEncoderSizePrefix( getStructEncoder([ - ['updateAuthority', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'updateAuthority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['mint', getAddressEncoder()], ['name', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())], ['symbol', addEncoderSizePrefix(getUtf8Encoder(), getU32Encoder())], @@ -658,8 +691,20 @@ export function getExtensionEncoder(): Encoder { 'GroupPointer', addEncoderSizePrefix( getStructEncoder([ - ['authority', getZeroableOptionEncoder(getAddressEncoder())], - ['groupAddress', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'authority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], + [ + 'groupAddress', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ]), getU16Encoder() ), @@ -668,7 +713,13 @@ export function getExtensionEncoder(): Encoder { 'TokenGroup', addEncoderSizePrefix( getStructEncoder([ - ['updateAuthority', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'updateAuthority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['mint', getAddressEncoder()], ['size', getU32Encoder()], ['maxSize', getU32Encoder()], @@ -680,8 +731,20 @@ export function getExtensionEncoder(): Encoder { 'GroupMemberPointer', addEncoderSizePrefix( getStructEncoder([ - ['authority', getZeroableOptionEncoder(getAddressEncoder())], - ['memberAddress', getZeroableOptionEncoder(getAddressEncoder())], + [ + 'authority', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], + [ + 'memberAddress', + getOptionEncoder(getAddressEncoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ]), getU16Encoder() ), @@ -737,11 +800,20 @@ export function getExtensionDecoder(): Decoder { 'ConfidentialTransferMint', addDecoderSizePrefix( getStructDecoder([ - ['authority', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'authority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['autoApproveNewAccounts', getBooleanDecoder()], [ 'auditorElgamalPubkey', - getZeroableOptionDecoder(getAddressDecoder()), + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), ], ]), getU16Decoder() @@ -843,7 +915,13 @@ export function getExtensionDecoder(): Decoder { 'ConfidentialTransferFee', addDecoderSizePrefix( getStructDecoder([ - ['authority', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'authority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['elgamalPubkey', getAddressDecoder()], ['harvestToMintEnabled', getBooleanDecoder()], ['withheldAmount', getEncryptedBalanceDecoder()], @@ -862,8 +940,20 @@ export function getExtensionDecoder(): Decoder { 'MetadataPointer', addDecoderSizePrefix( getStructDecoder([ - ['authority', getZeroableOptionDecoder(getAddressDecoder())], - ['metadataAddress', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'authority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], + [ + 'metadataAddress', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ]), getU16Decoder() ), @@ -872,7 +962,13 @@ export function getExtensionDecoder(): Decoder { 'TokenMetadata', addDecoderSizePrefix( getStructDecoder([ - ['updateAuthority', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'updateAuthority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['mint', getAddressDecoder()], ['name', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())], ['symbol', addDecoderSizePrefix(getUtf8Decoder(), getU32Decoder())], @@ -892,8 +988,20 @@ export function getExtensionDecoder(): Decoder { 'GroupPointer', addDecoderSizePrefix( getStructDecoder([ - ['authority', getZeroableOptionDecoder(getAddressDecoder())], - ['groupAddress', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'authority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], + [ + 'groupAddress', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ]), getU16Decoder() ), @@ -902,7 +1010,13 @@ export function getExtensionDecoder(): Decoder { 'TokenGroup', addDecoderSizePrefix( getStructDecoder([ - ['updateAuthority', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'updateAuthority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ['mint', getAddressDecoder()], ['size', getU32Decoder()], ['maxSize', getU32Decoder()], @@ -914,8 +1028,20 @@ export function getExtensionDecoder(): Decoder { 'GroupMemberPointer', addDecoderSizePrefix( getStructDecoder([ - ['authority', getZeroableOptionDecoder(getAddressDecoder())], - ['memberAddress', getZeroableOptionDecoder(getAddressDecoder())], + [ + 'authority', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], + [ + 'memberAddress', + getOptionDecoder(getAddressDecoder(), { + prefix: null, + noneValue: 'zeroes', + }), + ], ]), getU16Decoder() ), diff --git a/clients/js/src/generated/types/transferFee.ts b/clients/js/src/generated/types/transferFee.ts index 4ad0b2d..d49b497 100644 --- a/clients/js/src/generated/types/transferFee.ts +++ b/clients/js/src/generated/types/transferFee.ts @@ -7,9 +7,6 @@ */ import { - Codec, - Decoder, - Encoder, combineCodec, getStructDecoder, getStructEncoder, @@ -17,6 +14,9 @@ import { getU16Encoder, getU64Decoder, getU64Encoder, + type Codec, + type Decoder, + type Encoder, } from '@solana/web3.js'; export type TransferFee = { diff --git a/clients/js/tsup.config.ts b/clients/js/tsup.config.ts index 8b1468d..fb77d21 100644 --- a/clients/js/tsup.config.ts +++ b/clients/js/tsup.config.ts @@ -1,11 +1,9 @@ import { env } from 'node:process'; -import path from 'path'; import { defineConfig, Options } from 'tsup'; const SHARED_OPTIONS: Options = { define: { __VERSION__: `"${env.npm_package_version}"` }, entry: ['./src/index.ts'], - inject: [path.resolve(__dirname, 'env-shim.ts')], outDir: './dist/src', outExtension: ({ format }) => ({ js: format === 'cjs' ? '.js' : '.mjs' }), sourcemap: true, diff --git a/package.json b/package.json index 3eac845..7ac195a 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ }, "devDependencies": { "@iarna/toml": "^2.2.5", - "@kinobi-so/renderers-js": "^0.20.2", - "@kinobi-so/renderers-rust": "^0.20.3", - "kinobi": "^0.20.1", - "typescript": "^5.4.2", + "kinobi": "^0.21.0", + "@kinobi-so/renderers-js": "^0.21.0", + "@kinobi-so/renderers-rust": "^0.21.0", + "typescript": "^5.5.2", "zx": "^7.2.3" }, "packageManager": "pnpm@9.1.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 001aff3..7a5e1ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,24 +11,18 @@ importers: '@iarna/toml': specifier: ^2.2.5 version: 2.2.5 - '@kinobi-so/nodes-from-anchor': - specifier: ^0.20.1 - version: 0.20.1 '@kinobi-so/renderers-js': - specifier: ^0.20.2 - version: 0.20.2(fastestsmallesttextencoderdecoder@1.0.22) + specifier: ^0.21.0 + version: 0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) '@kinobi-so/renderers-rust': - specifier: ^0.20.3 - version: 0.20.3(fastestsmallesttextencoderdecoder@1.0.22) - '@metaplex-foundation/shank-js': - specifier: ^0.1.7 - version: 0.1.7 + specifier: ^0.21.0 + version: 0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) kinobi: - specifier: ^0.20.1 - version: 0.20.1 + specifier: ^0.21.0 + version: 0.21.0 typescript: - specifier: ^5.4.2 - version: 5.4.5 + specifier: ^5.5.2 + version: 5.5.3 zx: specifier: ^7.2.3 version: 7.2.3 @@ -38,42 +32,36 @@ packages: '@iarna/toml@2.2.5': resolution: {integrity: sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg==} - '@kinobi-so/errors@0.20.1': - resolution: {integrity: sha512-fXKuaJZpvXSqQmhdxrx8KatS31eFKjyTMTnQ9jkv2h5UQrZzbr6wyWH9ZceM96D8YGw+FopRovu9N1dUILuceA==} + '@kinobi-so/errors@0.21.0': + resolution: {integrity: sha512-7dPK35L/Y01qzekhVHdKAu+lENmHhuwX39rIx3qNJpNPHKi1VCcorLuOJlfT2F9MPPUjv5pZliL5qQ5IsvtNMw==} hasBin: true - '@kinobi-so/node-types@0.20.1': - resolution: {integrity: sha512-xdxJj613WOsS2Vr09uNrmoSkqASkZLhT+CebrMtvhGuCK5ndiHfNjT/7VQYQ7+EbMT9hK76MmVavzyP97uRfkg==} + '@kinobi-so/node-types@0.21.0': + resolution: {integrity: sha512-UmzjocmsLa1pZ/ExVklGRsWQZNoIvifKBuTEAcpdxlDhg6hmrMWoXwWvRrLI5o7v1WKvTucv7KuM+5GU9UhFDw==} - '@kinobi-so/nodes-from-anchor@0.20.1': - resolution: {integrity: sha512-smr5Y3dmYLkt4toOjASRGhnNEZyw0ChbsnU0c6ibwADMRvZtNv5JaV7Rq4p6bBj8rzDtyWqaeV8EkWUJajD5Ng==} + '@kinobi-so/nodes-from-anchor@0.20.9': + resolution: {integrity: sha512-xNlwvJek6Hbfi45Unocwq/lT3rFXhmpZcAZmQJMgdIH8E4iAya9ZQ89j4neRQ+C1KVrK9qFJh0SaJvt9xnJQXA==} - '@kinobi-so/nodes@0.20.1': - resolution: {integrity: sha512-dRX3kfjrcY81pmt7jAhBiEAygLHwTWVST8R20f7zpXyxm7dFWKmUX57litLsjchg7USEQYCcMAve47BVNO9QxQ==} + '@kinobi-so/nodes@0.21.0': + resolution: {integrity: sha512-Z8STFjB3/f9LzK494l6qydkBMsFtnm96YreJjlAg9/DeKNtphimslSvFTF/9qHiGMfOQpOVhQqbWFXpt+PCZiQ==} - '@kinobi-so/renderers-core@0.20.1': - resolution: {integrity: sha512-bhzoGEPHOHIRK1q6CoRYY1pIy+O4PQ5WoBxCiuKaQ6zdQQP58o1AdTPY0Udmyf9swGTRaNKXLu1N0zcUo/G/5A==} + '@kinobi-so/renderers-core@0.20.7': + resolution: {integrity: sha512-KJhU8+UMowO9dDkLhEodAkbRkgSxdfBWeY+DIgOCgXcakt0T140K7OREuaAo9fp12Owf+10SAEGx9AzTNySoHA==} - '@kinobi-so/renderers-js@0.20.2': - resolution: {integrity: sha512-iCPzYoshVOUouV5xllRDc7LGgeslg36Va6ekOvSZDYq9rmDkoUT2swHVDkTun5uy/fdC40dJazpuF8tFfOsAxg==} + '@kinobi-so/renderers-js@0.21.0': + resolution: {integrity: sha512-KjYU9BB8U2O9u2FZD+CIoMHgt6dSqO+cwDGIjCaH/GIsiKU5WDfO2IuBSoDWTO37icSVbzM2NeHyW3+RfUyYDg==} - '@kinobi-so/renderers-rust@0.20.3': - resolution: {integrity: sha512-3BvSU4JfRrye8rNKkUr8VcQCrwee6Tjxoz7Hm3tWtcJJcwJpawe0yizit+kXr1FjHRgOu1yc7HzEaNSooByRsw==} + '@kinobi-so/renderers-rust@0.21.0': + resolution: {integrity: sha512-BLe1SW6XFBhjtZdCc7cuukMWrJTbhCafCCmXryLmjzF7jaiK9nyZZFinHxljSac4HCk2vDn22mHAwOjabaDQ2Q==} - '@kinobi-so/validators@0.20.1': - resolution: {integrity: sha512-rQ/3XPzY/z63nk+4I5g9JO7VAo3L/O8ZRCCgZkOlBRuRsU+kvR+LYPKu1NqRO1scFDU+uu57tUnycDiT0kzDRA==} + '@kinobi-so/validators@0.21.0': + resolution: {integrity: sha512-mpBqgqlto/Wdj6rlf1mqWkyw00rPJw98bkNItXq+ofCEtBsjaMq9lsevCE+IPmfJJYEPFGHGJW4Gb6m/cLmOqw==} - '@kinobi-so/visitors-core@0.20.1': - resolution: {integrity: sha512-jSCniUzty6b0AB+X9tCT52+9ypiJzuVjd39ZlUT7cOFqX4GNCYR5d+XE2N0r6nnn3Fyrwy9wTvm42/4jndKJMg==} + '@kinobi-so/visitors-core@0.21.0': + resolution: {integrity: sha512-m6C/cAy7q7ZAWhByQGo2YnBsbt0qS3Un0lyT4mmPGQt0QFXUDExFipjTvY/NnzZ5lQJ2grvnL04pqLx8V7eiuw==} - '@kinobi-so/visitors@0.20.1': - resolution: {integrity: sha512-lUlB6sCPnMyN6ytRkCxAcEfNBcSRD0Gr3Egd7CJexxrhtg0ngSrBU/BH1m6YuBSt8InuuuFjCdmwbmG3ALDj+w==} - - '@metaplex-foundation/rustbin@0.3.5': - resolution: {integrity: sha512-m0wkRBEQB/8krwMwKBvFugufZtYwMXiGHud2cTDAv+aGXK4M90y0Hx67/wpu+AqqoQfdV8VM9YezUOHKD+Z5kA==} - - '@metaplex-foundation/shank-js@0.1.7': - resolution: {integrity: sha512-tSAipn8Ho1UxlMC3jwJ5Opl+Y3lRm60VTkgRDfvzydb57lXW5G+K5MrZhEmhrFUuRYziV+e34CTo+ybpMp1Eqg==} + '@kinobi-so/visitors@0.21.0': + resolution: {integrity: sha512-gigysLJCfVtNCFkdDMeHGB+1SOvoiQOPUVKxewzOq1wDYVioFmmf4aXfB1GCEslLlMvl63cTJrwvh8bDIZoaSA==} '@noble/hashes@1.4.0': resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} @@ -91,20 +79,27 @@ packages: resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} engines: {node: '>= 8'} - '@solana/codecs-core@2.0.0-preview.2': - resolution: {integrity: sha512-gLhCJXieSCrAU7acUJjbXl+IbGnqovvxQLlimztPoGgfLQ1wFYu+XJswrEVQqknZYK1pgxpxH3rZ+OKFs0ndQg==} + '@solana/codecs-core@2.0.0-preview.4': + resolution: {integrity: sha512-A0VVuDDA5kNKZUinOqHxJQK32aKTucaVbvn31YenGzHX1gPqq+SOnFwgaEY6pq4XEopSmaK16w938ZQS8IvCnw==} + peerDependencies: + typescript: '>=5' - '@solana/codecs-numbers@2.0.0-preview.2': - resolution: {integrity: sha512-aLZnDTf43z4qOnpTcDsUVy1Ci9im1Md8thWipSWbE+WM9ojZAx528oAql+Cv8M8N+6ALKwgVRhPZkto6E59ARw==} + '@solana/codecs-numbers@2.0.0-preview.4': + resolution: {integrity: sha512-Q061rLtMadsO7uxpguT+Z7G4UHnjQ6moVIxAQxR58nLxDPCC7MB1Pk106/Z7NDhDLHTcd18uO6DZ7ajHZEn2XQ==} + peerDependencies: + typescript: '>=5' - '@solana/codecs-strings@2.0.0-preview.2': - resolution: {integrity: sha512-EgBwY+lIaHHgMJIqVOGHfIfpdmmUDNoNO/GAUGeFPf+q0dF+DtwhJPEMShhzh64X2MeCZcmSO6Kinx0Bvmmz2g==} + '@solana/codecs-strings@2.0.0-preview.4': + resolution: {integrity: sha512-YDbsQePRWm+xnrfS64losSGRg8Wb76cjK1K6qfR8LPmdwIC3787x9uW5/E4icl/k+9nwgbIRXZ65lpF+ucZUnw==} peerDependencies: fastestsmallesttextencoderdecoder: ^1.0.22 + typescript: '>=5' - '@solana/errors@2.0.0-preview.2': - resolution: {integrity: sha512-H2DZ1l3iYF5Rp5pPbJpmmtCauWeQXRJapkDg8epQ8BJ7cA2Ut/QEtC3CMmw/iMTcuS6uemFNLcWvlOfoQhvQuA==} + '@solana/errors@2.0.0-preview.4': + resolution: {integrity: sha512-kadtlbRv2LCWr8A9V22On15Us7Nn8BvqNaOB4hXsTB3O0fU40D1ru2l+cReqLcRPij4znqlRzW9Xi0m6J5DIhA==} hasBin: true + peerDependencies: + typescript: '>=5' '@types/fs-extra@11.0.4': resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} @@ -127,10 +122,6 @@ packages: a-sync-waterfall@1.0.1: resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} - ansi-colors@4.1.3: - resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} - engines: {node: '>=6'} - asap@2.0.6: resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} @@ -150,6 +141,10 @@ packages: resolution: {integrity: sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==} engines: {node: '>=18'} + commander@12.1.0: + resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} + engines: {node: '>=18'} + commander@5.1.0: resolution: {integrity: sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==} engines: {node: '>= 6'} @@ -158,15 +153,6 @@ packages: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} - debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - define-data-property@1.1.4: resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} engines: {node: '>= 0.4'} @@ -290,8 +276,8 @@ packages: jsonify@0.0.1: resolution: {integrity: sha512-2/Ki0GcmuqSrgFyelQq9M05y7PS0mEwuIzrf3f1fPqkVDVRvZrPZtVSMHxdgo8Aq0sxAOb/cr2aqqA3LeWHVPg==} - kinobi@0.20.1: - resolution: {integrity: sha512-oA/X2Q9yP2ZVt49dI9wvfVVoRGdyX6cHcd0Pm9QOInO7I5tCt8VS46fXw+sWxxkDzRFPVrKBJ11pE+K7tvIX4w==} + kinobi@0.21.0: + resolution: {integrity: sha512-T71VNh4yS8uSvtNp1FEWhJGygW5/8O82SAlFRlPYsWiwqWH9X3eZwwUthBVH7dfazqs8GLia0rAMEmUP99iwLw==} map-stream@0.1.0: resolution: {integrity: sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g==} @@ -307,9 +293,6 @@ packages: minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - node-domexception@1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} @@ -343,8 +326,8 @@ packages: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} - prettier@3.2.5: - resolution: {integrity: sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==} + prettier@3.3.3: + resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==} engines: {node: '>=14'} hasBin: true @@ -363,11 +346,6 @@ packages: run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - semver@7.6.1: - resolution: {integrity: sha512-f/vbBsu+fOiYt+lmwZV0rVwJScl46HppnOA1ZvIuBWKOTlllpyJ3bfVax76/OrhCH38dyxoDIA8K7uB963IYgA==} - engines: {node: '>=10'} - hasBin: true - set-function-length@1.2.2: resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} engines: {node: '>= 0.4'} @@ -382,9 +360,6 @@ packages: stream-combiner@0.0.4: resolution: {integrity: sha512-rT00SPnTVyRsaSz5zgSPma/aHSOic5U1prhYdRy5HS2kTZviFpmDgzilbtsJsxiroqACmayynDN/9VzIbX5DOw==} - text-table@0.2.0: - resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} - through@2.3.8: resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} @@ -392,11 +367,8 @@ packages: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - toml@3.0.0: - resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} - - typescript@5.4.5: - resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==} + typescript@5.5.3: + resolution: {integrity: sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==} engines: {node: '>=14.17'} hasBin: true @@ -434,91 +406,77 @@ snapshots: '@iarna/toml@2.2.5': {} - '@kinobi-so/errors@0.20.1': + '@kinobi-so/errors@0.21.0': dependencies: - '@kinobi-so/node-types': 0.20.1 + '@kinobi-so/node-types': 0.21.0 chalk: 5.3.0 commander: 12.0.0 - '@kinobi-so/node-types@0.20.1': {} + '@kinobi-so/node-types@0.21.0': {} - '@kinobi-so/nodes-from-anchor@0.20.1': + '@kinobi-so/nodes-from-anchor@0.20.9': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/visitors': 0.20.1 + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/visitors': 0.21.0 '@noble/hashes': 1.4.0 - '@kinobi-so/nodes@0.20.1': + '@kinobi-so/nodes@0.21.0': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/node-types': 0.20.1 + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/node-types': 0.21.0 - '@kinobi-so/renderers-core@0.20.1': + '@kinobi-so/renderers-core@0.20.7': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/visitors-core': 0.20.1 + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/visitors-core': 0.21.0 - '@kinobi-so/renderers-js@0.20.2(fastestsmallesttextencoderdecoder@1.0.22)': + '@kinobi-so/renderers-js@0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/renderers-core': 0.20.1 - '@kinobi-so/visitors-core': 0.20.1 - '@solana/codecs-strings': 2.0.0-preview.2(fastestsmallesttextencoderdecoder@1.0.22) + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/nodes-from-anchor': 0.20.9 + '@kinobi-so/renderers-core': 0.20.7 + '@kinobi-so/visitors-core': 0.21.0 + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) nunjucks: 3.2.4 - prettier: 3.2.5 + prettier: 3.3.3 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder + - typescript - '@kinobi-so/renderers-rust@0.20.3(fastestsmallesttextencoderdecoder@1.0.22)': + '@kinobi-so/renderers-rust@0.21.0(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/renderers-core': 0.20.1 - '@kinobi-so/visitors-core': 0.20.1 - '@solana/codecs-strings': 2.0.0-preview.2(fastestsmallesttextencoderdecoder@1.0.22) + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/renderers-core': 0.20.7 + '@kinobi-so/visitors-core': 0.21.0 + '@solana/codecs-strings': 2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3) nunjucks: 3.2.4 transitivePeerDependencies: - chokidar - fastestsmallesttextencoderdecoder + - typescript - '@kinobi-so/validators@0.20.1': + '@kinobi-so/validators@0.21.0': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/visitors-core': 0.20.1 + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/visitors-core': 0.21.0 - '@kinobi-so/visitors-core@0.20.1': + '@kinobi-so/visitors-core@0.21.0': dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 json-stable-stringify: 1.1.1 - '@kinobi-so/visitors@0.20.1': - dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/visitors-core': 0.20.1 - - '@metaplex-foundation/rustbin@0.3.5': - dependencies: - debug: 4.3.4 - semver: 7.6.1 - text-table: 0.2.0 - toml: 3.0.0 - transitivePeerDependencies: - - supports-color - - '@metaplex-foundation/shank-js@0.1.7': + '@kinobi-so/visitors@0.21.0': dependencies: - '@metaplex-foundation/rustbin': 0.3.5 - ansi-colors: 4.1.3 - debug: 4.3.4 - transitivePeerDependencies: - - supports-color + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/visitors-core': 0.21.0 '@noble/hashes@1.4.0': {} @@ -534,26 +492,30 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@solana/codecs-core@2.0.0-preview.2': + '@solana/codecs-core@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/errors': 2.0.0-preview.2 + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/codecs-numbers@2.0.0-preview.2': + '@solana/codecs-numbers@2.0.0-preview.4(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.2 - '@solana/errors': 2.0.0-preview.2 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) + typescript: 5.5.3 - '@solana/codecs-strings@2.0.0-preview.2(fastestsmallesttextencoderdecoder@1.0.22)': + '@solana/codecs-strings@2.0.0-preview.4(fastestsmallesttextencoderdecoder@1.0.22)(typescript@5.5.3)': dependencies: - '@solana/codecs-core': 2.0.0-preview.2 - '@solana/codecs-numbers': 2.0.0-preview.2 - '@solana/errors': 2.0.0-preview.2 + '@solana/codecs-core': 2.0.0-preview.4(typescript@5.5.3) + '@solana/codecs-numbers': 2.0.0-preview.4(typescript@5.5.3) + '@solana/errors': 2.0.0-preview.4(typescript@5.5.3) fastestsmallesttextencoderdecoder: 1.0.22 + typescript: 5.5.3 - '@solana/errors@2.0.0-preview.2': + '@solana/errors@2.0.0-preview.4(typescript@5.5.3)': dependencies: chalk: 5.3.0 - commander: 12.0.0 + commander: 12.1.0 + typescript: 5.5.3 '@types/fs-extra@11.0.4': dependencies: @@ -576,8 +538,6 @@ snapshots: a-sync-waterfall@1.0.1: {} - ansi-colors@4.1.3: {} - asap@2.0.6: {} braces@3.0.2: @@ -596,14 +556,12 @@ snapshots: commander@12.0.0: {} + commander@12.1.0: {} + commander@5.1.0: {} data-uri-to-buffer@4.0.1: {} - debug@4.3.4: - dependencies: - ms: 2.1.2 - define-data-property@1.1.4: dependencies: es-define-property: 1.0.0 @@ -738,12 +696,12 @@ snapshots: jsonify@0.0.1: {} - kinobi@0.20.1: + kinobi@0.21.0: dependencies: - '@kinobi-so/errors': 0.20.1 - '@kinobi-so/nodes': 0.20.1 - '@kinobi-so/validators': 0.20.1 - '@kinobi-so/visitors': 0.20.1 + '@kinobi-so/errors': 0.21.0 + '@kinobi-so/nodes': 0.21.0 + '@kinobi-so/validators': 0.21.0 + '@kinobi-so/visitors': 0.21.0 map-stream@0.1.0: {} @@ -756,8 +714,6 @@ snapshots: minimist@1.2.8: {} - ms@2.1.2: {} - node-domexception@1.0.0: {} node-fetch@3.3.1: @@ -782,7 +738,7 @@ snapshots: picomatch@2.3.1: {} - prettier@3.2.5: {} + prettier@3.3.3: {} ps-tree@1.2.0: dependencies: @@ -796,8 +752,6 @@ snapshots: dependencies: queue-microtask: 1.2.3 - semver@7.6.1: {} - set-function-length@1.2.2: dependencies: define-data-property: 1.1.4 @@ -817,17 +771,13 @@ snapshots: dependencies: duplexer: 0.1.2 - text-table@0.2.0: {} - through@2.3.8: {} to-regex-range@5.0.1: dependencies: is-number: 7.0.0 - toml@3.0.0: {} - - typescript@5.4.5: {} + typescript@5.5.3: {} undici-types@5.26.5: {}