{"_id":"@johanneskares/wallet-mock","_rev":"14-5e1122b986dcd38fc1da228b963f6096","name":"@johanneskares/wallet-mock","dist-tags":{"latest":"1.4.1"},"versions":{"0.1.0":{"name":"@johanneskares/wallet-mock","version":"0.1.0","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@0.1.0","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"8cea4f2471fd580761f6511d4a674cceba58b317","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-0.1.0.tgz","fileCount":18,"integrity":"sha512-Cpd4/zvNCQ3OKtNnpyMxCoEdZiefIJy3wEpEBpzXjMLLAS1JiCS3vd2kai1AtIttr6rej4FjTnxRLgNNxuaasQ==","signatures":[{"sig":"MEYCIQCPKQHgQixlo5kBVLNbehbqYKeUCHYZ/gDDA79c97qtSAIhAOcZdpS0KrCjaD/riTZRl5neHHDgOe8wS3jDRgwW3You","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20949},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56bae51b1b04be702acecfb4b04a8f41e2a51911","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"9.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests","directories":{},"_nodeVersion":"18.18.2","dependencies":{"viem":"^2.13.8"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1"},"peerDependencies":{"@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_0.1.0_1718271914738_0.2873144075156726","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@johanneskares/wallet-mock","version":"0.1.1","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@0.1.1","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"53ab8a576f6b993ac59de9c2179f9380361b1213","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-0.1.1.tgz","fileCount":24,"integrity":"sha512-Si2DLVcywIolJ1L7R0bihwMIkTJtJ6ptfOTS2uGmr8c1Co7mk0yYU1hK8+n9+NAPxEtymhOJiJfotgkusE+LMQ==","signatures":[{"sig":"MEUCIBUYb7so8npn3wjUjuBgXwcpNqnyadiYytoUaqUSi9l9AiEAxtDm3JH1HiYH6192eG9vtlchxMVlYN4KXAZeap9YsjY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31826},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"56bae51b1b04be702acecfb4b04a8f41e2a51911","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","publish":"npm publish --access public","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"9.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"18.18.2","dependencies":{"viem":"^2.13.8"},"_hasShrinkwrap":false,"devDependencies":{"prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1"},"peerDependencies":{"@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_0.1.1_1718276492560_0.4119320005635747","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@johanneskares/wallet-mock","version":"0.1.2","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@0.1.2","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"ad9d7a201efa72bf7a5bc1a17857f3d95c2e83ec","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-0.1.2.tgz","fileCount":18,"integrity":"sha512-j8Jgq/xoMdQL1B6l38KUZddc8ltGy1tGnm2TDwMfitfMBWw1g2erYi20KspkY0DTSOysuDPlui4zRWxY4mRckw==","signatures":[{"sig":"MEQCIB60u1Juu6X8d7MIeNHm1i4ITJD0ye6jUzh3LPJqlS6SAiBy0j66yaeJ6ayx7vDVrB3gOo10hzfRlLXREGa4G4D9CA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22769},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"4b554ca020b385da0c9ffdf1f3c57573f02bc6e2","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","publish":"npm publish --access public","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.7.0","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_0.1.2_1718286116603_0.7322748683038027","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@johanneskares/wallet-mock","version":"0.1.3","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@0.1.3","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"360e18dc3c11c4574f2784901194eff523d09212","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-0.1.3.tgz","fileCount":19,"integrity":"sha512-F2p0EJ/o5ZbwOQlvmdms/TmQnRyZFfBEo7bAx/dWBb2eeD6gWXjUqD3p4amSflH56bbmfd2lN2mLAhnRMLWioA==","signatures":[{"sig":"MEUCIQCkvQ7lnI2QFqwfCggLmjG072zpLziZ98J9TxrJTVVUbgIgAcCLRSeqdkgPUDPW6zRAjxbrhqlCbTmlmCUh/1P0LE0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24295},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"bae2c9888ba847affc03727921e589971c137550","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","publish":"npm publish --access public","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.7.0","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_0.1.3_1718287545444_0.7251234728938667","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@johanneskares/wallet-mock","version":"0.1.4","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@0.1.4","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"0b427edd602d008a3ecd49bfd851c36e52d01d06","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-0.1.4.tgz","fileCount":19,"integrity":"sha512-FHSlKvqu9mWhh0mdqPp+uBZAGeJxfigbNTCAwcWKOvz+Oyz2Fh9i8liOIDTfmtMJueXw9P8LRHcFW4Mx4MlotQ==","signatures":[{"sig":"MEUCIFi8A5coxQzASObMQ/vExfYbjtWZWOY6k9CXdrqbhnyQAiEAxOOQZT7Vx+M1OniAUzXZdsExOzlTNc7H6uYnEnydY9o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24256},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a403477baa1eebdc0abdcd1a5f0f20754f94b788","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.7.0","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_0.1.4_1718287790398_0.7962037906017114","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@johanneskares/wallet-mock","version":"0.1.5","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@0.1.5","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"f128acc8017c5fb4e48699c6348e5faf9f7a3348","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-0.1.5.tgz","fileCount":19,"integrity":"sha512-Fo6IIjizw5WP8Qr8aZuTppMRMLWcfgkW8tQ7MdUZq6yJUw431liwbkDVP/i5IpIg7yrdH/uibQYzSFpwpIwIpA==","signatures":[{"sig":"MEYCIQCMuFrepiuguXy6tjuGmrcl+qWuMmRyEUJpvhXqFEInJQIhAJKuZSzL1ENyKtAONLUhhYDL2hJEF+yx2MZuOSvKoWQW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26538},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"8d019f1f40890ce567559db67e9f0a69ea50234f","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.7.0","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_0.1.5_1718360633665_0.2463553040311588","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@johanneskares/wallet-mock","version":"1.0.0","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.0.0","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"d046c97d629f9d416f7a5a39587cc0337d2cd6c5","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.0.0.tgz","fileCount":19,"integrity":"sha512-fwxd44Kf9U7RwWx5GowMbZJqXXHcaFyTugxu6XEYkwm2f+o38VOEScAER8YgqXk3rEWEpuPx8WDOZxcu3yYcPg==","signatures":[{"sig":"MEQCIBeAvMDYSHyrnmBTShhIptpc4z6zednnUEwbbhLcvaxHAiBO8+Tp/fVPW6etTKRWtsclfatKCU7n7VjgZBCzOBVajg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26995},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f4192af0e9c55bc203453c22583cb0791e00a3ee","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.0.0_1718364252136_0.6879019404772453","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@johanneskares/wallet-mock","version":"1.1.0","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.1.0","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"4db3fd647fb7865e259fadb6237f8d9b3fedb600","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.1.0.tgz","fileCount":19,"integrity":"sha512-u+mj8DINt7i3kGgfChvWrpAaFBKL5d3ijUGX0bs7G+lkuuqWBFZ/4vP9X9SMlfzY6OGSdh0K3yL0QTVWUcl4gg==","signatures":[{"sig":"MEYCIQCsHlUfzd00eiZL+Rc1FwQNBVWV8InCfV5VG/kJ2/H8dQIhAO/5/PGKAC0FA8rWS4VtcIJiuzy9TvvfLIBS89Ema2S2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27037},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"0b4ee57c77f7e9743859659f22f845dc111bdc04","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.1.0_1718364677166_0.11259054922817557","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@johanneskares/wallet-mock","version":"1.1.1","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.1.1","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"567d90cfd3a5a89f0c0af2ecbfba446770b83d01","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.1.1.tgz","fileCount":19,"integrity":"sha512-n/78ePgXtetsf8ic/+jlrjFufdjSXKljxHJJmW5UQrRro/LkLTJDUyb0RxPbjDe7qC+xUYIQkO0HQzFES7VZfQ==","signatures":[{"sig":"MEQCIDjB+GptUXqKgm+L+5lLrUx9+eOcAvJvuZRMtAB0xZiJAiB3it9Dxlcxdw3x7DPsds4rl+rBFSgM+EWZ698MDoGTIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28763},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"29d0afa8521b66986a93cc9389596f784d4311c4","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.1.1_1718560696199_0.7196977653063259","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@johanneskares/wallet-mock","version":"1.1.2","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.1.2","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"ad47cb2d6d8ceeac06873cae091a146cb21abcc2","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.1.2.tgz","fileCount":19,"integrity":"sha512-/NqCe1BvovXnxpVrY23WrNfN7i7h66JxJuJgIxkhIHAEjO72sPT9zBRFIYjZTzjiyL520wooTfbaAMwzCELWFw==","signatures":[{"sig":"MEYCIQDGopnI47v0HHpb9bFhaL/qoxbIjZWqpbhKY48UsUFNlAIhAK/OE16L1wfY2QlZXLy0DIWXK6SvQOr0ygOSK49wQzMz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28839},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b37693681460da456b0289324b1fb9a6d70ae97b","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.1.2_1718727502811_0.7690908580912532","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@johanneskares/wallet-mock","version":"1.1.3","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.1.3","homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"daaef752e2cc34c507a1bd322fc3b825dc3ad902","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.1.3.tgz","fileCount":19,"integrity":"sha512-utAPRlBke6OVYwA1FmObPk7QUYoWJjIRXGq7zv+A0+E0lHxhHnKiTyipPIqD1MvDm85jtLfE43U5DBDGZ0SpBg==","signatures":[{"sig":"MEUCIQCrbzKx7PP1G8SGy7aTZJtWM8KpKVXcSRzXBzxMjsAXpAIgZX43SfGByrr+8oOTAO94g4a38WAjtxn/Frm0lUTSbSs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28839},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e6cd975870b84f280a21ef9b011b6ab0c717e812","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.1.3_1718954538637_0.48380041737899626","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@johanneskares/wallet-mock","version":"1.2.0","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.2.0","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"a3cb4934e3bf8504f148a686a276f226b23f6955","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.2.0.tgz","fileCount":19,"integrity":"sha512-Riz6GYu0QoMgFjUDDYNgL328vgdxL6Bsuc+EOd9ambgHBtbzAh36IljQhZi0c86qpSusa7uEuk+SK5ea8FJhjg==","signatures":[{"sig":"MEQCIHpszT87/mtEPVq67WdJUSSCNTMlF2FiIP9rYCC7+012AiALy2duYtFALmASMbmRPlbA47EIzAyKSnKEwTN7/c3Fag==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30192},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"d23286a590ab09f441508e00cbd8106135fa89bb","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui","test-debug":"npx playwright test --project='Google Chrome' --debug","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.2.0_1722710073448_0.9131688834161145","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@johanneskares/wallet-mock","version":"1.3.0","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.3.0","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"05e4d3550a37e51cec98afd3340d52148f59e389","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.3.0.tgz","fileCount":19,"integrity":"sha512-GKyIlAG0r0mMXaUIh9Rkp6a+JznxLpUO9w9KkmPLMhNB//8R8NFTLx9lzZMHs+LtqXvwDDL4x0QBlYyCDxkqrQ==","signatures":[{"sig":"MEQCIEymQaAxvUeCrtYSZR92+eLZAVU60PZ9d1up9CT6hc1hAiAb7D66a9yIEhqpLD8W356lDUB63GUk0xf0l9c8Z1wyzA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31717},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"acd5ca7fb48f7e0ef54269ed163006b08100fd6e","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui","test-debug":"npx playwright test --project='Google Chrome' --debug","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.3.0_1722855472013_0.5552899518400616","host":"s3://npm-registry-packages"}},"1.4.0":{"name":"@johanneskares/wallet-mock","version":"1.4.0","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","_id":"@johanneskares/wallet-mock@1.4.0","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"homepage":"https://github.com/johanneskares/wallet-mock#readme","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"dist":{"shasum":"d3268fbb6996b940bbce2786a2d11a066bd82068","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.4.0.tgz","fileCount":19,"integrity":"sha512-YJbR+REJJoeO2zvXmgYC0REh23VoQHA+S+nvqaK+OhJtJt1VWi+xB+vnjn96E733ArSL6iPrqyvSr8TY6HamxA==","signatures":[{"sig":"MEUCIQDGnA5xT2VB2y1bBQ4BiATnQIIs3Tgil/Ec09s/j4IWSAIgasvmkLewdO1A3S+xjLaowFg7hBEQs/WW/Vwl8oG0eQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32064},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"efac34bcb77d95b81af5bef44140895257b36231","scripts":{"dev":"tsc -W","test":"playwright test","build":"tsc","test-ui":"playwright test --ui","test-debug":"npx playwright test --project='Google Chrome' --debug","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"namespace":"@johanneskares","repository":{"url":"git+https://github.com/johanneskares/wallet-mock.git","type":"git"},"_npmVersion":"10.8.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","directories":{},"_nodeVersion":"20.16.0","_hasShrinkwrap":false,"devDependencies":{"viem":"^2.13.8","dotenv":"^16.4.5","prettier":"^3.3.2","typescript":"^5.4.5","@types/node":"^20.14.2","@playwright/test":"^1.44.1","semantic-release":"^24.0.0"},"peerDependencies":{"viem":"^2.13.8","@playwright/test":"^1.44.1"},"_npmOperationalInternal":{"tmp":"tmp/wallet-mock_1.4.0_1722933461008_0.9112785722673935","host":"s3://npm-registry-packages"}},"1.4.1":{"name":"@johanneskares/wallet-mock","version":"1.4.1","description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","main":"dist/index.js","types":"dist/index.d.ts","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"author":{"name":"Johannes Kares"},"license":"ISC","devDependencies":{"@playwright/test":"^1.44.1","@types/node":"^20.14.2","dotenv":"^16.4.5","prettier":"^3.3.2","semantic-release":"^24.0.0","typescript":"^5.4.5","viem":"^2.13.8"},"repository":{"type":"git","url":"git+https://github.com/johanneskares/wallet-mock.git"},"namespace":"@johanneskares","peerDependencies":{"@playwright/test":"^1.44.1","viem":"^2.13.8"},"scripts":{"build":"tsc","dev":"tsc -W","test":"playwright test","test-ui":"playwright test --ui","test-debug":"npx playwright test --project='Google Chrome' --debug","install-conventional-commit":"curl -o- https://raw.githubusercontent.com/tapsellorg/conventional-commits-git-hook/master/scripts/install.sh | sh"},"_id":"@johanneskares/wallet-mock@1.4.1","gitHead":"7a5f85e13dda7c8fe36ef4c57bab850263b24c55","bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"homepage":"https://github.com/johanneskares/wallet-mock#readme","_nodeVersion":"20.16.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-Jkg5JLKkaYt13LvvAUg23jvWdae9wxzoJlGWqWq0m4ssQXO6IoI9tYX9Nzjqtq8jst4Wxn/pFgzk7Y4Rdx7AEA==","shasum":"2b5d80cd3660b4163ec74be8fc8886db4b0feeba","tarball":"https://registry.npmjs.org/@johanneskares/wallet-mock/-/wallet-mock-1.4.1.tgz","fileCount":19,"unpackedSize":33037,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMq3hR05LtjKHcFY8H8bN+RhR8dL2Krhiq8rSIb2w2zQIge+Mw2s7aDkg774m2Pkvt0JJteZ1L56Hor5IIWl80X/c="}]},"_npmUser":{"name":"johanneskares","email":"jk@talentir.com"},"directories":{},"maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/wallet-mock_1.4.1_1722934922592_0.34852561590085473"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-13T09:45:14.629Z","modified":"2024-08-06T09:02:03.064Z","0.1.0":"2024-06-13T09:45:14.923Z","0.1.1":"2024-06-13T11:01:32.712Z","0.1.2":"2024-06-13T13:41:56.755Z","0.1.3":"2024-06-13T14:05:45.648Z","0.1.4":"2024-06-13T14:09:50.551Z","0.1.5":"2024-06-14T10:23:53.899Z","1.0.0":"2024-06-14T11:24:12.342Z","1.1.0":"2024-06-14T11:31:17.350Z","1.1.1":"2024-06-16T17:58:16.376Z","1.1.2":"2024-06-18T16:18:22.957Z","1.1.3":"2024-06-21T07:22:18.833Z","1.2.0":"2024-08-03T18:34:33.626Z","1.3.0":"2024-08-05T10:57:52.177Z","1.4.0":"2024-08-06T08:37:41.177Z","1.4.1":"2024-08-06T09:02:02.852Z"},"bugs":{"url":"https://github.com/johanneskares/wallet-mock/issues"},"author":{"name":"Johannes Kares"},"license":"ISC","homepage":"https://github.com/johanneskares/wallet-mock#readme","keywords":["web3","wallet","mock","playwright","metamask","ethereum","dapp","testing"],"repository":{"type":"git","url":"git+https://github.com/johanneskares/wallet-mock.git"},"description":"Mock Web3 Browser wallets, like Metamask, in Playwright tests.","maintainers":[{"name":"johanneskares","email":"jk@talentir.com"}],"readme":"# Wallet Mock\nFully functional end-to-end (E2E) tests for your decentralized application (dApp). This package installs a fully operational, headless Web3 Wallet into the [Playwright](https://github.com/microsoft/playwright) Browser Context. The wallet can be configured to execute on the blockchain or return mock responses. It is discoverable through [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) and leverages [viem](https://github.com/wevm/viem) `Account` and `Transport` interfaces for easy customization.\n\n## Features\n- Create comprehensive E2E tests for your dApps, including real blockchain transactions\n- Mock specific calls or all calls to the wallet\n- All wallet actions are pre-approved by default, eliminating the need for user interaction\n- All wallet interactions are headless, meaning, no user interaction is required. You should be testing your dApp, not the wallet\n\n## Quickstart\n### Install\n```shell\nnpm install -D @johanneskares/wallet-mock\n```\n### Example\n```ts\nimport { test } from \"@playwright/test\";\nimport { installMockWallet } from \"@johanneskares/wallet-mock\";\nimport { privateKeyToAccount } from \"viem/accounts\";\nimport { http } from \"viem\";\nimport { sepolia } from \"viem/chains\";\n\ntest.beforeEach(async ({ page }) => {\n  await installMockWallet({\n    page,\n    account: privateKeyToAccount(\n      \"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80\",\n    ),\n    defaultChain: sepolia,\n    transports: { [sepolia.id]: http() },\n  });\n});\n\ntest(\"Your Test\", async ({ page }) => {\n  await page.getByRole(\"button\", { name: \"Log In\" }).click();\n  await page.getByRole(\"button\", { name: \"Choose Wallet\" }).click();\n  await page.getByRole(\"menuitem\", { name: \"Mock Wallet\" }).click();\n});\n```\n> **Note:** This setup will execute actual transactions on the blockchain without user intervention using the provided Private Key.\n\n### Uniswap Demo\nThe Mock Wallet will show up as an EIP-6963 compatible wallet.\n\n<img width=\"500\" alt=\"Screenshot Uniswap\" src=\"https://github.com/johanneskares/wallet-mock/assets/1416628/b3d31df0-6273-42da-b00f-63bc8294a592\">\n\n## Mocking\nHere's a simple example of how to mock a specific function while using regular RPC calls for all other functions:\n\n```ts\nawait installMockWallet({\n  page,\n  account: privateKeyToAccount(\n    \"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80\",\n  ),\n  defaultChain: sepolia,\n  transports: {\n    [sepolia.id]: (config) => {\n      return custom({\n        request: async ({ method, params }) => {\n          // Mock only this RPC call\n          if (method === \"eth_sendTransaction\") {\n            return \"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef\";\n          }\n\n          return await http()(config).request({ method, params });\n        },\n      })(config);\n    }\n  },\n});\n```\n\n## Testing with Hardhat\nTo test with a local Hardhat node:\n\n1. Start your local Hardhat Node:\n   ```shell\n   npx hardhat node\n   ```\n\n2. Connect the Mock Wallet to your Hardhat Node:\n   ```ts\n   import { hardhat } from \"viem/chains\";\n\n   await installMockWallet({\n     page,\n     account: privateKeyToAccount(\n       \"0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80\",\n     ),\n     defaultChain: hardhat,\n   });\n   ```\n","readmeFilename":"README.md"}