{"_id":"@15gifts/redux-wiretap","_rev":"8-5b85cc7ec7939430164a9ecfadde57be","name":"@15gifts/redux-wiretap","dist-tags":{"latest":"1.0.20"},"versions":{"1.0.0":{"name":"@15gifts/redux-wiretap","version":"1.0.0","main":"build/index.js","license":"MIT","scripts":{"build":"BABEL_ENV=build ./node_modules/rollup/bin/rollup -c","lint":"./node_modules/eslint/bin/eslint.js src","precommit":"yarn lint && yarn test && yarn build && git add .","test":"BABEL_ENV=test jest --no-cache"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.11.0","husky":"^0.14.3","jest":"^22.4.3","redux":"^3.7.2","rollup":"^0.60.4","rollup-plugin-babel":"^3.0.4","rollup-plugin-uglify":"^4.0.0"},"author":{"name":"15gifts"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"}],"repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"dependencies":{"babel-runtime":"^6.26.0"},"files":["build"],"gitHead":"a9792d1d3ea29c3f399ace86f6e81690f6f13250","description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"homepage":"https://github.com/15gifts/redux-wiretap#readme","_id":"@15gifts/redux-wiretap@1.0.0","_npmVersion":"5.8.0","_nodeVersion":"9.2.0","_npmUser":{"name":"osilviotti","email":"osilviotti@gmail.com"},"dist":{"integrity":"sha512-cep6/pDpY4CRh3ULvuuTM33AA1vKMZGcoW8I/i/iw68yGZGphmyJXIVJcZFJ2zHxSc5+sidO4xBQp8RviHtbwQ==","shasum":"1dbf613d8e7aa77be7df7d3631a43020026565e5","tarball":"https://registry.npmjs.org/@15gifts/redux-wiretap/-/redux-wiretap-1.0.0.tgz","fileCount":4,"unpackedSize":9224,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK7nlCRA9TVsSAnZWagAAzeEP/3E+ZNZv3kz16asy7RPB\n1nbHatL40fJrcq6SiozkL0ZJYsLIi9moEHp5dYjF+bbcquzmxGxY/E+KhA3D\nas7r2ed+7VKWTaLe468LtVL94Wb31dHgcGCvX22jitp2FZ4u3RJbxG8lpz3J\nRiieQl7skoYAOiJbRbK6ztjcuxk8CR1TYvRSgYk2nZiy33KPCd/OVVmIp4RQ\nXb5u9WGVusaQspb6726IMkEVNDPIcPV8A9F/jkyE0yXGdJexLibnYvWWOGsR\nar6Jvj4iakMqu6vD9Juy0VrJWuyll7FtqVgCS0oR/5OpTCsnCctjPfan2zoE\n/9jHavY1yiXKFfS+PtcRGuRsmFk02sVNXZL8Lp8DX1D4rlascxezmUR2HqYJ\ntKbBBnBGsJ5CB983SsmAGpLyKLGcSyeGbXXrm/1bxS0WyZ7gJVmhbJl5Q5Ft\ncGjpiqFxhgAajayKL38mF3dzRUe0Xpz2Tlhzzebdn4tMWXVc1rRPzLx5jGOh\nTkihfMd+bw73dXisQno5JOtF/2kpP0uutR+dhUJKhLhl6NiF9gxOorzfomQy\nwCoNqCMJ0sMd2jFLkZj2VhAYrm5KyYcJBJ9p6D9ej4PvnK54ojLeDu/WLykG\nq9WNn1ZWQoNp4StacLiuaHbi0F9AbRk+DtmmfQTsjfChGgauURWzK7ViH3Fd\n5vVr\r\n=6w0Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCY1hME24M+qs5SblPsB64dBVTJ03sxwI5D0diJieOnAgIgbPzxWOgV55PlAvs9UDcsp7fvpGJM4uAqdHVy97mIoAc="}]},"maintainers":[{"name":"danielpickford","email":"daniel.pickford@15gifts.com"},{"name":"osilviotti","email":"osilviotti@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-wiretap_1.0.0_1529592293940_0.3831947081385525"},"_hasShrinkwrap":false},"1.0.1":{"name":"@15gifts/redux-wiretap","version":"1.0.1","main":"build/index.js","license":"MIT","scripts":{"build":"BABEL_ENV=build ./node_modules/rollup/bin/rollup -c","lint":"./node_modules/eslint/bin/eslint.js src","precommit":"yarn lint && yarn test && yarn build && git add .","test":"BABEL_ENV=test jest --no-cache"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.11.0","husky":"^0.14.3","jest":"^22.4.3","redux":"^3.7.2","rollup":"^0.60.4","rollup-plugin-babel":"^3.0.4","rollup-plugin-uglify":"^4.0.0"},"author":{"name":"15gifts"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"}],"repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"dependencies":{"babel-runtime":"^6.26.0"},"files":["build"],"keywords":["redux","middleware","redux-middleware"],"gitHead":"a7a607b73b665cc5b0f380f8248675ec10732a43","description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"homepage":"https://github.com/15gifts/redux-wiretap#readme","_id":"@15gifts/redux-wiretap@1.0.1","_npmVersion":"5.8.0","_nodeVersion":"9.2.0","_npmUser":{"name":"osilviotti","email":"osilviotti@gmail.com"},"dist":{"integrity":"sha512-zUJPR4j5W8eQhNEfGlZFzTU4SIcAYf+n7BBGeMY8hH8MK84KM3f6QbBxnGe6P3Kq2fxp4hkghn8dHFVOWw3BeQ==","shasum":"1e39e0042876b59d0297d99a297e2bdceec8ebdc","tarball":"https://registry.npmjs.org/@15gifts/redux-wiretap/-/redux-wiretap-1.0.1.tgz","fileCount":4,"unpackedSize":9295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLRs/CRA9TVsSAnZWagAALzEP/Rh92mSYZ51pbFMVqNkF\n7jJNYDaiLRCqlSW29L3VczwUuWTXpyLXyuXlEbVNxGuNcNedsD+GIdp4f58q\ndWFJnHQdenCv3i65XPq+NTlkkn4cRW6eID8IzFIi2La4odofuJQmvygrlLfn\n8kay9WbuRwanQoikPrXrH1Y97HaAsOwGOjPK3l/AYyUCqnfHkSqYvTn0wyDB\ng5EOvepiLDxGAux0Yrb70Kvq6DY1LibRf4Z2KuInZQTmsGt/kd7TFpsE1E63\nhIRCqugYJHnK9zyI/CAC+AP6/U2saAMlgxAjTBQXZemtViKS/qtInYF80Nfr\nMjchddvjbDyd9WVGcjcBL8S+itLpoZBm4ijFmcc3eKcFj4SsPOMwwYz3wyI7\nG6PW6DAeEzIi822FDKv3/A2+JWNK2D8bgkmwAM8AYpweRtauaXw2Rp+IYXsE\nmmFWZS2+veREUG+0TWCFAdSVBrr36Y/EIFBnIqp+QcvZZIem1zH9IhbbEaSQ\nG6Ob/0l/a0RzUal4beY/uVApJd+mIIkeQY5bE7gu64XG4Sp44iNP9gtL5enA\nVLEev2itu6f8ZR250EDSdwTOVHYQn2/xF14JOgcIh/TjgFSxP/+nC6ZFhjSS\nx39u5OWyBRgOBtdbmlI5sxBv8p30hj2Q8QaJNWa3obLw+PUrEfrSgTuJcIHJ\n0RGB\r\n=u/3J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF27Kir0ftH/tMbnXdJYHMD80LXPYPm+ITsWzynNddEwIhALXRXRt9ncnxnTA2omZBa8Hsfds8VhCvLf4Reez1FWO7"}]},"maintainers":[{"name":"danielpickford","email":"daniel.pickford@15gifts.com"},{"name":"osilviotti","email":"osilviotti@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-wiretap_1.0.1_1529682751104_0.7182879709250838"},"_hasShrinkwrap":false},"1.0.2":{"name":"@15gifts/redux-wiretap","version":"1.0.2","main":"build/index.js","license":"MIT","scripts":{"build":"BABEL_ENV=build ./node_modules/rollup/bin/rollup -c","lint":"./node_modules/eslint/bin/eslint.js src","precommit":"yarn lint && yarn test && yarn build && git add .","test":"BABEL_ENV=test jest --no-cache"},"devDependencies":{"babel-cli":"^6.26.0","babel-plugin-external-helpers":"^6.22.0","babel-plugin-transform-runtime":"^6.23.0","babel-preset-env":"^1.7.0","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.11.0","husky":"^0.14.3","jest":"^22.4.3","redux":"^3.7.2","rollup":"^0.60.4","rollup-plugin-babel":"^3.0.4","rollup-plugin-uglify":"^4.0.0"},"author":{"name":"15gifts"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"}],"repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"dependencies":{"babel-runtime":"^6.26.0"},"files":["build"],"keywords":["redux","middleware","redux-middleware"],"gitHead":"f22c7c14ca8627591ebf14fe4dbf88aae9a4cfcb","description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"homepage":"https://github.com/15gifts/redux-wiretap#readme","_id":"@15gifts/redux-wiretap@1.0.2","_npmVersion":"5.8.0","_nodeVersion":"9.2.0","_npmUser":{"name":"osilviotti","email":"osilviotti@gmail.com"},"dist":{"integrity":"sha512-glkKDZv/KtKfqYfMfJF4JgCbUnmBG0+HdzBwBR0hgOaZ2rojwOAwsrYfp3XsLOtxXTAIIQEeuSGTvspe8hyRyQ==","shasum":"baae1d6f004a3c7adff162c12f0da6be8e870993","tarball":"https://registry.npmjs.org/@15gifts/redux-wiretap/-/redux-wiretap-1.0.2.tgz","fileCount":4,"unpackedSize":9295,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbLRt6CRA9TVsSAnZWagAAme4P/3gCLfBgpNaWy0p21EUh\nNROj3FIMkEFtbAeAb9gUjD2FpO7M3G8PIqp5LM+Q2Xk1WN/xfixs75SLSfr/\nWbwi1+QCVhriRhNTTPNrGqakTO/ZbRQlAH9CSezk/SGyrKId+NEdKCkGVAhl\nsOu/2T2u4FE92e827ZwHvkhqCnN4856xylXmWjcUeh3FHxx0cVLu+cCtphkv\nfRHRW2yiPBwRQmJL1mYtdtpjidRfmY0JLD0OCnnRVQXrrQyEaCUxjH4AU5M9\nICy1oIP7dUzAhAPIo2YTYkpB/Dkt21FHIRhu8ai9IGaYSVHy30YBwLeuQIv2\n/DCgsU3NhzByu5Z/9qz755sORFX5QLDmL6fMNNQq1pvC0LH5aswhLPNsHeGG\ndpSmMnoiD/pE/0PrzCzQXxKoPSP7zfT3a4+75cT5oN1a4IWPm3UFBjk0Ni42\nYFUxsccrOWzX9lT2XHOxqk0q+hdp+QuiSemRzw6Vxe2mTPvVW0SHKhJTp+PM\nALwJs5PWWWPRLQLD24eaK0UikoOFW5cfH0wWihF6smFnMKtUoP0etBcP9dZV\npjC/mkIJV5/ji68cKmXCNgVCJtwUnmmK1YOcKFGVNdIHP7AWjba1yj9oHtPY\nI2fIbhu+C05xm0vzxTMccWlNicivlKl9dfPBy9+R11qJ59K7VNK2Qbr2pRPs\n9YCW\r\n=4rXH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIADsxrUM8yeksITRAvA74Hri/PRdARL+vK4ocyss7udSAiEA4CAUT3DXh01PMhJuBl0FQPQzEulcDGnbJRTP51FOOx8="}]},"maintainers":[{"name":"danielpickford","email":"daniel.pickford@15gifts.com"},{"name":"osilviotti","email":"osilviotti@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-wiretap_1.0.2_1529682810096_0.47491889950937427"},"_hasShrinkwrap":false},"1.0.3":{"name":"@15gifts/redux-wiretap","version":"1.0.3","main":"build/index.js","license":"MIT","author":{"name":"15gifts"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"}],"repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"keywords":["redux","middleware","redux-middleware"],"scripts":{"build":"BABEL_ENV=build ./node_modules/rollup/bin/rollup -c","lint":"./node_modules/eslint/bin/eslint.js src","precommit":"npm run lint && npm run test && npm run build && git add .","test":"BABEL_ENV=test jest --no-cache"},"devDependencies":{"@babel/cli":"^7.5.0","@babel/core":"^7.5.0","@babel/plugin-external-helpers":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.5.2","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.11.0","husky":"^0.14.3","jest":"^24.8.0","redux":"^3.7.2","rollup":"^1.16.7","rollup-plugin-babel":"^4.3.3","rollup-plugin-uglify":"^6.0.2"},"dependencies":{"@babel/runtime":"^7.5.2"},"peerDependencies":{"braces":"^2.3.2"},"gitHead":"cad7b6e491b591abd9017de80e58d327ec26f5e9","description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"homepage":"https://github.com/15gifts/redux-wiretap#readme","_id":"@15gifts/redux-wiretap@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"npm15gifts","email":"npm@15gifts.com"},"dist":{"integrity":"sha512-Wa/OeJ1kwS5Ke2MYcYqmzTgriBSozc/+ASoHoZKsriycwJzot/Jd4hf1UDIhYcZJC83PIVZ161C2thIhki9mIQ==","shasum":"fd2d24f84f09f41a65b47c725927d24f7b444eb5","tarball":"https://registry.npmjs.org/@15gifts/redux-wiretap/-/redux-wiretap-1.0.3.tgz","fileCount":4,"unpackedSize":9095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJJTbCRA9TVsSAnZWagAAqhQP/2qO+C4rMVhjXgx1uHxQ\nrIjcXnZeSl84yEgecaR0FnIb3qa7LWxu2UrEoDYQH4p/3fz36dt3J+hh+Wh5\npp0RbE2dvNG/oy2ANQtxJ8cur41Y0rOmDl15nopZ10CjuRHZ4jSGKb1q7Nl/\nt6RHGsVHy1zM7C+QDYoTHHOM2KwzxoUGRV+bDnI2wmLNhGnTa+AQy/fJqYsu\nDZhz7N3FUW0p5PSO+Av8bKuORC0ZZGsqN4D5Q2m/BiTnHLZdan2/CQPfWCEE\n5kDhLMRsbnCzZ08rw+hc3BlOhdf0Yi/tcALEVW2qu2Mqsuv830vo5btweMdE\nyw0c5WT74SN1GOyoaPJ0PVjMkwS22MwANygBCLIg+qStj5sGGkdoxPS2wK0A\nhLU0UcZ02AZVnsxR+BDqb9BEpxCfCmawQozbZvLmos8afY6owo9xcLCg9ckM\nZNB4rlutFyy587DJlhtWomXAlvcWCrg08HlGd+uJdwPvc/oYO9cskFtIUudi\nDMhPEP3v98ec2ahblLxQik2z7Lzymx98GBNhBMCAim3LpXWpNeL9euwkwixs\nCh4eBH6Lvi88mfezKO5qCVIAcdvoItQ+cvuc1Awxz7a2x61ArvxQdnKF2pPd\nT9zysWIGjki5VgmLkIF76gYrUClwD9jqtcL3U9flBYT9+AC4eT9WGY/OK/7E\nQKbQ\r\n=uPrj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAbvKkhXo/ugivk/GIB0j1YUFzyYXvF4FXPHmvj95rmqAiEAjsce9TZ5WWFLq6rr3J7xFLytifrPlHSaTV4UJGykYyI="}]},"maintainers":[{"email":"daniel.pickford@15gifts.com","name":"danielpickford"},{"email":"npm@15gifts.com","name":"npm15gifts"},{"email":"osilviotti@gmail.com","name":"osilviotti"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-wiretap_1.0.3_1562678490996_0.8772538194911801"},"_hasShrinkwrap":false},"1.0.4":{"name":"@15gifts/redux-wiretap","version":"1.0.4","main":"build/index.js","license":"MIT","author":{"name":"15gifts"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"}],"repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"keywords":["redux","middleware","redux-middleware"],"scripts":{"build":"BABEL_ENV=build ./node_modules/rollup/bin/rollup -c","lint":"./node_modules/eslint/bin/eslint.js src","precommit":"npm run lint && npm run test && npm run build && git add .","test":"BABEL_ENV=test jest --no-cache"},"devDependencies":{"@babel/cli":"^7.5.0","@babel/core":"^7.5.0","@babel/plugin-external-helpers":"^7.2.0","@babel/plugin-transform-runtime":"^7.5.0","@babel/preset-env":"^7.5.2","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.11.0","husky":"^0.14.3","jest":"^24.8.0","redux":"^3.7.2","rollup":"^1.16.7","rollup-plugin-babel":"^4.3.3","rollup-plugin-uglify":"^6.0.2"},"dependencies":{"@babel/runtime":"^7.5.2"},"peerDependencies":{"braces":"^2.3.2"},"gitHead":"cfd570cc9379708cc0a99da0a5e87365534e0eaa","description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"homepage":"https://github.com/15gifts/redux-wiretap#readme","_id":"@15gifts/redux-wiretap@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"npm15gifts","email":"npm@15gifts.com"},"dist":{"integrity":"sha512-3R5PeylkkAfuU7bcxRVL+mk7MyonRe/SGUh4oz9+nCZHVC98LwSIHrWVpn6xeCUg+p4P1R8RY73CMIOu3tbvBA==","shasum":"f67b26408b7aaf6a50579b3e684c083bdb41fa19","tarball":"https://registry.npmjs.org/@15gifts/redux-wiretap/-/redux-wiretap-1.0.4.tgz","fileCount":4,"unpackedSize":9095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLCwmCRA9TVsSAnZWagAAOl4P/inuzzdIvLHJ46g3qqYN\nb2BL7cXC6SHH4YfJTRlEbc1Y4jQHNTjuV2zyqUdcx31fr/YSnj4OYMBtz1M6\nJPo8fVKbzwRex1AQ621Liqgs7aQlFQbsJpXcC9zC/ZKxJTQwvrO7cVXbco/c\nf6m98PX06LjsB35lAPZFQte8ubJlFV3Wx/I/Pd8PKZZxhnqDJ5G4abbDfgM6\nkjM6q6Z1T2F7rtUjuM6ZWyBjYGR19b0kp04RFwBZ9ztRjj/QWio22lIxhGy2\nDlJOhhSEC1IGqLGRvjXtzA+mgQIRXL0MY+UOSY3A1yYZ4x175zFhs86Xubsm\nLqUYQGgz2uwfol5w0SAdJlcjEuNDdZphnyIclPQ6AIeJSBaY5rxHdUw2TAIQ\n+J6w2RAultM+jpp7q40dNxyldY4qWr88GDv1yVV1DNdjE/RxwynrbFsB7nrk\nZw/STbS96Gls/6D+M23bA1QP7yiNIDgvQnGkuPVNiJIDm0S+/AD5hv9/n6Ge\nV2dlkscq1amOsqMEtTm0fCRft3KYR8anuhQmwNDeMBN9ZCpOPO4yJpM5evQN\nW3qdmnM5y3klg/CrzBB5o98V8IpSsCT6/leqgxQv5W4Zb8ZKT6gTVBsexP5g\naelvpSZQQFA+L0xZNmGX9J/1K+uTNVHSzSgqBeS8gkDCyjkEuNd+QPkwSaAc\na2IG\r\n=G2NM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5nsfbGJi2a9dEYYUYpKCiLBQ294cvezvVtgtvwl4RjAiAaiuaDBDIHiaF4wJRtYmdjGaaQKOHEBiW+fGgi9mTMVQ=="}]},"maintainers":[{"email":"daniel.pickford@15gifts.com","name":"danielpickford"},{"email":"npm@15gifts.com","name":"npm15gifts"},{"email":"osilviotti@gmail.com","name":"osilviotti"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-wiretap_1.0.4_1563175973490_0.8470657062820843"},"_hasShrinkwrap":false},"1.0.20":{"name":"@15gifts/redux-wiretap","version":"1.0.20","main":"build/index.js","license":"MIT","author":{"name":"15gifts"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"},{"name":"James Baker","email":"james.baker@15gifts.com"}],"repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"keywords":["redux","middleware","redux-middleware"],"scripts":{"build":"BABEL_ENV=build rollup -c","lint":"eslint src","precommit":"GITHUB_REGISTRY_TOKEN_15G=null npm run lint && npm run test && npm run build && git add .","test":"BABEL_ENV=test jest --no-cache"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/plugin-external-helpers":"^7.7.4","@babel/plugin-transform-runtime":"^7.7.6","@babel/preset-env":"^7.7.6","eslint":"^4.19.1","eslint-config-airbnb-base":"^12.1.0","eslint-plugin-import":"^2.19.1","husky":"^0.14.3","jest":"^24.9.0","redux":"^3.7.2","rollup":"^1.27.9","rollup-plugin-babel":"^4.3.3","rollup-plugin-uglify":"^6.0.3"},"dependencies":{"@babel/runtime":"^7.7.6","serialize-javascript":"^2.1.2"},"peerDependencies":{"braces":"^2.3.2"},"gitHead":"9ace0f91f219505be811cc62138b63ab812be511","description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"homepage":"https://github.com/15gifts/redux-wiretap#readme","_id":"@15gifts/redux-wiretap@1.0.20","_npmVersion":"6.4.1","_nodeVersion":"10.15.0","_npmUser":{"name":"npm15gifts","email":"npm@15gifts.com"},"dist":{"integrity":"sha512-FE9QtjaeZ7SDYj9JaA+XJ40G5JRAv8AJgnuYpWSIFSrLsBLhOAtuWHwLOknRLCx5eCpVgLlRpIN3VXHgfthkDw==","shasum":"d281b309a13967db6c4d456f0ecc92cbcc269d9d","tarball":"https://registry.npmjs.org/@15gifts/redux-wiretap/-/redux-wiretap-1.0.20.tgz","fileCount":4,"unpackedSize":9193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd75WWCRA9TVsSAnZWagAA7wYP+QGO4lJulJUZ/1gHdnYE\nhzbxuSelui8I4atLA49bAm+URQ1xTBNUwPUoHV07X9Ro62CBOzXpcs8nkpL9\nkjWKeG3NSOg5WQGNIY84OosB1U9oJeJSDtaZVQhC7VlpAJf6Xm2x6kID0UhV\nXtLAQrD8GSX+RPnBJRony4ezH3Ln4oBRgpkOsqs3Lhd+/OzZTWKipRRE1J1w\nVvwiUMNU9ACi87/yB8lRdZpp8MF3QSHS35uAYdAWfmmVWYedA0HHxlesNVPl\nzMLZSqrOHVfgIvyCskEhaquPHznBJ4oWCsaABflWeSfY2+eQ6ViTlw638sdQ\n2YsutThJ3NR71juBQD6Wax1cgX5clwIzIFUD31/BxESVJHaf+RopErItsC4M\nfGXA8qM05qkldqP4X/f5xUFkG0mfxAh4/3Hz4B+BWQbysahrb7ODcwxAq2Ns\n/T/YpV+pt1N71z3pKYC58ilqQZ5l1YwV9xt497rxhBpE90IZPPSTx85NO6g8\nN/YJ4G4GwRNb/GHrnSqsxp2AvY23IIHJSookeIzuaUE/MaCIqEMZKANojUz6\nlrET0pNfN/Zac7nD65J5GMGnzSTF5QTA0ZeYzVMXy/mN+qgO0/agdai/+B9F\nftPYkKj2LtYT3f3pMfC/lcmkbcHGa6UidiujNN0f9DlPUONzScyEalmbSmDs\n6nj1\r\n=gILS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFsvak7/xECM2DSH1DLF/PqHzWlD7NVSA7wTGf58E3t5AiEAhj8oppBiND72U/pY4gjdlB1sktGq6xl/fPcAnmvkpck="}]},"maintainers":[{"email":"daniel.pickford@15gifts.com","name":"danielpickford"},{"email":"npm@15gifts.com","name":"npm15gifts"},{"email":"osilviotti@gmail.com","name":"osilviotti"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/redux-wiretap_1.0.20_1575982486057_0.7809725699541772"},"_hasShrinkwrap":false}},"time":{"created":"2018-06-21T14:44:53.769Z","1.0.0":"2018-06-21T14:44:53.994Z","modified":"2024-01-16T11:38:43.334Z","1.0.1":"2018-06-22T15:52:31.175Z","1.0.2":"2018-06-22T15:53:30.190Z","1.0.3":"2019-07-09T13:21:31.107Z","1.0.4":"2019-07-15T07:32:53.601Z","1.0.20":"2019-12-10T12:54:46.167Z"},"maintainers":[{"email":"daniel.pickford@15gifts.com","name":"danielpickford"},{"email":"npm@15gifts.com","name":"npm15gifts"}],"description":"`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a trac","homepage":"https://github.com/15gifts/redux-wiretap#readme","repository":{"type":"git","url":"git+https://github.com/15gifts/redux-wiretap.git"},"contributors":[{"name":"Ollie Silviotti","email":"ollie.silviotti@15gifts.com"},{"name":"James Baker","email":"james.baker@15gifts.com"}],"author":{"name":"15gifts"},"bugs":{"url":"https://github.com/15gifts/redux-wiretap/issues"},"license":"MIT","readme":"# Redux Wiretap\n\n`redux-wiretap` is a Redux [middleware](https://redux.js.org/advanced/middleware) that allows you to spy on actions as they arrive at your store. This allows you to react to your app's state without changing it's logic - e.g. for making requests to a tracking API.\n\n\n[![npm version](https://img.shields.io/npm/v/@15gifts/redux-wiretap.svg)](https://www.npmjs.com/package/@15gifts/redux-wiretap)\n[![npm downloads](https://img.shields.io/npm/dm/redux-wiretap.svg?style=flat-square)](https://www.npmjs.com/package/@15gifts/redux-wiretap)\n\n\n\n\n## Install\n\n```sh\nnpm i @15gifts/redux-wiretap\n```\n\n## Usage\n\nImport the library into your store file and add it to your middleware array as the last element.\n\n```javascript\nimport { applyMiddleware, createStore } from 'redux';\nimport reduxWiretap from '@15gifts/redux-wiretap';\nimport reducers from './reducers';\n\nconst initialState = {};\nconst wiretapConfig = {};\nconst wiretap = reduxWiretap(wiretapConfig);\n\nconst store = createStore(reducers, initialState, applyMiddleware(wiretap));\n\n```\n\n### Config\n\nThe config passed into the `reduxWiretap` function can contain the following properties:\n\n```javascript\n{\n  // A function that always gets called before an action is executed\n  beforeAnyAction: (contextVariables) => {},\n\n  // A function that gets called before `callback` if the `point` is valid\n  beforeCallback: (data, contextVariables) => {},\n\n  // A function that will get called if the `point` is valid\n  callback: (data, contextVariables) => {},\n\n  // A function that gets called after `callback` if the `point` is valid\n  afterCallback: (data, contextVariables) => {},\n\n  // A function that always gets called after an action is executed\n  afterAnyAction: (contextVariables) => {},\n\n  // Default value for global variables that are passed between callback functions\n  vars: {},\n\n  // Array of point config objects that decide if the `callback` function is called\n  points: [\n    {\n      // The action(s) to look for (this can be an array of strings)\n      triggerAction: 'ACTION_TYPE',\n      logic: (contextVariables) => {\n        return {\n          // This can be anything - passed as the first argument into the callbacks\n          data: {},\n          // This boolean controls if the callback is executed (defaults true)\n          shouldFire: true,\n        };\n      },\n    },\n  ],\n}\n```\n\n#### `contextVariables`\n\nThis object is passed into each point's `logic` function and into all of the callback functions. It has the following properties:\n\n```javascript\n{\n  action, // The current action\n  config, // The config passed into the `reduxWiretap` function at the start\n  nextState, // The store as it will be after the action is applied\n  prevState, // The store as it was before the action was applied\n  getVars(), // Function to get the global variables\n  setVars(vars), // Function to set the global variables\n}\n```\n\n### `getVars` and `setVars`\n\nThese functions allow you to read and update the global variables that are passed between callback functions. The initial value is taken from the `config` passed in at the start, or an empty object if the field is omitted.\n\n```javascript\n...\n\nconst wiretap = reduxWiretap({\n  vars: { id: 1 },\n  callback: ({ getVars, setVars }) => {\n    const vars = getVars();\n    const id = vars.id + 1;\n\n    setVars({ ...vars, id });\n  },\n  points: [{ triggerAction: 'COUNTER_INCREMENT' }],\n});\n\n...\n\n// vars = { id: 1 }\n\nstore.dispatch({ type: 'COUNTER_INCREMENT' });\n\n// vars = { id: 2 }\n\n```\n\n#### `shouldFire`\n\nThis property, returned by the `logic` function of a point config object, determines whether or not the callbacks will be called. Because it has access to `contextVariables`, you can do things such as compare the previous and next states of the redux store and conditionally call the callback functions.\n\n```javascript\n{\n  points: [\n    {\n      triggerAction: 'COUNTER_INCREMENT',\n      logic: ({ prevState, nextState }) => {\n        return {\n          callback: () => {\n            // Call API to report that an increment greater than 1 has occured\n          },\n          shouldFire: nextState.counterValue - prevState.counterValue > 1,\n        };\n      },\n    }\n  ],\n}\n```\n\n## Next Steps\n\nThe next features we're looking to add are:\n\n- [ ] Fire callbacks on simple value changes (non-objects) as an alternative to actions\n\n## License\n\nMIT\n","readmeFilename":"README.md","keywords":["redux","middleware","redux-middleware"]}