{"_id":"@crownfi/ethereum-rpc-types","_rev":"2-0d8c764e757f462f4df050b3191d278c","name":"@crownfi/ethereum-rpc-types","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@crownfi/ethereum-rpc-types","version":"0.1.0","license":"MIT","_id":"@crownfi/ethereum-rpc-types@0.1.0","maintainers":[{"name":"crownfiadmin","email":"admin@crownfi.io"},{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"}],"dist":{"shasum":"836486df719bf0bee1c15762ae6b73596a7d5924","tarball":"https://registry.npmjs.org/@crownfi/ethereum-rpc-types/-/ethereum-rpc-types-0.1.0.tgz","fileCount":4,"integrity":"sha512-ej1rA7WITa9xclxHLwM0fa/N4z8fHai2vCNcjQaGz67yTTAAkPI0TJp1Kb6uDRQjqL0VqzhFfOJHWFSljL7IdQ==","signatures":[{"sig":"MEUCIQD/6vSw4zzrJQK/RbdAyuEkDueVXbjTTg2U1JNTjtlaOAIgUhgvdT92CnNq1aEYb6orBESY4YsrfS0Xe6XSKvPqG3g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49151},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"ff6ffbe2b603e30c86cd8cdf6c8f02bdd4715296","scripts":{"build":"tsc","codegen":"node --loader ts-node/esm scripts/codegen.js"},"_npmUser":{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"},"_npmVersion":"10.7.0","description":"No idea why this doesn't seem to be a thing, so I made it a thing. Like I had to make every other thing have good dx. I'm so tired.","directories":{},"_nodeVersion":"22.2.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.5","@types/node":"^20.14.2","json-schema-to-typescript":"^14.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ethereum-rpc-types_0.1.0_1717765389705_0.12389707112805448","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@crownfi/ethereum-rpc-types","version":"0.1.1","license":"MIT","_id":"@crownfi/ethereum-rpc-types@0.1.1","maintainers":[{"name":"crownfiadmin","email":"admin@crownfi.io"},{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"}],"dist":{"shasum":"58394ee708a95b8be15d634aead3d2d7521b238f","tarball":"https://registry.npmjs.org/@crownfi/ethereum-rpc-types/-/ethereum-rpc-types-0.1.1.tgz","fileCount":4,"integrity":"sha512-7/qGxuuSfKWg7cjPPc6MXoDVm0+0+vxTMtaqIDuNH0JSTHKB01f+tVpTnwtxY6DRiUgXkTORZ9Xwm5lYxPrQ4Q==","signatures":[{"sig":"MEYCIQC+iCsSQoyMU4g0/1M5sWysmF7K7XJUmLG3Xmh7n5sFNgIhANZ+1Q38XbsRv7uaXUsgl5dgAme2yRGfiaVnZK47ZyQu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":49158},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"6813341c9b01d6db723e55f4d47e16a576677f8e","scripts":{"build":"tsc","codegen":"node --loader ts-node/esm scripts/codegen.js"},"_npmUser":{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"},"_npmVersion":"10.7.0","description":"No idea why this doesn't seem to be a thing, so I made it a thing. Like I had to make every other thing have good dx. I'm so tired.","directories":{},"_nodeVersion":"22.2.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.5","@types/node":"^20.14.2","json-schema-to-typescript":"^14.0.5"},"_npmOperationalInternal":{"tmp":"tmp/ethereum-rpc-types_0.1.1_1717766959597_0.505324140089825","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@crownfi/ethereum-rpc-types","version":"0.1.2","main":"dist/index.js","license":"MIT","scripts":{"codegen":"node --loader ts-node/esm scripts/codegen.js","build":"tsc","docs":"typedoc src/index.ts"},"dependencies":{},"devDependencies":{"ts-node":"^10.9.2","typescript":"^5.4.5","@types/node":"^20.14.2","json-schema-to-typescript":"^14.0.5","typedoc":"^0.26.4"},"type":"module","_id":"@crownfi/ethereum-rpc-types@0.1.2","gitHead":"4e7456587b786bd63a53eb60627f979ee4ee718e","types":"./dist/index.d.ts","description":"No idea why this doesn't seem to be a thing, so I made it a thing. Like I had to make every other thing have good dx. I'm so tired.","_nodeVersion":"22.4.1","_npmVersion":"10.8.1","dist":{"integrity":"sha512-PUeubfyQGeAO8eL7F6xpzez3nd4zy39oPQvFVxiyayJT4L2oHmUNUBx2omi15dka6h5TXBoY84UwJfezxUyprA==","shasum":"c6d15283e1870a3a3bc8ebfa74d0423baf2b87b7","tarball":"https://registry.npmjs.org/@crownfi/ethereum-rpc-types/-/ethereum-rpc-types-0.1.2.tgz","fileCount":4,"unpackedSize":49216,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEs83H66dh3FLDmXtKFmdX19fb4bfe/PA2s+tY90aJ4HAiASQC8KXmECw0fkMIZPXgZtzb6ch6N68vyfuWt16q654Q=="}]},"_npmUser":{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"},"directories":{},"maintainers":[{"name":"crownfiadmin","email":"admin@crownfi.io"},{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ethereum-rpc-types_0.1.2_1720717556434_0.4797088072280413"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-07T13:03:09.620Z","modified":"2024-07-11T17:05:56.773Z","0.1.0":"2024-06-07T13:03:09.902Z","0.1.1":"2024-06-07T13:29:19.775Z","0.1.2":"2024-07-11T17:05:56.552Z"},"license":"MIT","description":"No idea why this doesn't seem to be a thing, so I made it a thing. Like I had to make every other thing have good dx. I'm so tired.","maintainers":[{"name":"crownfiadmin","email":"admin@crownfi.io"},{"name":"aritz-cracker","email":"aritz@aritzcracker.ca"}],"readme":"# ethereum-rpc-types\n\nNo idea why this doesn't seem to be a thing, so I made it a thing. Like I had to make every other thing have good dx. I'm so tired.\n\n## What thing do??\n\nIt's basically an auto-generated .d.ts file for the ethereum provider requests.\n\nImagine actually wanting your IDE to auto-complete things when you type `window.ethereum`.\n\n## How to get thing?\n\n`npm install @crownfi/ethereum-rpc-types`\n\n```ts\nimport \"@crownfi/ethereum-rpc-types\";\n\nwindow.ethereum; // Wow, there's something actually here now with useful autocomplete!\n// You can also check EthereumRpcErrorsOf<\"eth_method_here\">\n```\n\n## HOw do make thing??\n\nyou `npm install && npm run codegen`, and do stuff that makes `tsc` stop throwing a tantrum like removing duplicate types, it takes less effort to do that than to make the script completely flawless. This grabs the latest methods from metamask opengrpscspsdmkejhkgjhklsdbfgjhklsdfg\n","readmeFilename":"README.md"}