{"_id":"@convergence-rfq/solita","_rev":"16-121e85296800b4b0fc063fdbba3acf24","name":"@convergence-rfq/solita","dist-tags":{"latest":"0.16.0"},"versions":{"0.15.3":{"name":"@convergence-rfq/solita","version":"0.15.3","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.3","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"cd36c75969491a262268b67b39b8e98967ffb4b1","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.3.tgz","fileCount":72,"integrity":"sha512-4vjEkgo3ddld3v9BlfSuPFd8BF6RKZ4a2QweU35TPJVSC8J7La7Mh1ibtmYXx7GztYaAXYR8MFkalWVmdRgnIA==","signatures":[{"sig":"MEUCICgHhJljBPVZvMWd1bwk0LOw5j9cStnLsjspWmwFJbl0AiEA9QCLuEGarsYbZx6a9nLF5iAX8ZwDYUTX3ULyTW6icmg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjypVmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTjg/+Io49P3rsVE6pZZ1oYU5AOP+7EmZFi2Or/pjTHOA+Ijt719Yu\r\nOk4QXb+MT9XzTC/tEcLYVMZ4S7W2GVO3+sVTLkCLVy0PL92EwmipLupsJAnv\r\nCmy2Ef2mHnV13tHrD/KWcu2Di92paXyZeFdJTcBxk8STKoCWaEmxPGo9rr4b\r\nrhOUtMw49AIdc7hetr/mmSSQSxtcX9H61p5lgkbgbzhVeR00MVcmAeOT9uat\r\nyrofIpdlHr7TrXV4fUGSHJCwTwF8CP27+C1c29EyW9qq7EySqE4AYUqlqUkz\r\n9ktoBRm03ni5VNVzhbLfV5IbKSGBDRiD5DlAhHcMaARVlnGYr97G9AnS5XaK\r\npzwqWiMfdcZvFb6IDc8k5J7of11qgZt1IUqjvM4S7G0iiaSoQPvJP/ug04V6\r\nVK+vzGVokl4PtFT3398TxSQyFo+vkjpz6l2vXyXHvfDzkGz6ubIxSNtDR59x\r\nIJR44atGGrty2baxsKY30Vvik2VOb9X8IOk4s/PjvfHbalA8jy6Tv+bdRP8F\r\niPyGl/cDztH5YbTAVyq1zrrpvLy+csGiQwzaqmcPksx2ZSuu1CptStQrHrrd\r\nJE41SYQhzny5OqBEj07/9E/xqYJgzs/9QizGr+lbKAhAziKP1hZHtT5QhrM9\r\noqOCAxJm48shq14ST/n9/6OqIhGkUsia2oI=\r\n=hTec\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"caa39d750981d8d30d5a4feb57dbfb555fc8efab","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"=0.7.3","@convergence-rfq/beet-solana":"=0.4.2","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.3_1674220902582_0.28720126357490106","host":"s3://npm-registry-packages"}},"0.15.4":{"name":"@convergence-rfq/solita","version":"0.15.4","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.4","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"6f655f134f49fc523a0df47cedaf8a64490234e7","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.4.tgz","fileCount":72,"integrity":"sha512-s6Jam3/OmxjbpT8N4KozW+PBWMQ18eCkh/rG5+m6ypXteihB3nqlHedtWAfdWYJ4s2Q+a1BeedqBSZaonbxbHA==","signatures":[{"sig":"MEUCIQDN70IzA4tep1LRdG2lgKE18YyY7le7xvexGHfKGJH9egIgKbTGowPAEO0feVOyNsbysOAoimHuhbVl2m0bb12Vtzo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjypeBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrS8A//TvC9A9PZEj0JirfOL+7xTo6V9cPq7qMlMUSHBXCjhk9Ipiaz\r\nnEI2lU/kBTlmCQq3Jtn2SGtXb72JFTDzv/YOZ0CUEGkqV3GTI61QGEB2IoZ+\r\na2GXI7B2jhJaLknTea5IvtujH4uOPowEBYqPH3bLvhQMnzdz7LlcRnq50hgn\r\nQpIpUcHVTHS4ZXiF4xD4pMvzvVxbPaVf2fnlmXOmEuK7RrTyXYnrmiwwWGsX\r\nGKex6hNH+Lmb6tQHf5VpH71k9gRCHW9Z7hD5Gk5fYF11bnp3EYCE/+2VudJl\r\nC5WiYVSdoJEQ8KdCoTFBH8wbFbvlPGdIMBVlWu6j/+OErGKcTErhvetl+WjM\r\n7t8cU5uTvYisslFL299WPf2SHpuAwrlFR8RA7PuvCzs6XlmhcAAagfAe+5BZ\r\nUGF5Q9y3VGukfFaD2U1abPcrc0s8Lwq5G8lTg+dfZLrPape8nfwl0P71k9Xp\r\nH2BowRgRJQo/Ekeg71Gyg0YJVi9JcTlDV1oUA9BeK/i7teXY2EF/bW2UDwTr\r\nj9yyiyhDD2AsF35Pwxs90HdxKTpqCmJ+Vhr+yHfAhgBYG6Hi+dPeIIeLxcr0\r\nGCYusrJb5C7otDmXd9b3HQvRc8XCn1XmyBiTDWaOtFD+c/xgYJoxYapXI1ZF\r\nSIm7OFQvHJYJ2hDtQCahCplHDntjq9Wmyy8=\r\n=GnP9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"abadee64efce8959f88c8a7df95c1072b51b4845","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"^0.7.4","@convergence-rfq/beet-solana":"^0.4.3","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.4_1674221440888_0.7914654769714291","host":"s3://npm-registry-packages"}},"0.15.5":{"name":"@convergence-rfq/solita","version":"0.15.5","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.5","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"f5d64ccabf99b82b10d2358eb49e3986f121f88d","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.5.tgz","fileCount":72,"integrity":"sha512-T9AOS8kPuRNlVSYHPRqprSxw2hf5ZRzspiQ3xMPEdWqZ5givKrJpOw6TsPXKx4gVyCAQatd14usiaJZgCZKUSA==","signatures":[{"sig":"MEYCIQCrCfrZwwk6YGG5AVgXg+sOQ17e2SvGQjfjnlAThmzcpQIhAO4ziB2DkS//o1NmbYXCRZ8hUI9b099pouCIpbFo/85y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjypl7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoRgRAAj5cRzuSHY6Fn5zb+JTxKUoRkf0TivXSu9KNVCo38rsb5RsJd\r\nQ8mOqiAR4CHfgOZi3BM7V7TidOT7xMim0SHrimUVJs9IXpnrnQ3P0gkLTM4q\r\n5C+FOURhC03mSgU1ZxU/s92em7WVxrowg6EEzBNIdAYBBDaockyQLkUyArLA\r\nhFHwb6ZtORc1VN/shBbm6gH/RkC/Ozg5a5xtd+w/cvh4VZR6KlOUQnFUF1oK\r\nWNh3G1iplwHcF1FzBkdr7FcMfqzf/xKksYMnB2bebAC1+WWggvSmGrqTYzUI\r\nEcUyoIXtJ1IeylBmEG27z3RFFmmGZrt/qoTGJBgc7Bi2aJxNZJST4U8LHsku\r\nHT+1KAPrnH6zKKxbVhJI9ux9dkA+Ds/Gy4Ph6b8o/SjQOvqZZhC53ordjUxk\r\ntmdq/xbrWV1RbdjuW06UHZgJR8EVQwJk2+jfQAcG4Y3eCmZlgCAZmSG1SeDq\r\nz5HVIb0t0k7dL1BQHT8xaeuXir6rbZ2VlFcfMenj3SmJHDyjd55beUh9R0X9\r\nMqriEMArRKRWSZpuM8AepBEz4DCfaIe9b6KIe3MQHhk7wgNqfqZO6DQQH407\r\nRVaVvWBIPyxrTX51kg7bFq7EqrY+OX0VEoNCWQnH4hc4h4GfChQ0pxWdAZw9\r\nbSgFTI/iHreJZ+aiGH+j9jk1cqEWBoGqvGA=\r\n=zABB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"ba549d34f1ddab70dfbdb6e9b484bdcf357c806f","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"^0.7.5","@convergence-rfq/beet-solana":"^0.4.4","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.5_1674221947165_0.1279980232840483","host":"s3://npm-registry-packages"}},"0.15.6":{"name":"@convergence-rfq/solita","version":"0.15.6","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.6","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"8f0b7c550d64902f82827531e1a23e1d7aec1bcd","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.6.tgz","fileCount":72,"integrity":"sha512-ckz0QzQPR/cfKUqpiXMyomlEObTZPkY6O//vuQkz8omBM5DMujDq1uiTjTy7pHbTvRC6uvD8wDKrlX1mF6X77Q==","signatures":[{"sig":"MEUCIGmEKTyjY0Iz7GqsT4rVQXVP1lb4km/OySzoKDdHufxDAiEAoJjl1mAxAC+tQ3H18O7jIo4WWJvRUfjXrl2KDfzMSXU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj1/ozACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIPhAAk+y2dtoSq32k9hev4ukBoZra8xwfiSvXzLKtsScTic9Mt1t4\r\nHrzChZE9VD5IAxm9QromDzZxG+65czCQNdbOI1HZj6Q+k+Sfi+CWzLWO1OmV\r\nDfpkE2My961Y+JXyQXSOiDJSxw1ESK2MrJt8jXTTX3onHYXxJ/LEk5hB0Wgk\r\n6WgnKnm8rqbyXhpe1XYcrEjwXPurGz50YPKOeUlBWVVy2KdJCiDAhMPg+4yf\r\nqEjxdQ0y58NghzYXBDf87Q0l2+nM0UQ3TI//h/CHOT/+PU840WP18LbLhyaG\r\nr5UiLvzK5AdNtA7MWwPEcW4mV25zlGfqVddG7BshrLRoOStTm1GuMcjGhlbR\r\nn/249kv/s0mUQcM1P8qNMwC6g1AEaSr3S9KMSZySHfPOD4VsY8993RrL7met\r\n4B45fcKSM1/CV97i1zaihv/ttm+ffqlB1XO32CNFvKcUDJenSMaGVigcR/dB\r\nAKA+JxEUHbceOgqswUBTZGHcnFW/sK5p4eK4JSdQnBbOiHv0ZFEpJq/VCPLj\r\nymVcu43ZgorC1ODFD3LYHLJldYtx/s92s4cVrpKpAEO3jSYKdp2ma4nOLOGp\r\n7yrZ/zwow1X7Gkksu10SWZ8A0V9U8GUgdIwPzIBHnBb2Uw61FrS70hQwLVGK\r\nLqAevAvAXhclx1/3jWsDTKUeQWoeWakFmV4=\r\n=4HYJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"9c8adb7b143468a1bfcf357002be0190ce3f5e9b","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"=0.7.6","@convergence-rfq/beet-solana":"=0.4.5","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.6_1675098675762_0.0754896657725963","host":"s3://npm-registry-packages"}},"0.15.7":{"name":"@convergence-rfq/solita","version":"0.15.7","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.7","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"ba9e9a57657351f5ef693c65552362beec96e608","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.7.tgz","fileCount":72,"integrity":"sha512-jQHwUYmHugj5weArSBMQ4vTK7vtwOroQ/f/701OK9pSUtQpx+PigMGvHtm/sbeFJplVv76n1t+WCZAKNygXr6g==","signatures":[{"sig":"MEYCIQDbdWuuA4YBtpd+v6aGndGcedlm9Sdy3BCtK1OQNVO5xAIhAJEjHrtpoLDYBEYRKUxAHANe9X0V9pr2mhWiQmS7Qv/7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2BA7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrdaw/9Gu0X0VHbrPAV2hPAWpB9bfugIj7Pdzr/FgfPLA58ycra+fqZ\r\nHks733saM9YfGqeTB9gdnm+m4HB8i65pwguCT3rodbVILhNVZNETbeIMI58U\r\nxPgcZyPhuCdoul0T2K7KXmcLN974S50GGXotJuqhgYiYBZ3T/N0uXh7/qyX5\r\n0j8AJrOM/8gW7p2D48RcrSYYUsVoUcg3ugomS5PWBpJ4zNnw8RIPG8f4YPYi\r\nsgRP0xX+YwNUeJU8GO7n6SYfM5kIpXJXN5CZl8WNJbBoc+CcKibRc/AmiIOK\r\ndqf+BoKBlNN/5aFL8fdJXaj1A3o4wjn4znjIWH1lx4umOFchNWR36oCD+Nnq\r\nrdW8WNPyDxQSDiwtsvzBkASWQS0ICiqz+f5tCTBin/LlwX39upM6XJrysv1T\r\nxfx21wINM7AjSiVQE5I1tmzoo9++F6YaOMgLZ2fIQRvpQt6qrESMdxair8A0\r\n8TvZ6cNXaii62As9NZDFp6F9pnWVNU9LMbCGgUt9nUw0uGXc4Flvz5c3AZ2s\r\njy02A3mfhhuNeOUtcFZWeKRGYwoLhRKYukq1XyFdi/l+LGz8OurW8K3Lz8ZY\r\ngix9xm2CE3QLbGawf4g2euHefqx3R3TQgkpr1Qfok8lwYlbAjh/dA2d5xSci\r\nMqQaDxCimpLAtz1jKTkyRTqzcf8FBuE3jqE=\r\n=Not4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"9c8adb7b143468a1bfcf357002be0190ce3f5e9b","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"=0.7.7","@convergence-rfq/beet-solana":"=0.4.6","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.7_1675104315598_0.06324962729852146","host":"s3://npm-registry-packages"}},"0.15.8":{"name":"@convergence-rfq/solita","version":"0.15.8","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.8","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"ce56de5d27a8da85c6b71fbba7400419c5d39687","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.8.tgz","fileCount":72,"integrity":"sha512-tjx/lksT0atB34XjxPB78brcPTPtkG+g5FaVlE7cIjiz01PTQU2wVkk/XG3tDQrhGJVaddummOZXPPNNon020A==","signatures":[{"sig":"MEUCICVFNU0mkCOQUkX1J/TW7jCLFsMIgYfey9YuNyIa+tZkAiEAmLaOeJV2ov1yhgxWOtpo2T3mGAkNjR7LblElGs4YLnY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2ChDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTaQ/9EAJpbS8x6U7JdtTDidH4v84q9uEdE6rVghZCe8F/KKADRQtS\r\n/FRqol/0qyIB4KquqofQpaJeAxyPD0MuqqulIFR3sO0iv/3elGdfIUbFAJh5\r\nzTc1GKSK5dqBH4OmDaTXjahdcNRcdQYyzVV7k4LinEBVau6ZRG7WXE/hwkzf\r\n+R5XZr33nIfWb8gSstZjE++fx+4oTZWkWeJiYtY6tDaHxZ4z9E3AeKSl73r6\r\njSGBz04/UeNyMooLoFMJ05Oky7c7pfq4gJKPijb21xwD+XVaJonlvKUgrJ8W\r\n8RK2pCr97N07XPgNiRZeNSwtBaNy1KSveyR0EHu1b69LUKNGTGepYnfASxmT\r\nf9rQIeRfXTEACKQ9Mp8uu1SMwnEhl/Nc7Pc92WA2aVlN6ZQ9IjQVNMbsuhZj\r\nqc7jyzoO3UNIkVICk8ThD2n+ou9BUGG/HGgad64vV6Djmthd1AOjqCZ9sSAc\r\nD7X94JZZfebLpVlmg56NebE4B36snQDUcJ4skLeaxAQ4Mlw9AdLlab/8mxOx\r\n5TPl89cnTaDmxPSjuHCF36WIwUsXEbZUy2edqfyFKFD/WZhUU9+uMTh/SVFu\r\nVHIs+pVO5XIzHNoW9E67cmXbxlpr2T/hIFj+aYu6t5UK2liTsSFU0h8DSoCs\r\nUt5p+ME3+Ii66RdcGnEvzrnEKEB84QjnrkU=\r\n=TVan\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"67c51a3488a867da06cfbd518d6b12554fa3e9a9","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"=0.7.8","@convergence-rfq/beet-solana":"=0.4.7","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.8_1675110466955_0.8249810998077771","host":"s3://npm-registry-packages"}},"0.15.9":{"name":"@convergence-rfq/solita","version":"0.15.9","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.9","maintainers":[{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"8cd17b33b26dbf06ef4f2660445d7bdc154358e6","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.9.tgz","fileCount":72,"integrity":"sha512-SGK+mlE+OprSirgTBd15xFQgXk6coxbw1GjZSKHaUVqir8D0dp7rcBwdZLPq7uk1lbevDH2LmRBo9J8TG0Xg1w==","signatures":[{"sig":"MEYCIQCqIcE9680Gn9jI4nnFIfEE9PzzvDiFC7ZEJJ9SU48f9wIhAJCo6BZq0R6Hh3rW1N5ptLnMs9x/RMiByvAEaKie6fJV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2Sr2ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq9bA/8DtL4okBi5d5iVkB6+TVINMdZQDNnZqHWdDt6HZPWS3uANQam\r\nmSbLcUbYO1IdWRlCAK8OTEgh7H5pLD5wYnloVC1YhjKu33QPIP2dOIiHQgAi\r\nVUSQYCUAhWrBIUHcjegu+e7c5ccvjnIeBur4hpO7B0N9TwoYlX1rY+L8TDaD\r\nJPwYZnqewuV/w9dGVRGhXAacfeXD47urQ/V1Jg9X2aUfSJXPijNJljfPb6kG\r\nyjrErg0ywg5oIb06SVDr48nOKutAWf9S3gq3FORyAN5xCWMaqwDpsn7sdyGr\r\nUxyPQYiPIsSoMtUolo5BIfo/rv56tcmezyMdm5UkMVWKtXFPXdrLiDLn+Sv1\r\nXTcvLmb1N9JA0QzmdWFEbBoF3XKBW/zHChQWMy5SXfPVLyiQd9c4mxCcxE/x\r\nLDeplahM7GuImIYbfd7VmHr0zV0McHy2gpSLe/dH3IweoyRKG5BoFkDcAZ0A\r\nDPlp+p85zHyoGK6lzukPMDLrhTgLhOBBX87SQ4rE8uzYz8qJRiqH03rZX24d\r\np4HJdRw4ZaXmKrU+JllgEurMHW3RlSYCWjzDfVeQbxi5AHx8swfsTiPwaIXP\r\nmZxBlLsyWNtRCiQGpRVt1KS/Yx9BgB743GXbn6Te8rQDfY1A1bnrAT1M4ipF\r\nmN/yRREksbiLOYG0GEPk95STFc3h8poo8Ck=\r\n=YiwP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"f5a7057c90677cd748a85ecee4137eb8331b2a08","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"=0.7.9","@convergence-rfq/beet-solana":"=0.4.9","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.9_1675176694051_0.023769055841452058","host":"s3://npm-registry-packages"}},"0.15.10":{"name":"@convergence-rfq/solita","version":"0.15.10","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.15.10","maintainers":[{"name":"andyb456","email":"andrew@tradersguild.so"},{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"6a00ffcf9b656b7b0596cf7a6330c8875baca92f","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.15.10.tgz","fileCount":72,"integrity":"sha512-Owy51H0uXDONeX6IEuCblKvO9Jsw6RLr7aoJwMvewGv2t4qJfjZ30NAyqYuo/r+lpbadqZXpS26zUBGVb4XaDw==","signatures":[{"sig":"MEUCID0Z8XbF6wDxKOh6EjPY/cqno/qXCCAKmDzbrknv9aLjAiEApubC4/eku/IsKBZEqHGpU+9ketL7WSN73jE/DDYMc00=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":246050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2V7QACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrqjBAAiJnoDJSuQf/jmqVKMVamvPy5JwnQTyypOz1Vj1MFoOrUHqmZ\r\nxny8gtqoTiQGwxZoFhaOIlRBf0m5Re2kC7u0uN8uZFgYR6jvfbBB0G4uFmbw\r\nGjRaXVky72hU0qYngu1pDI+r3mIkBJKEIKkTHHTBGcLHOdf3lvzMgyHTDD1B\r\nF50ha5jCks5WzLD7IS5UnVOxdeGbCaC+HjdvWafU9d2hEUL4T/m0v3UietXi\r\n6/Nou0eABJuS7yovVo9FhOiJsXP6LduSQJWYVJDTtKB8MVuWGOmSRv992qVb\r\nCvxiugYUjrOLJraabJzdFevOYtRwwlw943OkwQuuaaCEu2PkySeNBWpNIUCh\r\nYzAwIqVCUxAfHDHtKBEoaLY15ZUrZprN1tHqv9B+Gc5DKem7YxyHTDx52iso\r\nPynsLdDrccfdy9yGAoMY3IzGmRxMh21g4stZ56a7tFEOBS5cEM3vlfSgcm3z\r\ni3+DaGlv4HDPhg0zBIbAYhjePgzQLScoZX30iLUXGcuAW5YPvA8zs13MV+hF\r\nDfh+NgtIcVCiyL73aDBMxO+AQ/7Rgi/tGgrSzjx0C8orcJZeeit+SYeO8Jl/\r\n7IPNpZtcV5GDfmXWKe1hwebWCGWpBObngld81QvUDdhQpqQGjU++2c812nce\r\nKbKkrQ2QdQeoN701EKHWFSJwkjIePcrIB0Q=\r\n=2B+u\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"3bc8990e9ddd8675a24f87e8deea32fc057e04c8","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"pindaroso","email":"brandon@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"18.13.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"^0.7.10","@convergence-rfq/beet-solana":"^0.4.11","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","recursive-readdir":"^2.2.2","@project-serum/anchor":"^0.19.1-beta.1","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.15.10_1675189968065_0.012890144312839746","host":"s3://npm-registry-packages"}},"0.16.0":{"name":"@convergence-rfq/solita","version":"0.16.0","keywords":["solana","blockchain","IDL","API"],"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","_id":"@convergence-rfq/solita@0.16.0","maintainers":[{"name":"yaroslav_tradersguild","email":"yaroslav@tradersguild.so"},{"name":"daneo","email":"npm@danewilson.me"},{"name":"nagaprasad246","email":"nagaprasad@tradersguild.so"},{"name":"uweconvergence","email":"uwe@tradersguild.so"},{"name":"impossiblepairs","email":"tim@tradersguild.so"},{"name":"pindaroso","email":"brandon@tradersguild.so"}],"homepage":"https://github.com/metaplex-foundation/solita#readme","bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"bin":{"solita":"dist/src/cli/solita.js"},"dist":{"shasum":"db30fe6e6ec1f048368da88a34123e8775a1768e","tarball":"https://registry.npmjs.org/@convergence-rfq/solita/-/solita-0.16.0.tgz","fileCount":72,"integrity":"sha512-P3HcjI+lmEy2wNgMfe6rEU8cQwceLHpbF7I5IpSF3jAG0KdDBOWHf3+AIdQOuxm2jk397nAWi2+yNQ3Mh9PlAQ==","signatures":[{"sig":"MEYCIQCyd3T4AKYr5e41fUoK9RMNZyr+r8Gitt3J0jjvXltOcwIhANQwIfCNkuaJPCJPAtTDzOzwKbDP6yKOEfw6umRn/c2Z","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":251934},"main":"dist/src/solita.js","types":"dist/src/solita.d.ts","gitHead":"f204c0f0a18c092744d6f4ae0ec83281e69e2ba8","private":false,"scripts":{"doc":"rimraf ./docs && typedoc","lint":"prettier -c ./src/","test":"yarn test:unit && yarn test:integration && yarn test:anchor:basic0 && yarn test:anchor:basic1 && yarn test:anchor:basic2 && yarn test:anchor:basic3","build":"rimraf dist && tsc -p tsconfig.json","doctoc":"doctoc README.md","lint:fix":"prettier --format ./src","test:unit":"tape dist/test/*.js","doc:update":"./sh/update-docs","preversion":"yarn check:publish-ready","postpublish":"git push origin && git push origin --tags","prepublishOnly":"yarn check:publish-ready","test:integration":"tape dist/test/integration/*.js","test:anchor:basic0":"cd ./test/anchor-examples/basic-0 && yarn test","test:anchor:basic1":"cd ./test/anchor-examples/basic-1 && yarn test","test:anchor:basic2":"cd ./test/anchor-examples/basic-2 && yarn test","test:anchor:basic3":"cd ./test/anchor-examples/basic-3 && yarn test","test:anchor:basic4":"cd ./test/anchor-examples/basic-4 && yarn test","check:publish-ready":"yarn build && if test \"$SKIP_TESTS\" = \"1\" ; then echo \"WARN: Skipping Tests\"; else yarn test; fi"},"_npmUser":{"name":"yaroslav_tradersguild","email":"yaroslav@tradersguild.so"},"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"_npmVersion":"8.19.3","description":"Generates SDK API from solana contract IDL.","directories":{"dist":"./dist/"},"_nodeVersion":"19.2.0","dependencies":{"spok":"^1.4.3","debug":"^4.3.3","prettier":"^2.5.1","camelcase":"^6.2.1","js-sha256":"^0.9.0","snake-case":"^3.0.4","@solana/web3.js":"^1.56.2","@convergence-rfq/beet":"=0.7.9","@convergence-rfq/beet-solana":"=0.4.9","@metaplex-foundation/rustbin":"^0.3.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"spok":"^1.4.3","tape":"^5.3.2","doctoc":"^2.1.0","eslint":"^8.6.0","rimraf":"^3.0.2","esbuild":"^0.14.11","pkg-dir":"^5.0.0","typedoc":"^0.23.11","typescript":"^4.8.2","@types/node":"^16.11.12","@types/tape":"^4.13.2","@types/debug":"^4.1.7","@types/eslint":"^8.2.2","@types/rimraf":"^3.0.2","esbuild-runner":"^2.2.1","@types/prettier":"^2.4.2","@coral-xyz/anchor":"^0.28.0","recursive-readdir":"^2.2.2","@types/recursive-readdir":"^2.2.0","@typescript-eslint/parser":"^5.35.1","@metaplex-foundation/amman":"^0.6.1","@typescript-eslint/eslint-plugin":"^5.35.1"},"_npmOperationalInternal":{"tmp":"tmp/solita_0.16.0_1692183088039_0.42301890200596315","host":"s3://npm-registry-packages"}}},"time":{"created":"2023-01-20T13:21:42.523Z","modified":"2025-08-02T02:17:08.407Z","0.15.3":"2023-01-20T13:21:42.766Z","0.15.4":"2023-01-20T13:30:41.079Z","0.15.5":"2023-01-20T13:39:07.319Z","0.15.6":"2023-01-30T17:11:15.904Z","0.15.7":"2023-01-30T18:45:15.851Z","0.15.8":"2023-01-30T20:27:47.155Z","0.15.9":"2023-01-31T14:51:34.282Z","0.15.10":"2023-01-31T18:32:48.333Z","0.16.0":"2023-08-16T10:51:28.240Z"},"bugs":{"url":"https://github.com/metaplex-foundation/solita/issues"},"author":{"name":"Thorsten Lorenz","email":"thlorenz@gmx.de"},"license":"Apache-2.0","homepage":"https://github.com/metaplex-foundation/solita#readme","keywords":["solana","blockchain","IDL","API"],"repository":{"url":"git+ssh://git@github.com/metaplex-foundation/solita.git","type":"git"},"description":"Generates SDK API from solana contract IDL.","maintainers":[{"email":"npm@danewilson.me","name":"daneo"},{"email":"tim@tradersguild.so","name":"impossiblepairs"},{"email":"uwe@tradersguild.so","name":"uweconvergence"},{"email":"brandon@tradersguild.so","name":"pindaroso"},{"email":"yaroslav@tradersguild.so","name":"yaroslav_tradersguild"},{"email":"nagaprasad@tradersguild.so","name":"nagaprasad246"}],"readme":"# solita [![Build Lint and Test Solita](https://github.com/metaplex-foundation/solita/actions/workflows/solita.yml/badge.svg)](https://github.com/metaplex-foundation/solita/actions/workflows/solita.yml)\n\n**Sol** ana **I** DL **t** o **A** PI generator.\n\n![solita-logo](./assets/solita-logo.gif)\n\n<!-- START doctoc generated TOC please keep comment here to allow auto update -->\n<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->\n\n**Table of Contents** _generated with [DocToc](https://github.com/thlorenz/doctoc)_\n\n- [How does it Work?](#how-does-it-work)\n- [Shank + Solita Example (Recommended)](#shank--solita-example-recommended)\n  - [Full Example: Token Metadata Solita + Shank Setup](#full-example-token-metadata-solita--shank-setup)\n- [Anchor + Solita Example (Recommended)](#anchor--solita-example-recommended)\n  - [Full Example: MPL Candy Machine Solita + Anchor Setup](#full-example-mpl-candy-machine-solita--anchor-setup)\n- [Type Aliases](#type-aliases)\n- [Custom De/Serializers](#custom-deserializers)\n- [Hooking into IDL Creation](#hooking-into-idl-creation)\n- [Advanced Shank + Solita Example](#advanced-shank--solita-example)\n- [Advanced Anchor + Solita Example](#advanced-anchor--solita-example)\n- [Solita in the Wild](#solita-in-the-wild)\n- [LICENSE](#license)\n\n<!-- END doctoc generated TOC please keep comment here to allow auto update -->\n\n## How does it Work?\n\n_Solita_ generates a low level TypeScript SDK for your _Solana_ Rust programs from the [IDL](https://en.wikipedia.org/wiki/Interface_description_language) extracted by\n[anchor](https://github.com/project-serum/anchor) or\n[shank](https://github.com/metaplex-foundation/shank).\n\n## Shank + Solita Example (Recommended)\n\nIn order to use _solita_ with shank do the following:\n\n- add the `shank` library to your Rust project via `cargo add shank`\n- annotate your Rust program as outlined [here](https://docs.rs/crate/shank_macro/latest)\n- add `solita` to the dev dependencies of your SDK package via `yarn add -D @convergence-rfq/solita`\n- add a config similar to the below into `.solitarc.js` in your SDK package root\n\n```js\nconst path = require('path')\nconst programDir = path.join(__dirname, '..', 'program')\nconst idlDir = path.join(__dirname, 'idl')\nconst sdkDir = path.join(__dirname, 'src', 'generated')\nconst binaryInstallDir = path.join(__dirname, '.crates')\n\nmodule.exports = {\n  idlGenerator: 'shank',\n  programName: 'mpl_token_vault',\n  idlDir,\n  sdkDir,\n  binaryInstallDir,\n  programDir,\n}\n```\n\nNow running `yarn solita` from the same folder will take care of installing the matching\n_shank_ binary and generating the IDL and SDK.\n\nRun it each time you make a change to your program to generate the TypeScript SDK.\n\nSince we're writing the _shank_ binary to `.crates/` you should add that folder to your\n`.gitignore`.\n\n### Full Example: Token Metadata Solita + Shank Setup\n\n- [annotated instructions](https://github.com/metaplex-foundation/metaplex-program-library/blob/5f0c0656ff250f7a70643c06306962186f37ef5d/token-metadata/program/src/instruction.rs#L80)\n- [annotated accounts](https://github.com/metaplex-foundation/metaplex-program-library/blob/master/token-metadata/program/src/state.rs#L194)\n- [generated TypeScript](https://github.com/metaplex-foundation/metaplex-program-library/tree/master/token-metadata/js/src/generated)\n\n## Anchor + Solita Example (Recommended)\n\nIn order to use _solita_ with anchor do the following:\n\n- annotate your Rust program with anchor attributes\n- add `solita` to the dev dependencies of your SDK package via `yarn add -D @convergence-rfq/solita`\n- add a config similar to the below into `.solitarc.js` in your SDK package root\n\n```js\nconst path = require('path')\nconst programDir = path.join(__dirname, '..', 'program')\nconst idlDir = path.join(__dirname, 'idl')\nconst sdkDir = path.join(__dirname, 'src', 'generated')\nconst binaryInstallDir = path.join(__dirname, '.crates')\n\nmodule.exports = {\n  idlGenerator: 'anchor',\n  programName: 'auction_house',\n  programId: 'hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk',\n  idlDir,\n  sdkDir,\n  binaryInstallDir,\n  programDir,\n}\n```\n\nNow running `yarn solita` from the same folder will take care of installing the matching\n_anchor_ binary and generating the IDL and SDK.\n\nRun it each time you make a change to your program to generate the TypeScript SDK.\n\nSince we're writing the _anchor_ binary to `.crates/` you should add that folder to your\n`.gitignore`.\n\n**NOTE**: that for _anchor_ generated IDL an optional `anchorRemainingAccounts` property is\nadded to each set of instruction accounts. If your programs are not using those you can\nspecifically turn that off by setting `anchorRemainingAccounts: false`.\n\n### Full Example: MPL Candy Machine Solita + Anchor Setup\n\n- [annotated anchor program](https://github.com/metaplex-foundation/metaplex-program-library/blob/5f0c0656ff250f7a70643c06306962186f37ef5d/candy-machine/program/src/lib.rs)\n- [generated TypeScript](https://github.com/metaplex-foundation/metaplex-program-library/tree/master/candy-machine/js/src/generated)\n\n## Type Aliases\n\nIn order to have Solita resolve specific types to a Rust builtin type please provide a\ntype alias map as in the below config. Solita then will treat those as if they were the aliased\ntype.\n\n```js\nmodule.exports = {\n  idlGenerator: 'anchor',\n  [ .. ]\n  typeAliases: {\n    UnixTimestamp: 'i64'\n  }\n};\n```\n\n## Custom De/Serializers\n\nFor some accounts the generated de/serializers don't work. In those cases a custom\nde/serializer can be specified.\n\nThis is as simple as adding a module to your project which exports a either or both of the\nbelow functions:\n\n```ts\nexport function deserialize(buf: Buffer, offset = 0): [<Account>, number] {\n  [..]\n}\n\nexport function serialize(instance: <Account>Args, byteSize?: number): [Buffer, number]\n  [..]\n}\n```\n\nThen provide them as `serializers` to `Solita` or via the solita config:\n\n```js\nmodule.exports = {\n  idlGenerator: 'shank',\n  [ .. ]\n  serializers: {\n    Metadata: './src/custom/metadata-deserializer.ts',\n  },\n};\n```\n\n## Hooking into IDL Creation\n\nIt is possible to modify the IDL generated by _anchor_ or _shank_ _before_ it is passed to the\n_solita_ code generator.\nJust provide an _idlHook_ of the type `(idl: Idl) => Idl` via the solita config.\n\nThis hook takes the current idl as an input and returns the modified version. It is ok to\nmodify the `idl` parameter in place if that is more convenient.\n\nPlease refer to the [definition of the `Idl`\ntype](https://github.com/metaplex-foundation/solita/blob/f329ceae1fb0686c1e5df8e5167e52c210b8700a/src/types.ts#L172-L182)\nfor more details.\n\n**Example:**\n\n```js\nmodule.exports = {\n  idlGenerator: 'anchor',\n  [ .. ]\n  idlHook: (idl) => {\n    return { ...idl, hola: 'mundo' }\n  }\n};\n```\n\n## Advanced Shank + Solita Example\n\nIf you need more control you can also add a script. However you're on your own to ensure that\nthe globally installed _shank_ binary matches the version of its library you're using.\n\n- globally install `shank` via `cargo install shank-cli`\n- add a script similar to the below to your SDK package and\n\n```js\nconst path = require('path')\nconst { Solita } = require('@convergence-rfq/solita')\nconst {\n  rustbinMatch,\n  confirmAutoMessageConsole,\n} = require('@convergence-rfq/rustbin')\nconst { spawn } = require('child_process')\n\nconst programDir = path.join(__dirname, '..', '..', 'program')\nconst cargoToml = path.join(programDir, 'Cargo.toml')\nconst generatedIdlDir = path.join(__dirname, '..', 'idl')\nconst generatedSDKDir = path.join(__dirname, '..', 'src', 'generated')\nconst rootDir = path.join(__dirname, '..', '.crates')\n\nconst PROGRAM_NAME = 'mpl_token_metadata'\nconst rustbinConfig = {\n  rootDir,\n  binaryName: 'shank',\n  binaryCrateName: 'shank-cli',\n  libName: 'shank',\n  dryRun: false,\n  cargoToml,\n}\n\nasync function main() {\n  const { fullPathToBinary: shankExecutable } = await rustbinMatch(\n    rustbinConfig,\n    confirmAutoMessageConsole\n  )\n  const shank = spawn(shankExecutable, [\n    'idl',\n    '--out-dir',\n    generatedIdlDir,\n    '--crate-root',\n    programDir,\n  ])\n    .on('error', (err) => {\n      console.error(err)\n      if (err.code === 'ENOENT') {\n        console.error(\n          'Ensure that `shank` is installed and in your path, see:\\n  https://github.com/metaplex-foundation/shank\\n'\n        )\n      }\n      process.exit(1)\n    })\n    .on('exit', () => {\n      generateTypeScriptSDK()\n    })\n\n  shank.stdout.on('data', (buf) => console.log(buf.toString('utf8')))\n  shank.stderr.on('data', (buf) => console.error(buf.toString('utf8')))\n}\n\nasync function generateTypeScriptSDK() {\n  console.error('Generating TypeScript SDK to %s', generatedSDKDir)\n  const generatedIdlPath = path.join(generatedIdlDir, `${PROGRAM_NAME}.json`)\n\n  const idl = require(generatedIdlPath)\n  const gen = new Solita(idl, { formatCode: true })\n  await gen.renderAndWriteTo(generatedSDKDir)\n\n  console.error('Success!')\n\n  process.exit(0)\n}\n\nmain().catch((err) => {\n  console.error(err)\n  process.exit(1)\n})\n```\n\n## Advanced Anchor + Solita Example\n\nIf you need more control you can also add a script. However you're on your own to ensure that\nthe globally installed _anchor_ binary matches the version of its library you're using.\n\n- globally [install anchor](https://book.anchor-lang.com/chapter_2/installation.html)\n- add a script similar to the below to your SDK package\n\n```js\nconst path = require('path')\nconst {\n  rustbinMatch,\n  confirmAutoMessageConsole,\n} = require('@metaplex-foundation/rustbin')\nconst { spawn } = require('child_process')\nconst { Solita } = require('@convergence-rfq/solita')\nconst { writeFile } = require('fs/promises')\n\nconst PROGRAM_NAME = 'candy_machine'\nconst PROGRAM_ID = 'cndy3Z4yapfJBmL3ShUp5exZKqR3z33thTzeNMm2gRZ'\n\nconst programDir = path.join(__dirname, '..', '..', 'program')\nconst cargoToml = path.join(programDir, 'Cargo.toml')\nconst generatedIdlDir = path.join(__dirname, '..', 'idl')\nconst generatedSDKDir = path.join(__dirname, '..', 'src', 'generated')\nconst rootDir = path.join(__dirname, '..', '.crates')\n\nasync function main() {\n  const { fullPathToBinary: anchorExecutable } = await rustbinMatch(\n    rustbinConfig,\n    confirmAutoMessageConsole\n  )\n  const anchor = spawn(anchorExecutable, ['build', '--idl', generatedIdlDir], {\n    cwd: programDir,\n  })\n    .on('error', (err) => {\n      console.error(err)\n      // @ts-ignore this err does have a code\n      if (err.code === 'ENOENT') {\n        console.error(\n          'Ensure that `anchor` is installed and in your path, see:\\n  https://project-serum.github.io/anchor/getting-started/installation.html#install-anchor\\n'\n        )\n      }\n      process.exit(1)\n    })\n    .on('exit', () => {\n      console.log(\n        'IDL written to: %s',\n        path.join(generatedIdlDir, `${PROGRAM_NAME}.json`)\n      )\n      generateTypeScriptSDK()\n    })\n\n  anchor.stdout.on('data', (buf) => console.log(buf.toString('utf8')))\n  anchor.stderr.on('data', (buf) => console.error(buf.toString('utf8')))\n}\n\nasync function generateTypeScriptSDK() {\n  console.error('Generating TypeScript SDK to %s', generatedSDKDir)\n  const generatedIdlPath = path.join(generatedIdlDir, `${PROGRAM_NAME}.json`)\n\n  const idl = require(generatedIdlPath)\n  if (idl.metadata?.address == null) {\n    idl.metadata = { ...idl.metadata, address: PROGRAM_ID }\n    await writeFile(generatedIdlPath, JSON.stringify(idl, null, 2))\n  }\n  const gen = new Solita(idl, { formatCode: true })\n  await gen.renderAndWriteTo(generatedSDKDir)\n\n  console.error('Success!')\n\n  process.exit(0)\n}\n\nmain().catch((err) => {\n  console.error(err)\n  process.exit(1)\n})\n```\n\n## Solita in the Wild\n\nFind more _solita_, _shank_ and _anchor_ examples inside the [metaplex-program-library](https://github.com/metaplex-foundation/metaplex-program-library).\n\n## LICENSE\n\nApache-2.0\n","readmeFilename":"README.md"}