{"_id":"@decentralized-auth/iota-mam","_rev":"7-2d881b07177aa63dbf1dbbd1a7c50979","name":"@decentralized-auth/iota-mam","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.0":{"name":"@decentralized-auth/iota-mam","version":"1.0.0","description":"Wrapper for the IOTA MAM client that provides convenience methods","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.0","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-7wTSbWdDoZhDhDOs/PpjvhbUA8d+zKgmQo38YQoNZLsKX+ezvzcka+yedPC70/p2BpF7rXS4FH/0qZb19JghjQ==","shasum":"ab9fd3451272eda8536961aa96c5fbce9c94d971","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.0.tgz","fileCount":7,"unpackedSize":19450,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDrNXCRA9TVsSAnZWagAAsBQP/1Y6x5UWBIYL0p5KKbU2\nZpGpnB4jq5Ee45tsFyFkQkT3R4NdmCiKWC26Qg0EmfQPquDGGUQzPyj6bvtx\n3+2tE66p5LYT6wrFrkez6QwqqaUpU0I+rdsP9HMP6tntxr9ybY90z13nfi5k\nbAMmVbkA9JLbk/YlURQNB2VQmlrq0x9enP6CaW/6gT1T/5x3N5pVd3rq5vss\n5dtIvi3WUoHDMlnafkzPfK1QfxzpSIzQnMjk3KiFvZ9pLO29T8UHKoJmUtuc\nAa2k/3FCtoaFjB/PtnBDIuYYP1BEWyGBFxJ5RIYnRAcvCqR4VGKKCOnAkoya\nA+4SxdHefovWO5htEKmligaEGWBUIJ0MXwiwHiD3BnFSrDhAvSrbqtnKcOVz\ny6bdfFCi5FWo6XBzr+fA8HXdGFsNlxWilwNwOU+R9ifsR52y/xE56ILHK3js\ngDg1oOEpxrpaFG5CcQNSpQ3/vU3AJoMb56O8wxQMfJy4OfLLndjRWibT3Toz\nmKH5zHJUaFcThd4BAZxquMFkKFFtPKwfCc6l/TMegvgF4znk1bD6kTYm7xgD\nTKkutsNsNMALrQdy+fhl3fkbil7WNa4stI+kBHjKv6Ne9IO/SsU0IjgnXZXw\nk/9L8/kryVSnn/T5E59VpoerlGwkuu1y4hSBdfFf58xvtgY9aJjm/ykW8B0M\nChcX\r\n=ZCiQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDGcEcudSV3icIF0wszYzngpV/lXq3jFISwxfRcLzCrAIhAI5YhhyrPpa/SPBYQXrdYKlfzJ0Tb+hHCo7CtYyQwiJ/"}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.0_1527690070373_0.4654558824755626"},"_hasShrinkwrap":false},"1.0.1":{"name":"@decentralized-auth/iota-mam","version":"1.0.1","description":"Wrapper for the IOTA MAM client that provides convenience methods.","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000","postinstall":"npm i"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.1","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-5y7cRTJ9CMoekQlDxWpQ0r4qu89+WrDJfXfuCZ5xDv1pZ4FSQko8KbSuAGh5z7W5VQx5pG/ESIzZegq8xyfAGw==","shasum":"582e9e01640334fd12f072c982dcc0625dfe0075","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.1.tgz","fileCount":7,"unpackedSize":19479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDrYFCRA9TVsSAnZWagAA0goP/1YHpHylX5g3mw0mM8aZ\n09KSONyYQXFeJYYmGdAIsi8lRxS0o6vCdX3B1wznZMC2plFX4QGl+mW9xnsB\nIr05067OBltzmLUYZxEMzNV1oKR7wy+tz5oR7/UKowjBjiCkZmEBwoW2OWLL\nsGv1ObSsGdOSw2XnmRpeQ7nuOGVLaTlVxVmdfEzhjzlmlTywJWShd480d0nx\nwPVM0VaI7yk/hDjXercWn/3w5gmhEauSd2ZiwWGSvshJrVuhbafAbOmXP1Mr\nczvF8ScmQZuIczEyrAkEOGWVxU8NGIbRBtdoiZp9BcpZ6TrOeJURiJi9lxfs\nCdhYV9qi3sTUJO59NAcM3JGrplccF0mkY6RBNv+sEuyvXCFzvziUPCNcuDn7\nTouWO8jmeE1R9LYAYucA6inKfcmdsveaZTJQKef3XMIUTwfS6svF64wVYZ82\nOIaMoJ2LYpJljTQlb9VZjauFSFnyEWESbWbOdUmwNZA3H5so0casUPqF3Vdw\nA9vNECjdeV73rbtTS1aj4c31leE3tYRWyJPl5OUzp6pXw44B7IsEXp22kje0\nK/+cp+UZI3bJ7oz+81xlbVS1zz2x63vP3e0Od2eTgWSQbkPYhsGzSkVC8GkE\nCgeumOjiudvUghoBByEY4XexeVAG7uzU4QPY2XOo+syNeCbFWQzIKHC86HsB\nVpri\r\n=hMpm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAIzyohZFN5Nt6XHY61x33wMoEgD0a4wIjFejG3rg+scAiBNziZ+uV1Ua6uSj3KSNOzSbEow/EKm4kBOS9MDL+bNkA=="}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.1_1527690756814_0.293100715903134"},"_hasShrinkwrap":false},"1.0.2":{"name":"@decentralized-auth/iota-mam","version":"1.0.2","description":"Wrapper for the IOTA MAM client that provides convenience methods.","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000","postinstall":"cd ./node_modules/@decentralized-auth/iota-mam && npm i"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.2","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-Awp1nKFnlOP06etz0Z8md6etnhyUl9/kxeYuJj3n6tO0k0o0KL1fXAnAd8vw6icm+weP/UQj7gdViSi2SzuJ5g==","shasum":"42a06d9e04680114ac9d6e87e1129d6889966e73","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.2.tgz","fileCount":7,"unpackedSize":19529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDra8CRA9TVsSAnZWagAAIsgQAIL6QiJh9ouNYx6n+fDG\nNZmQfiQODgObwgtioB0ukrJAZ4YjU1fPTkg7BIGfmSU+HrhTTrSjdPgUT/Qv\n6KT7tzscY2nt1Y9cJkdwGFHVslSs1acK6tyLANoQW3+z2jhbRkEGsTqsFuL8\nUpkIAMSC/jUnFZmNuYmjwTREyTu2PQICDKKjqrSBnXUtMQC5KixoPLhIVdg7\nGb8J34j4maR90QG98JGhzf0sokzmi6XqiX06eEWCgWi4xl5wN22U/8HRsK67\ntEuYpIYARJd71pKQ9O5ayck6je9G95IpZcPLauV/9yqWauthJUyn3HkxJvng\nS0A8D2Pfb/NLe826pgV0SVURRSbcSwdxlMnVXjDhldOOXVKLtzzpGfEZJXCn\n/xVQj0cF5/53kLHNGaLTKfsCaKDXfj2Ige4276Q8EeXM3ERFbJi4zpILioGl\nvo0lCJvfG4BEtXIjRo8T8Lyva07w5eBe/QJKFcgAQea20GoMd3YBQ/jZVWnS\nqvKCv7KbZMoiRxgRtxG1MYYcIAC8+9AWyNujFSrP2IYASaZno+lbqmAa3Gk9\n+OFJGn16JuF4EoHja4OoEkaoGSMsa7qYAnzc5moJR4eexmd91WSkzg45ZLex\nGoTn1LPPv0p+mrXeaOpzTLaV19NzVRiDbU9Gk4S8/FeIq2bXFwcqPm9PCz+o\niMzd\r\n=AJUs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRYu+h2LzdGmO+aJ/xET8Hv3tbeg4yFPppCJyOtGv26AIhAKgjRXRSfqWgYjsoAW8nh3ttvxTtVfLMHtSFt5alu8Ds"}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.2_1527690939353_0.8933233642873235"},"_hasShrinkwrap":false},"1.0.3":{"name":"@decentralized-auth/iota-mam","version":"1.0.3","description":"Wrapper for the IOTA MAM client that provides convenience methods.","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000","postinstall":"cd './node_modules/@decentralized-auth/iota-mam' && npm i"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.3","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-UkReuSjO3PplZ4Pv4mkgp+d0LMgqnfnqRWCsmlG5bXp4f48FHoN3p8+dJm8VLO1Y9YkY6SALvM1q8JAbjbuvTA==","shasum":"1b28e31c48bb729176c838955bd0a5cbc9fcda1a","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.3.tgz","fileCount":7,"unpackedSize":19531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDrcdCRA9TVsSAnZWagAAn3YP+gJv4dfweJebdjezJTOL\nkIip6Uderj+z977tD6UbAIxB9bfVA1axxT/hHunC2P3V3UOXT/S0EAKzSsx4\nLyFVEOPwM+DQzcO2sTWlz5QtBtf2DO5o9eluOCp0VGckUYjgvS3kYtOTSUd4\nzfuZdu7t+7YmLW8YVl42mniGkKEWG4hlcbjcKm+2bJ1D14uPa6g2TtsrFSfS\ne0KKZccJkHESLjpvywtaJxui4+X3rIa+K7gpsonvWfvuwgJgjq+Bt1V31VHm\nzeRTZOfvbktgU1C3pju0UNefmaX5CLY8kJbUkeqmayM2ua1DspUEPXdOSpDY\nZmXor9H2rJS+J+7VlpI3d1vQ36rvtAAxyNjlDdG8zVgPbxCRGYHBVdZINmN2\nbmq+rKHO3dK5ON2Hj6+kerxr5nIaZpwPjIvRCY36nWCRVtiSN7CjjqL5Ws5C\nv0d6LllMrDcbkIGcYOGbs3E9RrJT5eMIiOfZ6uQ0LcNBJohhaEIpbX5gKH/J\nw77Zf5vMrXgf31RQrz79+CYQYsQ6KC1XXvpa6QogxXNyHqxI4nd8M1+arbRf\ngCX9oVDwzAMLq9a/WIQPAlfxsevdHJQBAgyJrpNxT4JhCdMb81PMd+2BJWn4\nQgCCEEJ1RWGbzuhEYDqJAkADfiWp1hyvVZDPH/FnqUOGAzUky3ZsLHYp9QlH\ngvgf\r\n=BtVa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDN4fCKBL/ys2PXRkBxV6araRAcoPNlnHGy16xehmllQIgE29YLTD47SXE8zJozH13ddX6bpdOEBq4mO7+fD7j2jw="}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.3_1527691036553_0.37898993140955217"},"_hasShrinkwrap":false},"1.0.4":{"name":"@decentralized-auth/iota-mam","version":"1.0.4","description":"Wrapper for the IOTA MAM client that provides convenience methods.","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.4","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-w0sQfPe755x6/+9pqTuDfUmWlPgvYPLeM9eP39p1XqpRsmGyDP3/ERNHxTGUIqH8TrVPQGXIR9E6M+EFOhiJEA==","shasum":"8b5e2f2e531891eb8bb9e515e1ef78e17035a604","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.4.tgz","fileCount":7,"unpackedSize":19415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDrjACRA9TVsSAnZWagAA0uMP/1zmK062xTi4p/74iOb4\n3Ij6wMXrj1vfb+xkNv0q1jGKq/S8q+Ci8Y13jCJ8Dd1LyOweMlNZ2W/fP5H2\nB/O7/A4r2eQwg6ayJC3CO16GsKZVbhPV0Dz9ZMsbaDAI6wS2iwf5ZfrLEJLD\nsMrXssD0PzgrAYUUVUUHWrsf6/s1PR0iNlB98ajE2Cxt2APfnhz8y+iW8/JL\nFzaNOQBqc4pVs62SM1XrYHJ3qZT1eeEdxUTpUh1Mk3GHRXHdBsNDDVGRVXUt\nVqTV517rw5M+PNOVJ7BYsAEAMfFAbjMTt3tPu03MOkPd41cascxD8jCybDS/\nfse/KI7zM9ll5WarGpM5jUaVCKu9LfL9CTr5ScGKheDdYDFrTbLU5pgR5XI4\n3Lhvy8o9hgjJinzL9Hk5I0pKZ6PQSy7zdc1Lx9OR0JH4L7Zwg7+3fBZe7sdt\n/pfcAxY17MB8iAQ2+8dsPpO7Y2Xs4pxoxxc19vfmkadcQ0lvRWsveJgJY9mn\nkL/mz6Ju8jdTrGzupQ0vsTsM6zUJTIKYvSqmzx5g0wVs/PR7gqibSeBKXCkQ\nMc+aGdbq6Kls5WJ7+PJ5vrzzBe/51V6pxF7t4HoGjzUNrqtf7fAlZrUaP9Ig\nBf7ikfFFOflpORcDnGx6cyT7J9/XNq7Jwni000dCucyFAxSdURC5fdzgfecP\nq4fO\r\n=Ze5M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVudnBSiB/8AY3oACvEfJGbrLBhpB+0HeUv6hfCueCpQIhAJb0k1ay1SsGRhI58D86Zv4/jVYzQ2qF8vdc37IRlw3H"}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.4_1527691455398_0.7937082827477167"},"_hasShrinkwrap":false},"1.0.5":{"name":"@decentralized-auth/iota-mam","version":"1.0.5","description":"Wrapper for the IOTA MAM client that provides convenience methods.","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.5","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-cjMTC2/F4dILGzXbQHkiReHldoP5GAmeSGkipXjFCviwDvv6uhrMz1V62QxEI7fxqngkOxAj2BGmWf9awDQflQ==","shasum":"c4942e0d26a0b7e7504ab435a8dbccdb6557b649","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.5.tgz","fileCount":7,"unpackedSize":20290,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDtUrCRA9TVsSAnZWagAAQtIQAJk1SbdgLzK4pUe7jSPp\n/q9DFpo7E0i6WmvC6P0Vam4nsV9kWKXhCVW+fjuBrwIUyHcmni/TLPV+FMLr\nlwc+xYAr2WN7iZwiEgD4uQaT9fEgVmg9VTSyaMryAsvVjYrMTGI0eCbUrbFy\n7AAEmY1LSKtyOkDWEzqigOPs6NIdyOv1HWWgesKvucjoC+4QtY142QZpFria\n5UK+WJfw5K+/BlYf7Wd4VQNymqHSm0W3IrwVb0m/t+s96JNyHVHYk/Iquxm+\nIUBLeMcLo75HLX/uQWQ0+Shpt7WaETL54p4nsbnlrl00NHLd+BvG3LHpDekp\nKYxjY8AShkO9lurVODmYzSA3EXZkdYLefKHEMkdU9azNusxgG8KTVHAncMSm\n0vc0FNtc6Q0xmJgwuK6P5MaSRas2La6He3E/PaTIXmsgSM59rIT6sfMgAqc9\nEWRTVlSjhXhGH0WZAwhs609IhxdjjKxMo+ly7hDafMTkQj5Ch+EKmeQzIUlO\n8slTHUcAsgExcZK+m4eA/OPB57SEGxIA0KBmOZ8Y36nGPipDDV+/yuPhZWjU\n57RpShnYly61X33dGo1D7gmYEaykbBOVOKZC1sBIx3yUHkCPEsj31W1FvGjr\n9XLBOtTAZtZ0EPST3iNWzm/5Ek+S+SEQRfyvQRxX21cJ2ypvqTf6u3fSbgAJ\nowp0\r\n=JeKu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9WHGrL6vzCpyZ38dKG8Wnaf6Jz/YkUKQJJshBsEQrqgIhANhUN3ar3ZhQHIgW1/9yS8AId2Jw1xkBSYWwNHqmA2kG"}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.5_1527698730083_0.20331673859395805"},"_hasShrinkwrap":false},"1.0.6":{"name":"@decentralized-auth/iota-mam","version":"1.0.6","description":"Wrapper for the IOTA MAM client that provides convenience methods.","main":"src/iota-mam.js","scripts":{"lint":"eslint -c .eslintrc src test","test":"mocha --timeout 60000"},"keywords":["IOTA","IOTA MAM"],"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"license":"Apache-2.0","dependencies":{"mam.client.js":"git+https://github.com/iotaledger/mam.client.js.git"},"devDependencies":{"@decentralized-auth/iota":"^1.0.7","@decentralized-auth/gen-seed":"^1.0.1","chai":"4.1.2","eslint":"^4.19.1","eslint-config-airbnb":"15.1.0","eslint-plugin-import":"2.7.0","eslint-plugin-jasmine":"2.9.3","eslint-plugin-jsx-a11y":"5.1.1","eslint-plugin-mocha":"4.11.0","eslint-plugin-react":"7.4.0","mocha":"4.0.1"},"_id":"@decentralized-auth/iota-mam@1.0.6","_npmVersion":"6.0.0","_nodeVersion":"9.3.0","_npmUser":{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"},"dist":{"integrity":"sha512-BmwEfCeyZrPRsEvFPyx6mk3ub9gQIR3TXZPMV6OorWpBrfMexNyjcX17LXPR+B+tJ6QSqppksUf56iZwSbkJNA==","shasum":"65a47685c82f41d0ed215eb3d7ff86d01e5dd711","tarball":"https://registry.npmjs.org/@decentralized-auth/iota-mam/-/iota-mam-1.0.6.tgz","fileCount":7,"unpackedSize":20327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDvAACRA9TVsSAnZWagAAggwP/iVPO6MKiJl1tFHk5kts\nNZtKJgWVkYx+f+k2UMrwFgleK1do30+UplCHaFdd7PTaAJyyaFXNlJjI1qLO\nISzOxWjP8DGBfXyBifRJkBoFAGLgjizGy9wk4MSN9x/Nmz63h10tGqA/HCg8\n6UmvMn9NIaI6FjetKk/hBx3tiUoK95r6AXCr9IBp7u4TdnhqUNHc1W9LsZWH\nI/IAtGQ89gMKffzceBwqVS1bny8DC1+JEO4LZWEnfIrAe94SG3YnMR48MTUk\nn5yhvgspGCXHjmceVtQ1dNqCL0Woe7esCZO2Ufk7Cqv7lO9Ykw3OZr786Zht\nWU957/E9+buye4g/U47dr8UkylA2/kbNA1UgVeQtPHduoNWsDQRUJvnFuato\nZXUxy6THD4ffyvKBP9xyA1hZzSPSVv25gksBsnr+oUp8F24ByGtdq97aidKg\nv/bYxKjSYrDmkyWnhQ9tlpWuQG+rq2gtBtfOTbIyOT4tZWlgki8yA4PsG3nr\n0GnWtN4Ra32WqHdfoBW868HopEseRCiZwxFbF70Pl7o4ZgHcsA6OTwuIu/ic\n1MlnRwuuhB4BKUPhNmd4Vi3D07pLGC8MQybIdEckFEcf/zS1xe5+RsIlI7Sv\n+GehNCdSJ9T+uAFXrmq40MZYHaK22N4YGakY2xbJrqRb3V+axhpjT5KexeoJ\ngi3M\r\n=Peyr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDecLoXlglG2h160ZnIzxdgSs2g1S8WQCoZanAPh65VhAiB2RYyE8XGi+EInpropqb6Q2VaJLoRg9wpplCHOK2Ltvg=="}]},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/iota-mam_1.0.6_1527705599545_0.39632060852068207"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-30T14:21:09.888Z","1.0.0":"2018-05-30T14:21:10.459Z","modified":"2022-04-05T03:33:38.927Z","1.0.1":"2018-05-30T14:32:36.883Z","1.0.2":"2018-05-30T14:35:39.469Z","1.0.3":"2018-05-30T14:37:16.854Z","1.0.4":"2018-05-30T14:44:15.586Z","1.0.5":"2018-05-30T16:45:30.263Z","1.0.6":"2018-05-30T18:39:59.706Z"},"maintainers":[{"name":"decentralized-auth","email":"erwin.rooijakkers@alliander.com"}],"description":"Wrapper for the IOTA MAM client that provides convenience methods.","keywords":["IOTA","IOTA MAM"],"repository":{"type":"git","url":"https://www.github.com/alliander/decentralized-auth/shared-libs/iota-mam"},"contributors":[{"name":"Erwin Rooijakkers"},{"name":"Alliander N.V.","url":"https://alliander.com/"}],"license":"Apache-2.0","readme":"# @decentralized-auth/iota\n\n[![GitHub license](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://raw.githubusercontent.com/alliander/decentralized-auth/master/decentralized-auth/shared-libs/iota/LICENSE)\n\nWrapper class for the IOTA client that provides some convenience methods for use in the decentralized-auth project.\n\n## Usage\n\n```\nconst generateSeed = require('@decentralized-auth/gen-seed');\nconst IotaClient = require('@decentralized-auth/iota');\nconst MamClient = require('@decentralized-auth/iota-mam');\n\n// Instantiate a logger that has an info and error method\nconst consoleLogger = new (function () {\n  this.info = console.log;\n  this.error = console.log;\n})();\n\nconst iota = new IotaClient({\n  provider: 'http://node01.testnet.iotatoken.nl:16265',\n  securityLevel: 2,\n  depth: 5,\n  minWeightMagnitude: 10,\n}, consoleLogger);\n\nconst seed = await generateSeed();\nconst mode = 'restricted';\nconst sideKey = 'BANANA';\nconst mam = new MamClient(seed, iotaClient, mode, sideKey);\n\nconst message = 'HELLO';\nconst root = await mam.attach(message);\n\nconst res = await mam.fetch(root, 'restricted', sideKey);\nconsole.log(res.messages[0]) // => 'HELLO'\n```\n\n## Test\n\n```\nnpm run test\n```\n\n## Lint\n\n```\nnpm run lint\n```\n\n# Documentation\n\nDocumentation generated from docstrings with [jsdoc2md](https://www.npmjs.com/package/jsdoc-to-markdown).\n\n<a name=\"module_iota-mam\"></a>\n\n## iota-mam\nWrapper for the IOTA MAM client that provides some convenience methods.\n\n\n* [iota-mam](#module_iota-mam)\n    * [~MamClient](#module_iota-mam..MamClient)\n        * [`new MamClient(seed, iotaClient, mamMode, sideKey)`](#new_module_iota-mam..MamClient_new)\n    * [`~init(iota, seed, mode, sideKey)`](#module_iota-mam..init) ⇒ <code>Object</code>\n    * [`~changeSideKey(sideKey)`](#module_iota-mam..changeSideKey) ⇒ <code>undefined</code>\n    * [`~attach(packet)`](#module_iota-mam..attach) ⇒ <code>Promise</code>\n    * [`~fetch(root, mode, sideKey)`](#module_iota-mam..fetch) ⇒ <code>Promise</code>\n    * [`~fetch(root, mode, sideKey)`](#module_iota-mam..fetch) ⇒ <code>Promise</code>\n\n\n* * *\n\n<a name=\"module_iota-mam..MamClient\"></a>\n\n### iota-mam~MamClient\n**Kind**: inner class of [<code>iota-mam</code>](#module_iota-mam)  \n\n* * *\n\n<a name=\"new_module_iota-mam..MamClient_new\"></a>\n\n#### `new MamClient(seed, iotaClient, mamMode, sideKey)`\nConstructor for a MamClient.\n\n\n| Param | Type | Description |\n| --- | --- | --- |\n| seed | <code>string</code> | IOTA seed of the device client |\n| iotaClient | <code>object</code> | Instantiated @decentralized-auth/iota-client with logger |\n| mamMode | <code>string</code> | MAM mode, either 'public' or 'private' or 'restricted' |\n| sideKey | <code>string</code> | Optional side key (when mode is 'restricted') |\n\n\n* * *\n\n<a name=\"module_iota-mam..init\"></a>\n\n### `iota-mam~init(iota, seed, mode, sideKey)` ⇒ <code>Object</code>\nInitialize MAM (mode private or mode restricted if sideKey is provided).\n\n**Kind**: inner method of [<code>iota-mam</code>](#module_iota-mam)  \n**Returns**: <code>Object</code> - MAM state  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| iota | <code>Object</code> | Instance of iota.lib.js |\n| seed | <code>string</code> | Seed to initialize MAM with |\n| mode | <code>string</code> | Mode to initialize MAM with ('public', 'private' or restricted') |\n| sideKey | <code>string</code> | Optional side key to initialize MAM with (restricted) |\n\n\n* * *\n\n<a name=\"module_iota-mam..changeSideKey\"></a>\n\n### `iota-mam~changeSideKey(sideKey)` ⇒ <code>undefined</code>\nSets or changes the MAM side key.\n\n**Kind**: inner method of [<code>iota-mam</code>](#module_iota-mam)  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| sideKey | <code>string</code> | Side key |\n\n\n* * *\n\n<a name=\"module_iota-mam..attach\"></a>\n\n### `iota-mam~attach(packet)` ⇒ <code>Promise</code>\nAttach MAM messages.\n\n**Kind**: inner method of [<code>iota-mam</code>](#module_iota-mam)  \n**Returns**: <code>Promise</code> - Containing the root  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| packet | <code>JSON</code> | JSON packet to attach. |\n\n\n* * *\n\n<a name=\"module_iota-mam..fetch\"></a>\n\n### `iota-mam~fetch(root, mode, sideKey)` ⇒ <code>Promise</code>\nFetch MAM messages.\nNOTE: Expects JSON messages only.\n\n**Kind**: inner method of [<code>iota-mam</code>](#module_iota-mam)  \n**Returns**: <code>Promise</code> - Contains the root and the messages  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| root | <code>string</code> | Root from where to fetch |\n| mode | <code>string</code> | Either 'public', 'private' or 'restricted' |\n| sideKey | <code>string</code> | Optional side key |\n\n\n* * *\n\n<a name=\"module_iota-mam..fetch\"></a>\n\n### `iota-mam~fetch(root, mode, sideKey)` ⇒ <code>Promise</code>\nFetch a single MAM message.\nNOTE: Expects JSON MAM message only.\n\n**Kind**: inner method of [<code>iota-mam</code>](#module_iota-mam)  \n**Returns**: <code>Promise</code> - Contains the root and the parsed message or null  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| root | <code>string</code> | Root from where to fetch |\n| mode | <code>string</code> | Either 'public' or 'private' or 'restricted' |\n| sideKey | <code>string</code> | Optional side key (when mode is 'restricted') |\n\n\n* * *\n\n","readmeFilename":"README.md"}