{
	"name": "eth-json-rpc-errors",
	"versions": {
		"0.2.0": {
			"name": "eth-json-rpc-errors",
			"version": "0.2.0",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"gitHead": "e4ad694e5e26b8ae6689460c29a2245ec388c8c3",
			"_id": "eth-json-rpc-errors@0.2.0",
			"_nodeVersion": "12.6.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-mgVpn5nWhizw338eJjw7CWnynV/r8k3ptwK6FPaNUs8q7+r35lNAI4XXeHDaPQVioM7HPI9T1HAlyZfkWcmyjQ==",
				"shasum": "43b1bb0f3f2240ad5420a1e6a82549748281d2e9",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-0.2.0.tgz",
				"fileCount": 15,
				"unpackedSize": 27004,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTLcqCRA9TVsSAnZWagAAtMIP/j3+57A/g6uXGjs3Gl4u\nzjQcSo7TYa+sv19C3lt92u9gH1vekv/7UyfHlaG6YU2XezJT5buCv/kjeepp\nLWP8LMoN56bt7Korf6MjVG6JcDWP3kR/MkqNH4gxU2eaFnGaX/a3XIGgmfZV\nuynsITRhaf76zX4BAW1S4uMcQJrEMcYJnReJWxBzDOjsFOcJN+hv0zjUWgYo\nvcD6lj36fTvBO4EkLZsJvj2gmjsPw1od6HzwyBWI/d+6bEda17azI+ld6UMh\nPbsBNiVRTseWQb6vcSyUwG7sDbkFFXpN5ydyfXGNPF1uBJsTcRfHgFCrkh9s\nWgJwsZz79iujbyaAFMzlpgPk/eyOLz8FT2ns9oF0qLxs9CplGf6Cz46JKF0g\nTcOHSHqdjspqyGc9jbryxu3Sm0Cx4sK7Lhg9m74f6lTzNe9N0IhhEPlWY7yc\n6z3DodNM8KihELiw50kXu9Ve73fwe8OqZkMHZHD0LCUUt8Vgcau5iuZj8TLI\nkX8N+YTteXFIslKXWynqomOQT6U0MHAJVB84UPXAMVPDLHOdpMdQzQs52CxO\nmLYfhUanJud0soptF57u6q/HVd1YICetDaWVCZK+0NYNl7cLOpro2i1dw/++\nIM7BzBNcDBx9YRtli84mkdY5L1mP49HYxwU5GMn2nDb6954GEbYJTTFxDVDH\nQih2\r\n=ivSC\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_0.2.0_1565308714245_0.9996302821101837"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"0.3.0": {
			"name": "eth-json-rpc-errors",
			"version": "0.3.0",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"gitHead": "39f040709cd0f90fd7a380efa3946ffe4e8a4758",
			"_id": "eth-json-rpc-errors@0.3.0",
			"_nodeVersion": "12.6.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-vvUJFHxiZFRe/lh6x6A+ogsMmZu+Ce+jSSFLniRtnafB9Q08QjNVvtd6cmNwiQUJAlUpUBJQBGBP8X9tS/DueQ==",
				"shasum": "9d0b2fbd3a88ec2fc096830023184f4a01014f33",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-0.3.0.tgz",
				"fileCount": 15,
				"unpackedSize": 26098,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTZHYCRA9TVsSAnZWagAAcz4QAIlUq8ORoXW0bbBvGnuO\nBH/fuHdtUaQNIVSFzfiZEhEzRw5joFoamIVUB9/Q+TU4FCTjWjQIhca3+xan\nFyz7pYEOm1DiVagmb0L+vTQLzjHXpUksCMw2NINznOoGG13cwck6o/eYpAS8\nVZqT5zgjsB/zJNsq0bNTPA9atiWs42gf4VehWTuEe2jd3DUp4scIt5QDgQc1\nN08VFhAsoPeIzPiudibgdyuKG1902P6pzC92taBqZmRIC3fKbcUTAt+/n6jf\nZuTUlG8V4f5HiLcn7dx6ucVjIZCS+dROy/cXBLCacfiPHVqmvMUiXZu49P0k\nSUQcagtT9mAB7GlDq+tQoSdMfklrEpJlMhLICJCgy+2mW6ObKIq1Qhk42eYC\nbGjG57HjuXNeSQxLpEkxMkMCKAsh8iMBUlMnExax22Atfm3Sjo2GIP1DkE+Z\n0/6IZ1+Lrqy77Z1IIsrQhSGFXCOd0JPCU8BD8lfa8f1sQaGgR9LF6LBg5qty\ny6cvHJT6l2lkv+FE7VYn15h3TTsMSzW6z3FXcmeA3ooUB637BhuoWBtHO9me\n0Mhr9gOMVHspHEthL/+jF6kQwug4wUwH8S56F08m9EbJ9A5yYo3r6hfIuM06\ndqze8R/1QQFrcmhuU5nq5Wv+xLiB449uLLYUIRYEwy6sB9NhGN+BxyNxIhE+\n3yB9\r\n=uZc3\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_0.3.0_1565364696076_0.7673671352337357"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"0.3.1": {
			"name": "eth-json-rpc-errors",
			"version": "0.3.1",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"gitHead": "ea8a2c0b1416901234678e9e3afdea7e1dfda685",
			"_id": "eth-json-rpc-errors@0.3.1",
			"_nodeVersion": "12.6.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-TUBUzAzl0ccQ94ygajkUUctw6Gql0PbgK5J7tD6v9hGk2yKiML+U6HjG9up2AMe15dlMQW33zDjwAerNjDRsYQ==",
				"shasum": "fd8a3b21a14ed0a3dceb257a61c3ced28cd8b0b0",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-0.3.1.tgz",
				"fileCount": 15,
				"unpackedSize": 26098,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTfJwCRA9TVsSAnZWagAAyMsP/Rh6Gg9uzaRzljRCBq1I\nqy5ZbdNMyDi+e9XDvzJpZM9LArkwV6drRpdsuga5ajI+dRxikTq0IttDRe9q\nE+C1JMuQqtOo9SdT4o2jMgEM88gNFsG/PK7wROj7QFUk7Cwtd1D2Agy5pNsH\nzpHydqB8w8fRlQ3giobW52k9WYZpgH1FJRpt4LBGV3wMj8AW4B/d/YjD/pZq\nZrMac9DDpU3hnjLfq9Kv8/2Z3hLGLZFH5qLH5Y1LmMo/jC4T6/831AXfp/VJ\nd4zhtfAVfKFuNraF0frCOj8gagU1a5bYmc8kYuwE6EtPWEHhjcnwwtwJ/jNz\n4IPpkO5f6abilfEB1PXVCrPTsfRP90s1mDnhsAL93xr4OMuHnFguc7Uyv8bR\nY1hKc3LAljNYr8AN2ApACHLFfpy6fOKrfYtYuI8Tg2uaoBP8nxy73rqVbKQN\no8+YLtGlv32VMpgYmZNu4BJUwyNMy5bYrBM1p7VSewpiDRaHkReOLuloJhZX\nnPAO/2Zf2mARPz2jORLCa8Mw3S3s42x6jpG8K64zGm7MvfGVvctq3mZqruYf\noWO0Jv2C8xCxIeajlsLMXfrX1NJpcRxCTaoDTYlYm2pRsM2KFCoCLe/fQl7Q\noUTMzi1KjW1Ods50unetcDwC59x1/uwmAJicbtVZU35PE34jhCiD1j2Fsgbl\n0C0W\r\n=rOdM\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_0.3.1_1565389423778_0.18653400281832888"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"1.0.0": {
			"name": "eth-json-rpc-errors",
			"version": "1.0.0",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "37d9e57218cf128d6369a6c0b522be690e746508",
			"_id": "eth-json-rpc-errors@1.0.0",
			"_nodeVersion": "10.16.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-QsmYhMYdU1B/w1bEhYTLDEAgCc91kQtACzHrU9zhgzlCLwC1cPUAI5qDNpRup569ZI1QkN3OA8QMB8ytYakMSw==",
				"shasum": "f53a9cf6e31e47582ca1822a945b38c529c28868",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.0.0.tgz",
				"fileCount": 15,
				"unpackedSize": 31517,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdV0meCRA9TVsSAnZWagAAOsQP/2rd1XvNuHvuzjNdbQIL\nX2imGXgdM3xlPxLf3TalJMSfA5hGfPDiIgqK9cSCjsMu5yKe2jd2awe/2Y/C\nHDOgsBvYkDPvMHQFqd5BVAHln8d32h9owqEXLtB9JfYinZbtOTtIzbtnraLn\nIs1TcNBSjQkEodj1a+rMx6Xpdpekm/Fb6e4QwsNwhmZWvcrTl6d8zrdbRJNk\n84gWYwyTGOJZ4z9K9kG0yO75Ftthy5zbZ0nqWQm/GaGfgw2iS3NPwnEElWRr\nrgciL8BK4f4DgJFJoMu+6vLzzHQVzaljsfSF6niVifIrVo/F0w47sSXGtsCl\nUZdvHvTOhbmJko4aVyQNkRg4QMGcK8SHw9equobUzm9XcSRHDQVFJvkQOPVW\nUF9oJoqPVPe1Cdgl32NLLrXI2PBbMQrY68QkDohlDjQtPhW11BIClSXM+/Vv\nCmdRIhctEK5j0CkkvBhTfc66Vp7YR1iReXMANEs1vAamat2s45RuDfz4UbaA\nrHvzh607vr8zOXJbNiyreoV1AAI6Nu3WUWgVotCNbg0UQpXVyuSlE92gG9nW\ne0dMxdF265PMweP8AEO3FMc2BG5IFc9nu4kNlTtk3fPqvHN3vg276oYOqvBZ\nERN1beBXA5jKBoyd1OesdESl7cvqO/8fWHSjC5tea7dA11I2vwAmBSAoY/9o\n/9MU\r\n=Xup7\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_1.0.0_1566001565568_0.22444897165072275"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"1.0.1": {
			"name": "eth-json-rpc-errors",
			"version": "1.0.1",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "8be9088bf736dbed557da9310973484b02d92797",
			"_id": "eth-json-rpc-errors@1.0.1",
			"_nodeVersion": "10.16.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-Z3iESIy5x2m9Phe/H885E3RWifZ/K+T08CUwd3djcUILwxP+XoMI9+Jspv1UkMcFlZFKigzOGZinIzmOpvBLhg==",
				"shasum": "4204d81167bb49de1f5e7c708d72e52c177c821e",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.0.1.tgz",
				"fileCount": 15,
				"unpackedSize": 31454,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdV0vmCRA9TVsSAnZWagAARfEP/A5uQoVLA/wfwumAU7wy\nB+lAzacAGm+FxqcJlYz3hL1QchRM5x0J1YjXLmlIi/8zubDn/seYe5thNdZ8\nAxEpHI1iTD/rF3eFRc4+8ZOayIbEIkWlC16pV4ZF2CNJN3NXHHF03vbFdMPQ\niBABD2w7QXdral4p2CGCuOTaJA/d0qn1Ya0Q1l9o9YLe5QWqwQPo7VhIyukz\nQfSIuVcbj7B3b0STOJVW22uIJwq9q01chCPGIVmaBpjz/TPZa70uagge0GSF\nSTVw45ue4SgqxHQbB/tXg/xwt7Cf3ZRNBxHFyWvfqNKCauZM4n22G0TEuikG\n59p2wDOKErC4zVVTs+ZBSKt+brYAhPxxJCkJfNkYaqf2K82mHd6g2Cu912UE\ncNxIiej0JUiz6MPm7255Girvms+JToP2g/EHMhBMDAp+a4h9V4JPeTP6IeRX\niwuazl3gzlmPr7t27nnv3vWhyAzhO2H/AR+9frezNKpMl4tjVNZKq1IYWlMq\nJywahYwjercLjmtQZQCQ2ISO0LsInZPcmz2j9LooZTWF5BGwy8H2GOGfzo3f\ngnwfkwcmQ1PvN9Txnd5IGvJfckv0kcd3dbxlLnWedCcnJ+RBk89jvLBVff6L\nhzGfKGwEpbRviH9GSTVB+hy9f6Vr0oQNXO/5olDFacl/F916XsdefMHc5A83\n27Nj\r\n=4SsI\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_1.0.1_1566002150267_0.5046741950386244"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"1.1.0": {
			"name": "eth-json-rpc-errors",
			"version": "1.1.0",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "399807e9d210380e277ea0d905b042b2f6469093",
			"_id": "eth-json-rpc-errors@1.1.0",
			"_nodeVersion": "12.6.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-AAA76BmwwSR5Mws+ivZUYxoDwMygDuMWxSTEmqDXhRPTExSWe5wuJLT/rSfvPSy9+owSudy67JmyRQ02RAOOYQ==",
				"shasum": "2a4291fb20c0483c99b53286a814ed14ca4efb2e",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.0.tgz",
				"fileCount": 15,
				"unpackedSize": 31962,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgBUVCRA9TVsSAnZWagAAH0YP/jqCUyijnl9BFbZb6EDa\n55CEQYDFbTicazhqxq3MgurfdKzoFlGOMq66mBEZFYN5amYJbgA0sqKL2QeI\ni0i8VDgS/9EJasluJ8+IgM+UjO6cCKmMYGwDYOCGReS5d3BoPf9z4GqF79Pv\nA7xyY7w65hWDVS6OqUdEPnet1oWfjLx4jxTLV2wJztedZZb2SGJHrJgBt8UC\nlAW2JtZvD+pIzvjCyYzq6KDawsLjRFMbYWapEp2XExT4/6IMRiS8u6bXjFmx\nuE/S6yyeWnu5fb9+wsRTtT6zatcJoEEm/30MA5AxLEqYkDxVIEQ4w/iS5CKy\nq6v+uKqd8iFtkEFwGAxZ+aM1NjzCMyNFSZQGFj0AWbSOOSzkXupE3XY7A1/0\nnQ406ac9jAk/lxYHO8+VZ1mUCxqsFKUiZRA24g38r8GxcBm+5Ngf1DVIqaWt\nnmdYmNV0jX86XrwqzOAFkGa80R/NYuk/Cne/x1yYtdbK8UiiTfF/qQfRMVry\nmM3kC74ltsmIxe5orkNh7KmWIqhH1TqH3wj89Sf9oxQzYwsAN0JjslANDvrB\nnK5VDj/R5sIjP+AoeMbIOUS0oO3KezfMpKh4HMuktOVGmIaA32WyYUbtsgE/\nOELniij7nP7QqTyYEId27YlNP8uzQbYpEdgEl0uF0MkWDLGat7y8bWYf0dhv\n3PMv\r\n=ZnAv\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_1.1.0_1568675093330_0.9305676661993039"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"1.1.1": {
			"name": "eth-json-rpc-errors",
			"version": "1.1.1",
			"description": "Ethereum JSON RPC errors and standard JSON RPC 2.0 errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "bae5ad8aee6cebdc5a27136d970c58b0a86e3454",
			"_id": "eth-json-rpc-errors@1.1.1",
			"_nodeVersion": "10.16.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-WT5shJ5KfNqHi9jOZD+ID8I1kuYWNrigtZat7GOQkvwo99f8SzAVaEcWhJUv656WiZOAg3P1RiJQANtUmDmbIg==",
				"shasum": "148377ef55155585981c21ff574a8937f9d6991f",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.1.tgz",
				"fileCount": 16,
				"unpackedSize": 32195,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjT2yCRA9TVsSAnZWagAA51gP/0VrJMSVLk54SBJCQVGK\nNEHQEkNxKg6/i5vt2cUKuax2gCyi+HN2AgK7k3BTATWyxRO914IWSorF2WuR\nlA+sJl9KmnXjT8xt3H1xnvrksqSM4mGdXd24wNYTZdGyanAW3owrWUSLryd9\nWZXG19hnnBpiHM3ljjdo++YCGq/+RnBhwLOyaNntQL9IfWk7gzficmgAEP7m\nkxuv7p4pkOMwvSKrkhtqHKg6eEN2eWAZ9igVRabEoQ+jMsGmYJlofMyUBBZU\n7vd1YvNeixbrYu1E23pn2etdcPVQtj3zlafwS269F7V5Ns1+Grpx76AG+FpF\nZ2HsbhXxhpobrfMYSjVTQ63wQV8x1k8rbiCkAOKGjTEL64wnDYDJ8LP7J/Zi\ne4+QzA+lopvXd79nvl/p6l4k+pwXNBilIOr3tuLQtcn5UFxDVWS7K+MIvvB4\nLSEpJI86kfmbWc4e79Qz2VHJSa5bYLljj0+uLarVM0UT7DNldELHqyqGWmQq\nlIZj1tzAeUjRW0C9dhL9C2IyCq5YOHRw76otNaF+BooJ1oypMV5JFyg8PVNt\n3pD1eIB8fPsR5edT7FbvNl9Uqxke9UsnyME/A3nxQ0u5pLuHM8SIgqLLaq0r\nyszRY06mhO3+vRPh8w8XUGbJevVVhpv5KgKrzBrJUlO99vC2PUg3fWutWqMz\naw/5\r\n=VbrZ\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_1.1.1_1569537457731_0.8818951500541601"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"2.0.0": {
			"name": "eth-json-rpc-errors",
			"version": "2.0.0",
			"description": "Ethereum JSON RPC and Provider errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"test:coverage": "nyc tape test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "npm run lint:fix && npm run test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"nyc": "^14.1.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "53d76f64903032b9f22d9a6da7ce849427fc3ee5",
			"_id": "eth-json-rpc-errors@2.0.0",
			"_nodeVersion": "10.16.0",
			"_npmVersion": "6.9.0",
			"dist": {
				"integrity": "sha512-casdSTVOxbC3ptfUdclJRvU0Sgmdm/QtezLku8l4iVR5wNFe+KF+tfnlm2I84xxpx7mkyyHeeUxmRkcB5Os6mw==",
				"shasum": "bdc19df8b80a820844709193372f0d75fb74fed8",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-2.0.0.tgz",
				"fileCount": 16,
				"unpackedSize": 42209,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjT4eCRA9TVsSAnZWagAA/qgP/1KsL1EzPhxIg4gY16QZ\nYoolUf9VGHZYQR71IIaPQJiiCBDmWhREJAKy//9OY0givCTgSgf7h6Ot3NYW\n2VA6+Atj7G2rPKvE10HgnSZuD+5vr+a9fI3hoy0sciLEWcVxVX7bqCPPv3lp\nevwMoWekFoSg4gIwV+Fv+a658kRd1+1SaHf990OT9Zts2296+rgd0mLXhW3r\nCUcFg374Kb9BNYRxuLXuPZigL7mjZ6byEd+wZgKdfJpLROriYfW6iovGLGqo\nKIrskt6IzC3tY7RnSF1mNlB5iuzsra/rk8U8Xx7M1c/FHwHANIiD6kjhvJoB\nyciZuevdVyK376rj/oY+mqzVxokFoL43jGz7GVd3ZG2ueyppKF1I2rrqVmdo\nDIDoVX2ruavuz2gkVOtatwJjFPIBdohL0oodeQFwPv3Vtcf+v1TJiLiqy7Bz\nv5L1rqTG1tW7fRjJZzFPEHaANhBB3AB2CMfXTPD+Ethj0zIx1InrC5cD4kF1\nNQdfgnmizIp6VYAJUe5NatcJFuJVts9QDKFiHoGI5uuG3RBVR6+wHS7gGs+J\nOxnVl9NdzMZQeyZg8QFDSOnyyuFpFPkIBRdLuPGoxClmvLSydNgGwoWqU9HW\n3mRwSQ34ZOaVPtZuevs7v50Yy/240SuK2h1oOiQgztdLDkBntOZrMazTmKqe\nO797\r\n=22bg\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_2.0.0_1569537565719_0.8416859154986776"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"2.0.1": {
			"name": "eth-json-rpc-errors",
			"version": "2.0.1",
			"description": "Ethereum JSON RPC and Provider errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"test:coverage": "nyc tape test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "yarn lint:fix && yarn test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"nyc": "^14.1.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "702e3420a1813a64d7cd75422d77b66a1d82bded",
			"_id": "eth-json-rpc-errors@2.0.1",
			"_nodeVersion": "13.2.0",
			"_npmVersion": "6.13.1",
			"dist": {
				"integrity": "sha512-ldF9fdzkdHAgTWmqh/bgHi7uH+8icAyjcEdFOBGD32zTWd7J66VDo0rBaiaQPowXitiyAcs1R23Mje1gkdIofA==",
				"shasum": "e7a4c4e3c76913dff26dbc021966c72b2822e0f2",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-2.0.1.tgz",
				"fileCount": 16,
				"unpackedSize": 42321,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeNIu9CRA9TVsSAnZWagAAjdAP/RVTOmnGQqsJj/XGHBRD\nJpr3VHqO/vA4y19wRfe2i5BKnWpcTyNS5oLz4yhsTZiBzPGOw2ofZBlo5TQW\nd6cGJJW2rsxfHEUGZJUgjAVS9bboTE41cbXZh7DfxJ6a1sQRJbWt3aov/58D\n0YvWBQcZdAwEaPOr3pYQiwu9sNFlC4XxcOr8K0efSvoVQEziiuNo7s9gl2P5\neQGDiFjO3DVXShWn6H82ZB9y+g70OFYCe23V4ZW0FmLBP4tN/NAq7H3CFTJU\nGhrgsvyosPDgszTqkdFRPiL3uqLGcZENuYC18MAi7N1rNNMkmXlVWcDzBN+h\nktPVHts6EViU7dqc8uLJG+wVEdzrdSA1UpavJu0FlsgvObYnqZN3vLqXnjCR\n8l+n5S0BxArSV3GM1ymFp5Q4YW7FAtTkOxGRupI6z5qfZJc51mal2xfEiaaW\nQq5m5kZHWtmhd1K7CwCzWib31pMc/O8lz5qBAbDh98vX/tzBKmJkjL8tDY49\nS1OCSS+QymjEbirS8s1urJYUrd37Vx8Jiotm4TAMdV4q4gsomvfyViNTdZi7\nONkxff7n5B6pWemjWlLBvahsiKqx5X8kR7Cy5rGkq1mfC5dAnmhONeLLcFpm\nDw4FUaHP2sDnoIj/u/PnMblv5NER78ta3H6+0SiDRfSexoKXWw/QpSUlQNvb\nlO8J\r\n=xXIh\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_2.0.1_1580501948449_0.7245725315392182"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		},
		"2.0.2": {
			"name": "eth-json-rpc-errors",
			"version": "2.0.2",
			"description": "Ethereum JSON RPC and Provider errors.",
			"main": "index.js",
			"scripts": {
				"test": "node test",
				"test:coverage": "nyc tape test",
				"lint": "eslint index.js",
				"lint:fix": "eslint index.js --fix",
				"prepare": "yarn lint:fix && yarn test"
			},
			"repository": {
				"type": "git",
				"url": "git+https://github.com/MetaMask/eth-json-rpc-errors.git"
			},
			"keywords": [
				"json",
				"rpc",
				"ethereum",
				"errors",
				"utility"
			],
			"author": {
				"name": "Erik Marks",
				"email": "rekmarks@protonmail.com"
			},
			"license": "MIT",
			"bugs": {
				"url": "https://github.com/MetaMask/eth-json-rpc-errors/issues"
			},
			"homepage": "https://github.com/MetaMask/eth-json-rpc-errors#readme",
			"devDependencies": {
				"eslint": "^6.1.0",
				"fast-deep-equal": "^2.0.1",
				"nyc": "^14.1.1",
				"tape": "^4.11.0"
			},
			"dependencies": {
				"fast-safe-stringify": "^2.0.6"
			},
			"gitHead": "352e65b8d85a5845696224faebfb80409179c287",
			"_id": "eth-json-rpc-errors@2.0.2",
			"_nodeVersion": "13.7.0",
			"_npmVersion": "6.13.6",
			"dist": {
				"integrity": "sha512-uBCRM2w2ewusRHGxN8JhcuOb2RN3ueAOYH/0BhqdFmQkZx5lj5+fLKTz0mIVOzd4FG5/kUksCzCD7eTEim6gaA==",
				"shasum": "c1965de0301fe941c058e928bebaba2e1285e3c4",
				"tarball": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-2.0.2.tgz",
				"fileCount": 16,
				"unpackedSize": 42302,
				"npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeREFICRA9TVsSAnZWagAAdksP/36PDDylDWtgWRL2LMFa\nZhrU++3pbuhnrWZ5vfPaPpS0imWCXF4vhBddBA151oXCjY/QrZqkCwsznBbY\nvt6Ryq2NXDhhEc2HCf6/PmoobzCRlrgujy2jmCBrt7ur/rb6XUR6CwE6lEMj\nsH3kB0BJGZZMUxUOWZ9/NSQrQXL4GLyAsR/VgNBRlVxWPKLBH+iMmHugQujl\nW/gPAr3s4hCZmmapCWPz2JzLXBk2O50zbIPNWpuu9hRr+f/WLvLOhzNgO3He\nrGWWbEuakTV5IJcL0JHcnKNd8KSYghv2sCrc9VMxVgAXwRsai0+yrYUoAF1W\nUKNo4MD/d1DosmExymr0xUv6MWYwa012B+BTR5+t/dzI0QBaBe8N1+dpIhan\nF2D63CHMiRV+Ls7Xr6d92pT3AHkWmw/VK6nq20Q3HeYCfOWYXkN2hMtuMMYb\nIo+C66kzMntVEmh3gu4UW3Fvk/zZFHT4eaarS5WMpcetPK0eu+COdJmLLtzh\nNGqS6xs6nHU22oxar4ImlgfmPyzz5CRY39/SOUZbpWt03buXhncdQNF/lPEF\nlSP9Gx6pm87bRPTriiKy31SfhMVl2qtnGXjzGSJ80V5+5HhUgeohzR2B2lXi\ntAITVdpitzSZQxCeyXYCcPdNbGGFx+IOS3O7AE02OwzskzeHM/rXbIoVCTqu\nRmrM\r\n=28Nx\r\n-----END PGP SIGNATURE-----\r\n"
			},
			"maintainers": [
				{
					"name": "rekmarks",
					"email": "rekmarks@protonmail.com"
				}
			],
			"_npmUser": {
				"name": "rekmarks",
				"email": "rekmarks@protonmail.com"
			},
			"directories": {},
			"_npmOperationalInternal": {
				"host": "s3://npm-registry-packages",
				"tmp": "tmp/eth-json-rpc-errors_2.0.2_1581531464370_0.5726574181701685"
			},
			"_hasShrinkwrap": false,
			"deprecated": "Package renamed: https://www.npmjs.com/package/eth-rpc-errors",
			"contributors": []
		}
	},
	"time": {
		"created": "2019-08-08T23:58:34.245Z",
		"0.2.0": "2019-08-08T23:58:34.379Z",
		"modified": "2020-05-14T14:51:48.054Z",
		"0.3.0": "2019-08-09T15:31:36.248Z",
		"0.3.1": "2019-08-09T22:23:43.949Z",
		"1.0.0": "2019-08-17T00:26:05.700Z",
		"1.0.1": "2019-08-17T00:35:50.371Z",
		"1.1.0": "2019-09-16T23:04:53.425Z",
		"1.1.1": "2019-09-26T22:37:37.863Z",
		"2.0.0": "2019-09-26T22:39:25.875Z",
		"2.0.1": "2020-01-31T20:19:08.638Z",
		"2.0.2": "2020-02-12T18:17:44.505Z"
	},
	"users": {},
	"dist-tags": {
		"latest": "2.0.2"
	},
	"_uplinks": {
		"npmjs": {
			"etag": "W/\"5040027bb8af8bb619bbea78af49b8b3\"",
			"fetched": 1598370738054
		}
	},
	"_distfiles": {
		"eth-json-rpc-errors-0.2.0.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-0.2.0.tgz",
			"sha": "43b1bb0f3f2240ad5420a1e6a82549748281d2e9",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-0.3.0.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-0.3.0.tgz",
			"sha": "9d0b2fbd3a88ec2fc096830023184f4a01014f33",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-0.3.1.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-0.3.1.tgz",
			"sha": "fd8a3b21a14ed0a3dceb257a61c3ced28cd8b0b0",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-1.0.0.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.0.0.tgz",
			"sha": "f53a9cf6e31e47582ca1822a945b38c529c28868",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-1.0.1.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.0.1.tgz",
			"sha": "4204d81167bb49de1f5e7c708d72e52c177c821e",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-1.1.0.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.0.tgz",
			"sha": "2a4291fb20c0483c99b53286a814ed14ca4efb2e",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-1.1.1.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-1.1.1.tgz",
			"sha": "148377ef55155585981c21ff574a8937f9d6991f",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-2.0.0.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-2.0.0.tgz",
			"sha": "bdc19df8b80a820844709193372f0d75fb74fed8",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-2.0.1.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-2.0.1.tgz",
			"sha": "e7a4c4e3c76913dff26dbc021966c72b2822e0f2",
			"registry": "npmjs"
		},
		"eth-json-rpc-errors-2.0.2.tgz": {
			"url": "https://registry.npmjs.org/eth-json-rpc-errors/-/eth-json-rpc-errors-2.0.2.tgz",
			"sha": "c1965de0301fe941c058e928bebaba2e1285e3c4",
			"registry": "npmjs"
		}
	},
	"_attachments": {},
	"_rev": "17-3f7dd4d17c4eef1b",
	"_id": "eth-json-rpc-errors",
	"readme": "# eth-json-rpc-errors\n\nErrors for the\n[Ethereum JSON RPC](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md)\nand\n[Ethereum Provider](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md),\nand [making unknown errors compliant with either spec](#parsing-unknown-errors).\n\n## Basic Usage\n\n```js\nimport { ethErrors } from 'eth-json-rpc-errors'\n\nthrow ethErrors.provider.unauthorized()\n// or\nthrow ethErrors.provider.unauthorized('my custom message')\n```\n\n## Supported Errors\n\n- Ethereum JSON RPC\n  - Per [EIP 1474](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1474.md#error-codes)\n    - This includes all\n    [JSON RPC 2.0 errors](https://www.jsonrpc.org/specification#error_object)\n- Ethereum Provider errors\n  - Per [EIP 1193](https://github.com/ethereum/EIPs/blob/master/EIPS/eip-1193.md#error-object-and-codes)\n    - Does **not** yet support [`CloseEvent` errors or status codes](https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent#Status_codes).\n\n## Usage\n\nInstallation: `npm install eth-json-rpc-errors` or `yarn add eth-json-rpc-errors`\n\nImport using ES6 syntax (no default export) or Node `require`.\n\n### Errors API\n\n```js\nimport { ethErrors } from 'eth-json-rpc-errors'\n\n// Ethereum RPC errors are namespaced under \"ethErrors.rpc\"\nresponse.error = ethErrors.rpc.methodNotFound({\n  message: optionalCustomMessage, data: optionalData\n})\n\n// ETH JSON RPC errors namespaced under ethErrors.provider\nresponse.error = ethErrors.provider.unauthorized({\n  message: optionalCustomMessage, data: optionalData\n})\n\n// each error getter takes a single \"opts\" argument\n// for most errors, this can be replaced with a single string, which becomes\n// the error message\nresponse.error = ethErrors.provider.unauthorized(customMessage)\n\n// if an error getter accepts a single string, all arguments can be omitted\nresponse.error = ethErrors.provider.unauthorized()\nresponse.error = ethErrors.provider.unauthorized({})\n\n// omitting the message will produce an error with a default message per\n// the relevant spec\n\n// omitting the data argument will produce an error without a\n// \"data\" property\n\n// the JSON RPC 2.0 server error requires a valid code\nresponse.error = ethErrors.rpc.server({\n  code: -32031\n})\n\n// custom Ethereum Provider errors require a valid code and message\n// valid codes are integers i such that: 1000 <= i <= 4999\nresponse.error = ethErrors.provider.custom({\n  code: 1001, message: 'foo'\n})\n```\n\n### Parsing Unknown Errors\n\n```js\n// this is useful for ensuring your errors are standardized\nimport { serializeError } from 'eth-json-rpc-errors'\n\n// if the argument is not a valid error per any supported spec,\n// it will be added as error.data.originalError\nresponse.error = serializeError(maybeAnError)\n\n// you can add a custom fallback error code and message if desired\nconst fallbackError = { code: 4999, message: 'My custom error.' }\nresponse.error = serializeError(maybeAnError, fallbackError)\n\n// Note: if the original error has a \"message\" property, it will take\n// precedence over the fallback error's message\n\n// the default fallback is:\n{\n  code: -32603,\n  message: 'Internal JSON-RPC error.'\n}\n```\n\n### Other Exports\n\n```js\n/**\n * TypeScript interfaces\n */\nimport {\n  // these describe to the corresponding exports from index.js\n  IEthErrors, IEthereumRpcError, IEthereumProviderError, ISerializeError,\n  // these describe the options argument to error getters in ethErrors\n  IErrorOptions, IRpcServerErrorOptions, IProviderCustomErrorOptions\n} from 'eth-json-rpc-errors/@types'\n\n/**\n * Classes\n */\nimport { EthereumRpcError, EthereumProviderError } from 'eth-json-rpc-errors'\n\n/**\n * getMessageFromCode & ERROR_CODES\n */\nimport { getMessageFromCode, ERROR_CODES } from 'eth-json-rpc-errors'\n\n// get the default message string for the given code, or a fallback message if\n// no message exists for the given code\nconst message1 = getMessageFromCode(someCode)\n\n// you can specify your own fallback message\nconst message2 = getMessageFromCode(someCode, myFallback)\n// it can be anything, use at your own peril\nconst message3 = getMessageFromCode(someCode, null)\n\n// {\n//   jsonRpc: { [errorName]: code, ... },\n//   eth: { [errorName]: code, ... },\n// }\nconst code1 = ERROR_CODES.rpc.parse\nconst code2 = ERROR_CODES.provider.userRejectedRequest\n\n// all codes in ERROR_CODES have default messages\nconst message4 = getMessageFromCode(code1)\nconst message5 = getMessageFromCode(code2)\n```\n\n## License\n\nMIT"
}