{"_id":"lore-hook-websockets","_rev":"50-0b4e08cd10a66eaa2f6eff0a596c5fbc","name":"lore-hook-websockets","description":"A lore hook that contains action blueprints for using websockets","dist-tags":{"latest":"0.13.0","next":"0.13.0-rc.2"},"versions":{"0.8.1":{"name":"lore-hook-websockets","version":"0.8.1","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.8.1","_shasum":"81ef013668fb097bfe65194503c9abccf69926ce","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"81ef013668fb097bfe65194503c9abccf69926ce","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.8.1.tgz","integrity":"sha512-b567QXwhyMBwjf4Gb4z8DZSNIAhkM6RGW8IOPUNAsBCFZ75I89QTE9msCHmwMfFyTYDIN53chVqMoE0s/m6Y2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBWp6wUKwIIh5RcGaUA46WKpjLUvHGV5zidSb2pFK1ugIgBHOTCyTc5g919hT6HESKtbdP9F7Dh6/pmuJuQXzl9+c="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.8.1.tgz_1471728374439_0.6001683045178652"},"directories":{}},"0.9.0":{"name":"lore-hook-websockets","version":"0.9.0","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.9.0","_shasum":"8f74d7ff7261e75ed4943b72efbe6ba656f6ad16","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"8f74d7ff7261e75ed4943b72efbe6ba656f6ad16","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.9.0.tgz","integrity":"sha512-JUUKWY1/+f2Vlf6P6xTsh+CW0Kqb6K/NHkuq3+KJ0BN9zEyS4kjM/WEE9sEgAZiyeYFSuzf/PDPnr4JpfTWdPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqok4LcYJxyEMMdWF0IcgRMQqfqd+c2aKFuQ/0nQvDyQIgHBRPh13v6kW74sP9fOhq5v2G9crTT2vK+XTuVZk9Xvc="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.9.0.tgz_1473582762739_0.9218911880161613"},"directories":{}},"0.10.0":{"name":"lore-hook-websockets","version":"0.10.0","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.10.0","_shasum":"7a1099f6fda6f7727993a2de3e4eb14919636136","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"7a1099f6fda6f7727993a2de3e4eb14919636136","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.10.0.tgz","integrity":"sha512-BiEAnOTXlEshV5xBKSARE93RhS6z/RCDqnNEeSnzHOiNhR2RM3vaINQyW1StUeSlMj0wHbXfuuAFScGhzn12gQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCf9N3a+flPufy2L2f/kXuHQ+KVebgTUtVaYVM0aTrTAAIhANgSCVE7fACGK0rFQnTXWG1paAAFG9JU6xQRiyswcOMy"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.10.0.tgz_1476337306636_0.004262944450601935"},"directories":{}},"0.11.0-beta.1":{"name":"lore-hook-websockets","version":"0.11.0-beta.1","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.0.0","react-dom":"^15.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.11.0-beta.1","_shasum":"185b5e530453c9a07ce158c839202678457c628e","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"185b5e530453c9a07ce158c839202678457c628e","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.11.0-beta.1.tgz","integrity":"sha512-9b71WALEaodBbhrIePmRa62aU3pTKY7lNk0N87DDaqDLTA/0i4Q5MneO5LMPfuJbSJpJ2msKgnUYZBFNcIIGzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBPh62TTAWYBRNTY7pKC+fQytC/Yns///i6Eo1X+LvymAiEA8f326fwJj5HUW6CRCIIT78f0xS41DXMxZ0byIh2u35U="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.11.0-beta.1.tgz_1481523870820_0.06313621322624385"},"directories":{}},"0.11.0-beta.2":{"name":"lore-hook-websockets","version":"0.11.0-beta.2","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.11.0-beta.2","_shasum":"c342d41bd1e0b6f8eb8adb20d2071dc07620ade3","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"c342d41bd1e0b6f8eb8adb20d2071dc07620ade3","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.11.0-beta.2.tgz","integrity":"sha512-uY7LTiz6ByYcl37hR8yMkXxzD0UnNnIa2AAKy1VAs5kHVqx3lLpS7ze9rKkSDmZtZ/YTBeJKj4BanVxGN9CnGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBkpFN+uvcpJJAGvHKUqK5AQt+89DhcHrNo7pn++llVQIhAONtzTeoAPmQdVm7JWGRqzuw5pVHk20qUy7dDkqldlBK"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.11.0-beta.2.tgz_1481530353997_0.8658597003668547"},"directories":{}},"0.11.0-rc.1":{"name":"lore-hook-websockets","version":"0.11.0-rc.1","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.11.0-rc.1","_shasum":"0b911f34cb8f1cb8becd4e76953f75d19f874936","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"0b911f34cb8f1cb8becd4e76953f75d19f874936","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.11.0-rc.1.tgz","integrity":"sha512-ONxt2eyYdQ6mLdcOWNbSp4pDLWDU+mA9fwXBWeRTr/CT6ox88p4BHvb4mVnWKFn8Wv36J15FQQS06Oxesa1O/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdqz05bhaKZC3DsbiXNL+TG2TtbFSKxRSN29DXYJXmlwIhAIme3M3pGsb6zJzK9LaBgn+5LZsIi7I5gWtQZK547Pmn"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.11.0-rc.1.tgz_1485239119745_0.7988368473015726"},"directories":{}},"0.11.0":{"name":"lore-hook-websockets","version":"0.11.0","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.11.0","_shasum":"c04f707919aa6f53a76c9fcaefb2e4423ed3bcb9","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"c04f707919aa6f53a76c9fcaefb2e4423ed3bcb9","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.11.0.tgz","integrity":"sha512-TWkOYA1CFCyHy2T5RxliMKiw+aO6Hu4gZR4bsoeNZfrdO0ee23K2a4+KqzzACHBX1JEIa7rNvw1sK2JONaaqjA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwAyEn78qhp/1r+NV28ieCNEAkW5TlK84jGp1qiWtVDAiAeBJVLZRk0FABZ8AO1ppCDITBQh0Uos+dTtVYaL00ObQ=="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.11.0.tgz_1485665720760_0.6549208008218557"},"directories":{}},"0.12.0-beta.1":{"name":"lore-hook-websockets","version":"0.12.0-beta.1","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.12.0-beta.1","_shasum":"386890bb9ef7758ac1564e20790ae1abeabeea44","_from":".","_npmVersion":"4.4.0","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"386890bb9ef7758ac1564e20790ae1abeabeea44","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.12.0-beta.1.tgz","integrity":"sha512-3QnAco2L5Vd/NeYK3fMSLVzry2MYpSZuzVXL/fbgISrwqK779F1YGq190IMWuba+jkTAs0pZj7wDo1KJ/XTRJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCONx4a0H7xFPxzc3Od2XuS5ml2+UK8tQJQfQa2vdCt9QIgdCgtP2hqEX9kzlsASm3lFqxn/PPTRKgazshanKnso6Q="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.12.0-beta.1.tgz_1488758386928_0.5799784935079515"},"directories":{}},"0.11.5":{"name":"lore-hook-websockets","version":"0.11.5","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.11.5","_shasum":"66a1f9e62e12500efb6d7d017b679bdc83d5cfd7","_from":".","_npmVersion":"4.4.4","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"66a1f9e62e12500efb6d7d017b679bdc83d5cfd7","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.11.5.tgz","integrity":"sha512-3rUIi4M4BUNXf0KmOM2OvaIH+dTll085fHWn3LxpwhtVlODxw7Gv4oISpef6uL4jJB4f/qQCZJxoMbm6UogqEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw0CpXK7yG8pX9Et3HOGOlPwTjLxJq5E7MMD3Gtui1YQIhALwfIlDMHAAalzqyOYUOU8mhaePAoaLiW9FJwjNCw9sz"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.11.5.tgz_1493712283020_0.5730064949020743"},"directories":{}},"0.12.0-rc.1":{"name":"lore-hook-websockets","version":"0.12.0-rc.1","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.12.0-rc.1","_shasum":"0f6840f2cc01a6cc28ecb9605ffabc68b2554147","_from":".","_npmVersion":"4.4.4","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"0f6840f2cc01a6cc28ecb9605ffabc68b2554147","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.12.0-rc.1.tgz","integrity":"sha512-1C6fKCRyEHYiBDDUl2Vyj9vL5lvlIvVCEgbZH6DUPgCZyBjvW0nEmSk+qkHx7L/JDKUVzh1dyXYU/+VM0cuZ0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDkGW2oMIFvUlhhPdsxX3ExSVJqMAoL3wiGQRFd4dUuOwIgKjQfQgp4rxAsvxRB9ipggcCotg4Bk9sWxi+RQnsfaWc="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.12.0-rc.1.tgz_1493715338112_0.7753962266724557"},"directories":{}},"0.12.0":{"name":"lore-hook-websockets","version":"0.12.0","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"3.10.1","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.12.0","_shasum":"db8dda7bc87434ca961d946fcef4a88683675a22","_from":".","_npmVersion":"4.4.4","_nodeVersion":"6.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"shasum":"db8dda7bc87434ca961d946fcef4a88683675a22","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.12.0.tgz","integrity":"sha512-bQcmc/W4X6fesDi0L32tHnbGdfi4DrMSTs+GEVXYQz0N370kmHrKvATDvgicIm6N1mV+SU6Z01D1QagjM49vdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHManQbUvvYpU8xprjRGO+x3lsoF96ccOndNPWkE/pA+AiEA/1HYF81yqZiSLY52zCWLTRL0kEyxqEfjtv3AhajEpTc="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/lore-hook-websockets-0.12.0.tgz_1494219601870_0.35110842157155275"},"directories":{}},"0.12.5":{"name":"lore-hook-websockets","version":"0.12.5","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.12.5","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-rZXzk3rMxbeZf6DdbQxhesBDSxjrp7CNeTYnCciDiUmcfVy0BntanVCv9KU8qq3XYIp+kWDdszLDBtfULbyUSA==","shasum":"506ec7f6824115862ef09eb9f4bf1f826178d720","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.12.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6/VWD3bVWzvYgrYa2nNHO7xlBAfGQNXHWHt6kBYWJagIhAIAX4BnkgZJj7W55xCgAJOtYQz/xYlLoPhI3zJDh2wa9"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.12.5.tgz_1499144123011_0.33011915790848434"},"directories":{}},"0.12.6":{"name":"lore-hook-websockets","version":"0.12.6","license":"MIT","main":"./lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"../../node_modules/.bin/babel src --out-dir lib","clean":"rimraf lib","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.12.6","_npmVersion":"5.0.4","_nodeVersion":"6.11.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-PFUyF6Y1lQ25ilEtH0fdlHsXdIvKk4MdcMh1zRK79WUc0/Fn7x2cBh+6Bd9iHC4q8oNGOjOKUj0WuGKFh1AJ/g==","shasum":"b658d840c61d3befa1a250d880f022183eae1802","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.12.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDikt8dghZHoQVjTywQJ7mIeFqOHkodaOsMtwWnO0F+YQIhAM+vvZwZFn+zFFOGTcNiFgPbiL0i6iIlS5Jpp8yig5Iy"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.12.6.tgz_1499144962890_0.653492615558207"},"directories":{}},"0.12.7-rc.1":{"name":"lore-hook-websockets","version":"0.12.7-rc.1","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.12.7-rc.1","_npmVersion":"5.1.0","_nodeVersion":"6.11.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-G/HEdAgfjsbF771KtmO4QQ77wyCPzneHWk8wIngG/jJm3ikgevQ3ddgFKsMfsCdj0DrLxwhkhWyNReRTf7zhPQ==","shasum":"a673fc2ba61b2922f8f8d2f8a70c494c9a32494c","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.12.7-rc.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD+Ig5q4bZoQ0Vjyhe1MWNQABbTSkOMUtjcQLr38ClVTAIhAIkPTN6eV/MZYz2yU7z0pxWf3jwKLVYGOPWSp40f6kkn"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.12.7-rc.1.tgz_1499638556751_0.9131032065488398"},"directories":{}},"0.13.0-beta.1":{"name":"lore-hook-websockets","version":"0.13.0-beta.1","license":"MIT","main":"lib/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.1","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-QGVXp2RXOc+jCLFcV9Gt28NZJTU5rD/pfHsvs6dBdnmI2k4+odAn/ZghQrMVzpZkz0LV2LX6PMGJ4+9SroHmvw==","shasum":"7be1e8386eb6c4a1c7e38c4d0e59b3ed266ce8c9","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIsZjSEiOo4R9fHrmOWIod9Mrc9T7nnQSlvQ1Jh3/FgwIhAM3ZbCsJv2v4LFPZjKKf8raTA88OHCbXJZQKGc3dKpKX"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.1.tgz_1505764632068_0.6496401326730847"},"directories":{}},"0.13.0-beta.3":{"name":"lore-hook-websockets","version":"0.13.0-beta.3","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^15.4.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.3","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-1+oW1/JN9K65p7uLtdxC6mWJ6tqUdCu9355mNRNCD7Nww9Me6VgFlzadPM2+/EGbLloYCc9s5Dw0ojVnTI3yeA==","shasum":"b49bb6ae10b5a9a94c8730cbdba8c9efb7d33883","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDG8sicsiBxDI3oa1+8QV7zbzSx0B+BqIdGz3FjJq5SAiAuta6OH++mJsnt1lB5lvWexBbwon13OucdaH8Yaew+Nw=="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.3.tgz_1505773898571_0.19673557672649622"},"directories":{}},"0.13.0-beta.5":{"name":"lore-hook-websockets","version":"0.13.0-beta.5","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.5","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-xZc/nw055FyvuBFRjV3FOyzQ4mPTfWYWjpgc1P2a/eEDKierwDyWnvrtzio6lB5xMO28t+35TLXB8QRQKntTkA==","shasum":"d1a778c1e7c69fee8c9db051d1b380a1c4cc0dbf","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJSYcefSlaiwGyCXAB5I2eiwbYz90I6C06TIRUSNuXwQIgO7gKH1qb0hM68dycqmc7HcQ84D+EQVvryfsAvdNETWk="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.5.tgz_1510692762833_0.5659972075372934"},"directories":{}},"0.13.0-beta.6":{"name":"lore-hook-websockets","version":"0.13.0-beta.6","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^15.4.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^15.4.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.6","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-G4WnPec5wmypdMmfXz4sqW1KO2m9lA6dEjf+gvWH6Db1OSW7kBRBU9ENoncWY+K/fo9yuzU7BNFhZ5hXkOldxA==","shasum":"59bab4808abe955d528eaf1a33d973a6b54a136e","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4i9bP9aVwMzc92pNTZlUli4/vKLHwPKKrEO6QzaDkCAiEAwZTHgVKaxkCThNoKCBqBV0beageytmpTusFOGGfa0f8="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.6.tgz_1510698367319_0.9055410353466868"},"directories":{}},"0.13.0-beta.7":{"name":"lore-hook-websockets","version":"0.13.0-beta.7","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.7","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-cwG2niNPzC98ojxbIO8iQ/OECBYw68tTpYEpW9fzQ3ObozcOgAMaxrbG4d9Sp/3W9ABH3P8CtiEoDSc0bcyl9Q==","shasum":"8ea52f30699f6c7d71d28c6f326831e250df4304","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1h85+qn4l2G3oehiC+kkT+Q3V24fyk8840OQ7MUsT7AIhAP+ig32NgMG4zf1fGSYXmZHw7aTJJyDZzYjTR4+ktf4q"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.7.tgz_1510699117921_0.9880227816756815"},"directories":{}},"0.13.0-beta.9":{"name":"lore-hook-websockets","version":"0.13.0-beta.9","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.9","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-/fidlztPeHgvbmk3gIdhAQGc9Mt1SQOIrfO2quovFIg4jMlET842IHkOVYqG2+QV7g98zklpAijLA22Cz4mVig==","shasum":"bae3b7eff42e1c52f3274c8ca80212d707f2de55","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.9.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIElTwlFXNH/Xx1QUgFMzzlgCeAeeb1DA7nOSVuQa/KjuAiEAqZyfki/mdCJCht0duHMFfxkjd+BBUEy9yf53SYRPbvQ="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.9.tgz_1511594298124_0.6566215658094734"},"directories":{}},"0.13.0-beta.10":{"name":"lore-hook-websockets","version":"0.13.0-beta.10","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.10","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-bemVIKrnHjD59ISW+0iyn1dN44yFTrSx+srGFiBBgqTs1QBgUW10Th5OE52tD+zl4OSDOtoAE+eU8yI2vMcpOQ==","shasum":"8631fe3a84dd6b7ff2f590b5956c54b808189f86","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.10.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHJ9dK/uXMRAq7rlAHxzNw8UHy7DKdQNjA19zUEILOWJAiBzrKrImEGl7wVuywwsVE79Tm63i2RlRyPRMMV+Yeeu2w=="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.10.tgz_1513286407906_0.9514230082277209"},"directories":{}},"0.13.0-beta.11":{"name":"lore-hook-websockets","version":"0.13.0-beta.11","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0-beta.11","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-GxA9uT4SKX2Ri0DaXVxYd4Z02+Y5JWouLVH3HE5yHL5Tv8YMfdV7B/S4Xp1jbKLPHit+4JnWKIXgBJ7xtQM4GA==","shasum":"bddd146540bc9284b8f7a0c95475f66879a5329c","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.11.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/wn5fyEvVCHbS7YCj7DYY7/6RbaSh7wGuThHTtRq34wIgOP9Bus7LPbIhPPE0pFKNFFKtIG4SMk9cR6S2PMPsfKE="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets-0.13.0-beta.11.tgz_1513716331641_0.9020755193196237"},"directories":{}},"0.13.0-beta.12":{"name":"lore-hook-websockets","version":"0.13.0-beta.12","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-beta.12","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-TKFPhs3v1c9XRc7VkCaL+kcQfm58k6OiBJn6Us7o72aGoc36ZaBLqUu0Jg82qiY23L/l2gTotIjgq8U13TMM1w==","shasum":"65a982e372a336a19afba146ee477ad94a9259df","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.12.tgz","fileCount":18,"unpackedSize":22777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvCZMlJInl/wqluIUmlRVzEJhcRO5OuSCisSoXGUErMAiANa3HOHvSn7hHOkOaguRocr2SpS9Cj0mJK9ez0aa51Kw=="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-beta.12_1520214946476_0.6111743604098354"},"_hasShrinkwrap":false},"0.13.0-beta.13":{"name":"lore-hook-websockets","version":"0.13.0-beta.13","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-beta.13","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-9qXJHer9KlAy0SMlSK9r9gwotY4gP/GqYLQjG8J5WQD5j8AMjx3Cz/njpPTQykRny9rsTv4P7cvo1EYZ+HRGxg==","shasum":"6aebf8afb3dcae9b4202e00105dad0ff7bbba95c","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.13.tgz","fileCount":18,"unpackedSize":22777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuF3mKt3OLApDWn9S+eDpwc4Z/2ZCY8Qqr5psxYkS9sQIhAJtvv9P3Yg12NGrhnoqqdQVbORwSA9pRuD8Sl6TDN5Sh"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-beta.13_1521939989812_0.28934942799359287"},"_hasShrinkwrap":false},"0.13.0-beta.14":{"name":"lore-hook-websockets","version":"0.13.0-beta.14","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-beta.14","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-lMtYWGP33c+NwT6cRPy+/oGmos9XUUATFGBtY4WbAkEnDV4smDwwjyjIdObydx0+ojjjViDtZ1OajiIXX90Jjg==","shasum":"2591c9cd87606d5edd9f2fa780c2ef1fa2f1253a","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.14.tgz","fileCount":18,"unpackedSize":22777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEemlGXZoZu71QvZJNkrqhxiArIxCjRRG0s/7Qeq1s9pAiB75qrlfylD3Z4Sc0K0TbSly5dbiijWifNU/6HEgBR8Bw=="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-beta.14_1522531098247_0.7625395518081179"},"_hasShrinkwrap":false},"0.13.0-beta.15":{"name":"lore-hook-websockets","version":"0.13.0-beta.15","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-beta.15","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-TgIdeAZgFnOlbdG8D3icpVUEbpolDyZNW6dhqCFnhNJ37DmiOCl7NeJriVrZ8hlna/4EBdE53vvOfV3//afSMw==","shasum":"0f2a0041c8c98eae47b25185f9eb3cf80deb26c9","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.15.tgz","fileCount":18,"unpackedSize":22777,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVNTsspMwjy5Ugg0Ldg65e97YphPD06rZ0CZv0+YcISQIhAP9f+9LB9hEhx9uPysqHJ7Cv9CY+YFq0PBg/whO/5tLy"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-beta.15_1523329158632_0.6089655396378868"},"_hasShrinkwrap":false},"0.13.0-beta.16":{"name":"lore-hook-websockets","version":"0.13.0-beta.16","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-beta.16","_npmVersion":"5.5.1","_nodeVersion":"8.9.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-FLs19mlzMqYa6JDq2wVilJ5j8aAxANmir9VCi9NLVO2opj7J/U66LYgOXNO3E7KULPFoqG3IWxXutbQ1DSobCQ==","shasum":"b3b4fae3bd3a6561ed7a984092d9659d75f981c5","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-beta.16.tgz","fileCount":18,"unpackedSize":22777,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa4kJ7CRA9TVsSAnZWagAAHisP/2K1DnnwpH898Ct99Tyt\noGNGR5RPI3KqSUn3cBHpiYRX0uIubMTihNgq9DImdETWUn1r0wdV+vnC1TDo\nXQJohCULVJ09f7+I8hW8YaLEgi8JzwiNBuVAyPhxXpUcp4ejZaNYsXLFqEHW\n+PLzPc9RFg7HLpSRN3TSMyCYcLJDcTdBtXg+WsSDtD7mWIWTzojEyBrwKIW+\nMr5DMBkaPINSun5AqimSOUdnUHe2XQH7ewHmhgCoEimqeSit3GEWeRYfDvog\nuIxS0tmeTvwXaLkkjuDE9t9s3VJsPVwklliPLMPWfmWvzjYo8gI7wncHVzCI\nCuZhQs+2XWQCaHqFdDkJvKSLzxKIbmnK3pAYZlKV0BoSSyOyGRIvZ2tL7vHn\nJ0xmFfx6d1imEw58YTKEtNonLZikny3tzS7CZJTe2GVSjbvJRokSXj5Igz6A\nCzkWs7ePg9UFrvALmDtBoyOPO6UGndLck2uHHIoTEA46LKe/77uvuhmqYSaW\nnrUKsMPW2ZNxSAc5bmI8zBtgXnO28Mzw3yTOAGsu63rNbVZAuRwCDSvxGpuT\nmA7qDunWFHbN2xM4Vvmp7IfSzjxgMgp0Z6nmGM/iFmcsg5odV3og18X7D2Ux\nwIdUNNenr8lXnmh45i/VP2gSDq2MLtyktVzQGdWwa9nyGjE80eeLeC+TyEo8\n8JXL\r\n=2RPw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKo253QvOvwrP9ytlIhkw5qT/HGSsRP55A51BXKUix2wIgJ9shu+qd5CfwoDgWuJjIfox9E3R9cfL03CXmM0mqlTI="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-beta.16_1524777594785_0.5486317383566353"},"_hasShrinkwrap":false},"0.13.0-rc.1":{"name":"lore-hook-websockets","version":"0.13.0-rc.1","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-rc.1","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-JzShUVyLoxULvhQ9depci5VpQ8dVOqoZXd/yDceoBgOyCCK5In8iYgj20MN5YLHQ4FBcsTPQhzMiTk92W/MQmw==","shasum":"f14b401fc8f328ba5b975b84b78ec1b2590c54a4","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-rc.1.tgz","fileCount":18,"unpackedSize":22774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+Ib0CRA9TVsSAnZWagAA7z4P/jwUpdMpifnhzAUri6zv\npgjTdjGviQDj02rmuIIZqkD4MJhp8WkBxkcg/Ku34f9wJi1FulObQZRVVE/M\n+LGx1ELT41rB9LY9rXT3NkjkzfjD7eOvOiTubV0DGsHEj2HGOioBxxCvc9FQ\nWDiVVGCicKCbhZize4J2HuxyAze/MKEEH698YxkS7bgWE1JOZdg2kvb1Bo8W\npPp8j6zyc0oGDnqP59TdZQFqnbNNnkkVrPkEC7d0m2lYX8f/xfVVG0r0teqh\nZXZlb7o1pB5iXUQypnyb3ZQK4vKrgKAnG2fCbs8+yFgZ/M5LLB3ZfO/rEzgN\nUy/Tip5YKkFJXK/wvRz+0jXBp8icUVt99uTYs7llLPWtLxVJAIuOSlafdF7o\n5w8TnavNxYOGW1kxyWJDtGUqkD0T0T56HbwLr+3rlVCX+fAH6ROpKzX4qJf4\n8Vi+OUPq+ITwKLS5E9OUhaPMtzMVBSaBIyKROfMzqul6Uajbyjy1ZxG+q5Y4\n9ELsfa03uTZTjGIVVAQf19bfSz2h8w5QtB29Vu6e8w7wDy3XjpVy+Hr0U/Hy\n58dGsI/mD7EwbxVExnm0S9K0K09rl60L0VXkODy3RsnFzcnF98hPc6PTnAlW\nA1zaB8Rcl/3lGsX8l0tnITUUC5+GQeoCUWkcEH+86K3bQzhiT98zU1VH8l7s\ng6t2\r\n=512t\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDUatMyysewTLULo2cVeHlM6vLZQmVygvTmksSjSVV5eAiEAxWpVjOvTRnXPbPeksM6hl29kgmtv7fewsNDIxCcZtSs="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-rc.1_1526236915612_0.7529501370566762"},"_hasShrinkwrap":false},"0.13.0-rc.2":{"name":"lore-hook-websockets","version":"0.13.0-rc.2","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","readmeFilename":"README.md","_id":"lore-hook-websockets@0.13.0-rc.2","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-wxuOBRkOyLArBpivgPdZXEe+2IwISTbJSP1cXyoxf4wH9WXDFW45TaZRUkCD97ETfdmV23UfMJC3F9DMR4BKpw==","shasum":"6eee965a637f45a7b94d66f6f675a71d28f4d8e1","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0-rc.2.tgz","fileCount":18,"unpackedSize":22774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbAhLWCRA9TVsSAnZWagAACawP/iwWATbDmDpb1vsXPzHC\nAKEpPK2W7dXxESMpf1dZhDIjyTxhYMwofrPE98dQDl+GDtd2PRq4BQVemoVt\nhE91X1/qHV9RsCErm3IGuati0oa+DgCOUqadPI2uDSlbR+Dc1gA8Flt45MyU\n6wRMPFKjpfryLooOY3/VMO5iSR/rpzLNlMJJxnMgXQEY1RCK5O/qcFM+TLzs\n7p8P0FwvsurHkqZUnDgV24zEQT4GcG9Mcwdx6ESssZmCHdF2d+sCptEz+WJc\nj7IsYmHo00ekg4wKwAdYwwT8oExlZDgLI1Ne86cWQhl9HerGVs2yRZAEm+Yd\nAAkPigZRJTgRrFGu/BWoecYIfdiy6NAk7l1qtZr2BEC5/uJjOb+Rx2MzML+1\nn5QqlRps0aSzkHwyuM1doLX22J9j/IKwSu6hYrANDo79gVCpDmkqz8NSnWP2\ncYPoR7wPQZOvR9GY40XOr0KXS9qXboCvk+sKelaWPROIO06ZfMRxlhZcxJ9z\neR/+mK4WfoKv1KqHN517o600rED7RZ9bIEl8zvHjDKROfAPWmmtqn5J6Zd2o\nnkLQp/DAzJYGMdwBQBhlHtKrx2MX3n7HacRy72ZM/yxky/+rFabMKXt+4+eP\nHLZZtiYQd4VgRbL4cXejgtym7gET3qyS2PUp3QNBsRG3GYhvZC9AcyF0jkJ1\nXUzt\r\n=sMHX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDS1vxxp6AwHvyAQd4048YbHH9yUcCNNDVCOz++RY6AFQIhANQJwDMlgQu/3tNq0eYWaKkqrVqz0ZpWIBLAWNiJTxKJ"}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0-rc.2_1526862549865_0.6523923131309488"},"_hasShrinkwrap":false},"0.13.0":{"name":"lore-hook-websockets","version":"0.13.0","license":"MIT","main":"lib/index.js","module":"es/index.js","description":"A lore hook that contains action blueprints for using websockets","keywords":["lore","hook","websockets"],"scripts":{"build":"npm run build:cjs && npm run build:es","build:cjs":"BABEL_ENV=cjs ../../node_modules/.bin/babel src --out-dir lib","build:es":"BABEL_ENV=es ../../node_modules/.bin/babel src --out-dir es","clean":"rimraf lib && rimraf es","debug":"mocha debug --compilers js:babel-core/register --recursive","lint":"../../node_modules/.bin/eslint src","prepublish":"npm run build","test":"BABEL_ENV=test mocha --compilers js:babel-core/register --recursive"},"dependencies":{"lodash":"^4.0.0","pluralize":"1.2.1"},"devDependencies":{"chai":"3.4.1","mocha":"2.3.4","react":"^16.1.1","react-dom":"^16.0.0","redux":"^3.0.2","rimraf":"2.5.2"},"peerDependencies":{"react":"^16.0.0","react-dom":"^16.0.0","redux":"^3.0.2"},"_id":"lore-hook-websockets@0.13.0","_npmVersion":"6.0.1","_nodeVersion":"8.11.1","_npmUser":{"name":"jchansen","email":"jason_hansen@outlook.com"},"dist":{"integrity":"sha512-dBFZlEm9mubG7MR8QqY89tURINuYQt2KHzd3SPRDFVuUVOJQd7Is3xOnXNoDtVF7EpDjH+OaQoI8RMOH4fCBcQ==","shasum":"3d4c87a06d8e12a6c57829b668c224e95d9c5c26","tarball":"https://registry.npmjs.org/lore-hook-websockets/-/lore-hook-websockets-0.13.0.tgz","fileCount":18,"unpackedSize":22769,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLviyCRA9TVsSAnZWagAAn5IP/33Ar5MrDhGRAOFZTDc4\nA9I7MmpncsxKZitDCybrhK4V6U+Dqymx+6Vg7DLEufoQlL2VLL7oLOjHRTFi\nBoDRifU9DXy+4FShAUQg6J5EcxarzbQtzcQLenEOnVBQ+biW2MlxS307QSfs\ngOevp3RLeRDgjLOzOKQvSijoDaIXwbGmTbvr0C7OsQ5dzR/illwyuCWm4CiO\nhgYPb9Cis617OaGmQUp3hf1+3hqRaOyiuLC1DEcaKRrFJoRHKd47ddyONylo\nG7TTDZhxbYrjAXa8Wgde/vrluCb+AIG8qs7bJC5Zz+7LK1jO8CkFIxR4KJ7r\nJrxT32vI2ltGGXDARJukcFzakE2i/cKRkYn8pAI7g/+A/hYuJlIfbVS9D/2c\nkd6Tsw0ggUS2FNxzsUjaGHUDDrOPGhRc3v+HksBJjJ4O9CvTeAuLrvKqrAsd\n3EJv0WjW1oJxLAdld6QoC72dHVjy3Jqp+Rn6TZ5rTX3MKRndb0Y0o6GuKM9K\ngqb3lWVYRARIQmOyGDmXA7jkXaDtfYcC3yNsuQBSAJH4fzGO2hqe4oO6inab\n1+PX9mdB0c+n1KrZNDlb151Asyjvo+LeFfTN3cN3wCBU3oWsZ3ySBux15fuK\nkiE7z44tdKiBLlmsGODOyYPmU2TNY8Vi5pFLALVnfRXMeFV8QT7PP1Lg8kCH\nCBIj\r\n=d5K9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9ZTXpz/ctu8JRUZhOCznGYQDSdKyz3A8pwOBrFIVQpwIgb0eMK303TyZn9TedKGjnzBl/Qk7MlG797rDe3LG6n0E="}]},"maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/lore-hook-websockets_0.13.0_1529804978859_0.012311971325165594"},"_hasShrinkwrap":false}},"readme":"# lore-hook-websockets\n\n> WARNING: This hook is the original v1 test implementation of websocket integration for Lore, and IS NOT intended to \n> be used in a project. If you want to use websockets, use one of the `lore-hook-websockets-*` hooks (for Rails, Sails \n> or Socket.io) or create your own hook using the `lore-websockets` library.\n\nA [Lore](http://www.lorejs.org) hook that generates actions usable with the WebSockets implementation in [Sails](http://sailsjs.org).\n\nThis is the first implementation of this hook, and currently Sails is the reference implementation for the WebSockets interface. In the future it will be expanded to account for other implementations (such as ActionCable in Rails), with the goal of creating an interface that can be adapted to *any* (convention abiding) WebSocket implementation.\n\nAs a worst case scenario, if there ends up being no sensible common abstraction, there will need to be multiple hooks like `lore-hook-websockets-sails`, `lore-hook-websockets-rails`, etc.\n\n## Usage\nThe steps below describe how to use this hook.\n\n### Register the Hook\nFirst, tell Lore you want the hook to be loaded by adding a reference to it in the `index.js` file at the root of your project:\n\n```\nLore.summon({\n  hooks: {\n    websockets: require('lore-hook-websockets')\n  }\n});\n```\n\n### Install Packages\nNext you'll need to install two packages:\n\n```\nnpm install socket.io-client --save\nnpm install sails.io.js --save\n```\n\n### Create Initializer File\nNext, create an `initializer` file that will configure the websocket connection when Lore boots up. You can call it whatever you want, but we'll call it `initializers/websockets.js` for this README. Because `sails.io.js` attempts to connect to the server as soon as it's created, we need to set the url for the websocket connection immediately after it's created (before it has a chance to connect). We also need to expose the `io` variable as a global for now, though in the future it will likely be attached to lore like `lore.websockets.io`.\n\n```\n// initializers/websockets.js\nvar SocketIOClient = require('socket.io-client');\nvar SailsIOClient = require('sails.io.js');\n\nmodule.exports = function() {\n  var io = SailsIOClient(SocketIOClient);\n  io.sails.url = 'http://localhost:1337';\n  window.io = io;\n};\n```\n\n### Subscribe to Endpoints\nFinally, you need to subscribe to the endpoints you want to listen to in your app. For that, create a `componentDidMount` method in `components/Master`, and subscribe to your endpoints:\n\n```\n// components/Master.js\n  ...\n  componentDidMount: function() {\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n\nFor Sails, the call above (`lore.websockets.posts.subscribe()`) would make a GET call to `http://localhost:1337/posts`, which is how you subscribe to data in Sails by default.\n\n### Authentication (optional)\nIf your server uses token based authentication, you will need to configure the `io` connection to use the appropriate headers. For this example, we'll set the header before we subscribe to any endpoints in our `Master` component.\n\n```\n// components/Master.\n  ...\n  componentDidMount: function() {\n    io.sails.headers = {\n      authorization: 'Bearer ' + localStorage.userToken\n    };\n    lore.websockets.posts.subscribe();\n  },\n  ...\n```\n","maintainers":[{"name":"jchansen","email":"jason_hansen@outlook.com"}],"time":{"modified":"2022-06-19T14:20:15.527Z","created":"2016-08-20T21:26:17.555Z","0.8.1":"2016-08-20T21:26:17.555Z","0.9.0":"2016-09-11T08:32:42.967Z","0.10.0":"2016-10-13T05:41:48.848Z","0.11.0-beta.1":"2016-12-12T06:24:32.496Z","0.11.0-beta.2":"2016-12-12T08:12:34.220Z","0.11.0-rc.1":"2017-01-24T06:25:21.641Z","0.11.0":"2017-01-29T04:55:22.631Z","0.12.0-beta.1":"2017-03-05T23:59:48.773Z","0.11.5":"2017-05-02T08:04:43.251Z","0.12.0-rc.1":"2017-05-02T08:55:38.329Z","0.12.0":"2017-05-08T05:00:03.971Z","0.12.5":"2017-07-04T04:55:23.189Z","0.12.6":"2017-07-04T05:09:22.998Z","0.12.7-rc.1":"2017-07-09T22:15:56.843Z","0.13.0-beta.1":"2017-09-18T19:57:12.180Z","0.13.0-beta.3":"2017-09-18T22:31:38.670Z","0.13.0-beta.5":"2017-11-14T20:52:42.902Z","0.13.0-beta.6":"2017-11-14T22:26:07.386Z","0.13.0-beta.7":"2017-11-14T22:38:38.016Z","0.13.0-beta.9":"2017-11-25T07:18:18.206Z","0.13.0-beta.10":"2017-12-14T21:20:07.972Z","0.13.0-beta.11":"2017-12-19T20:45:31.756Z","0.13.0-beta.12":"2018-03-05T01:55:46.536Z","0.13.0-beta.13":"2018-03-25T01:06:29.895Z","0.13.0-beta.14":"2018-03-31T21:18:18.347Z","0.13.0-beta.15":"2018-04-10T02:59:18.702Z","0.13.0-beta.16":"2018-04-26T21:19:54.852Z","0.13.0-rc.1":"2018-05-13T18:41:55.765Z","0.13.0-rc.2":"2018-05-21T00:29:10.127Z","0.13.0":"2018-06-24T01:49:38.965Z"},"keywords":["lore","hook","websockets"],"license":"MIT","readmeFilename":"README.md"}