{"_id":"@realeyes/environment-checker","_rev":"78-63e539608a76a700513b9a404b246178","name":"@realeyes/environment-checker","dist-tags":{"oldstable":"2.5.6","latest":"3.3.0","stage":"3.3.2-stage.4"},"versions":{"1.0.7":{"name":"@realeyes/environment-checker","version":"1.0.7","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@1.0.7","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"fb9f525f603e69a603f8c1f2742385117e90019d","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-1.0.7.tgz","integrity":"sha512-9VDXtOEwHW9zO+H2OL+7vbRRnvKTKn9HB5DqsI52jY4ZfoDDDv0Wzzof4T28QxHTViapIetqy3kBxycOwxIkSw==","signatures":[{"sig":"MEUCIQCQfacs1KGYMDydd/i63vMFz+i+ZKtxLaPBeWhYK+cLPAIgb90ys9PvAi2nUfAOIuOJGuYsDTVgoqEgZ0sBCfT89QQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"fb9f525f603e69a603f8c1f2742385117e90019d","gitHead":"279ea15c593365e210f0de124038f449a5b53920","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.5.0"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"^1.14.0","eslint-config-airbnb-base":"^5.0.3","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-1.0.7.tgz_1482503469616_0.2896427372470498","host":"packages-18-east.internal.npmjs.com"}},"2.0.3":{"name":"@realeyes/environment-checker","version":"2.0.3","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.0.3","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"b087b220d07b9921a721c1dc43d7a214fe416acb","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.0.3.tgz","integrity":"sha512-nIuUqKw8g9/tFuOQ1ICRPBoHdpTaZ3otDtarMr233OvbuqmzCPCjo1h+b2de3rtHXv1W0mKVB6nUIwMEvRo/4Q==","signatures":[{"sig":"MEYCIQDC1Q0r2TnQxwmB4iqR24GLBzl7Gu16V5aSC1MWrL3ixgIhAPOJ5ynW5oOKdda905CnZtES3YrV7HRe5s63BIpDgonT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"b087b220d07b9921a721c1dc43d7a214fe416acb","gitHead":"793ed734de5e820389b6f7a4c030f8127907d8de","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.5.0"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.0.3.tgz_1482504727808_0.6361552681773901","host":"packages-12-west.internal.npmjs.com"}},"2.1.0":{"name":"@realeyes/environment-checker","version":"2.1.0","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.1.0","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"8747de3ea830a39b67e9b97239f28e44926c45e4","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.1.0.tgz","integrity":"sha512-/7QuldFpdIQX8Xpq7aaL4OPnLZvmns7JK0lkk9IAU+yGTz1+D3eJ7GVXte1P2OUnOd/lOnZPUQqsCmP+pHSZwA==","signatures":[{"sig":"MEQCIBFdZRB9y0Xq180JHr7R2Cyat6yRDBBvMDRbzeLRuYNxAiBgC+mQYFC8ckavNlJzvTn9GNIFlj+R6TtuhTvxuvvQlg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"8747de3ea830a39b67e9b97239f28e44926c45e4","gitHead":"52988a30a3472319d01ae8d6996eeb79186ddab5","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.6.0"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.1.0.tgz_1482924268610_0.7522946011740714","host":"packages-18-east.internal.npmjs.com"}},"1.1.0":{"name":"@realeyes/environment-checker","version":"1.1.0","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@1.1.0","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"ec925542081bc3c7255828cea47768899e616cba","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-1.1.0.tgz","integrity":"sha512-K3OXJYh7jPpobcMTYAyrxeixnSSh+u0cDA6PE0OhPvW5ClmSRzuglB79ix7LyKxTQUrEogZ2oEIk/SUsy8IIwA==","signatures":[{"sig":"MEUCIFUFSipDd+AAeon2W84C4579t/1L35UunXeh7d0Z+pzKAiEAhQxsmkKpWexLDcmFlQgUCnRcv3+sASzgr+yIcmd/OFM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"ec925542081bc3c7255828cea47768899e616cba","gitHead":"5c8aaab3889820ffc84a613edf2dd0a83073ca9b","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.6.0"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"^1.14.0","eslint-config-airbnb-base":"^5.0.3","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-1.1.0.tgz_1482925756396_0.5113936697598547","host":"packages-18-east.internal.npmjs.com"}},"2.2.1":{"name":"@realeyes/environment-checker","version":"2.2.1","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.2.1","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"1351b5b0578d9ef3491d7d8abe2078c845c6a53e","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.2.1.tgz","integrity":"sha512-B0FBSmE20Xb6GsNDapOG/T4F3ykj/2arZIkeaYD2GQxY01yc1J+z2jrDXtioxLBIfpGlSiX03g8FQpLOZVoGpQ==","signatures":[{"sig":"MEUCIGz2mUy17QoqiRbmEiQyivk8yoNUa/gsg2DGRarK7QXXAiEAtmsLFww8Fjo/ajRGO8XIfdAqQdU5aRhjt3zbAJrbCW8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"1351b5b0578d9ef3491d7d8abe2078c845c6a53e","gitHead":"99377dff0772da9ff4af1310e4fb16736d03d3b2","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.7.3"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.2.1.tgz_1483611918451_0.5988185924943537","host":"packages-12-west.internal.npmjs.com"}},"1.1.2":{"name":"@realeyes/environment-checker","version":"1.1.2","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@1.1.2","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"2f9fb4ed4aed813b1dd53449b2218a24c16ad278","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-1.1.2.tgz","integrity":"sha512-FE2GEHY1EKOCgZFpWZ3EPADFKXQCVxwjvPOsqTI/SqyQu3IfZJQuRDpr5FdMtMXuqd2pJ2qkm8lhGUfFPKaQpw==","signatures":[{"sig":"MEQCIBkCvWT2KOJ1TE54TQAzsmQpziSXtDUMHICngVd5NT9DAiAjBR9cgm5ZSgRkz1PBVg4SKg/Y0chp0OZIdii/1iF7Fg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"2f9fb4ed4aed813b1dd53449b2218a24c16ad278","gitHead":"95ec5c9d27459a3b5ce98f1ccbda357a5f20cadc","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.6.0"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"^1.14.0","eslint-config-airbnb-base":"^5.0.3","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-1.1.2.tgz_1483623337346_0.9780700088012964","host":"packages-18-east.internal.npmjs.com"}},"2.2.3":{"name":"@realeyes/environment-checker","version":"2.2.3","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.2.3","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"19705b9f480bbcc2375d1d3d15a11a297291adbb","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.2.3.tgz","integrity":"sha512-hlrGb1uahtQlIVU2fb3ss16GF+J8ri7Rxk5+eGk1q1sTpsskhby0KGaGIANKWo8Lp156oIFpVHp1aPvgH2Juaw==","signatures":[{"sig":"MEUCIQDvwkjs1zRGox7vHOfdWN38itTYbVE6qJ+mh1erFfSjfwIgJKX2UFZIcmr1fJUyIqmFqO2WHX2/Q8Kj/EhPLEYBRDg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"19705b9f480bbcc2375d1d3d15a11a297291adbb","gitHead":"8b0df99192bc4727ab3b8771fadc8cbb60c36676","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"1.7.3"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.2.3.tgz_1485168777633_0.4387810330372304","host":"packages-12-west.internal.npmjs.com"}},"2.2.4":{"name":"@realeyes/environment-checker","version":"2.2.4","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.2.4","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/Data-Collection-Environment-Checker#readme","bugs":{"url":"https://github.com/Realeyes/Data-Collection-Environment-Checker/issues"},"dist":{"shasum":"49481a53d5717101472bd08ee096af56a4f90f1c","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.2.4.tgz","integrity":"sha512-bOUrnCRu4cwVC7y8D6RDlC1zxI/o1VxZvZdWwOl37yVVwUARqBNkuAM6i3Wwz9Kw1kv8DkRtkaZhr8OgFD5o7w==","signatures":[{"sig":"MEQCIBuyph7l8v5OZeV7MBKUqqoD3vhuUe+jNaMRiibG37nzAiBevbXznc7/s8yK4W5pp702kBbdp5vsxTmzX8XbTJDdzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"49481a53d5717101472bd08ee096af56a4f90f1c","gitHead":"d502ed69020e97ea05b8ab966fe1fdafa12fde75","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/Data-Collection-Environment-Checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:davidklassen/swfobject#e057ecd34207a","@realeyes/environment-detector":"^1.7.7"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.2.4.tgz_1485184589553_0.7969954591244459","host":"packages-12-west.internal.npmjs.com"}},"2.2.6":{"name":"@realeyes/environment-checker","version":"2.2.6","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.2.6","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"7191fe99488871ae4ed1bf14a92500ac777caf42","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.2.6.tgz","integrity":"sha512-SD4z0shSv5j/cNta6LFJsQE/kP+eowi2jtbedZJl2LVHlcMTbtVzdT3CYyNTR4DOIexVh7F/lTXkrC+y0CSyvg==","signatures":[{"sig":"MEUCIGV3nou0Qe8lQrf/ByVu9g9a6al7La8uHPOGQRhWTJaNAiEA1y3T9shPWm+e3mmhYWfGaKHeS7tzXSfweVlrKErSyOM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"7191fe99488871ae4ed1bf14a92500ac777caf42","gitHead":"6f3eca3608c6ad960d84f7c0c655fcf03659b225","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.7.7"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.2.6.tgz_1485945428430_0.5350181059911847","host":"packages-18-east.internal.npmjs.com"}},"2.2.7":{"name":"@realeyes/environment-checker","version":"2.2.7","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.2.7","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"cf93605bc19bb0b75e38820466fd0e7028addbc2","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.2.7.tgz","integrity":"sha512-dPYVgWXCUEFaQ6/Oz1qU33CtVOVTOVGA8aglNoWetYUHu1rcdfQSuP0DszgdIpFSqgzbhflGR9Q+SxZrxZl4RA==","signatures":[{"sig":"MEUCIQCojgMysoINTlfcKUW6ZlHdJeSJ6khGMjanJGNp8iVgOAIgNTtRuKy8MisZymsT9BH6x9IyS/kLg+YpXCTP5DstG7w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"cf93605bc19bb0b75e38820466fd0e7028addbc2","gitHead":"9a9e334e374b69247e4aab0a351d7d766b35ee17","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.7.7"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.2.7.tgz_1485946251806_0.14652443514205515","host":"packages-18-east.internal.npmjs.com"}},"2.3.1":{"name":"@realeyes/environment-checker","version":"2.3.1","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.3.1","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"5f76b03ed26a0c2ce1cca52571c3cc61ae5f1b4e","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.3.1.tgz","integrity":"sha512-GynJ/i+kqn4klhfNZJEQZC+oW1CSEvrF7emAe6r7t8KOTn6pDnmUWCGSB+sn8Gq1HxPV1aujmfGywdpDcGEJ8A==","signatures":[{"sig":"MEYCIQDOFx8NTazN68surR6a8l/MkDWDafm32itJftnpJM7T+AIhAOsxif39Ho/SUPfS6bxNOoCuwe6NmA5Mf0kQzcXgnqL4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"5f76b03ed26a0c2ce1cca52571c3cc61ae5f1b4e","gitHead":"6041bd8fefeaa66165d0734f5d5d85a4dd630f41","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"uuid":"^3.0.1","swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.8.2"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","exorcist":"^0.4.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.3.1.tgz_1489152528025_0.4591079105157405","host":"packages-18-east.internal.npmjs.com"}},"2.3.2":{"name":"@realeyes/environment-checker","version":"2.3.2","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.3.2","maintainers":[{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"f0rk","email":"f0rk.tt@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"7daa91328ea6e02a5e6b1cdd000540cf49faaa21","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.3.2.tgz","integrity":"sha512-cuSoWx8j8S9aCWkpVFs2hDXZin9D4qrEiHUzxWeH4pRghoH6ChLYHI2kWLmCfZ3cqS0ZTe31x3wShSy2S7GUOg==","signatures":[{"sig":"MEUCIArMJRYU90rvXsz2ye+3HnW2RM0zgHDi82FtabdG/DrNAiEA00n5z4m6gTlapV1XcX9QPUK9oXH6vm/E2fY7iSO7nAQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/index.js","_from":".","_shasum":"7daa91328ea6e02a5e6b1cdd000540cf49faaa21","gitHead":"e667980403684b7beff88e38d5371bbf8eed3e71","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","prepublish":"npm run all","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"f0rk","email":"f0rk.tt@gmail.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"3.10.3","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"6.3.1","dependencies":{"uuid":"^3.0.1","swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.8.3"},"devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","exorcist":"^0.4.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker-2.3.2.tgz_1489488692090_0.28997142566367984","host":"packages-12-west.internal.npmjs.com"}},"3.1.0":{"name":"@realeyes/environment-checker","version":"3.1.0","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.0","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"d4705b8fe09334cfbca092c6f35199290768d1d4","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.0.tgz","fileCount":26,"integrity":"sha512-+eCON/cp//GyFvvSVUd6/qI5GpsQ84vlbxfNr9itCELmBwAizggWGV0r2wf4/DQq/h4yrrS4SIlfjyAsfLHJHw==","signatures":[{"sig":"MEUCIQDrwcphoPtPgMEj5gM4J+1O68Ixot2ErMqvk1B98zX6QgIgJ37QMKBOuYzd5bUVAaG7AuqHXQVeCmcspYijeUOyXiY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":400779},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.2.1","@realeyes/environment-detector":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^4.18.2","rimraf":"^2.6.2","ejs-cli":"^2.0.1","babelify":"^8.0.0","exorcist":"^1.0.1","copyfiles":"^2.0.0","uglify-js":"^2.7.3","babel-core":"6.26.0","browserify":"^16.1.1","babel-eslint":"8.2.2","babel-preset-es2015":"^6.24.1","eslint-plugin-import":"^2.9.0","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-spread":"^6.22.0","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.0_1521723957231_0.017078983511703116","host":"s3://npm-registry-packages"}},"2.5.3":{"name":"@realeyes/environment-checker","version":"2.5.3","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.5.3","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"9f8aa0c2a3447e72e30e7485a328e4fd16347461","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.5.3.tgz","fileCount":26,"integrity":"sha512-5nqkqk4Msk2mOG1i5jUmi1Q7dAUhBdH+MTSJt3s39XouYlD3McS1/CDXbUTaTJV1MA+pusNTufEJcBOvbhZpXg==","signatures":[{"sig":"MEYCIQCsWS9pX4jCCLxDSO/jKvHljYpmnGZoCous2hHse86WeQIhAICbzavbJIAkCWSakh952fveLu2xyjBk3epHIohJM7U1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":703268},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide two versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections.  \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y.z` to load the exact version, for example: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2.1/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x.y` to receive patch updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x` to receive minor updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n\r\nThis example loads the latest release of version 2:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. \r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `FLASH_NOT_INSTALLED: 1`\r\n- `FLASH_TOO_OLD: 2`\r\n- `FLASH_BLACKLISTED: 3`\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/Realeyesit.EnvironmentalDetectionAPI.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2016 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.0.1","swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.8.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","exorcist":"^0.4.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_2.5.3_1523028932012_0.38549501008976117","host":"s3://npm-registry-packages"}},"2.5.4":{"name":"@realeyes/environment-checker","version":"2.5.4","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.5.4","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"9f71242ca1fac7448763800e20dbd7aae83a427a","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.5.4.tgz","fileCount":26,"integrity":"sha512-r1ApjOtXuS6yOZ8DS5wZLOyEWcjHLQKSGqyA6QCnWE2gHbrmX+2/8dA7XkgMpqcAMSwLIcr9wm0mJDIBR5ve/g==","signatures":[{"sig":"MEUCID+5zssEHyY5Qjk61sSWGBMyvq+CUglGuhVP4GRNNXM3AiEAr/ZCS2owecsH0JfrP9jPun5dKcEeqk9nigAaDGpnDzo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":703285},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide two versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections.  \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y.z` to load the exact version, for example: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2.1/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x.y` to receive patch updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x` to receive minor updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n\r\nThis example loads the latest release of version 2:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. \r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `FLASH_NOT_INSTALLED: 1`\r\n- `FLASH_TOO_OLD: 2`\r\n- `FLASH_BLACKLISTED: 3`\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/Realeyesit.EnvironmentalDetectionAPI.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2016 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.0.1","swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.8.8"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","exorcist":"^0.4.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_2.5.4_1523029649066_0.3467649867144682","host":"s3://npm-registry-packages"}},"3.1.1":{"name":"@realeyes/environment-checker","version":"3.1.1","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.1","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"be2eea38fb6d570e3de31edade85d744373ea2a2","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.1.tgz","fileCount":26,"integrity":"sha512-/Kl9KHQtRk5gLyUjWI0ztEvrE0UE1tVsepALU2McHkYumjkmWejtd0kcqMUUYfAA5D4kWQQdV8iDFrkYDazRmg==","signatures":[{"sig":"MEUCIQCCULy0suGi/ufYRG3mTZUZYUUEZYmPDUXAr4rjzoBZYAIgNQESrCXkRkSEL0YNamcs/oEDaF2JYePL7BxcpcL3cSk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":403599},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.2.1","@realeyes/environment-detector":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^4.18.2","rimraf":"^2.6.2","ejs-cli":"^2.0.1","babelify":"^8.0.0","exorcist":"^1.0.1","copyfiles":"^2.0.0","uglify-js":"^2.7.3","babel-core":"6.26.0","browserify":"^16.1.1","babel-eslint":"8.2.2","babel-preset-es2015":"^6.24.1","eslint-plugin-import":"^2.9.0","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-spread":"^6.22.0","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.1_1523531062620_0.9819105979569949","host":"s3://npm-registry-packages"}},"3.1.3":{"name":"@realeyes/environment-checker","version":"3.1.3","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.3","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"422a2addf0f311468faf05f28246e0a939315d8a","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.3.tgz","fileCount":28,"integrity":"sha512-OdHZWu1Ua9SijOb96U7UtmZd5WT6tIJ/+ZhXRysWcA+zrerMiEHJ5fUH4VlonqWuWUNnjgrpkwVwNJ2l0SguLg==","signatures":[{"sig":"MEUCIHFLdVgjLDEcHoCZNVqk9LXRpWO916oGgvNelCAao5iPAiEAkrr3yLUNi+K3JgXdKBWlcLbPtuUfBf/WDqh7/hxD1yQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":421584,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa6YYlCRA9TVsSAnZWagAAMmwP/i6EBVZzu8pVWpBHOg68\nCln94FDid6C4v/ozcxzE3mq+T9tpj3kM9oJvEb5DDqWpvrW3QfL42KvToXFG\nyjsATCa52Pv7XpGMFPa5DCYuQ2S1jtEm279Cbb0R43h1975ae1vhYvsyKTaI\nuOFTWYUwDRxa1O/wCCU7ShCcGiVBtMkQAIRvwao5KpZQhAQQX5nuHYVgzTLw\nlx6/iP/Oia5mlgm+Y696S+DCb5Yzr/rRosVQlmwWdeHl8nWHnw2jYQAJjUSc\nTmwwvIcTsUKwmQ5gjpnNFTS5r29WLcb5nBrQWvOjtolEch/kWQvjFRZMbvcQ\na9oL+sL0s9BNecfeWCr/tatKM/SedJu5UF+948CnLozriv6vrDsb5cJSEVmX\nrrMlg62wcwu64yYs2ZWIuyadEEvFttfy0fF2tiYx4JYpDt0ObvpgEmdH0OXw\nqOdkxGUr6CZ2YBv2lTDBZmABMyCluErMxAOKlqXxtGjoLkkKgN/r/HnLzQoP\ntbwbfVrpBi4QPxB1voKCvKVmDD9WC8yLUcg19aackaRSB9VHDkLi15O2kLY7\n94N1JOAqpEyhJlnXeHZZ8LRVNepujcTUNPWrBUtT9/tECjj8zNpiOcmQ944+\n0O48JIVxkba3iP3bBysiQyvK16kc+jhqJhCqQv7zw7j/lZ2fEW5a+i80cvdi\nImXr\r\n=VNMN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.2.1","@realeyes/environment-detector":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^4.18.2","rimraf":"^2.6.2","ejs-cli":"^2.0.1","babelify":"^8.0.0","exorcist":"^1.0.1","copyfiles":"^2.0.0","uglify-js":"^2.7.3","babel-core":"6.26.0","browserify":"^16.2.0","babel-eslint":"8.2.2","es6-object-assign":"^1.1.0","babel-preset-es2015":"^6.24.1","eslint-plugin-import":"^2.11.0","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-spread":"^6.22.0","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.0","babel-plugin-transform-es3-member-expression-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.3_1525253667836_0.22392872262735097","host":"s3://npm-registry-packages"}},"3.1.4":{"name":"@realeyes/environment-checker","version":"3.1.4","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.4","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"62184b0f7bf9a5140a28ff1376c87107be46628f","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.4.tgz","fileCount":28,"integrity":"sha512-XQlai0/cdu3Im8AYN6Z9bcdfknfy6s/6AwtKwcJVN/fj7C2nQwdTKe1zak46KC7hDuAPt0yRpyoaAMhb1EQ0Fw==","signatures":[{"sig":"MEUCICIJUfH/nyqEw93AeZYLhetQlDBbusdXuwPt2P+rDe7XAiEA5rqBecvGOtcf++lHWt824tvAjf9tG4jL3xRzqmx8oTk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":421268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBmzcCRA9TVsSAnZWagAAELcP/A+mBoNaAMwo/sHroBAR\nvyrvGuaUU3ohZlO8pYCK/pXN5Z/Xkg1HeT5+LmguhdIOwR0fqz6T3Hu7reMc\nklv5Ej8jQauWpgZU3/9F6BfQcBxjTPdvcVasTqlBp0bbyksQosv/Sl/Sr4OA\nBAjjJIR4GQS4BJy8tB1b1uhibRHPkfkIH19SU/O6YR5tfJ+5/I3ejcgeDpOW\nImJ6/9tXsFuJOIHVfIGWvf3qV5Dpo4NjBCk19lmlR4fnuVy0wsxh2/uo0Nr4\nlcF5Gm3t1Xws8wloZ+01FWGJf14ZHDT2Jj09oW/ObmMQhdgJApiVNroPRWvZ\nYDacWKEmACgaSIV0YgPdyTICRWC3bXc8oB7L6tKc9KOVZYjY2ZifmV6J4gF7\nx3JdrOLgHnppGBr+Xt9OWJF9pOaqRyurB2p6iBTJWxvmHDfAoa4mA55+l/uz\nHJFNhRE/GwjAdNYzV/drmVZPMu+R8HDKrCzKKHpf/5Gvq4GcNZCN6BZxEsoI\nvbNXn0RuC/l0xSLf/djllN4fvxQT81TuFCAITNUQmiAeg9Y0DQ4rzzbsTwdR\n7+Vbsz/exmw87cFvgysQgs9U191vuy1Fnm8msZouEKHhvSTdnhZcj2d7gfm/\nz8x2j7Uz6sMbP9VPdgnb9zLaqBC8pZvV0ydz+/cx/8ARUTpn3lUJxiJY0j1n\n2hIi\r\n=sG8e\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.2.1","@realeyes/environment-detector":"^2.0.7"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^4.19.1","rimraf":"^2.6.2","ejs-cli":"^2.0.1","babelify":"^8.0.0","exorcist":"^1.0.1","copyfiles":"^2.0.0","uglify-js":"^2.7.3","babel-core":"6.26.0","browserify":"^16.2.0","babel-eslint":"8.2.2","es6-object-assign":"^1.1.0","babel-preset-es2015":"^6.24.1","eslint-plugin-import":"^2.11.0","babel-plugin-transform-runtime":"^6.23.0","babel-plugin-transform-es2015-spread":"^6.22.0","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-es3-member-expression-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.4_1527147740120_0.2588592104263443","host":"s3://npm-registry-packages"}},"2.5.5":{"name":"@realeyes/environment-checker","version":"2.5.5","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.5.5","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"b9b5c3a7fbe86a4373840ac402e7b1facbe9861b","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.5.5.tgz","fileCount":26,"integrity":"sha512-04lcpYJpBAYUTNkacdPCqU5d51Z+OrY7U+o4viS17DPUkTJdrXNtI2ZgEIUTnGDhBQd+I0dg5IGCAXMe9lbdXg==","signatures":[{"sig":"MEYCIQCfm1T2/7vq8sZEdQiB4449TGk/ci7Gobe8YgtNh2ggPQIhAMzzE2AskC8Li+mCYP5MffB+RrfetcrqJeh1VFjIVvTr","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":702918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBnCxCRA9TVsSAnZWagAAy4YP/2gOkzp1lpLZ4U9Sqnpk\ncCUpokdlaHREkGz/bPAzxhlOasGlcVaL0xdHEhIWbs1AXUtFNCXXYnFy0Djl\nMisGfzVStPVx4fzg87zvXRoGy0UBhmqvUvz/6V9np0B6nuiykLbGZ1/mFppH\nAllMBh2BXr2EXND6SDDsON8QIXsUsix1TJD9KfPYyoatvntnKK3uDlaRjns3\nkDKATBuG7j4K/Vhg/Fij/o+a9ly0z4JXayItfA6Kn8WMDejss5nMHs8juQmp\nF1rQmJvj5X2y6tVo7ro3YS/mT3N14vC/mwEaHlhIJ/qZvpi2zfn2V2+syWIb\nX9jxpxOPQd+xPeA8W345Rmn7P/0Xzg26JvQFwtCs0ykRrphtMRPPIAppScKm\nutKFaY7jbtoNXI0mrXGVU75HSObpJy48vOOI060PpL6TzWIhJgMZGYoPLhYr\n3EOcu8UiJHvNtFc0/R0hWTqUdSznncg369WPMG5tzsNKpaKZy04bC0J2xMLx\npgNaU0K7wBq44NPXHSLMb41HDQqR4vZFVhhtUFEFjxT1JdvR4gqP/WLvZKDS\nflTQmaecaX4fWV/slqUBCSMOsFb163VBB/7Ryh2vj/eQEPgiy0XnAKTgzJ0f\nndxvkObXpv0Rlo7ktNAgS5Hs6B37eKklckKIncLz36/CWSLVxnFfx/PW4X01\n+ZuD\r\n=/zR9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide two versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections.  \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y.z` to load the exact version, for example: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2.1/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x.y` to receive patch updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x` to receive minor updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n\r\nThis example loads the latest release of version 2:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. \r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `FLASH_NOT_INSTALLED: 1`\r\n- `FLASH_TOO_OLD: 2`\r\n- `FLASH_BLACKLISTED: 3`\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/Realeyesit.EnvironmentalDetectionAPI.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2016 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.0.1","swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.8.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","exorcist":"^0.4.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_2.5.5_1527148721372_0.0301980473110548","host":"s3://npm-registry-packages"}},"2.5.6":{"name":"@realeyes/environment-checker","version":"2.5.6","keywords":["browser","environment","flash","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@2.5.6","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"d8f9f1e3708ce2ddea460674c1f0907c8b051f84","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-2.5.6.tgz","fileCount":26,"integrity":"sha512-urfBE4J+twp+vSqYrokAJkytqa2iQUUCRPltcgP4KNEp0tHC7yPMhouYh6o7LefSuZ/1XAf+sT6yZrSy3H3lJw==","signatures":[{"sig":"MEUCICMzsPsitbewc1eKeMirdHd/wDnoN9Hk64BUT7iSTeqDAiEAuHk7dQKSXPTvxkQFNpkWyluhyqtTkEkNRBfLNYcjXkc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":702918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGmzsCRA9TVsSAnZWagAA+x4P/Ru+NgE8OKRay1T7d9Jv\nW9ojsDN/70x6k5/3rNV6XA3/1qDPxFRkk7xLnJbTiKKlTf1Wfsg3Zu5rhtEG\nVj531+CkHsOxXhOq60iQ17I05EAHZ7AzXedG2fUI8VWxIhcsyZwTJq86sH55\na+Rgm0T6aWLnbPTROzxf7WYqfQVEWAbpraAfBDtphi8PJtXJzRxB+Jnwe4pj\nA8axEQmfcARMgL97hyn9J+vTi+w6DTxy0m5aCpH6lBfjqGhHTzPd/mvXO0v6\nPzL+8VB1o51k2T+rHtECWXWamSBEQQG/TU+dNj63SVM/lFbgyh+hiB0F14xH\nOC7g3TT/1/KBlVuLKpz1+c+uHUCS4Reuw+KAcwSJDHXzSwp5fK+Z4yq9xlUZ\n7xAb30ByWfvGFMTSmEZng4KLkHPZiHsjpLzemFaNCcz4WDIgoFpLPjqBCm+a\n2Zg2nDTqEnxC3C5RRNiZNJ0OlTdQ85vjaO321MOuKU0piNJER/biDo6URStW\n+soQvbWWD2zS6Pd7w1100VGID0+D973cfg36b5spMAPUwThDW5JTgWt2aYkn\n7lkUd5XAYrFZjj3BKxvRtY0eddhw9zUZxP54Lfw7sBONw0pRMft5TG1SANlD\nJLDEPVdTT+/E1h4NZbESNZwfJNJkWLhH5C5Oxpxj3qaKfQpPWPV9gU2Zx66S\numWG\r\n=MAk2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide two versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections.  \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y.z` to load the exact version, for example: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2.1/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x.y` to receive patch updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2.2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n- `x` to receive minor updates: `https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js`\r\n\r\nThis example loads the latest release of version 2:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/2/Realeyesit.EnvironmentalDetectionAPI.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/2/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. \r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `FLASH_NOT_INSTALLED: 1`\r\n- `FLASH_TOO_OLD: 2`\r\n- `FLASH_BLACKLISTED: 3`\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/Realeyesit.EnvironmentalDetectionAPI.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2016 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/{environment-detector.swf,log.gif} dist","lint":"eslint .","build":"ejs-cli -O package.json index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --support-ie8 --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","copy:example":"copyfiles -f example/* dist"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.0.1","swfobject":"github:realeyes/swfobject#e057ecd34207ad7e2180d83f4a7e75aebac0e42e","@realeyes/environment-detector":"^1.8.9"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^3.3.1","rimraf":"^2.5.4","ejs-cli":"^2.0.0","babelify":"^7.3.0","exorcist":"^0.4.0","copyfiles":"^1.0.0","uglify-js":"^2.7.3","browserify":"^13.1.0","babel-preset-es2015":"^6.13.2","eslint-plugin-import":"2.2.0","eslint-config-airbnb-base":"11.0.0","babel-plugin-transform-runtime":"^6.12.0","babel-plugin-transform-es2015-spread":"^6.8.0","babel-plugin-transform-es2015-classes":"^6.14.0","babel-plugin-transform-es2015-destructuring":"^6.9.0","babel-plugin-transform-es3-property-literals":"^6.8.0","babel-plugin-transform-es2015-modules-commonjs":"^6.14.0","babel-plugin-transform-es3-member-expression-literals":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_2.5.6_1528458476009_0.9256188410541135","host":"s3://npm-registry-packages"}},"3.1.6":{"name":"@realeyes/environment-checker","version":"3.1.6","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.6","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"elnar","email":"elnar@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"7c9a7e077bad67e27420137a2471e69123044275","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.6.tgz","fileCount":40,"integrity":"sha512-Hdc31pdVlp/14Z4Q0vHpWxf5SugcXPeXejH+213reiy93nmV+2sVH7y4nvbnMSrr/Di2cDpGBjZ3+cRu3Qhrsg==","signatures":[{"sig":"MEUCIBtXEtf6Y6rNO5JYebUtyCGqy/i+IhLW+okEC7+KGejqAiEAvsDk4mbgEpXEIufPwWgXYBnvKfI/x8cpRB+3IU7zfOQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":537471,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRy+0CRA9TVsSAnZWagAAl5YP/jfB/ayiACEhS4qocsyq\nO0b/wc211x0CGXcy513X8hc/95GAs7ZkD/Hw6DrMoLVsaQO8PfLXAUWOrWN+\n7nUGdBveVZ0iTwGBditfvdd6HDrfHd4EkMbKLRxbrDy0xKsvH7dfAiono3HU\ntN1UDFAgqtAH3rKkGircI6Xcx5zBAbgNkMBQKDB0bQQ6hsqC4+OwExseHzCZ\nlCmfQvJafcfEz9hKp5ZedjxmK7jFDQn6OEoWDpkDWQnrg4+FMIKuLMKMHv6c\nZFKvHQTonoNepFVKAhXf3koY0GBAIB+uAXkhO3VacMZFSiweE8OCB6kq9sBt\nxalsf4HRQX1AC1wGmDU+efZOZ/wt3cHOp1/ql97Nxf/4JlAf9pCDs/wwaFIJ\najrQMs+nyQg3E8yM9xWURENQ+7KyOmmxDYkEONjRKCQTHV6AP7bAgtTBb7xU\nglBuMg5+HkGZ6hOtY3Fv5W2myLAdAtfmPd28n4PDPxN/z0okpxpl90EBhgGL\n395cCX8dfbPWX96W42E4ExMtMyDtM6x0XCjFUsrvDeRR//1LV7m4pi9tzAqX\n0zf5u1BZjhXLJVEeuEGvKa95xNYQ+GDm4vGaCKvJoJysvV2UI3BdbtRxteNk\nINzyZuGDhgShrN7V43tSW0lXtpzrEPYNdhbz02RnOqvF32+S9Wtl74iVqkgt\nxsxp\r\n=a0H1\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 70 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.2.1","babel-cli":"^6.26.0","@realeyes/environment-detector":"^2.0.7","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^2.0.2","eslint":"^4.19.1","rimraf":"^2.6.2","babelify":"^8.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.0","copyfiles":"^2.0.0","uglify-js":"^2.7.3","babel-core":"6.26.0","browserify":"^16.2.2","babel-eslint":"8.2.2","jasmine-core":"^3.1.0","karma-jasmine":"^1.1.1","karma-coverage":"^1.1.1","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^5.2.0","es6-object-assign":"^1.1.0","selenium-webdriver":"^2.44.0","babel-preset-es2015":"^6.24.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.12.0","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","babel-plugin-transform-runtime":"^6.23.0","karma-selenium-webdriver-launcher":"^0.0.4","babel-plugin-transform-es2015-spread":"^6.22.0","babel-plugin-inline-replace-variables":"^1.3.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-es3-member-expression-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.6_1531391924518_0.7617636383035569","host":"s3://npm-registry-packages"}},"3.1.9":{"name":"@realeyes/environment-checker","version":"3.1.9","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.9","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"51c23c45a719b76731ae4babdc73ab483c2d80f0","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.9.tgz","fileCount":52,"integrity":"sha512-d1ySYdyeeWHH65vCjVP5elCQe0ws8tKxO7vwPZ4nrogEIOjCPNI/s6H66D3mNIeRb8H715+TtUAUA/WkOLZepg==","signatures":[{"sig":"MEUCIQDfirCld5LJenQyu+jHVpPTKv96jEyz8HJ/9+9ctldIwgIgQZvVN+pdrbxeF41xL5wcn7Fbz/AI3gzkhyu+DOtbAy8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":701031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyFX9CRA9TVsSAnZWagAAl7sP/03xJDxit9H4FpwBBMIb\nh5KNlTRominOPnPTXGw6Xw/1PAcx+YKqQ69aioViTFBWft9VYxroDYBqx2U6\nbThz+Ht8zQ5TUharbif3EGfFN9tYrOVu1t1sPscSwLRaWBltOi91HnyMXm+W\np8gJcayiYXejIHW50s4V/BH3SHgi5vqJl0nlmdZOB3rxNgPS37LM4JUQtwei\nYDkPEmF8SfnFfpNHQ0ZelzyDB2Ps/QSekA2T0EyJF8VveL4a28eJ5chuZ/jH\nOrXSBe6aWu4Yg099mA/aFJqkQWM178h5jVJeb8N5qPLAmjib8gsi+YKXeqiX\ndQnmsS9F/2gQQ8U0elPRfbqFpaqDEOLQI73R0x68W7m8Sjdd54Moj0F1+GOQ\nckCDpHreH5Ym9MmrvESTKMP/R5bEXZOaKuoKIBrt/SWDzbKjdS9eCoPWJR/R\ntR813sXKDRvUbxUvPdjansgepwENzEnIUxLWr+lHqxYcIVMhkYGEulAInyw8\nyB3Pq5dYEoYzAmLYk3mEOXgC9dubsM1k3rvs4npz3pTUFNpivvNdjyaZ+XgC\n2EoSzAaB19aswso2Xbd9PQi20ZXXEuN3A4CCVSffcH2TNvqPTLLzI6xolQPL\nvFCxsEhvafiwZLj1DoV75uyWeFXC3ifPZuYSSqE9lXocXlA0cgBf900FQIKU\nAd1o\r\n=9eXt\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js --source-map dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map --in-source-map dist/Realeyesit.EnvironmentalDetectionAPI.js.map --source-map-url Realeyesit.EnvironmentalDetectionAPI.min.js.map > dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"5.6.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"8.9.4","dependencies":{"uuid":"^3.3.2","babel-cli":"^6.26.0","@realeyes/environment-detector":"^2.0.13","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^2.0.5","eslint":"^4.19.1","rimraf":"^2.6.2","babelify":"^8.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.0","copyfiles":"^2.1.0","uglify-js":"^2.7.3","babel-core":"6.26.0","browserify":"^16.2.3","babel-eslint":"8.2.2","jasmine-core":"^3.2.1","karma-jasmine":"^1.1.1","karma-coverage":"^1.1.1","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^5.2.0","es6-object-assign":"^1.1.0","selenium-webdriver":"^2.44.0","babel-preset-es2015":"^6.24.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.14.0","babel-plugin-istanbul":"^5.1.0","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","babel-plugin-transform-runtime":"^6.23.0","karma-selenium-webdriver-launcher":"^0.0.4","babel-plugin-transform-es2015-spread":"^6.22.0","babel-plugin-inline-replace-variables":"^1.3.1","babel-plugin-transform-es2015-classes":"^6.24.1","babel-plugin-transform-es2015-destructuring":"^6.23.0","babel-plugin-transform-es3-property-literals":"^6.22.0","babel-plugin-transform-es2015-modules-commonjs":"^6.26.2","babel-plugin-transform-es3-member-expression-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.9_1539855868874_0.9383503523252577","host":"s3://npm-registry-packages"}},"3.1.10":{"name":"@realeyes/environment-checker","version":"3.1.10","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.10","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"35eb64e70671b6b7d8aa3132079afe8451d62192","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.10.tgz","fileCount":48,"integrity":"sha512-3yDSl+DLcg9YN6cBHbo+8KcMTzlPb2xiEJyKDw4a76uonKwiDGucscjUoP4S8tnzTllWVHQs51amg9XETXWTOQ==","signatures":[{"sig":"MEQCIFR0kP7Bzn8B0Zbzs9VBeY2vkBmMLAKZQ9hib51VZ2xHAiAP1oLIMnRsMxwR54qTzuFCYcNuOsnCn4XdVttKRTp+Yg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":509726,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmKgvCRA9TVsSAnZWagAAFewP/0Eu74x5PLcd7j7lG9qP\nipjAmU9uSCe4rBMkJADttmaC2vo/OsZyxu/ZV9wOdmedBFeHEdWHkwf+KdoC\nvYho2xNrVPtLUvRmixlXBN3h1jKmVmsTSZvBsRPGkLQvF8bKex5g8uDaw7tU\nanvIGrXDq83p6ofzDjUylM33tyjepecLeMqxiTQhhsd4rWvuDzwXYdhNzG0M\niz/y0EEhYApzV992qTLljnIb9e6HtqbHysAwu8vhk/pqWgnvXwrp+1kE9y1D\nVhuE1bf0nDOpQu8AZKXu9S3GwatYCYNKjgkg9GpRJMfmuOn1blIILpMVF2Oj\noEseV24LJ6KWBE8nrST3w1BP1RtaGdwk6ZMzeN0GdK7PUoY/0Tf/HOKb7uco\nzPF/3DYW8ruOvwrVB01Ufj820pMFmkAvPnIxOkSuiEVs1quSeOUyM3WZXLjd\nA+/b7yEncF4XXHO7NnOL9L/b55QFk/KfLNElCsm0ElfdpM3fuRCrzzAe8mIM\nBOeew6SLC7EsL2/lVhzgyTxRfqUqjTxvtEIShncXBcs4nFCDarvqZJvgwHjl\nLhsxDwalSwa22NBVDfynqVadLHXDBGJRxoD1cmI6djEScS3ulpNXJd6XCo+M\njvf0eoTgwfoattygTl/TVcVo2wKB2vEkjD8RqLMoqPQm2HiLgKLVBirkBYEE\neC6a\r\n=MV2F\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.4.1","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.13.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.15","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.10_1553508398385_0.4956455443165473","host":"s3://npm-registry-packages"}},"3.1.12":{"name":"@realeyes/environment-checker","version":"3.1.12","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.12","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"41bb3a10818ca08cfa30658effb4240e79f4f4cc","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.12.tgz","fileCount":48,"integrity":"sha512-FCf2a5NKjgKoWgyI6cSQFeVfTAj+liT2LqsEMNSUVz03NNQoqc15ZYn4bp9KbcKVgaprqHQCTTCszboSUmasow==","signatures":[{"sig":"MEQCIGFq2XLyUilRQ9iKyp2VEh/6qdXzvDY9dDnHFSnE/Hx0AiAHwqKun342bTyGYnBpWcg/DhxrZ7G0skCHIC934FmIfA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":511379,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNadgCRA9TVsSAnZWagAASR4P/jNRss/JvEimbvmukEWs\nS3ltMUARkdChTCaKdgT7aiHQBU6YA23xu0ZO7BuQmD+166IYCWwvRndKFD3b\nN+NDeOlLlMH17Nuli4OvRxc3vrPZjgdoLoFI19/Q1B0xvPJdD1GAlLzF5bKP\nHRSwYgYPdD4/PZfM54lVvN17N740KSBfMFicmTqx9+V00CzKCTWc/XvcA1SR\nYhzJXE+aP+KAe61YeBJETRddI7ZnulBn8GGVPqLjiafvkBYR7aE6C2YQqZTY\nPyoUefAauzsbXal5gTacEJ/y2qHqtC9rr4gGo6YFf+ZWJPnRXlP5hTxq3wSp\n4jMoufaX+c3wwrn982S6SorzxuIREtZks3v3lIQifrN2XNXG2lzcZl4QkSd/\npfo+Ap3YiiJsuKRA7nQtB9X+n0VbYMG5RgJtNYTW/eCid+36HLr4QJLgsY1L\npTXU1ED2RnbQQdai54QTVX4ux3LwmKMktVViBB6xUieQXuF8jjIEnm+wAO6Z\nde9jxF1CgdbOY4dqWc+CGSi7WRl98zUV018/CEnSk2NFiHZdYuKWKWDIVyRZ\nCtOQWky9sogDY2fYoD03ucXN3MElpYxodlwNKXrfZyLWEZqSwlRDaaSbOIFx\netMiJPUPgPs3+0rWKSq/x4puaUHsALQjkxlnA9w9bE9aznzldaJ95daWwl7t\nfW14\r\n=b/jP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.18","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.12_1563797344019_0.3614198730861291","host":"s3://npm-registry-packages"}},"3.1.13":{"name":"@realeyes/environment-checker","version":"3.1.13","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.13","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"2977625538e3a275429daf631449614b3b8c894c","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.13.tgz","fileCount":48,"integrity":"sha512-Zf2ImbEas7955Gt0UhEr8allBc/jUqPYkAW2o5sZ9y/fMwQoUEiftTSuoTgGa8F7B5vbBuvkIR/xw5BIDnv+RQ==","signatures":[{"sig":"MEUCIQCSSR9ecS4+we7w/JlhGTh5nfRiolJ+t0Jzxekijr64PwIgArzw9hDfgO7frPL6CkI7KD6z3rjd8VMN6FSBmFWFtd0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":510481,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVqUHCRA9TVsSAnZWagAAMK8P/ivlSXIQJ4rQoAoXa/Ea\npA1H1x1IX4JhpkphLbxr7qf6akq7joZF04AH4NHTEfYwITUR2vSJraZD6NSD\nxzPUM/k7z53QE6EnATerJEIlCchR4HWh6HIhoJV4jQ2uFL29hi2+lulr8C4x\nlYUMdEzpAa561dBg26u3jyi6fPxF2oNuAdbQdwFVuHolB7BM0ATDNKtKfW9Q\nlEQ75/lw9kGdvHw3L+b1XloHlzHNkPPMxklvc0vunUelxZEy0Gb0g64W7ofl\nGAgBME+ReUvubxq18RK77KWD7yIoHL1sHWgqXC2MwWTgfBPgTokV92nHs6YF\nxoEzex5ly6aH2ERCrqVemiu5U8cPLL8pgLbBMxjF8bYGvGbOFNS14KbKoCZV\nbzHf8e5qL1cqNLZoAOjOfnsPnBbFQT11lev6fy/5pJjJbBWAYBDyoJIaN7dn\nmqFnT8W5w2IqAXJCSKxYE9cExaVg0VZpgwZaF5ZQJnhC6pEABRkBBlsjB0/O\nBULmJnLnjPMr1LYWeOosSfZMvS6+rozw5RoDgugDfpyXX5Dh0qFBUGNMAxrr\nkjQd8Z3LFNoX2q2NV3iYlV0+V3u5o2r2s2ewkw+N2DqYb4qNeseT7ZXqDX05\nalychU/xTz0pH4P7bY2TqGRILSMTDgtbVQtrZk8gX3ZGkAKeUptvy5hpd15M\nW9i7\r\n=Mhrb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.20","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.13_1565959430191_0.06294965808002462","host":"s3://npm-registry-packages"}},"3.1.14":{"name":"@realeyes/environment-checker","version":"3.1.14","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.14","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"bcd5cf5680eeb5c97a693271f34fae8cb62fcf52","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.14.tgz","fileCount":48,"integrity":"sha512-N7SEwGYZeJo4mJvsdn4qvliL9+rDgACxtPjLA3IDQwAbVAvG25EhroJ/RhcfOhnf5/lTGjiApzv2JanqCXZfXA==","signatures":[{"sig":"MEYCIQDemw3J2k/e8VE/kxbefG/trJ5reXZ8pin8mrgpMMEw+gIhAOFXQ/Kn8vDuQMOGwB4SAvEoj6KbhP570VzTBMTrH4cY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":511161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeL/OzCRA9TVsSAnZWagAAEDwQAKSJgoDEZtu0sdPYIDEO\nVPGp+hS1SRR1INAl6gx+B82mWdNfFdjFTdvVyEp6Z+Y/c5zXJQSVf0A28Rv5\ncUwUuzgEwu6ACCA8a2EpTK7eKwTb/3d3ZLZTNTzGF2vFKpvmRB3/IE0oRodN\nEggS+mDQF+kAle5kZuRNbFvRSd1tXaxRkZJWc3/R2K/6CCRzcJLxTnBNmMko\nsKhOqY/cNfD2YQS02v4g16qAT+NCUEU0NqJC9iafOw2WvhVkEcHbFH98n8Do\nRZMbqqC1mZxTOn5hhu70hDcDe+akTpcYqM92okc7fvUh1eenmRsnMwJSdLJs\nP0s3zY2qsfxupeBDosrY2PQ1mTkjoGCiVZzVArEVvkI6iFzawHBRig6Ho4wT\nZ+ADeuc4Vz/VJXJQCnr6jpNi5DIHyW9n//OMLOTLdTZfo/auLeHx5tqHIv4s\nHEDtNaK3cVQIu23csSECumpejF903spqi3UO01+oppTOb+LdC84dYQg9E8Y0\nqkVKiCPjq3nuCq+LYcPLm+PM6m/Z882nzxkuApsWldxaLjwnbQpMV+e+t19g\nwv2oUjqrECdKb9pe1S2qGJlr+pbIL1u+4fY5ZHOwunO4tCEAx3ScYXnEn9b6\nXfqsHO/Dxs2i7FCz0Jy84Qa8RRGTyKvhcDjf+p3HD/LElrUzwVf1XQsuIPdb\nXIWD\r\n=gIPB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.21","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.14_1580200882882_0.9757059127197125","host":"s3://npm-registry-packages"}},"3.1.15-stage.2":{"name":"@realeyes/environment-checker","version":"3.1.15-stage.2","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.15-stage.2","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"019e63c506f6b6110de8958cc3afbc1fe83e3013","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.15-stage.2.tgz","fileCount":47,"integrity":"sha512-RonpY5ABW6vUvSG2zCdJzjrdMR56QzjBO4PMx7jtML2UyUT2MqwlJQ/Q20Ap6BTI+vo5cWHW4pxMhXNaG1eGjQ==","signatures":[{"sig":"MEUCIDQrkL3fwVOcTtTJOnVyU16qTlJCSxeikHrxMnykg1cQAiEA9ji1/AvIEgiCTDM9aqzyu5XEjPg6V779eTGTGnkZJRc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":513186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJemdCiCRA9TVsSAnZWagAAnSYQAIu4cG5htslZh/kcT/lg\ngzTeNICBUe/DB72y8qtZhVDyNz43U0wRy3WswwCNOPy1DhIS6ay2h1XPxpsm\nCyQA0yPWSQ8hHIaykKIvtpGJTRt74V8yOI9SE8BhOZxeXjikUPVY9HmrVDS6\n0Q4A+vv4KOJvyXPtXDr5SPNBt+l/CF+s7w0nqGET3Zyvtmz7kZZMgXyrKScc\nBvm6x/goCOXmD+5OhyT8IE8HkBd2/D7BjfaDs43+FiDiaEYRb/XHHoiFrr0E\nBy557RRhqACmyMk+8FaX37WaK+BuYHWi9LpbaEYzg5XPERPUJCjV65uUwtOc\n28cAHILKJWmwV/cIiDyUilHmr8P5GQwkyCzdvlARgZpa+svhRRpwxsb7FdAp\n8iNaBfEzdyI0DI8sRamFfTP5gs95+sILoCl4+rf9sYNg6//4q636R6knUBW4\nKVl22nf+tOiWYg1oMKGfr3PHS/06/2+iulymyMF6Bv3d4pSosiFmXG5x59YU\nIDucdBePlfsZ8HC2JOSASWrwLzCgp2sIfSk6fwWrSUvig4XIMSvnHg4P8+t5\nOZjos3jJN+7VvIErOJcX7Lbaug/G8dpvpLW2uNdsf71LNwbQBqrX8rgRjPsL\nLCitkFJ5q4WsHBqrqv1dvgRSWDiM2E1vMWQfV+wZ7iUwbNBzyHv6o9r7oxs2\nlOh5\r\n=Cfqe\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22-stage.2","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.15-stage.2_1587138721383_0.40711528576288947","host":"s3://npm-registry-packages"}},"3.1.15-stage.3":{"name":"@realeyes/environment-checker","version":"3.1.15-stage.3","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.15-stage.3","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"36bfe53867e8f4e6b5fb39f07bcfc68d084eacce","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.15-stage.3.tgz","fileCount":47,"integrity":"sha512-uOfgr4Yxld23nUR+loCkCwdnx0KkrKlcd71aig2ehOygo1Gdo2kJrn0X86iVTkBe9bYv+c0H9L2QhV6ykrX0WA==","signatures":[{"sig":"MEQCIBs6y/W9zl9eEhN8hjqu/B7Q0I8k2H3APg9K08QZPCBvAiBIWioXL5+iIrdL6GQXEoRc1fyjUHHThQgK1zUP7s+LYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":513186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJenq8LCRA9TVsSAnZWagAAaA0P/1x2DzeSaMCfD/bZjZXy\nzFJyYtyvXCSaBDugZzrzuiYkL7wquANtHf/lZPeO3u1A6nmuuZMgWjIeD/7Y\nsm2yDM244/aGNHWnIEV7eb8McLRK8dHPTSCriOKsT8aFVdblXxmsX6hyafOY\nkML9sHWoCCvwJ1sXO0wcphzUlwC7wLpZHNpDZNd7LFN1z9NRVJA2+z2kMoCT\nLjq2qgkWEDJoh8koaTee+JlDEiumrO5JJIBubRPsGZiNTJZE79XgbQWWb/ZA\nnuTTPVlcc0P5ZsUeLmQIL1p32HoTTMvHbwKM10gg4RrvK0kWEO8D3oGXO+0s\nZj2LD/wiX5q7BqMSMI0yEZlQoSp9MZiOGAZYVSXO+FMysIm5pL/zQDwt/sia\n0GI5AD3gnRpNRIa8ErawdJhSeVAnOLkmRTo94giBDAjeXRSZQIJ0m7p+k7fj\nGefCBhRRKOs61y5JcVhVQcbx4DPhdMCG0ipQjC2nspRr8syi0WOcUlFZlk5h\nK1nhg69qKKuqHOB/t674IUYqnY8K1xou+DUIyfhl7XsFAtx8Fdrr4v3ldxeE\n78EUKpTj2dzMkXPJcCz60GnrFieiWBbcXijLB/tUTftNTLnSK5pkcYpjFQlO\nwxfCJwc3ebW62ikoYUQ0r0MZAGX5QIQeYIkXdmyqHzgCI3g1iklj62DIC4Vv\nq5j8\r\n=kuTY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22-stage.2","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.15-stage.3_1587457802925_0.9880110837852563","host":"s3://npm-registry-packages"}},"3.1.15-stage.4":{"name":"@realeyes/environment-checker","version":"3.1.15-stage.4","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.15-stage.4","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"afda9f1124600029deaa2b5d0219c5a49fae58a2","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.15-stage.4.tgz","fileCount":47,"integrity":"sha512-UaCE7tFu2y+Msdsd5RiNmp3ybTORJXdYiL5gn/Fdve6ybZTM2cvVaU3347BQGkKYUEERXWA5SvzKH3IOFsoL1w==","signatures":[{"sig":"MEQCIFJ2Vt2KCIfvLMjMND/4w+FWb05nHetbA6GvrtFVmRbHAiAXdtyw82foZzC7hakG6eIKLRKYkOKkSTjkM8frmDkDmw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514485,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeoe/+CRA9TVsSAnZWagAAwMQP/0BBRc+rxoN/qFIQAGuv\n5dPJpe6wF8nvW7y4jjB+yb/h9uh1d2kbkan5z/4BiOCZv/og0z4Fb+jb8M9z\nC3ESjq4znpLv95p2jdMuItRaclUW/ivj7jiixqOxokz6+ynDrt1F5QcvDEQn\nJPpajHh5D3dYcO1SWJHnAaTnj9RaxVmyGPjnI2RzhFab7KxKSG9VQ7fAyvw0\nIwlEecv+WBoaoLQqslxGqMWHUHDPFpZ2uHa6zxF2chg8t3Kr6d3X0PB6LbZM\nx6/M65aTklH0YCnJ/yfxYOENJk89JQqiZhLcUX0f+R1WiJYILk6JJCxeedSd\nBnobEZE3PQjpH5z3X8F4fej8legCRh/4igBCMZaCc8qYpRIJn1Latmr1Yxs1\nSKxnvfnYa9qqfT+zjbK3DfuMpoOTuQiSrPufPRP+M/NuZWRBEHI4TOFvpP5G\n1GgOHy9ybWZmDPAx2WyIMSzRH2Va3vCGvVNLMki6K5ywAvzH5IcGHFpeKkjT\nBeNSM86Y5oveHetbcceJuqSE/SqZjkcRrc9kzYCdCnEeF03qNTHb7+kkOti7\n91vVpf6itAjvFy1qGOReZ4XHVfh3qtLQeB1r3K7hbH8b4NMWvdbLj+IMg7lb\nq2Ea+uSfF7OFtUJ/PbSPbeZwH89wkv3AL87ZZwN8Ka9hioyX2JWvv2csGPrA\nXiFG\r\n=OvGL\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22-stage.3","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.15-stage.4_1587671037803_0.06950914304583344","host":"s3://npm-registry-packages"}},"3.1.15":{"name":"@realeyes/environment-checker","version":"3.1.15","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.15","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"2ff24825215a5787f34be97438c97d59a12e3722","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.15.tgz","fileCount":47,"integrity":"sha512-MXzjLBjyaUtZG1J1IBHf5Dj/IqgrZYFvgdXf218BMcfiNbiHTWy3SCMMPpJNpugqk0SFN2HNfJYZj9PWSRfraQ==","signatures":[{"sig":"MEUCIB/aEI3HHaEOd7mqpiVa0QI6+ngp9PDs/w1pMBAIxnrlAiEA5sjpjBDzvE0bT/I9aofIFAGlgneH6hEqX6xGacgV5oM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":514431,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeprNmCRA9TVsSAnZWagAAAM0P/jj/n8w8AtBG7ZCEHnSt\nzXNYMdmumtymqCJkWaRj14Xq6GyO09nhmkF7ii89n6QTTuXERpSBCwospmeA\ntLiqwpYfBfgsxh+9gWSEuvBkxXojbkf1fgKTMRaRl6Gu04N+/5VvQvxhfEnu\nxK62cMNtoN+fGr61jzHeaApZopKtKOh9FgackBmQsIamrv18fdPxxKp70Oaf\n6Ad93i+Lh7GEO/QhC0k/Ayxgo0dQUR4vKM+pSCfrjSwlyyYasKjcrk5oNPtE\nW9O4uvGOk6eG88lQP03k+Wpmzt0synMT71FFgZhy2+bt/ca5SDnGeVHGkX84\n+4koTPhuDyfJPKiUBnVPekFoAba019/sYIGawMjbfCweboG+Sklv9tPEffy9\nmEe5k2FrLz0u5kdsHqgWfvjjm8Pnwsbe3ldoSemGWGScQkNr5i3F0dc+7zfd\nMT5N73UVm/Aq2VCN7Z0xLLkZBOv656zeRC6MEV4WAWjrEp6+yagKJ1MymtRB\n+F4VavbE6XdJTiwQzloIAYYeqM5413pPU3DLUhuIo8/sVEtRa0GgjZWnKuMo\n+97ceMynJv75RuzZOptRAp0M0mpx01MruTNUg4NuWJDbJZVZWNtDxU0aqtRq\n6Ju0CS/KJy5EVG3w0mg/XOYn33u0yvFPEzV2jVR5U5qSTK/5eycZQkDYmp2f\n7jyc\r\n=AMG4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.15_1587983206105_0.6437626534730125","host":"s3://npm-registry-packages"}},"3.1.16-stage.4":{"name":"@realeyes/environment-checker","version":"3.1.16-stage.4","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.16-stage.4","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"8168428831f53641c38f21651a8eae5649dbb1f5","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.16-stage.4.tgz","fileCount":47,"integrity":"sha512-PTpZSwG7P0C5nDYnJKxPCsUhQIULHjsGoc6fUWhZtNc8hmJo7n6we0Zp6DBotP4qeFylzHRZ1iVaPlqvlG61bg==","signatures":[{"sig":"MEYCIQCm2wNLl9/Io3k2rf2vZYZMLYUuH5w+pt+Qp1h7uPYBIwIhAJcXBFawSRmdCn8ZjrzLS8QOXMBwo+IpD8PlvZ+6LO0K","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":520993,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdd1jCRA9TVsSAnZWagAA1bMP/jKndhgv/4UIbKQo1c2M\n2EvyCWRqrijU0cEPe8x1tpB3Wk9GYGRDo1A8zYbpkhB2L09vIg+A7s/1JoA8\nQkO0GOC8dbUznN/NHFckgAHfNBvHXxfHv+AczDHP2pbFckd8Ox7UpTBMPtNc\nUJqgwhUVLjSkklLhVgae99+NIniUYhwXk3JIWbuaL8eYYAjYMVxLtNbnXs5z\nmigiuSSXssXuq4J9XAuQb9dy/QjGqfmD1uvBGHWOxUTqVWczwfdPjPDUqLgD\n7vax0V4/5wP8yG4NDl5b2h7rwXSYIG5xEI4OOjTjVEZThMJIxJq9s8biWJHV\nkMoi1aG+IBHeIWVaQD0yC8GbHDVdwlgxobIOy0sK/6zFt05Gfk1I8gvS9pE5\nVYGoOdLzIUmy8qK/kLy3Tip4OOAEIn7J5dslb3mxDBDCLTo4txiT0iVjwcp7\n7USgXcmycwFJZOePEYwfAkUlZj3xmYguJCtfGDhKFtgUroi4nYAbUz4xMxSZ\nCZBu/u8DWykSoHcBctpeP0cnvtnZ6fw2LORIPEuTWKlUoIWyKhskES6pC+gM\npC3whuKUXLxMYRGtdXoFyWiO+8ZcwaVx7NaDHLOTHiQQ7qPVPUONSh+tppel\noPg6NGVsZiByNT4JKZElEHvS7yuDMVHavLuvJtDYnAjGfkQuhCxCFmqMsdXQ\neV4A\r\n=wFUM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.16-stage.4_1601559906559_0.6355059488207679","host":"s3://npm-registry-packages"}},"3.1.16-stage.8":{"name":"@realeyes/environment-checker","version":"3.1.16-stage.8","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.16-stage.8","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"aa1963960280d8fe2db605a3c25404f8d54e3238","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.16-stage.8.tgz","fileCount":47,"integrity":"sha512-R10o8lkcmoZTiPaoFb84SWJ266vD5qEIS+/B8wLjt5so9EPaanTXcAg3CU1Mc8Qv2/KDfgEXK1Kx4I9jG/NdkQ==","signatures":[{"sig":"MEUCIE0A946R8GKzxMu2C4E6L9m9PROh/nvrAAhvDVOujAY+AiEA+APzU6NFEOk6rNo6UAJ8usDgQRMLAUDiLPENdf2qdTQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":520518,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdebWCRA9TVsSAnZWagAAfwMQAJRmdKGP5QOuaXYEUdPB\nTkD6wB/DvX75Y1CsHkPBqMahe409N3SSszSHHacNU1ikn7sfrrGs6bbw6EN/\nq0J0mh7DW2gouXzDr7YPTlQJifT7oytery8/TIQ4wNpfRCoLZaP8aomtaYeD\nBMLo1nd+Vm7t9+7nYbxIa+zGU6DEbJ9ev16l0AUjuXOcPUsKojqJ/kkvk++L\nIggmxMDcrdGnXbh3AD1yWp4zNfYdZhPUKv6ZuVfW1HLDJPtdi4AUp57TesL/\n7n934GMlObqLQqMTR9FVk6YMlxIs2CHRA6O2cvy8trUrIjq8vz5cS1Ht//MX\n7aEGOS5hfxKiNtMb4JW7neMjslhhSOInZAXLlY0EW0gRZg8lAJpWBqau8IXn\n1eMilS5EDavxVdXIQ5Vn33m/pe5rkKJ+DdUiOR4MFaJ29GbDZ8ESFsd8h3z0\ncshPiuMOdQX11tfTZudn/FgGUcfDeZtUQDewUuMxi7AHMJ9ITqqwJ0a1aggl\nBrpEbd+8rVyLCLnyMjUw700DV0o2j9QiX6aaAyzQNZ3XtGcW9pJFjHpbvT57\nYX0EbnVYnKpFYKB2R+knwTnlsrUgrdOIw6voAtMI+0EutRkaxQtfdgzfRg6o\nG7A4ZoFW2wHmWU5T6AupkYn0/zvV7lE8qWwjEL6YW4rj1cPwoXmnVDvsY+ct\nTO3V\r\n=2sWi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.16-stage.8_1601562326340_0.463690851335687","host":"s3://npm-registry-packages"}},"3.1.16-stage.9":{"name":"@realeyes/environment-checker","version":"3.1.16-stage.9","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.16-stage.9","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"bc2f7bfcfafd494029de22440db7091447b54c7d","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.16-stage.9.tgz","fileCount":47,"integrity":"sha512-WmVk9OAzBreVauEhqTQ4cIJIncPuSj6jvpbbfj8Cnws8zU+Z5++bYEyNBffjtYcSpqEMBiAlvR30QQfhmxRsQQ==","signatures":[{"sig":"MEUCIQCY11vpCXWcN+nwr0XGMaL4estGNcN2rVT+nHd9VRnxUwIgBEw6HXiExXQoFlaWXVbJYSlUvJES6knX9sIWinN2Las=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":520586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdem2CRA9TVsSAnZWagAA3HsP/R2VD/Mc7WeVaYSD+Hrg\nYU7bdEFEGXPcP0+fg4sjvhPKL2x/XBv6Uqm0jaTyt4cEb1tQXFAT2nTXq1wN\nrBm8TN/9WLFD4hdvUA3BZ4J1N3lERUVC5tbAnE00nqFzZlHrwXa9SVAwvjfU\nwy6inpleDZB/oPooN7f2rVzdpzmtB+iUuaMatoNPJPNCTbxzu+KOEA/3vHRD\nypmg7anfrNaId0N2p1xJNTdGMuTRSiXO704pTxYq9HZPvoNvhL6sXm042WaT\njg5mxqOVhpblkcrHP4M63YBb1fiqjdNeNbm4u/tB/YyzmFceBus2qEzDzIMr\n4Ci3RE8qhhkGROKk+gfnQ3Up2kWdcDb3IMx51Ma8OUpObq4e9rgGRa21vaR4\nuggx/YLBotUwpw0GTR213V5vvh1vEeG3A/Mw0Z0ST440mD80fFLULH5062XJ\n4euBHyAWtcLjTlzuRDNHp3MUfAntrsuXElFdmOQJ944NPyg9rPCkkEuZaeRJ\nzK7eYWujkiVLZ+EkJBKiYDN90VJtQD0zv9kMRaRVUbEC0SiC+zuVDOyLhFBF\noZ1sIOMdP5FgEqwfJPax3A8vtGyHHG4NknP2Vgd7D13rX3KqybTfpf0mIgt/\nKIoMtBVUqjbeb/6D0UUCoGv511Zet2L/MbK2zB5wMmH4DkqgjWd/01Z0K6f9\nESI9\r\n=8KmP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.16-stage.9_1601563061619_0.9942661017507757","host":"s3://npm-registry-packages"}},"3.1.16-stage.10":{"name":"@realeyes/environment-checker","version":"3.1.16-stage.10","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.16-stage.10","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"56286d430bf05e15d35178894ce7c44e2a53f920","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.16-stage.10.tgz","fileCount":47,"integrity":"sha512-SUgMeh+f59zbOh+wHTfr8pWdbJCSnhLwRH3zBWr+341wdscaivjAOSboaYQ8aYOXjdaB8Dp20E1EJDPfnB2tMw==","signatures":[{"sig":"MEUCIQDss8LB4mjh9RHtrc4kT1UWP+VwR6qYDK7Dlm6twj83MgIgWGqyiJpaalRP2pVC0vCOFbiphjIHGAEhPMpEcv+eArY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":520546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfde59CRA9TVsSAnZWagAA7k0P/38814yJPKuFapKNFQrA\n3BAPxixV2koNAPKQSdoqx/F3EwFEfrRP5LEcqu3S97cSG7QHVOq2TKdeUagQ\nzhbev/nl/0DXx2L+sqzSbvolp5tUdqLqTJjvkPoSSUY6WN7UU1z2EHB7meT/\nty3UHXU26n7v01bogDJJvLeGyvUbGhAxARR7ob+X6u6otHPEdZCyB4zjxC1a\nGOhXIOCkzQx3+YEz8NXfQfzFZgMjOJBfO3rdWLREpXXmGAUjUl825fzTj+Pk\nIdUJZYxV05Ag5rNbTMiOQq6l/nYBT0Y1/Wp/1/a2OmQsM+fbsPYJwh6GhfwH\nL9/MNjn7xHjohsk0GwHzyip0AJkHFU35XIKLiQfM+UMQtUa2tmEqGI1sUmF2\n/Tr+nmvqO/8NfIyPBCcEC5nOJefxMxgP4uy1Bby/+9lO/vmP+mjUq4OYmoWM\nw+u1Jmw+ba+AinXRiUH/AMS4sod/bRKonx3myl284wDszMHCkY3HanSOTpAt\nEwavRSmF19xI0marHfHAzKmhaU8+Isq46rYMZQY3KKvZi2fUSn+iKnSYzEkR\nEjRYloxa9Ms4BJzGMDUg6YYN1wyCec6mXdVReNvYKT7b4lYZLSYD1hG6Pqoo\nAySsqU3HRFx3uUSxj4K/QDXGKDcHFTer+kTdqVvJhIZHOhhDHzJjO7VJYFvE\nk7Pz\r\n=Ty5n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.16-stage.10_1601564285241_0.04400726478644623","host":"s3://npm-registry-packages"}},"3.1.16":{"name":"@realeyes/environment-checker","version":"3.1.16","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.16","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"54647ac567bd14651118b6611a338514c16e84b9","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.16.tgz","fileCount":47,"integrity":"sha512-cUZ80d7wjefBYJHlYTPw+JNLvuJwPcDlAdLyUvf1dTVWeqeStVfHZOdM4na1zBwMpvOiZbBFcIUeHX9xzccZrQ==","signatures":[{"sig":"MEUCIBLcKciMxFxeGysAlHg/MGQg9yd6xYHq3fT6gcsSCZs1AiEAjvNkLIBgHrvLwpwkJ3aMmQSj8bxlupUXz0JF9PNRVFA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":520537,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfdvGfCRA9TVsSAnZWagAAIMYP/3KZXooY7l/qvlMfuTWx\n3AzxK1T30qqomevbyDqscl4wugjGT1TMcS+m8hHsg8d9TbeXYZtIt9lL3WzZ\nxHcVtPMAouNS4udKkX+OVDfQxftJqndrw2cPm3w4TWgX1EOlG6XChGmOWcKQ\nd2BBEmv8NqRJyHrEIn7AtSLgG9UquSSW61TT//jUBSdPywKCQ8efUpZTyKOa\nGz8lhEAqJAVLz8X1NPl84gZa3JDvqdLkjt1yGuJxOJeLaLeqSGFdQ//pLwaF\n8/+ODFhvg0AF2A62qOKzHYZAfZvkl96bISEIwsV7HpWOTzlgf9FeJFqaFO7X\n8hILTy8ZUnE4uHbMQfe3oMIO0LGtXS9YcDBK8+hdBgNyct7lGAHU5nhTS20g\nceQOoMQn05RfMjakba4oICdmZ37R7ZY8QW5UfSdL+nL9JEdSMbFflTLRCHHa\n/o+8wGJmE5TNqb6aPU72qfvFlgdyT2HiFbvj1fnAc9/FdTly0F2KlqDlrrhK\ngb6P81/bpLNpc+xjW/FCmbGiSvPA9HSfbkM75D0O4Qh8qVBf+LI/Ra7/6+Ps\nIZUPIiVG+Rmz+EemXB67yHu4lnXuoJHxpU/IXtCSn4WQS+z3r6xsZj4Divaz\nYykALdy29ulV0iByT6fdmoCJP3g9Qkb9lZnGRa989tdAhObkioGXgBdwC8LB\nwJU6\r\n=l1Xa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.16_1601630623496_0.2610812495835193","host":"s3://npm-registry-packages"}},"3.1.17-stage.2":{"name":"@realeyes/environment-checker","version":"3.1.17-stage.2","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.17-stage.2","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"1d364ec391ea0095026b2f69514138ce479f1761","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.17-stage.2.tgz","fileCount":47,"integrity":"sha512-obPSnLJKwGqSNPiFRHECTnB+MJBUQZ3uiuTTQs6fFTC92cqEtJga7hJo6MjlYz/TpaqVB9fEoRXT80CYwp09+Q==","signatures":[{"sig":"MEYCIQCXGyFtOYi78oLZ0wRKgO4bnXUhl/jr5uWaPHqoCO2aTAIhAKkAyfU+wCpylE5jdVFE51Kjw6qc8dZDa2rIMdXVSzcQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":519849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfd0snCRA9TVsSAnZWagAAKzcP/inqmd6jHGJK8loc6VnM\nGAiDwMgPQp293MeDpUkLDuPQ/gaMn3YWIhbTY7m0TFMrVqFEz6GaNJj/5zMt\n1eUXTxtJzx7L/Jlgv8WHA99zk9EQyOkUxgcrOXZ/4eXV2xqXTTcmB69Lku3y\nX0j1BDEtnqgoP1hSmxMSNR9oUP5PjEZSULDAtufYa6E/i3u4gybsFV64UGW7\nlQ7JZWzKQAYz/oqkRw2sC/ZbVBCIaKPzV4W+LtD0GYsuAgV5xcJ9inYFchHL\niJmCh6Mz+P4i1N9ZolwQRk/5BoZ+l8ewpC1O9aVjm5kaNASmKPRVzccidu7N\n/5BImhScrIc11J/fDpwQRavPMkSKyOumK0oLdBI5/w14m065FHreSHjlvihO\ndHT265toDzzfBf4kTdAw28XcYyhQ3Jwwfhe0p/cMjvSFKkzMVEKNQduEsTTZ\nPgRx2fiinuimEWtjWwdt/s3wDKAwOcRwxYb2MyCOW3iYCf2i0KDFshw12PGc\nNP/n4KX64JfRP0rXdZhSy1Aia/3dbJU0ldPR857WKsBYDeqwI5jxhCkVa0f8\nbI5IdZlFgF9mbfe9EjyH+WTBBmWqj0/Uo0tus1P96mjYzEatN/Reh8LgpLWC\n2OnMyEV61JVHRGlKFUJlNs2gjjiZ+uQBRpy5rjm58pvWqr/jXWZ5PQb5J7Rf\nvuOq\r\n=SbYn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.17-stage.2_1601653543351_0.41704854540823777","host":"s3://npm-registry-packages"}},"3.1.17":{"name":"@realeyes/environment-checker","version":"3.1.17","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.17","maintainers":[{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"eb21ed7ebe28d2f50f28f7dce3337a77c4a3bb98","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.17.tgz","fileCount":47,"integrity":"sha512-RYZmxyht8g4W/4uGMq7wwlsuoESJ4weH9HBlS0pv5qVwnV45mvv8j69xVElrhPNKzu7rCYLl3enqujhqczNejw==","signatures":[{"sig":"MEQCIHURCl9eQpdakwg0N+iWCEH67qy44IUTaN5yOKChr9cMAiAf1iVhxK7gbuTO/dmZyp5aK2b9nBzmhMvO6TApwNsk+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":519842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffbPdCRA9TVsSAnZWagAAl6cP/j4W4BzBvg50Aw/zPCm8\nOw+vdxuaHoKJmF7k6XalW6YHELIff2BYqG3sJfS8TAFkrzbjBJ7gFgCYbgrC\nW/n2bZqwVPquoXygZAOXFM0e/Mw4bsXYt/dSCfVPUE5ad4TgdB7Igj9b0xGk\n8HgkmIbGpO0TXeQxerAuMKz83Ec2e9HuVW4k+lG2xyhO2fYffj9dTuiPiCUh\nhRCFdWZde3ygr+FJPY9tvBXTuXDQ5Ivf2H0MDm4EKKpeFgRnLH5G8jzn9tGB\nZJxcibfjQz7jjYUgMWb3695dYFtWvwdEYS2lfNRw/a44DM9qX5sUxw2bvCVj\n9VyPRUuMPd5m8lJnviJeCmJfWrGgP7dbte07QuG8jpDiPdVn3aBacKyucd3Q\nKYXff573eKkDvOZWowSk6MyKy0x/PYxdk2zvgITvItcTTBTwb6ikwQvJ9Jx3\nZl3Ws2QIw4kJjoeovlfFuG3oRd5DerWSmWl7M/ZVX1myXnU1Bc3bYmwTBgL9\nuuijq1t5hVVARBJDJj68I+TGoKFgz04YlLG5PzrGnmq4VJql6Vdxil106nFz\nQanzxKOAsyr+63Aaug04WOhNETjWOpVqjMF8/6KF13U3AVlXhhfizGi+CEXO\n2tB0lqNyBnvMZFdDy2ePprBbl/0njTp+mmmCQlGVtF9xVeYj+X9i1NHGAiwO\nSxqG\r\n=8L/o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.17_1602073564562_0.9752401783903202","host":"s3://npm-registry-packages"}},"3.2.0-stage.2":{"name":"@realeyes/environment-checker","version":"3.2.0-stage.2","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.2.0-stage.2","maintainers":[{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"},{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"8f8b0f4a04a618a00df7b51bf53a011dac850ad6","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.2.0-stage.2.tgz","fileCount":47,"integrity":"sha512-sU+9ICOs3PjTaDaK7Tgy3Cqob52pNcdWoTWfgd1K0+FFGgUcJR3HNyY+kEW1zYTm6afCIlPYfSHg/HQCdAOPAg==","signatures":[{"sig":"MEUCIQCKT/3WO1VfCCsC36sZYeJ8Bq9l57JGuzyG5oP29EuJdQIgOL1CyDXYUDjUfOsyTANLB4aJ70p00WUsu+p3KXRrrcg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":519834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJlJXCRA9TVsSAnZWagAAUswP/ieIHV/+FLzrLpVmZloF\ne8VtElj1OXrmqEmHSWYANSsmCnA1qr5R6Gc2b0KPBI8tLZ5vQb7D21Qq2EOh\n3Kv9CqR4ZKr7HFrH2FXRolXr7RgwiThIpsLaFsghkCqKm0vdiRN8il3aI53k\nS3iF2QoE2N5SP2C8UKOa2QPwdfZ1qrvQM8gibAsf0BHbWBXQvEUu++LcPnhW\nOieJMUiTw+prK1qpeg43TSqeXOAiaZZJtxJ8ip8sXplAlELVwErwtimGow6h\nqReL9SzzHh6t8Mnvi7NrFmPZPtQS0F2i7aQSjwQNwnnkRQ/O3xFWQ3yvkHfL\n/ouQ5XqvEQ4eVCw5wAnFcdtl6t3ygkBEJl8WAGCuVZvq3g8gANoM0X/ifgek\nhRR+zv7Z820xwoq9gkum9IFsBGztkeuPkLoiFD8zxuEToZWg+IlvYExtcWg3\nFX1HuWK2xc69Yyxwl18hWQtpBxI3EmL9jiIwlWVLcFkPGm0KGheZDZGgRY7L\nomj7Vfr+Jf6RcC/1Y01l7qe2NrP79hrDSyWEKDn7gmokPLJpW+MljGK+ChgZ\nEUwUAbNZREnLyDWjwkjvcb6uRrjlEgEgdDmmksCTyIf7kB/Q6DwI89Q08ptL\nWurxUUyDbh1lfvgUafhRVNOffguDzmHUYksjpbBd9bCIyCcniwaHymvr03KW\n8RCG\r\n=cFct\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"laszlo.vass.realeyesit.com","email":"laszlo.vass@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.2.0-stage.2_1613124182476_0.7701909227211929","host":"s3://npm-registry-packages"}},"3.1.17-stage.67":{"name":"@realeyes/environment-checker","version":"3.1.17-stage.67","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.1.17-stage.67","maintainers":[{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"18e7de4f8747d335cd7b29381e6cace7a940f367","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.1.17-stage.67.tgz","fileCount":47,"integrity":"sha512-Vkq54QZuIL8PFq4mCCs3EgWxRN37Vt1FEdZakG5po0hQYnH8XXrF6rPok2HMyKF2fbqL4KMdky+JIvNwPdmj7w==","signatures":[{"sig":"MEUCIHNxaXpWFiX9Igp72nRoh7ANZAa9PEQqHmjurVPmesvLAiEA/DgpLMIE274C6Lmu+PIFjNW29s6LzjOw0puijMKxGfo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":522126,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgWbD5CRA9TVsSAnZWagAAbQIP/3bMo3AlDIJlyp2/8JSI\nbxikMW20ZZRBwVM+VtNi+UExMi1V4uoqKZszhWhXlOEvB6pLU6L1E6AG4QDP\nF8sgEV188ayPjKFd+LzPaHhqiWXnVsUw2s/ttAF8FoKRQoiv/bk2N4TxmJaL\nmYbjIWAZFbdDQE68FWOuNhqw5QkyGjkbjyAQ6h5hITwPRtbuxgSFdDtWlYwl\nZNce/zVogV4M0USA/W19mHzC/B85mnlrn612ezrWSrxLsyJogIxOcFz3Rv3E\nokfpaW2zpmtHDkBOyRBMJnvAylLyQNGxx3r76go0jEPczFEGHKTf88efGmYQ\nWllAb28sEg7802wQiwFeuU9sVMkSWp36nwFiiGfGlZe6oIR7nZ+KJZ2pufdF\nyUfmAOzVBQG2ptgnwI7+fId40SEHBGWwQeAw67cp5WvcPFXhEUNf6jwTabSh\nDIaDXsqV9Y8Y3NHQkuzBl4QvsCWQL7sevZ5HqhKdE2cens9qIicod1Lw7EpJ\nsCpZAjWDDCqv/mccXRaYOgHrFIEH8LQPqSNtV8o/xGwhcRSZ1sRRlUHHc29L\nz9t45JjMPg1IgSdgrIAR74cmkjhB2SxJ6xzIPcFHOxCEJHUMkjdHPXJxzVTY\n4dJS0Lm+0wAXdg7IfxwZWKnAYEbCVCoaIQQ8dKojCGVYY2EYspy8mQNOJHiO\nySyx\r\n=oJXi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.1.17-stage.67_1616490744682_0.015305197988726427","host":"s3://npm-registry-packages"}},"3.3.0-stage.1":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.1","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.1","maintainers":[{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"},{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"6fc814d0966954d2bce6be295cbe4795d033c025","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.1.tgz","fileCount":47,"integrity":"sha512-9BNc9CVYPCvvyuWB+n8Gr0dCl3X90k2ph9CYTFglZAAVMA9+HohtB9v/5TnuzcL1y9/cVzqZgKkcAUwn1ztVeg==","signatures":[{"sig":"MEUCIQCmB94VTvZwedFlUuIgUu1/JzoeD3PsPIgbOPgD5uiuDQIgMYqHL/T90YKuUh0488QNRPUYwcd8pU8+cFqhPQOV3bw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":522123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiAELCRA9TVsSAnZWagAAT0wP/jwhpjEkLsWnww5lll8l\nMrXu/8rcrdfk7i9QG+ohBzg7mk0lhuf3PnleAo6wrpPZNbuvPzZQFi525ovK\nPgKUVLft2QxgwzlRTKdAfBnkPi/nGSqeZjNP2FXT6WPdqdFdKwj/vZ0eIFJl\nVreMOEmW0XEVB2uQAt/abO0aJj2jfFcVbqGlrQT7i/t8SozXVDpojcvl8iNU\n3GT7j7prNqbdcpOIn0Rrlrh24bmAYQh5WefdwnEolqVjv8yhTU0lKFdleQ9S\ns9/FXWZT+bu1HwCC0mdtL93n59/AONIdFxvclt7kcwxnvOchgTNlDDzZrk15\nwKPGucDUm2H28FizF/xvGKv+xOvDMvow9inl+g0Cy/ENKrMloZR24/NxxX6P\ns8mTi6Gs/lFA9rlB8didJkxv3wiKQ4U5M8foTSkGf9ZZdWnceS40SNFFCCEP\nqkF6eJo2aGVXeR5gYolvmVMtHLQ+HHd2zVru3iAiZZ+Ka0kLL2Ph17Tgw712\nn8bIvEBYCrUYA2KIuxFsvBTKCqrqVmn/KmeoPl1xqFENIFpomT0HfYR8AvBF\ntWKPmbNaNHGGBdK9PAZxP5nJxxELCrCQPK4CVFyYY99TFmeVtLPAlEyGFI0g\npBwYQDy5z/MJ29Wm61ROvE11Lu8Vx0RRp0IK3zszloF/IUteweS6irKK51wm\noCfe\r\n=ixtZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"6.9.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"10.16.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.22","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.1_1619525899091_0.36263596621464766","host":"s3://npm-registry-packages"}},"3.3.0-stage.2":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.2","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.2","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"ecbb938c6b091968f5761eadd7b5676d7d370e88","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.2.tgz","fileCount":47,"integrity":"sha512-bq5ykHJIhrzGuJ3aJSISY2S/jtStMQrU11RUJQVfoLmjbn4HzNmdmbG6DDVy4Ez7t49cufnptN6hW8CAHNBFlQ==","signatures":[{"sig":"MEQCICG+XweKVT9qcfLqTiKylZfUCgxqVUegwccMtg6zzhKmAiBo4BwyE6KuowIXzrEf17LRVeMHCxHLTYndqdIqFtaU5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":522982,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBAHSCRA9TVsSAnZWagAAa8YQAJ3rFMaKeeGHWduKQfu5\ngDxzxGgg4IohSRikKZHOLiy0MRVRgZys3GWjVSBClQF9lCkA2+dg8HgKQXVS\nVrnkRawCJHVE7SyoBcVgRDqmr3Im9zwvYkLJNjMwkHOrXQ9P4Pqq3GO2yALV\n6P4rh9xt55bMtOsTvNOrIyaQvy883DLgajKDAr+rUDsE8lz/C8+KKWBbwgfa\noqTLw/vKnD2ZIJ2Vighq6IST23Qd0ReBIh7i+FNekbwiw71XQdNN0y2Bw4XR\n70L2icYWT3Gg75v3bUp8Wbtvy/rdmX1XyOSqKjVCQ5AHoP9BNzKaCzj9FpLX\nsP7RRDpe+jzRLZNxvv1ofnOhWy2UL99zQUX6uWE1m5ZQYI9oaRecjw+wghB1\nyHIXgyUv0/xy+NbVJprQpSp7yKax0GZr/M4Cj7c3Dw6mSv+1SZr2pwRRStTe\nXoMW/QorticobRNKKK0JOfmzTjYo8weKajHNDbjh+M4gYdIftghyoVgnWJ62\nFmJ9e7U1EMYyvABfflQTMhyuQy764ghlVglQ6IyEV9ubZ6l2rQwQhdWJYUbJ\nH8Lm881BAeir5SeMlNMTH5ItcJXnQmRts5mT1/FAxLHccvutKi/21YDYVK+L\nYeYuZQw7Tj+0tb8zxrxwAQqHxhKyXueR6mVv+zTrwbLNmQaCrOMq5jsaZ0xV\nS0lF\r\n=FU0q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.24","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.2_1627652561632_0.2980842886113706","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@realeyes/environment-checker","version":"3.3.0","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"479e4ac7c92ab8df9e1e3af83600010af092bdcf","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0.tgz","fileCount":47,"integrity":"sha512-iVJ1XQyfCbABveWIVPhRGVP6RouoQjPgfdLIboFC7lr11PX8hOQxSHHkiZnjQ4MEL8g82/Sy+HJSua4wb3lckA==","signatures":[{"sig":"MEUCICrIsNgcI/WRGX5YBs3NRFTWEpv4ekt8njJ0tvwRRip0AiEA3cRqKmSsGm6WYEPbdgWQUosidPGXmVo+10SuTJ8k2/U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":522974,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhB8NwCRA9TVsSAnZWagAAthwP/jtiV0W5qClzCeyyqd9x\nHZzG5th8Zy8wRCjrq0osZnmFfXYjAJgBKn9+jjf2wUggiFutcPJzxCDMjFm8\nT0l0w/sB0tQSuI7KOVPFTQjKuZcKBgx+y3ohuN25BE1iu/wocUiyTeiGODBP\n3GrciD+d+/NyIkK+rNUFqdjd4hq51RblOeJbnsmboeUqkIwO1+aKnrMoLgh6\nUxsNdbV319kWsR3YpDIQyijTKI205dmm5StaGVT8YpWObJE+NNN5hA4+JUXv\n4F10wNpOzlCVFv6kfm+txiDv701EIysPvcU8TlKr5+wC3qq0nRIiDmxRQ1B9\n8QdmhsE7St34KJ+zJYCRd0AUXkkeBqqpM0BQ2Izs//qGo4BO0spE+q5mrxjb\nLFNx9ZP138utNreJWK66SsvB+XkR1sxwjzOt5G1MzARlNflr1qPQrC5J6yNb\n39RMzYfWjSDM/KfVf1nD2MEq8oJhDKAJGsTjB99kfvgTxBKmz8bPNrsjmcPF\nqQCKYlfVaME0O8XKoq7mthT15cebqTqu9mnMRPXEqrZBKWi1gtw+EGiPF/oI\n6ZgEfQlkUp70zgOY9IExnAEntCZ410jqHoUXzJrAV5vwiWdv6IVFBeQrZQot\nNCfkm6bvZeM+ady+sPAiJ4F1PaETFunMF2k1N+3oDCHbmuded8MF2/DSw64y\nSTHi\r\n=si3z\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"^2.0.24","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0_1627898736446_0.8038853586784078","host":"s3://npm-registry-packages"}},"3.3.0-stage.3":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.3","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.3","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"c007deeda9eb8c6ea5bccb55e366f7608ad852cd","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.3.tgz","fileCount":47,"integrity":"sha512-Shq3QyvWAzLjn4+0fVuLGmJMpmti1MmfVpVqtFPs/M2+PMNLnIKMpnjgCPgKpWV5OTi7FLARrUWdy9Osum+hNg==","signatures":[{"sig":"MEQCIHSvwwgFaOyRzIKrebTiDTYPQgalrzh3AmpCVARjU52yAiAifvI0TT5Um4TwJg9oWuqSZKpZScIjFlCODvxgxiGCIQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":523816,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiglvGACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSPw/+K+FfXFR2mrdUwinhJd/TlYMZ1dZPrr82vPMVfTH4IP6CAY69\r\nBTT28C0C48MBArekYJ+tGQrfQpkY5NFfVuU2ZwAUFcknvZPOhVxPDEmybjNC\r\n6b1Sxrsl3D3E3B8eUJNe6jAZl674ql/JKLtvTRnyJ+9M6KcsusjjxiCNezk7\r\n/BoMkeiQWzzfWgwtdKbYClX3W94InzPw3bqEk7Y7UK66Qqmn7VtkRYPb+slr\r\n27G3ylhv/XxvvYj3ukz3kVwtsjFTvwu3pQyypOPzflUcfBo17dxVF5UQeD96\r\nEbldW1egniriIeOq65pDUhhAMeZ8tiOsulHN+Wgk0TtGssNp37+CxZc3z9Hd\r\nLxUZVrWRFy/ff2TZt2fdTkMOAc5gofaWY4QOfLFkw9Bq+zyX79eZTJRxc1r8\r\nSbzLHhFhBGc4PHFMksh3ejz86WA3vZnkkm0SuCXkOmxOlsA5Q0IX/sY2CKXe\r\nqfKxWepOfWO+kZXKGk4Wpe/w7ZFNnocpljB48CCx6euOijeD25hI8gYP1Gbs\r\nIgPd4DUoj+lCHlGiZV4NyfAyuPjBCHdZ5AFBDt3vul7ydOJmh5JYY9wfgSkx\r\nQR8oSeBlH1hDmK07dAi8GaHUZPjgxLiXHtSOcvPTkna0hToksfVozD1bAQGO\r\nFDkS/bs8DyRdN0+X4yK5q6u04/+hM6KMY/4=\r\n=MB6p\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.3","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.3_1652710341807_0.09275285933627031","host":"s3://npm-registry-packages"}},"3.3.0-stage.5":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.5","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.5","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"9e3d6ad08292714e71b2c41ecfa4b59c10874383","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.5.tgz","fileCount":47,"integrity":"sha512-kz2CsAyMwDnaMQhPfgDTL9aTQF1ix0bm3VChKYY7cb0gYI8iKOj5RWRZCSx7XvbRMCCUleNO70hrG74TddQiVg==","signatures":[{"sig":"MEYCIQCrAVBAMjywvu5Twj4wcZx7uL/HRo/+p1Ri9zpSdtd7CwIhAKfiNKU/ai3v9iEMRXpMp0U4g0/7MFwFQQ0TO1I6NExw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":526921,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigmPZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRJg//QaubhNo72SFWACkHTK2MtCbjm5jkbc84D0ltfSg87AzDtjK0\r\nHBcF6SAX8Oz2tYIb3cCxv4QhyOzXySUkNWYEFPYBvxx0OAh50Hl2EpKGxIO0\r\nXDV1VoKRHxBPz3cQFyT1UAsS3yZhGOZpWEbF0cyyBJk0N9MRt8PCBSmmYAsq\r\nZlCBQD1tZ657ew2z5eKr72D+iIvdu1am68Sh3feUsl7vvoiav7yJUQHflRkb\r\n376KuWBMX1eMUCn/YDaGdC/h1I6EobppR102yMoI0bU3/JIf5PUGRG8MeiY6\r\n7uTMfPLWfQMm1vxkLLrA3EIw1GDv7VEUC1LBYDwlzIkKv8b1buFmq7MQqLBx\r\npWzKNt0jRw6KvYZnVlQGPouldUZdum7+dK2yVIH5yzOa7RwgsLq0HeiOaZmS\r\nuAMyIx7wPoktzMkzycmPO5Ldcv/df2Zlt0n4X2oHDBEQLf1kxbpCS0ln2Hk+\r\nPNrWgmIEFHyIL4HcSy69RPciP+2T9zgkbN3SpTFI11zkNselCyCm8/9eFQOU\r\nNWmCYzdGLe/vFY9JyS1eHmdXNT7K5K27JqjpnIFJubBGCpWp2A+x3AAgnI6N\r\nG1lFsUeZVxTJr6Q7SXtXP5rhYYVa2EjZ8mDm9fLT10soQIpwvcA3LU8xaP0H\r\ngERRfcvEL8k0uHvXDaIJediuhFaawPVFD+8=\r\n=fP77\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.3","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.5_1652712409435_0.548132225913891","host":"s3://npm-registry-packages"}},"3.3.0-stage.6":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.6","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.6","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"6a91f045bc87068712698ae0b1170b62db18c4bb","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.6.tgz","fileCount":47,"integrity":"sha512-w7P/0cyFWtn+vJdzQ+zmtPfa6MtdfJPImR7JED6vgyjVqpGJvLus/yFC96fet2DBQG1U9wYv7s1K5QUk2GnSXQ==","signatures":[{"sig":"MEUCIQC14B15I0PirjIdxMBOzK/JkLr363czzBcWIgLgIV7BPgIgYwf6yBbkAu2bwRcAGjc+0g7eTmGb2IYr/8IVUGauxQM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":526919,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigpOEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqJDA//SNkTB5Fv9SXeJq8GZfjj0mjDMdQpdje5iVTl5fz3vLbAO+Xo\r\nKApayiSsQNi93OdELKPhembvOxN0DJdq7M8rgjydpN1j0csVvo/jAbL3VkM5\r\nK/efqnzhVWezN52E75EDLyO2CJ2ryu2hJpNOy3sw5wv9jcrWBbAmjaLXTodH\r\nJTUW6h4TsRqfGri4WHRwwVfEycFdKlXC65iwCWneCPXhzIS3YqPfF98Nv4bU\r\n0JyWJ9B81MhR1ywLjHycdFJPDxR/f5+lDjZNDz8nJmBl5vlOYJAHvPG9W2UV\r\nXELAqbwRPjbX8Jb0tU6wsgyaKsAFLgXlJsVvKJ0x/SfVck3AyQh8LDl9cc60\r\nEEfpVnQFBi1Gy/nIVZGz7USATbNd6qKXkm/a3jCKJkArh2wFbqKavG8EqekZ\r\nAFrTy7NdnX3jfuRKbkqzujSiq1m14X07VE9wLl8iVXcEinIwooKinUfC3Pgo\r\nN7yT+9ectw7UDuNS2+YqsbLVoe4hE9XYymRZZJQdqykkcgIPLEzzccTZ8lnN\r\nV2iOIxsB2/pl0B9njT6qCYWe5+wCa5iX3E3YYSh+k81XGTrk6di7J2ycS4bb\r\nEQu2M702WxRQUsVLN8N74KGPf3GZhda/bjvWNXDEJW9lEaEHzoyvLqjSCOw3\r\nWH4ym/YADHvN8DrgvinwuUs6jzYgY6H1XPc=\r\n=gKih\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.3","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.6_1652724612562_0.5204507446081523","host":"s3://npm-registry-packages"}},"3.3.0-stage.7":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.7","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.7","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"b997583b4e347edcd4d24f1e14a506f49d6244b1","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.7.tgz","fileCount":47,"integrity":"sha512-hslUwRJ+lNz+Ztuk2YF2om2s8uJl+7ruR4OqWdAzpyjH25QslY6itNWwtMtQDMoq4jlj/xeh+XIHgK0Txdxqng==","signatures":[{"sig":"MEUCIQDlmSV614oVMwsPROuQhjtUrYbNIRHi4VglgT7KN5SNPAIgWbeWRylHR4UiMykbVXlEhjXljr3nInVE56del+FqXOs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":529019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigp73ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmol9A//ecNDi8b/uODBrGYeDLdUmhznFnR2zPVph0GyLH9erQoTDcZa\r\nHooQbfHiDS+n+l7VLF1Q3vPqSYkUF3MApW7qo6UP5pfaWHAe6yJvDXH3XInM\r\nlS9W+rgomf/JRqngLJYe0YVszMXdS1VbZf5mLWrUzGZL/ywHbAHUVBLBKVex\r\nRNHFyeKat59kZ2J4sEXmrZhDmktWpRn6KuZ1drmAx6cpNMwu6TYDGqUv2153\r\nxFqjmjCZdRcu48O5jxfvhNqi/pO1yA0zbjaPR4wi85mH9iRyupKaj/VdFUeU\r\ndd8uv/8XQAjFMA7+QEIV6SVel7j209ToOuAF5NfSOL0Ow2owsTh0tODNuL+7\r\niGrR+ylwsCruOmdMvuQa5N8uypIzl+Udfbh+XoH3uFMBFIW6ynyNMtpzHfWQ\r\n24XHfYZzf2njBVnt1aC0qv1GVN0BMZuJVoBsFKX8HqdnJCrK3B+S+6pPej44\r\nw7fr5CSiqkRp4Bh2IZCK9HsLgQRxtyI3PSL/iY8IfAx0tDzJZTnM7JL4iAur\r\nAGenGExA90omRlGql3yrjhlRxGMgioFEoIxL26Mf6tDKvHibk3TJlIKNrNEu\r\nq2KXEnbOBp6qL3YZUg67XO3wo6SbXPwIeUUOg0pAfQfSPidua40zDV0hftrp\r\nFIWI2JNkqJuRbneQSfYRc/f/vrjCu4mWIkc=\r\n=mP4q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.5","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.7_1652727542822_0.8035875640231787","host":"s3://npm-registry-packages"}},"3.3.0-stage.8":{"name":"@realeyes/environment-checker","version":"3.3.0-stage.8","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.0-stage.8","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"15e9b25356ce03070df85757e41e82a5f283ce11","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.0-stage.8.tgz","fileCount":47,"integrity":"sha512-Sya4VG1wELOARXwRquzuveH6X7kWD3zVrAPEHCzIP5poBagCpDmll5yCiBKCx/neNGp1NsJS2yyLZhqhV7fphw==","signatures":[{"sig":"MEUCIDnojjiEum2XIDbClJVjMCH+S/NXL0R3f44rnr3iFf3yAiEA8evQ1A6jRc7xcVSOoYaCb4RbchMuWgp/wZxsf7YcvNg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":529017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigqswACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqTvw/+ImUoh81Smj0kCYjeJh8GEotPNzMSH3SRSsYqiMnBga6l1Ymy\r\ny7QnIpi67icBPhMyPQUOWypitSnoV1z1z95VtXYpYMCbx17TL70vpOM+sfFt\r\nAKJ+pcYJ4YPZy3xPJ5/3azqLTTQ81ZQpP14/y8rt86MbcHlgiuzQnRMqmQg/\r\nnhU1gUhu2dkb+QRTf9gjiB2x04U1L1VNV1GBZ9/KfsSkHU8kSrdOfpOsICR3\r\nQP8I7Geyxn9ORsyj+sMk4x6i2XLjIqMd5YEVlYiZqw87XU+gfBUKB4UaniBU\r\nuY0ZwV+7MWZt735phEnDw5G7FrV0BTU8rKcfEWctJ2xa5aLDNM98TvNZeTRM\r\nzMT1/OB+kWT7atBw9aihNJ9l0nDpaZ3QFR5tcp2sivdrFI3Lx/990lYtXIro\r\njG9c1KXwTf6xrBJRCtDXcUz3bxNeHTvVAGZWi4yYygnkY3lrnmhxv5aqbh+P\r\nyUsM7L+Ap5zWqbFvU9LQ2m8Q7FyZjD46QD3WilrPqyWFwqUmAqqJLW7bj/g/\r\njd/Tx+f0liRFKjb/D+JvymcMliCFrOuudp8P9ZIG/uFMblxj5WXWx/+5UpAM\r\n/uSTm2IMeTqykbnapbwgetqsdtDjiFjHjXc9pUF7IcStLWX6UZ1jtcW3wpoe\r\niZuc4n0yBIjLuJSjvSvazkcA1fyPfcPFQak=\r\n=blqy\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.5","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.0-stage.8_1652730672280_0.8853628960271647","host":"s3://npm-registry-packages"}},"3.3.2-stage.1":{"name":"@realeyes/environment-checker","version":"3.3.2-stage.1","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.2-stage.1","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"ee223d7a8bec552d748d13370993334a4d13ce1b","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.2-stage.1.tgz","fileCount":47,"integrity":"sha512-+bicoMGU1UnE6k03N9CesUKBMaGn4ASY4IcSzI+zZ38Jau1yQcIASJAG7PjZIfHVq3wJPKAybtkWVTR5TUttyg==","signatures":[{"sig":"MEQCIF391O5ZOqjt9zpC1v98sULGB7AsrgINbO9m7a1nW9DKAiBXQEbQmKsA25qYEJ2TBKQegAdLoND8Q2oLQQ6wIroR9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":529019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJigqyYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrveA/8D8v7yrtyccqAUOSQqtctp8NyhJitjoUqwpq1ZYpd5biCeVDo\r\nwF3G3jDaU04uX7bYW8db6fPq9QmggoAFxqx9YeDwNQBzSST+MulnGvz9dUC6\r\nTf2zjlU/uljjdh6KwS8KcTVGggomiOJrTtN8mXZiAYhmQIEOJMK051lVm+no\r\n317VbEBuF9vasnr/wWL81yjugHdPJeGV/puwHCdoy6ZKz53759vyhlF3KNMB\r\nT/C+fUjtv5pMXZnK8xukCr3RXVGBsJMMLbCuzsfsAdKYQNdt2TeL+tHCp0BF\r\nwLkmC8j6socsoj1tijcm66Y0PajbmNZd4Tk9NKUMqE9/y/+KZIsS7P4ZH/E5\r\nlWJcIJBbDtSaHWV1WsfmL9h+2UmmuHRF6fXjsz5QwL2kfyg6++zITi1r115i\r\nIXQxz+gb24kWBPDU8TNHuUyq9NzpJRlliNTZmqdicpjqyXs/vMJwgLGCCRg3\r\n9lHQxKBEKT73bSkxzYOi0Gjd2WvjV4kzavgAJcdbTITF2gnn5YGS/Xud/77Q\r\nqasnF84wOupaJy8XvdJQtgeHXOWMw4GIHpdELWYYqqRocAvP37g6FJTRq/mc\r\nEyZ6X4i7yUb8by8J9SaZM4+M+SevPSLFp/hkUwndiKoC9jG8IUd0h3z56PAM\r\n7v9J6t6SBDuToijqFGHBS6eY29GeWNmP0Ic=\r\n=yxFi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.5","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.2-stage.1_1652731032176_0.6006205776293114","host":"s3://npm-registry-packages"}},"3.3.2-stage.2":{"name":"@realeyes/environment-checker","version":"3.3.2-stage.2","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.2-stage.2","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"a9b042105734ec52f97afe76f22ec3552775be07","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.2-stage.2.tgz","fileCount":47,"integrity":"sha512-2Fkb0oC3nUPonqJe0xgXQfuW2tel8hkAsib5gjedtInG/F9Y0hj07m1EOnBiKypkImAz9CP1eAQKrdh4OzdFVA==","signatures":[{"sig":"MEUCIA5gqTEc7Q14eSDpSh2zUZ8o4Y+2qT4vZIwl9Ido3zzdAiEAzOH+qZ+3Kus79EAT6sJiKLS8LOIpKOA1vaHLXW19rfs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":529455,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihiRdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqfrw/+N09nyKp9gEsWwaXl9YSwQM6Z+JBvEJsFkDcUNm6oYIU5VBVs\r\nehWNHPD3PDqtUGT2pivwPcNnwCWIZQlY1CViu9FVr8zRyoTScpEYQKdhC1Yb\r\nnlhS5cjSlMdUMBO9E0Tf0HN8AL8E9ZcuYJGrInAPt5OzCj7PWCw20+B+o8/S\r\nNTCnSaCt5k3K/CC9IPGdtMSuqigjdyZ5Arfmng6mIhs757xtnbJb3In88qQs\r\n9ScAYwqtq/lNIrgAoSNWjOYkFId/SevwY8NVX8H1lAXtkS5gYG+34P7rM8D2\r\nJTd1h303LGTwEaE+6eo+my/wtAdLZWzAN9ndy4h6+dfYtWL2yFXwdw4ovItt\r\n2jc+PJ7qKID+fdP2OaIeWLXdu5C6WgSlPMVpIhJzzXMz69RiZhQmdhHK+D7l\r\nVvDm+GkyyoLvO1J8G5d4mj7XFfjDf9gao+XKUhF32v2iptN+fUcQXDiXQYRt\r\n8EKXcWeZSuYMSv1kXd99FUg5JGkBv5WSD+BKquagCx2/RBiBlQJKEe0aHaV5\r\nb5GaROcdXhjDLsW/bZIN4j6GWk4C7joxwlfziLKqMpUBKX+Ib1SCGLcxNCTs\r\nFu9+hmFhFp0LZCPhQpYzO0XuVLX4lMqVTYEaul8WIzJRNLsaLV8aB1D1BNO6\r\nWTcj6GATEOz7R3Bk/aAVUn93lOG548LTFZI=\r\n=BzQV\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.9","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.2-stage.2_1652958301424_0.8030108327320113","host":"s3://npm-registry-packages"}},"3.3.2-stage.3":{"name":"@realeyes/environment-checker","version":"3.3.2-stage.3","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.2-stage.3","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"8ec73c9cfbdc8989da21a45efa52e74fe8b551f8","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.2-stage.3.tgz","fileCount":47,"integrity":"sha512-Z3d4CAG83sHI3oY0ERXZYx6QELSVbgeYJnNYiqnlYB2xtbRFbt8dLNVrrGHyWTneX1BS8bPs+CfpDJAYkvoi2w==","signatures":[{"sig":"MEUCIQDLbFyEqCPrygi5ecCzbgJA2+PZ7Nk1OrzxoxxGPZv3+gIgaA1EuoNKEwteGHR56JHae0BNlWdOAEvqbVcQGiLccPs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":529210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihigjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrGVw/9FpkRr4gPdTEaxqV9atKoUIs35gnJMpVVgGHUq3dsDlAON8xc\r\nF0yNp7I9TuVRt0EmSqZFpzzzYef+kEnYzsyoO/f8JeYEX9M/AZSbXmFuyHZY\r\n8MRGVrJMYhkP3TvgOF2+/Me4s42AZmYuZNeGLaUE2fC4GwRO8tyC/t1JQ5C9\r\n6p9h4Jt0oRoRyn6mzvRUy0NApdRBBxtrsF4vXiDg9AN1s3FdAU7YeOAVtOuo\r\nMzO7x4nvSbkpDl0d0fRp3QzyFg4Mjl8Zk3s9ZOPbEX07RUj/8nop8cOeCNGv\r\nN4VD0RvE61Unc7OoTeLRL9yRXbnFoZBdQr2I4mVS7/9pz9ceditleengdHQ5\r\nvTK/dYuNCH/Ly3kzNCgCc377b2u/zgpgjoUqn779fxPg4KkuqFjHjMMbLYP6\r\nBDa06xKwfdpCLLWhRJnrZcg9wsBKNfoBre2VV2ALs1RiQBNxlExzqatYl3X+\r\nstZjx2j2AgjlwPA/xoU5TosRKb3xJnr85VII80PPW+mNdJCUfhT46R06OsKN\r\ntXoBVREDpcLYoj1crErSJy92LjpSIxC7iBNSGsPbCNFxT8hZrCATsCKAM7aX\r\nttzPeoxg8vXdenOjcSQ5Yjh5Xa9I71uEksVKlYPJ9tcfbtXjio0Ak0j44kz/\r\nS+52HvzU/zQwUmyKg3ceqRJXJvXDBzfG1pA=\r\n=uZxs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.10","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.2-stage.3_1652959267349_0.08528318030263238","host":"s3://npm-registry-packages"}},"3.3.2-stage.4":{"name":"@realeyes/environment-checker","version":"3.3.2-stage.4","keywords":["browser","environment","checker"],"license":"Apache-2.0","_id":"@realeyes/environment-checker@3.3.2-stage.4","maintainers":[{"name":"a.chueshkov","email":"an.chueshkov@gmail.com"},{"name":"realeyes_administrators","email":"administrators@realeyesit.com"},{"name":"antoine.chassang","email":"antoine.chassang@realeyesit.com"},{"name":"szima","email":"peter.szima@realeyesit.com"},{"name":"dbollobasre","email":"david.bollobas@realeyesit.com"}],"homepage":"https://github.com/Realeyes/environment-checker#readme","bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"dist":{"shasum":"cf2d08276a54b5ddceb8213af09b983b76bd560e","tarball":"https://registry.npmjs.org/@realeyes/environment-checker/-/environment-checker-3.3.2-stage.4.tgz","fileCount":47,"integrity":"sha512-RC+jvG6Bb36ahRmjytYbcG7VK5HzmGA7vAMw9DCBThso/59UthbR5N8/2QLzllPrAo+mn5tcgei5+TllEJ3inw==","signatures":[{"sig":"MEYCIQCMHnPo5iTkEMafoY0OrM0qcPgufDE4LTsaddNSRlEMAwIhAOnPT4/+GbHlA1PIKY2AbeiEeIG+rq1sXlBqjbS/ksWW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":530796,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihjBCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo3hRAAkiDIDKTXndB7ZQfMKNGdSvBFI3mLIB6eAx0SceI2CRCuqY1H\r\neoynnpDWP0IZPIRcyP1enTxbYUymtDik8K1BL2r5suc0QZMvHQJpG8oL1Ln6\r\nzY+9OJ4IND7wNLqNAGsLL8pQoSpX2Uss/vWiDF10skIoENop36EqY5JUGSWu\r\n84gaO/MmRnZbY17mbExCJv3lqQrszGQ8MLOJoOZhCzt0Zul41rmWp9ssl0L5\r\nWx1At3dgTfGe8VDPaJuPGAOoNK33Oi/A1syq1krNF0W/TjJCB4figciuzeur\r\nhgggyCcFndG2xsLLEkkvJe4h14+MAXdjmE1eqpoanyJ3fRWput9xg8RJJWsd\r\nNlXYtJqjyGUXoKP9xjdctQ472rTnGXrGYOLSNttsfP4NQltkeGyueRMN/PUC\r\nvMQ1LwBzk2+ZfDkpHDp8b9FcRnbQRr8VxDnvdSKKwcyqylGA/g5kchDei6z6\r\n0Zm6QzIMvF3+fWYgV5RzuafBfZ80AHx8llG7wX6sw9Sw6yO2klJ/KYFUoQY+\r\nbzkSwWTWlg42lT4ZfxMeNkJZezTQBQ+iSubW7RepUHyT+uOFtPdYIUriRxKb\r\nIpyX4yiX+9hE1xYb57gX51Wo+QJ8DklXtAHjuAqr96gIx627T8ZyDO9XxQEG\r\nRWPq+hul0+w87G2utmwzDUq/9ySnvZp+tu4=\r\n=+r4x\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","readme":"# Environment Checker\r\n\r\nThis package allows you to automatically run the environment check and receive the return the result in a simplified format. We provide three versions of Environment Checker, version 1 should be used for flash-only collections, version 2 for flash and WebRTC collections, version 3 for WebRTC only. \r\n\r\n## Installation\r\n\r\n### CDN version\r\n\r\nThe general format for the script URL is `\"https://codesdwncdn.realeyesit.com/environment-checker/release/{version}/Realeyesit.EnvironmentalDetectionAPI.min.js\"`. You can specify which kinds of updates your app can accept using [semver](https://docs.npmjs.com/getting-started/semantic-versioning) string in a following format:\r\n- `x.y` to receive only bug fixes: `https://codesdwncdn.realeyesit.com/environment-checker/release/3.1/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n- `x` to receive bug fixes and new features (**recommended**): `https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js`\r\n\r\nThis example loads the latest release of version 3:\r\n\r\n```html\r\n<script src=\"https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js\"></script>\r\n```\r\n\r\n### Self hosted\r\n\r\nTo use the self-hosted solution you will have to download the archive that contains all necessary files and deploy it on your host [https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip](https://codesdwncdn.realeyesit.com/environment-checker/release/3/environment-checker.zip).\r\nYou will also have to change the SWF path in the javascript source code. Find the DEFAULT_FLASH_DETECTOR_PATH variable and replace its value, for example DEFAULT_FLASH_DETECTOR_PATH = 'https://example.com/environment-detector.swf';\r\n\r\n## API\r\n\r\nTo use environment checker you can register a callback function `_RealeyesitEnvDetectCallback` or `_RealeyesitEnvDetectParams._callback`.\r\nThe other way is to call the `Realeyesit.EnvironmentalDetectionAPI.start(callback, options)` method manually. In this case you should provide the callback that will handle the result.\r\n`options` parameter is optional and can be used to disable logging, for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true } })`. In options we can manage the allowed device types also for example: `Realeyesit.EnvironmentalDetectionAPI.start(callback, { logger: { disable: true }, allowedDevices: [ 'mobile', 'tablet', 'desktop' ] })`\r\nThe result will be in the following format:\r\n \r\n```\r\n{\r\n  checksPassed: boolean,\r\n  failureReasonCode: number,\r\n  failureReasonString: string,\r\n  detectorResult: {\r\n          browser: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          platform: {\r\n            type: string,\r\n          },\r\n          os: {\r\n            name: string,\r\n            version: string,\r\n          },\r\n          flash: ({\r\n            version: string,\r\n          }|null),\r\n          webcams: Array.<string>,\r\n          capabilities: Array.<string>\r\n          },\r\n}\r\n```\r\n\r\nWhere 'failureReasonCode' is one of:\r\n\r\n- `BROWSER_NOT_CAPABLE: 4`\r\n- `MOBILE_BROWSER: 5`\r\n- `NO_WEBCAMS_DETECTED: 6`\r\n- `OTHER_ERROR: 7`\r\n- `IOS_WEBVIEW: 8`\r\n- `UNSUPPORTED_BROWSER: 9`\r\n- `TABLET_BROWSER: 10`\r\n- `DESKTOP_BROWSER: 11`\r\n\r\nAnd 'detectorResult' is a result object of environment detector (see more [Environment Detector API](README.html#api))\r\n\r\n*NOTE:* if you are using Environment Checker, then there is no need to use Environment Detector separately. \r\n \r\n## Example usage\r\n\r\n```html\r\n<script type=\"text/javascript\">\r\n    function environmentalDetectionCallback(result) {\r\n        alert(result.checksPassed ? 'Passed ' : 'Failed. ' + result.failureReasonString);\r\n    }\r\n    var _RealeyesitEnvDetectParams = _RealeyesitEnvDetectParams || {};\r\n    _RealeyesitEnvDetectParams._callback = environmentalDetectionCallback;\r\n    (function() {\r\n        var envDetect = document.createElement('script');\r\n        envDetect.type = 'text/javascript';\r\n        envDetect.async = true;\r\n        envDetect.src = 'https://codesdwncdn.realeyesit.com/environment-checker/release/3/Realeyesit.EnvironmentalDetectionAPI.min.js';\r\n        var s = document.getElementsByTagName('script')[0];\r\n        s.parentNode.insertBefore(envDetect, s);\r\n    })();\r\n</script>\r\n```\r\n\r\n## License\r\n\r\nCopyright 2018 Realeyes OU.\r\n\r\nLicensed under the Apache License, Version 2.0 (the \"License\");\r\nyou may not use this file except in compliance with the License.\r\nYou may obtain a copy of the License at\r\n\r\n    http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nUnless required by applicable law or agreed to in writing, software\r\ndistributed under the License is distributed on an \"AS IS\" BASIS,\r\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\nSee the License for the specific language governing permissions and\r\nlimitations under the License.\r\n","scripts":{"all":"npm run cleanup && npm run lint && npm run build && npm run copy && npm run copy:example && npm run minify","copy":"copyfiles -f node_modules/@realeyes/environment-detector/dist/log.gif dist","lint":"eslint .","test":"npm run test-unit","build":"babel index.js | browserify - -d -t [ babelify --presets [ @babel/preset-env ] --global=true ] | exorcist ./dist/Realeyesit.EnvironmentalDetectionAPI.js.map > ./dist/Realeyesit.EnvironmentalDetectionAPI.js","minify":"uglifyjs --comments /^!/ dist/Realeyesit.EnvironmentalDetectionAPI.js -c -m --source-map filename='dist/Realeyesit.EnvironmentalDetectionAPI.min.js.map',url='dist/Realeyesit.EnvironmentalDetectionAPI.js.map' --output dist/Realeyesit.EnvironmentalDetectionAPI.min.js","cleanup":"rimraf dist/*","test-unit":"karma start ./karma.conf.unit.js","copy:example":"copyfiles -f example/* dist","check-coverage":"npm run check-coverage-unit","combine-coverage":"npm run combine-coverage-unit","check-coverage-unit":"istanbul check dist/coverage/unit/combined/coverage-final.json --statements 80 --functions 80 --branches 80 --lines 80","combine-coverage-unit":"istanbul-combine -d dist/coverage/unit/combined -p summary -r clover -r html -r json dist/coverage/unit/**/coverage.json"},"_npmUser":{"name":"szima","email":"peter.szima@realeyesit.com"},"browserify":{"transform":[["babelify"]]},"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"_npmVersion":"7.10.0","description":"Environment Checker","directories":{"example":"example"},"_nodeVersion":"16.0.0","dependencies":{"uuid":"^3.3.2","@babel/cli":"^7.2.3","@realeyes/environment-detector":"2.0.23-stage.11","babel-plugin-add-header-comment":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"karma":"^4.0.1","eslint":"^5.15.3","rimraf":"^2.6.3","babelify":"^10.0.0","exorcist":"^1.0.1","istanbul":"^0.4.5","watchify":"^3.11.1","copyfiles":"^2.1.0","uglify-js":"^3.5.1","browserify":"^16.2.3","@babel/core":"^7.4.0","babel-eslint":"10.0.1","jasmine-core":"^3.3.0","karma-jasmine":"^2.0.1","karma-coverage":"^1.1.2","istanbul-combine":"github:realeyes/istanbul-combine#f16c12aaaaa8039f61386bb2f34ef0aed5799104","karma-browserify":"^6.0.0","@babel/preset-env":"^7.4.2","es6-object-assign":"^1.1.0","selenium-webdriver":"^4.0.0-alpha.1","karma-spec-reporter":"^0.0.32","eslint-plugin-import":"^2.16.0","babel-plugin-istanbul":"^5.1.1","karma-bamboo-reporter":"^0.1.2","karma-chrome-launcher":"^2.2.0","karma-firefox-launcher":"^1.1.0","karma-phantomjs-launcher":"^1.0.4","@babel/plugin-transform-spread":"^7.2.2","@babel/plugin-transform-classes":"^7.4.0","@babel/plugin-transform-runtime":"^7.4.0","karma-selenium-webdriver-launcher":"^0.0.4","@babel/plugin-transform-destructuring":"^7.4.0","babel-plugin-inline-replace-variables":"^1.3.1","@babel/plugin-transform-modules-commonjs":"^7.4.0","@babel/plugin-transform-property-literals":"^7.2.0","@babel/plugin-transform-member-expression-literals":"^7.2.0"},"_npmOperationalInternal":{"tmp":"tmp/environment-checker_3.3.2-stage.4_1652961346352_0.2532712312866141","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-12-19T12:37:23.600Z","modified":"2026-08-17T10:11:46.981Z","1.0.0":"2016-12-19T12:37:23.600Z","1.0.1":"2016-12-19T15:09:37.701Z","1.0.7":"2016-12-23T14:31:10.340Z","2.0.3":"2016-12-23T14:52:09.914Z","2.1.0":"2016-12-28T11:24:29.136Z","1.1.0":"2016-12-28T11:49:16.978Z","2.2.1":"2017-01-05T10:25:20.408Z","1.1.2":"2017-01-05T13:35:37.894Z","2.2.3":"2017-01-23T10:52:59.448Z","2.2.4":"2017-01-23T15:16:31.254Z","2.2.6":"2017-02-01T10:37:09.019Z","2.2.7":"2017-02-01T10:50:52.423Z","2.3.1":"2017-03-10T13:28:48.571Z","2.3.2":"2017-03-14T10:51:34.482Z","3.1.0":"2018-03-22T13:05:57.330Z","2.5.3":"2018-04-06T15:35:32.123Z","2.5.4":"2018-04-06T15:47:29.359Z","3.1.1":"2018-04-12T11:04:22.723Z","3.1.3":"2018-05-02T09:34:28.050Z","3.1.4":"2018-05-24T07:42:20.233Z","2.5.5":"2018-05-24T07:58:41.461Z","2.5.6":"2018-06-08T11:47:56.116Z","3.1.6":"2018-07-12T10:38:44.605Z","3.1.9":"2018-10-18T09:44:29.020Z","3.1.10":"2019-03-25T10:06:38.549Z","3.1.12":"2019-07-22T12:09:04.194Z","3.1.13":"2019-08-16T12:43:50.291Z","3.1.14":"2020-01-28T08:41:22.986Z","3.1.15-stage.2":"2020-04-17T15:52:01.673Z","3.1.15-stage.3":"2020-04-21T08:30:03.142Z","3.1.15-stage.4":"2020-04-23T19:43:57.973Z","3.1.15":"2020-04-27T10:26:46.276Z","3.1.16-stage.4":"2020-10-01T13:45:06.728Z","3.1.16-stage.8":"2020-10-01T14:25:26.530Z","3.1.16-stage.9":"2020-10-01T14:37:41.795Z","3.1.16-stage.10":"2020-10-01T14:58:05.433Z","3.1.16":"2020-10-02T09:23:43.641Z","3.1.17-stage.2":"2020-10-02T15:45:43.593Z","3.1.17":"2020-10-07T12:26:04.727Z","3.2.0-stage.2":"2021-02-12T10:03:02.786Z","3.1.17-stage.67":"2021-03-23T09:12:24.852Z","3.3.0-stage.1":"2021-04-27T12:18:19.254Z","3.3.0-stage.2":"2021-07-30T13:42:42.257Z","3.3.0":"2021-08-02T10:05:36.602Z","3.3.0-stage.3":"2022-05-16T14:12:22.005Z","3.3.0-stage.5":"2022-05-16T14:46:49.749Z","3.3.0-stage.6":"2022-05-16T18:10:12.783Z","3.3.0-stage.7":"2022-05-16T18:59:03.039Z","3.3.0-stage.8":"2022-05-16T19:51:12.480Z","3.3.2-stage.1":"2022-05-16T19:57:12.368Z","3.3.2-stage.2":"2022-05-19T11:05:01.750Z","3.3.2-stage.3":"2022-05-19T11:21:07.639Z","3.3.2-stage.4":"2022-05-19T11:55:46.629Z"},"bugs":{"url":"https://github.com/Realeyes/environment-checker/issues"},"license":"Apache-2.0","homepage":"https://github.com/Realeyes/environment-checker#readme","keywords":["browser","environment","checker"],"repository":{"url":"git+ssh://git@github.com/Realeyes/environment-checker.git","type":"git"},"description":"Environment Checker","maintainers":[{"email":"an.chueshkov@gmail.com","name":"a.chueshkov"},{"email":"administrators@realeyesit.com","name":"realeyes_administrators"},{"email":"peter.szima@realeyesit.com","name":"szima"},{"email":"gabor.lerant@gmail.com","name":"gabor.lerant"},{"email":"nemesv@gmail.com","name":"nemesv"},{"email":"robert.banyai@realeyesit.com","name":"robertbanyai"}],"readme":"","readmeFilename":""}