{"_id":"@aarenet/element-web-ilag-module","_rev":"1-fed5cd2a5f7ed8b009524280a5c92e32","name":"@aarenet/element-web-ilag-module","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@aarenet/element-web-ilag-module","version":"0.0.1","description":"Demo module for Element Web","main":"lib/IlagModule.js","types":"lib/IlagModule.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/vector-im/element-web-ilag-module.git"},"author":{"name":"New Vector Ltd t/a Element"},"license":"Apache-2.0","scripts":{"clean":"rimraf lib","build":"yarn clean && yarn build:compile && yarn build:types","build:types":"tsc -p ./tsconfig.build.json --emitDeclarationOnly","build:compile":"babel -d lib --verbose --extensions \".ts,.tsx\" src","start":"tsc -p ./tsconfig.build.json -w","test":"jest","lint":"eslint src test && tsc --noEmit","lint:fix":"eslint --fix src test"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/core":"^7.17.8","@babel/eslint-parser":"^7.17.0","@babel/eslint-plugin":"^7.17.7","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-react":"^7.16.7","@babel/preset-typescript":"^7.16.7","@types/jest":"^27.4.1","@types/react":"^17","@types/string-template":"^1.0.2","@typescript-eslint/eslint-plugin":"^5.18.0","@typescript-eslint/parser":"^5.18.0","eslint":"^8.12.0","eslint-config-google":"^0.14.0","eslint-plugin-import":"^2.26.0","eslint-plugin-matrix-org":"^0.4.0","jest":"^27.5.1","rimraf":"^3.0.2","ts-jest":"^27.1.4","typescript":"^4.6.3"},"dependencies":{"@babel/runtime":"^7.17.9","@matrix-org/react-sdk-module-api":"^0.0.3","string-template":"^1.0.0"},"bugs":{"url":"https://github.com/vector-im/element-web-ilag-module/issues"},"homepage":"https://github.com/vector-im/element-web-ilag-module#readme","directories":{"test":"test"},"gitHead":"cf4a0a7831c821c07694311984de1ecbc297faad","_id":"@aarenet/element-web-ilag-module@0.0.1","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-AyI4GgSllG8E4UFAP3a1G0/t17OMC4plZLc/mA8RdVsq2C8CuawUsiVDbehIy564x204+7mUB4PDy/tl3D5Rqg==","shasum":"337c1419df391d2b44ac43d31026ffc84b6570ad","tarball":"https://registry.npmjs.org/@aarenet/element-web-ilag-module/-/element-web-ilag-module-0.0.1.tgz","fileCount":4,"unpackedSize":225021,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHK6eX5jFamOqyOo03heouAIrwy9kaGA75brgD0taSRJAiBIEzMORpRwKQ0whQ4km4jXRH6iqeBBBx6X7Y5FTHccTg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEMHJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq+Sw/+JDXYxnjzXLhFluI6B2jzZGNXlc77QD/AsuxyXQSbe14mCVtX\r\navEcc8pKL6Pvbe7AcN41DkBtFkoQzo9wGiKVbbOyJ4Cx2srjMPNwfjxE6DAs\r\nr8QEy+K/cADh+mNhqKy3sMv8HIzDho12f+hiOH8hOQnINh7ibqwgg+SH16tV\r\n8svRMbikPELlCebmH3+V8nhQCA9OP5Thp25LdhXbVmnYmB7CZQD+ws+9zVmO\r\nt+/FuV0aG+3R+q6UvvkSOdsVmlh0J1kUQ/Hu+OG6g+g6+u+ezXOkVLT/jk5E\r\nCeo3FQXXPzgBtXUL1h63c4y+2pVD6/PdVzUEHUDdGWgH2/AnRWIqwCyhzK+W\r\ngqPbr9wnwgf6Wa2DhFn6VeHZ2ynxuq2FW9boMpFvXMFyzHVAOIJvNIwBXJql\r\n5WQRmfaCfwvCtpv9CzfJFLkRa3vXWnXueDT+Uy8LX9Y+J2h2nPvVHd21LP+m\r\nKGkRSmTQn5o8zelzTUnKVWgKhTHWIcjKpClKl5FcTX3/vFD3IO/hqdJkLM1p\r\njAgAWCA5RIkNKgbVzvbA1RGN+dPIGDksCDRX5/YxAY3GMYQBXgSZY0qBhGfq\r\nGFycFzT8IVYQuUcPqPqGqq9gx3q9OSs61PVtYjGPSGhWKwpZp3mPpiDgDpeF\r\n0rQ/L8VEn43JsgZUM+P/P501lg4yvgRBDL8=\r\n=g2Cg\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bkalotay","email":"bela.kalotay@aarenet.com"},"maintainers":[{"name":"bkalotay","email":"bela.kalotay@aarenet.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-web-ilag-module_0.0.1_1662042569805_0.9559713609832783"},"_hasShrinkwrap":false},"0.0.2":{"name":"@aarenet/element-web-ilag-module","version":"0.0.2","description":"Demo module for Element Web","main":"lib/IlagModule.js","types":"lib/IlagModule.d.ts","repository":{"type":"git","url":"git+ssh://git@github.com/vector-im/element-web-ilag-module.git"},"author":{"name":"New Vector Ltd t/a Element"},"license":"Apache-2.0","scripts":{"clean":"rimraf lib","build":"yarn clean && yarn build:compile && yarn build:types","build:types":"tsc -p ./tsconfig.build.json --emitDeclarationOnly","build:compile":"babel -d lib --verbose --extensions \".ts,.tsx\" src","start":"tsc -p ./tsconfig.build.json -w","test":"jest","lint":"eslint src test && tsc --noEmit","lint:fix":"eslint --fix src test"},"devDependencies":{"@babel/cli":"^7.17.6","@babel/core":"^7.17.8","@babel/eslint-parser":"^7.17.0","@babel/eslint-plugin":"^7.17.7","@babel/plugin-proposal-class-properties":"^7.16.7","@babel/plugin-transform-runtime":"^7.17.0","@babel/preset-env":"^7.16.11","@babel/preset-react":"^7.16.7","@babel/preset-typescript":"^7.16.7","@types/jest":"^27.4.1","@types/react":"^17","@types/string-template":"^1.0.2","@typescript-eslint/eslint-plugin":"^5.18.0","@typescript-eslint/parser":"^5.18.0","eslint":"^8.12.0","eslint-config-google":"^0.14.0","eslint-plugin-import":"^2.26.0","eslint-plugin-matrix-org":"^0.4.0","jest":"^27.5.1","rimraf":"^3.0.2","ts-jest":"^27.1.4","typescript":"^4.6.3"},"dependencies":{"@babel/runtime":"^7.17.9","@matrix-org/react-sdk-module-api":"^0.0.3","string-template":"^1.0.0"},"bugs":{"url":"https://github.com/vector-im/element-web-ilag-module/issues"},"homepage":"https://github.com/vector-im/element-web-ilag-module#readme","directories":{"test":"test"},"gitHead":"cf4a0a7831c821c07694311984de1ecbc297faad","_id":"@aarenet/element-web-ilag-module@0.0.2","_nodeVersion":"16.13.1","_npmVersion":"8.1.2","dist":{"integrity":"sha512-NWMt0PnB+pa0t+oAgOI+MnnbqculzXBUSYDWMjpOmfY9OGov/ywjOp7oWa4OXIZearsXPjF39zVTXIuv2suwCg==","shasum":"b75fe7fd90af353b7d06f2d5b271b8c071a19419","tarball":"https://registry.npmjs.org/@aarenet/element-web-ilag-module/-/element-web-ilag-module-0.0.2.tgz","fileCount":10,"unpackedSize":239761,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBN1OKgFuV4sFC851NmxJETS+ZyrhMYM6xiq+xN2VsoRAiEA8xg3Vb1pN9j9kz6Rk80LdhdgXX98ddHEoc5w+lwJOQQ="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEMc4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo1MA/+OolPW1GYitrSmwmrLqXSDE2DagBiIYSRNtGZBNocCwlPpQQ6\r\nm20jhlljC/Ql2oluQNOVjFBO0/lzpxGLkYa3vUI+j/jHRSGcujeQn1ikCQPy\r\nwFKPc6wdMsdZwXeAzqtMafGl3LS4zia+1e3Fzkj8p7eUt61rfgWTsqkjO5Ul\r\nHBv4wCpdfeiSgkvKX9LMFGUOkpCXEtdppnOStD8paoeFiSH2wvA0dJ/IzjO0\r\na+H8EDYaXtpq6rByJRsMJhFsY22peF28tqnTRYmhUuG4k7du9pPL//aZhsav\r\nhYTaFT7NLDJCj6+EdpIEq4NbGbHHtwQMAbbM5bsOg+j4wf4nl7tbZvA1Q2M2\r\nSG5hph+iMEEqVYvMRL9In22WI1/4q2giHTtVOF84QzhQh2Se1e/80G2eqFIk\r\nBtXONFgoWo3U7XLz4ESpn1TYvY6GOkIP/0MRh4oldZhgqYq5iDWy6rqlTxQo\r\nNKhryXO7VeNqHgIIqDMzKnmIHZvUAlz/ntXk76nGrNUZEKUO47RQjvj988u/\r\niwRlm8iMC0MkxlN6DG5p0UQ5LDV7wRcqVfPAXmM2CXBWQTJlBGaIveoGTDeC\r\nj1L2E/a+ODmqOpo+F+aThgPk19mW9ycXZzQTWrHR/hAuAuKzYy8GXFeHXPw9\r\nzHyaCpzD1Ff/udXqCfbzxe6jcaXi8o5um4w=\r\n=OqZ3\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"bkalotay","email":"bela.kalotay@aarenet.com"},"maintainers":[{"name":"bkalotay","email":"bela.kalotay@aarenet.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/element-web-ilag-module_0.0.2_1662043960193_0.826273921221137"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-01T14:29:29.737Z","0.0.1":"2022-09-01T14:29:29.964Z","modified":"2022-09-01T14:52:40.512Z","0.0.2":"2022-09-01T14:52:40.390Z"},"maintainers":[{"name":"bkalotay","email":"bela.kalotay@aarenet.com"}],"description":"Demo module for Element Web","homepage":"https://github.com/vector-im/element-web-ilag-module#readme","repository":{"type":"git","url":"git+ssh://git@github.com/vector-im/element-web-ilag-module.git"},"author":{"name":"New Vector Ltd t/a Element"},"bugs":{"url":"https://github.com/vector-im/element-web-ilag-module/issues"},"license":"Apache-2.0","readme":"# element-web-ilag-module\nA simple Improved Landing As Guest (ILAG) module to demonstrate some functionality of Element Web's Module API.\n\nTo install, visit https://github.com/vector-im/element-web/blob/develop/docs/modules.md and install the module\naccording to the examples.\n\nAs part of your `config.json` for element-web, add the following section:\n\n```json\n{\n  \"io.element.module.ilag\": {\n    \"localpartTemplate\": \"{firstName}{lastName}\",\n    \"passwordTemplate\": \"{randomString}\"\n  }\n}\n```\n\nFor both templates, the following variables are supported:\n\n* `{{randomString}}` - A random string of arbitrary length and complexity, lowercase.\n* `{{firstName}}` - The first name the user supplied, lowercase.\n* `{{lastName}}` - The last name the user supplied, lowercase.\n\nFor localparts, non-alphanumeric characters will be removed.\n\nThe templates shown above are treated as the defaults, if not provided.\n\nTo trigger the module once installed, visit a room where you have peek access and while not logged in. The app\nshould prompt you to try and \"join\" the chat - click that and follow the prompts.\n","readmeFilename":"README.md"}