{"_id":"@beastmankojak/cip-30-wallet-connector","_rev":"1-357fbffc1e66c8ea15953f9268af3e51","name":"@beastmankojak/cip-30-wallet-connector","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@beastmankojak/cip-30-wallet-connector","version":"1.0.1","description":"Wallet connector for CIP-30 wallets","author":{"name":"beastman.kojak"},"license":"MIT","main":"dist/main.js","repository":{"type":"git","url":"git+https://github.com/beastmankojak/cip-30-wallet-connector.git"},"homepage":"https://github.com/beastmankojak/cip-30-wallet-connector#readme","scripts":{"build":"webpack --mode=production --node-env=production","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production --node-env=production","lint":"eslint --ext .ts .","prepare":"npm run build","prepublishOnly":"npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","watch":"webpack --watch"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.20.0","@typescript-eslint/parser":"^5.20.0","@webpack-cli/generators":"^2.4.2","eslint":"^8.14.0","eslint-config-prettier":"^8.5.0","prettier":"^2.6.1","ts-loader":"^9.2.8","typescript":"^4.6.3","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"dependencies":{"@emurgo/cardano-serialization-lib-browser":"^10.0.4","buffer":"^6.0.3"},"gitHead":"80aa5daefde5fa5147f788f58396b99b17cc7109","bugs":{"url":"https://github.com/beastmankojak/cip-30-wallet-connector/issues"},"_id":"@beastmankojak/cip-30-wallet-connector@1.0.1","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-vUacTmVQCABMXoCW5yVh9IuIMK5VrjxYuOry+Emmsy/jmaJBrwxI4R0qRfPehZN3Y9n/Iob9i4zdxb1Ek9Nc6w==","shasum":"18c76ed5731c69f5ddd4fa2ce35d21ef06e5541d","tarball":"https://registry.npmjs.org/@beastmankojak/cip-30-wallet-connector/-/cip-30-wallet-connector-1.0.1.tgz","fileCount":6,"unpackedSize":1811724,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKSX3jR79XT87+FgLMstju9EFAqQVjlZVK1Is5czM9sQIhALA45QWJxO8Z2Yd5eVKMulC1qaBaB+Bt9VIeFJnpduG8"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZNtqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6fhAAl9HCh/+rVgWKUmR3vVEH6ywkneh/UWlcSa9LwmLxVCuxULrV\r\nJ66hOWxR6J/l3qBqpEI1D0w9ZD7jgPD2InH022wqmUIiTwsuzf9uwM00VigO\r\nvHR4VmzzFVu0KKOgygQBkD5Ke/N2TY2w/zL5MyBhJT5+Vh5Jpk2cYCQaQSHl\r\n6TpKs3i04tnNtojqfHA+JMSCXSjp0EsZ++xWyt7mw8u7mfXAHf/K/5PQERXk\r\nRvV2p93ySITgvgDt6pvWs4/GIS20VzGvoN+ibSe7TgGqJkYJ3X8jOwI8zBpU\r\nqqsqijGDspFoERGEJ6DivHXDrsNLyuXii9hUxubFLsdZYhLANuu/AsXh+8Qo\r\nGBfPfYNY4IpiPuG60oddnwCK60+StgHH+E6y6n107u1o1R3aoUXU8aQzOLB6\r\n0xBpC7RAN5nN/JK1d5xffx2U/o2oXEtcHi8SExYp7Nxh2Q+BJPOOV6ug6yIu\r\n71xY5TvxTZ8XPbdELT9yVyp+ZLwQeBX7x6CYK4uSnqIbQ0q4IEh0rfGzyono\r\n/rEzJzieofI3cwf5MM4boB5TfjVW+kxaQ3NL5gC1qsfAYPAJB+Z2i79c4lRL\r\nfKVjan/8Pjk9rPKfQ7zoCgWo4fPnTUE0ecy34yARvPE9jhRWqtn0DR+zxZRz\r\n7ae+2E+/MLqp4qFYKVbz7Tdt4Fx4g8gwiRs=\r\n=h2Hc\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"beastmankojak","email":"beastman.kojak@gmail.com"},"directories":{},"maintainers":[{"name":"beastmankojak","email":"beastman.kojak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cip-30-wallet-connector_1.0.1_1650776938628_0.783964858530658"},"_hasShrinkwrap":false},"1.0.2":{"name":"@beastmankojak/cip-30-wallet-connector","version":"1.0.2","description":"Wallet connector for CIP-30 wallets","author":{"name":"beastman.kojak"},"license":"MIT","main":"dist/main.js","repository":{"type":"git","url":"git+https://github.com/beastmankojak/cip-30-wallet-connector.git"},"homepage":"https://github.com/beastmankojak/cip-30-wallet-connector#readme","scripts":{"build":"webpack --mode=production --node-env=production","build:dev":"webpack --mode=development","build:prod":"webpack --mode=production --node-env=production","lint":"eslint --ext .ts .","prepare":"npm run build","prepublishOnly":"npm run lint","preversion":"npm run lint","version":"git add -A src","postversion":"git push && git push --tags","watch":"webpack --watch"},"devDependencies":{"@typescript-eslint/eslint-plugin":"^5.20.0","@typescript-eslint/parser":"^5.20.0","@webpack-cli/generators":"^2.4.2","eslint":"^8.14.0","eslint-config-prettier":"^8.5.0","prettier":"^2.6.1","ts-loader":"^9.2.8","typescript":"^4.6.3","webpack":"^5.72.0","webpack-cli":"^4.9.2"},"dependencies":{"@emurgo/cardano-serialization-lib-browser":"^10.0.4","buffer":"^6.0.3"},"gitHead":"19fca899f62760f5a656bcb5af687b9caf699b2a","bugs":{"url":"https://github.com/beastmankojak/cip-30-wallet-connector/issues"},"_id":"@beastmankojak/cip-30-wallet-connector@1.0.2","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"integrity":"sha512-dVqm0w/9Z1YRjF6tmVbVP/ANERmo39+Vr/JyHyreApiW5EOecm8ekGvR0OItKXtkQP7dEa3cReTlD2zGLXwuIw==","shasum":"5c715e8afb9e9cf68a9d519db68bb6fa3dcd0c5d","tarball":"https://registry.npmjs.org/@beastmankojak/cip-30-wallet-connector/-/cip-30-wallet-connector-1.0.2.tgz","fileCount":6,"unpackedSize":1812761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAN8ZmrZDqiEvyTRJvzOcDOGwYB31/eY1FtkBoRtYqk3AiEAxxYl0fXLNprtTn4APMT7m15V2/lAZj+0KkS6X8zcagM="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZOrvACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJsRAAhBVP8luHDsKBUW8WUy70i7zRv/wY1idLhl4BcXuRRtgrHdDe\r\nn8tJNEO/ssc2hXVPZKaTfKSCHDHJUzFhstXIy3oMcADD22CgrxRY7hOZLVZG\r\nYocaBP+wK/vcoVZJKkunSIofu3L8XUzfMp8cbLeAmnN4N/jACeG36S7P7HYA\r\nCJtZCgc3tyTec48PxXgnZ6/co+rAUi0ZAEKVoHe5bMwR7BZON0Zw42SKiN0Z\r\nKbc+Kb90W7z+FHSpaAEhq4XBwjJQXNqL9P/rw8S7M9oYHrog9FsI1k59iA48\r\nKVhSVZeyZ5ZQMhvEYsfqcAQtlLutwQ2iphdjOP7GlYDWMx4ciZPFFsU7S/k9\r\nvTFl3Pay/skPNYtbZz06BpTOQrlafUlGxW/9rWHJKaWFb5U6FRXuqTVaEApM\r\nOysy8wn+be64TKMBABVVj5qHOGbGOsYfv0mpKfsIQxQRUFAu5M41P56iCrWu\r\ndy+jrmCT4ynZ2zgOjJ/D0GcZ89BfQlcepKIdKEh1t6AW5081mE+mh0tiFwmQ\r\nmEaD+wzNTdaU7G/538we8vwjI43rsFMOrIjSJPAFOMcbr6XKDxAFofHu/aC1\r\nuWf/t3/cw1UvNrqF3ItVh3ZvsowH8y3En4DZS2pMMZFSVXpja0IN1Dybgxsw\r\n3GU6DHSJf01rqHjRugzl4r70sK7yz6764W4=\r\n=IYPx\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"beastmankojak","email":"beastman.kojak@gmail.com"},"directories":{},"maintainers":[{"name":"beastmankojak","email":"beastman.kojak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cip-30-wallet-connector_1.0.2_1650780910770_0.6464396323449417"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-24T05:08:58.499Z","1.0.1":"2022-04-24T05:08:58.836Z","modified":"2022-04-24T06:15:11.053Z","1.0.2":"2022-04-24T06:15:10.977Z"},"maintainers":[{"name":"beastmankojak","email":"beastman.kojak@gmail.com"}],"description":"Wallet connector for CIP-30 wallets","homepage":"https://github.com/beastmankojak/cip-30-wallet-connector#readme","repository":{"type":"git","url":"git+https://github.com/beastmankojak/cip-30-wallet-connector.git"},"author":{"name":"beastman.kojak"},"bugs":{"url":"https://github.com/beastmankojak/cip-30-wallet-connector/issues"},"license":"MIT","readme":"# Example\n\n```\n    <script src=\"dist/main.js\"></script>\n    <script>\n      (async () => {\n        // Create an instance of the wallet class\n        const nami = new cip30.wallet(\n          await cip30.getSerializationLib(), // Dynamically load the web assembly serialization lib\n          window.cardano?.nami, // The wallet extension api lives on the window.cardano object\n        );\n\n        const enabled = await nami.isEnabled();\n        console.log(enabled);\n\n        // This will pop the nami window that requests connection if it's not already connected\n        await nami.enable();\n\n        // This will grab the wallet address and write it to the conosle\n        console.log('address:', await nami.getAddress());\n      })();\n    </script>\n```\n\n# How to build\n\nThis project has been created using **webpack-cli**, you can now run\n\n```\nnpm run build\n```\n\nor\n\n```\nyarn build\n```\n\nto bundle your application\n","readmeFilename":"README.md"}