{"_id":"typescript-fsa-redux-thunk","_rev":"32-23ddc6ca5dd9d704c84a3ce7725f24f7","name":"typescript-fsa-redux-thunk","description":"TypeScript FSA utilities for redux-thunk","dist-tags":{"latest":"2.10.2","beta":"2.1.4-beta.1"},"versions":{"1.0.0":{"name":"typescript-fsa-redux-thunk","version":"1.0.0","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux-thunk","typescript","action","action creator"],"main":"lib/index.js","module":"es/index.js","typings":"lib/index.d.ts","files":["es","lib"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint -c tslint.json src/**/*.ts tests/**/*.ts","test":"ts-node -P tsconfig.tests.json node_modules/.bin/tape tests/*.ts","test:watch":"ts-node -P tsconfig.tests.json node_modules/.bin/tape-watch tests/*.ts","build:es":"tsc","build:lib":"tsc -p tsconfig.lib.json","build":"npm run build:es && npm run build:lib","prepublish":"npm run clean && npm run lint && npm run test && npm run build"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","devDependencies":{"@types/redux-mock-store":"^0.0.8","@types/tape":"^4.2.30","redux-mock-store":"^1.2.3","rimraf":"^2.6.1","tape":"^4.6.3","tape-watch":"^2.3.0","ts-node":"^3.0.6","tslint":"^5.4.3","typescript":"^2.3.4"},"dependencies":{"redux":"^3.7.0","redux-thunk":"^2.2.0","tslib":"^1.7.1","typescript-fsa":"^2.3.0"},"gitHead":"66b781915834757177a9b8f795a1ee952e7696fa","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@1.0.0","_shasum":"0ad6db6f859089d65dabcc8df1b830cafb3eeb57","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.1.2","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"shasum":"0ad6db6f859089d65dabcc8df1b830cafb3eeb57","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-1.0.0.tgz","integrity":"sha512-pYiZocltJ516eQyH07ehHDFCbLY55f/W47TC5OE+4T3vTyjDSE6GzMPbstNdlEU5oBBfeLnXVStcgB5StCXa1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEehahatp8c3UkTwA9bG4iSl4C12/hE2Gw65cq75IKauAiB/U6hFUQMc6NjpCSJ6GEwFTTWYNnmgHHt4cc1yf5k9lg=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-1.0.0.tgz_1497677043057_0.48470046231523156"},"directories":{}},"2.0.0-beta.1":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","redux-thunk","typescript","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint --type-check --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.31","@types/redux-mock-store":"^0.0.11","chai":"^4.1.2","cross-env":"^5.0.5","mocha":"^4.0.0","redux":"^3.7.2","redux-mock-store":"^1.3.0","redux-thunk":"^2.2.0","rimraf":"^2.6.2","ts-node":"^3.3.0","tslib":"^1.7.1","tslint":"^5.7.0","typescript":"^2.5.3"},"dependencies":{"typescript-fsa":"^2.5.0"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"gitHead":"01a68990ba7303a25e1058e44dcd79863da3ef0a","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@2.0.0-beta.1","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-0DkVzfc+M9pepDgLaqq+v9b3+vWZY1vvYa7ZDsKqVn01L2sBO7uu12fhLYC1IfzoNhngGmYWn/Wzc885E7p2yg==","shasum":"750e2fb29460e26ae9b3ff1335d1eb252668d466","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsOUJSn0YZYnWyh/s3Os9aaQt1ryS9QXCeDhYoom3QEwIgEu+VFsVnGohi0aJwQBuK74HUuwnV4a42aDKSQe6zFJg="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-2.0.0-beta.1.tgz_1507019949812_0.44125814992003143"},"directories":{}},"2.0.0-beta.2":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.2","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","redux-thunk","typescript","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint --type-check --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.31","@types/redux-mock-store":"^0.0.11","chai":"^4.1.2","cross-env":"^5.0.5","mocha":"^4.0.0","redux":"^3.7.2","redux-mock-store":"^1.3.0","redux-thunk":"^2.2.0","rimraf":"^2.6.2","ts-node":"^3.3.0","tslib":"^1.7.1","tslint":"^5.7.0","typescript":"^2.5.3"},"dependencies":{"typescript-fsa":"^2.5.0"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"gitHead":"8f47a5c1359426b9a4a6d357be28c0c426f191ee","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@2.0.0-beta.2","_npmVersion":"5.4.2","_nodeVersion":"8.5.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-zgdzE7tOKaOHDm5ku8MtenN5UVR2GAe0SiNoKaoy4aR3mIR7rpRmj7Sdd/dIPv2kUGvUOwwO/k+4lemMkmePBw==","shasum":"dd32d3a8e176fcc840f76b9cb9cb996aaee22672","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaywDK3BAum+bfpAOj62TL4yd4cKrqK9WlJsi9sB7POAIgSFSsTQUfS8Toe1bfHEl8zWIa+IxxMkaSa9Q1Nf0587U="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-2.0.0-beta.2.tgz_1507020232651_0.16379927890375257"},"directories":{}},"2.0.0-beta.3":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.3","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","redux-thunk","typescript","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint --type-check --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"nyc report --reporter=json && codecov -f coverage/*.json","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.31","@types/redux-mock-store":"^0.0.11","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","mocha":"^4.0.0","nyc":"^11.2.1","redux":"^3.7.2","redux-mock-store":"^1.3.0","redux-thunk":"^2.2.0","rimraf":"^2.6.2","ts-node":"^3.3.0","tslib":"^1.7.1","tslint":"^5.7.0","typescript":"^2.5.3","typescript-fsa-reducers":"^0.4.4"},"dependencies":{"typescript-fsa":"^2.5.0"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"86db81a3422925a7806794cd0092b344a76b911d","_id":"typescript-fsa-redux-thunk@2.0.0-beta.3","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-CZwsuVfVrW2aBACyiHhy7hBKjZ2QQp/EyQwmY6ghy0xQ91O9STVUCZQT3fXt3lmAqRrKckKBn2t8I2uO34jtNQ==","shasum":"a988ab82c48b84e1954fcdc19438c571089885d9","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrweMx9dCcO1x0xjb2jC6zCnV+lv6RuPUnGS6bOE4jugIhALLTi4XJ0zmsuxslOf49g21WWGhmGAkn3TzYJScPlJDG"}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-2.0.0-beta.3.tgz_1507081038186_0.36821399815380573"},"directories":{}},"2.0.0-beta.4":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.4","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","redux-thunk","typescript","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint --type-check --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"nyc report --reporter=json && codecov -f coverage/*.json","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.31","@types/redux-mock-store":"^0.0.11","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","mocha":"^4.0.0","nyc":"^11.2.1","redux":"^3.7.2","redux-mock-store":"^1.3.0","redux-thunk":"^2.2.0","rimraf":"^2.6.2","ts-node":"^3.3.0","tslib":"^1.7.1","tslint":"^5.7.0","typescript":"^2.5.3","typescript-fsa-reducers":"^0.4.4"},"dependencies":{"typescript-fsa":"^2.5.0"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"dd1781c1e13eff7bf90b36b689204bf018da48f6","_id":"typescript-fsa-redux-thunk@2.0.0-beta.4","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-NCaHbbv1SwzAfA1FPNNJdLRB0spVUnhCyMlazULd5ZLN0zrTkmp/xrzj2fBzUJvHmJCsGQENlpCaTROBiyYkpA==","shasum":"54b9a1e4ff3c294c7d8ec3c229c6b25988eca8f7","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG3DzyI19u9GlZe/8gCRSCbvtSZIJSsfW9SLZE2beQ8fAiAx2uw7IOsdbDEbyN3mrwD+TZDkkosnpTEXI4AcarAxJg=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-2.0.0-beta.4.tgz_1507093967811_0.8496707186568528"},"directories":{}},"2.0.0-beta.5":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.5","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","redux-thunk","typescript","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint --type-check --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"nyc report --reporter=json && codecov -f coverage/*.json","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.32","@types/redux-mock-store":"^0.0.11","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","mocha":"^4.0.0","nyc":"^11.2.1","redux":"^3.7.2","redux-mock-store":"^1.3.0","redux-thunk":"^2.2.0","rimraf":"^2.6.2","ts-node":"^3.3.0","tslib":"^1.7.1","tslint":"^5.7.0","typescript":"^2.5.3","typescript-fsa-reducers":"^0.4.4"},"dependencies":{"typescript-fsa":"^2.5.0"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"8085b6ea470dcea41f473afccf5b79ebb362dc26","_id":"typescript-fsa-redux-thunk@2.0.0-beta.5","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-+x/rK/uzXJ8T+PhAdj8qfsnwTS/kVsFGGUUNSziL4+UzxHZeIoFQ3+BIMW6AUdDldq4Sd+cCRN6YAemcypjrxQ==","shasum":"3bb4f047f10e0d8aefaadd489c3dbd786e636c93","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4SSnvZ60ckQyZ8KWkptISNeKihUWGdnPo86YTt+R1LAIgJp59ks02sH3yVrGvx6T0JbibzgyhDFVVG/lVxz9XMpU="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-2.0.0-beta.5.tgz_1507095277803_0.5893273579422385"},"directories":{}},"2.0.0-beta.6":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.6","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","redux-thunk","typescript","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint --type-check --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.0.4","@types/mocha":"^2.2.43","@types/node":"^8.0.32","@types/redux-mock-store":"^0.0.11","chai":"^4.1.2","codecov":"^2.3.0","cross-env":"^5.0.5","mocha":"^4.0.0","nyc":"^11.2.1","redux":"^3.7.2","redux-mock-store":"^1.3.0","redux-thunk":"^2.2.0","rimraf":"^2.6.2","ts-node":"^3.3.0","tslib":"^1.7.1","tslint":"^5.7.0","typescript":"^2.5.3","typescript-fsa-reducers":"^0.4.4"},"dependencies":{"typescript-fsa":"^2.5.0"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"0afef0a16fdddcde83449889d7e9bde02e64ea87","_id":"typescript-fsa-redux-thunk@2.0.0-beta.6","_npmVersion":"5.4.2","_nodeVersion":"8.6.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-d8kAeMo65HZkhMc0Cr9DejON4Bfdde4I7wOftfCiLLyIcl/0ZtSWO/HCIbZvJPD2oeMoCs0NpOE/lSkLRPDFdg==","shasum":"abcca60be42838b0ac05f2414082c047deabe677","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDLYHX6MYOocJ+oJc2a/wrdk5ri15g//tckqC8i9830jAIgS7CPig6tjbThbk7ogKQl6L28NIzm7Xs5RGj2u00S/l4="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk-2.0.0-beta.6.tgz_1507101909843_0.02753232861869037"},"directories":{}},"2.0.0-beta.7":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.7","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.2","@types/mocha":"^5.0.0","@types/node":"^9.6.5","@types/redux-mock-store":"^0.0.13","chai":"^4.1.2","codecov":"^3.0.0","cross-env":"^5.1.4","isomorphic-fetch":"^2.2.1","mocha":"^5.1.0","nyc":"^11.6.0","redux":"^3.x","redux-mock-store":"^1.5.1","redux-thunk":"^2.x","rimraf":"^2.6.2","ts-node":"^5.0.1","tslib":"^1.9.0","tslint":"^5.9.1","typescript":"^2.8.1","typescript-fsa-reducers":"^0.4.5"},"dependencies":{"typescript-fsa":"^3.0.0-beta-1"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"23e2b9a3f59c9be717f5bc26c7dcc00685fca2b4","_id":"typescript-fsa-redux-thunk@2.0.0-beta.7","_npmVersion":"5.8.0","_nodeVersion":"9.11.1","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-JfO+/dfUjD8qFPinu8cLq7v1wvTG8DnxHN3ad8x+ilzJtnjkrUUKyzLTBCDNCKr6Z/579KKrBTtUJA/Jq5dhGQ==","shasum":"58b22ebde1ad93923c1b5e9dff2ec072a1d189f2","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.7.tgz","fileCount":12,"unpackedSize":36362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1AiRCRA9TVsSAnZWagAAc1kP/3nVP9c+QIONrSRhdxRX\nzltOgbbwW5QQeMLr8+PSGFGkAoc8yCXJmmoqID4veZRXofNAbiiyWLribeSh\n0OexbJq7xL3Tf/1Hx+OchEMMm/N04J5YOD3ylGU29DmjX5mbZ0cCg/MgW0j9\nZlxwQ67sWxabY3bN5CWWXP21hnLnYY5fgZ62TbgIVxxR8P/mgwROHgjuWqw7\nsmVzU8U+LcH8S4J+9+ttmjTKPLd/7SF/ltXikF76ZTfLviczqxv/DBPQlfW/\n0SllM1hOWLHOpZTtaRyk8S21pb6r0wkzsYYPqNBh1bkjPcrKkQNTYxujej4z\ntO+2yUdJSIsp8NraOqy8c2iuf/WOy4UzbEPaBs/THnxj2VX/GO2bvsQtRAS6\nOTGr3klEVlpv9A/dE+oZ/XtQXXQigAddiet6dmG3dPjv0FT1TD2kxURlnUE3\n7Y4orajA4Cf0cCgCWgRfPpeOBA2GoBOnn4Z7OaochVPSTe91VOTW85Ze32dt\nRm0XTL+R5gKVjQR7giVKv+Y+2ZFPnDdZ+aVOy0aqqnJn1T2Jiom1BC6bevCe\n8xXrIic0zp1XPnWZq2pR/4Mt1Lv++wkRXR9PpXssuYcPHqq68fx9+wQezdfb\nRzmSP8rlW5truNFiF2eRw22bH0HVBasjHEqmhY4Z3tfoev2XEMsTGgaqS3B0\nj5JK\r\n=/GUV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmJ4jDOAiLuGv/++r7Ry4ZtmWV8L3qI3INE1U0lANl4wIgRFycuioWVbUfhT/0/uQCf5ScJB1swaQoAajJvJoUexE="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.0.0-beta.7_1523845264348_0.15775883327503526"},"_hasShrinkwrap":false},"1.0.1":{"name":"typescript-fsa-redux-thunk","version":"1.0.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux-thunk","typescript","action","action creator"],"main":"lib/index.js","module":"es/index.js","typings":"lib/index.d.ts","files":["es","lib"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib es","lint":"tslint -c tslint.json src/**/*.ts tests/**/*.ts","test":"ts-node -P tsconfig.tests.json node_modules/.bin/tape tests/*.ts","test:watch":"ts-node -P tsconfig.tests.json node_modules/.bin/tape-watch tests/*.ts","build:es":"tsc","build:lib":"tsc -p tsconfig.lib.json","build":"npm run build:es && npm run build:lib","prepublish":"npm run clean && npm run lint && npm run test && npm run build"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","devDependencies":{"@types/redux-mock-store":"^0.0.8","@types/tape":"^4.2.30","redux-mock-store":"^1.2.3","rimraf":"^2.6.1","tape":"^4.6.3","tape-watch":"^2.3.0","ts-node":"^3.0.6","tslint":"^5.4.3","typescript":"^2.3.4"},"dependencies":{"redux":"^3.7.0","redux-thunk":"^2.2.0","tslib":"^1.7.1","typescript-fsa":"^2.3.0"},"gitHead":"2bf4efa39c4f272e17eeeb39ca4ef464530e6ed8","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@1.0.1","_npmVersion":"5.8.0","_nodeVersion":"9.11.1","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-+im3ewRmuuJK5ygLFpFkqT/mHrcI9PaGk8IKnuZ5kHIyk6jTtBSXPBbBg7yB/x8mXIcAU1zMBcsiNJBw4WaTuA==","shasum":"ca7cfa0dd582960cec00c622efdbc787b3c58d4b","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-1.0.1.tgz","fileCount":9,"unpackedSize":10813,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1An4CRA9TVsSAnZWagAAB/IP/j1Adjix6m0P16/5J045\no3+oYJn7ByUMkUpHywiilk68Q0HVXOvAS5KCbG/5U5KdQkDcMuiSSYxmje8O\nwciJrI7yrvJLvu2iVE2JcgYJr17osD183gupIzSuRguq0TCBj/xMafUnntSI\n+zOnP2b5zsZzLHDbv88gstflZC5jy+xe1I7LEs2196W0ZvaFw05EGrlUhosZ\nfXNXx0RiJqH5vwQSjeCJLw3lelD9r7QtQtjxmsKktNXZgaNgqFCYTevhFXPB\ngNhjq/Ku5BaN1ofnZqYEq3IgXuNaxU+8NsXqujcRtG+jhM1EqLXFsvmuJ/Ry\nXgFKaN5rY2cHeNZVBtdaDzPKhYz/4I9Pq1G2BMPnOpGOPClyPkEUKcc7kZsz\nHHqCyjqbmBSZUlneiELMtRt767WzzN7Dw478I2FLJk/yMWcUQND1WdPmD9Ab\nTPoR0oJqyQKTQb1bGxjhwf3cVylm7Ns9bwc01T/NQMHXAFb5q/k0KJK5QKn1\n3SawEk140+uDA4Hk7u8Q8M1A5K6166nulYXj4NLLvjOFez/JKjZjiKjZfR22\nc+0pSUKOnbkLOn8SX00FWBAKsgIxa09x5Y1ZwlayAOPJubW4TtGYxrCkaYxx\nafCa60r0EaK848oMPCQ5FIJMtwPcxINd/MxHF40SOroj3giYi9gWxVPalKAM\n/MKA\r\n=EhE8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeg/TKVndmqhGnRbn43uisGj61dkh5f+1iPqOnqGEqpQIhAJW+3JylIIx64JjOx/znrF22vdokjIE+FVoXi7ITgOXx"}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_1.0.1_1523845623190_0.14059302337422608"},"_hasShrinkwrap":false},"2.0.0-beta.8":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.8","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.2","@types/mocha":"^5.0.0","@types/node":"^9.6.5","@types/redux-mock-store":"^0.0.13","chai":"^4.1.2","codecov":"^3.0.0","cross-env":"^5.1.4","isomorphic-fetch":"^2.2.1","mocha":"^5.1.0","nyc":"^11.6.0","redux":"^3.x","redux-mock-store":"^1.5.1","redux-thunk":"^2.x","rimraf":"^2.6.2","ts-node":"^5.0.1","tslib":"^1.9.0","tslint":"^5.9.1","typescript":"^2.8.1","typescript-fsa-reducers":"^0.4.5"},"dependencies":{"typescript-fsa":"^3.0.0-beta-1"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's probably breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk@beta redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `bindThunkAction(AsyncActionCreators, AsyncWorker): ThunkActionCreator`\nCreates redux-thunk that wraps the target async actions.\nResulting thunk dispatches `started` action once it is started and\n`done`/`failed` upon finish.\n\n### `asyncFactory<State, Extra>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n### * Of this API, you may only end up using `asyncFactory` and `thunkToAction` (if you're using `react-redux`)\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware } from 'redux';\nimport thunkMiddleware from 'redux-thunk';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: Error;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action */\nconst login = createAsync<LoginParams, UserToken>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new Error(\n\t\t\t\t`Error ${res.status}: ${res.statusText} ${await res.text()}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\tconst store = createStore(reducer, applyMiddleware(thunkMiddleware));\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\tconst userToken = await store.dispatch(login.action({\n\t\t\temail: 'test@example.com',\n\t\t\tpassword: 'password'\n\t\t}));\n\n\t\tconsole.log(store.getState().title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"d80df29bf3265e5d22190bcf4082f93889657551","_id":"typescript-fsa-redux-thunk@2.0.0-beta.8","_npmVersion":"5.8.0","_nodeVersion":"9.11.1","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-7m9oD0aAkgT2mTuhX/JIXw1lglvb1DIJ1szfEUu4lxKwNDnVCJi5iRLkT7gpHznhJv+Hs4Jc6ZApCNLstUKTBA==","shasum":"b073529e81e50e21d57a4aac15e1e92454cb7cba","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.8.tgz","fileCount":12,"unpackedSize":36362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa1AqMCRA9TVsSAnZWagAADZEQAIWHzwuRL8f+hop0qrK1\n2P6kH1eZeNOA5he93kTei0+RGQIRedEYCQiM/eCIODoZTQZ0VQHcpo4Kor5o\n7z8bz5hzG0kiI3kfFku7Mq3ibnJ5/DX6Olrnue+F+0v2Wp51PsMXLnWKnrIr\nuf1YBYU0pHOrEv3o7Vj15W67rxx8Z0Qev6LzvQhmN9BS6SBaddA4kDyANeD5\n5I7/YgyJGX4ke/g5thxaTZXbfcdz6+/HEavZEWNh0Rj9VcfOwf9G4ludBU+9\nDams/zk55LT6YjjYkTMNvhj7CajfScdK5stLK9Wub6xJgt7irQNxolciDWvB\nLr0/mcXmNEi3KgHBEQn5bzph9hD54B1lgr3PB5ANcEDRemlJD+JLh8xdMhb8\nYUqQPW63ctfMwycRXieNnxqq+00i1NZZAF1NAw0CM6NZ/+78g91VEEeU7ch8\nsvWMioufCXhrr8zsvIrQtti+LBkncelHXI9/z35wkKuteOKvNRXDw9iMl8v/\n9NUvr9bzYOOn6D5aSF+m6Zr7JzYtLkosHL3bg4CaLSrSQhz6Lfs2o7JLFe3u\n89QKUx8gjWLUnoThcBplA5EUZWLQYFoXnhvmV8ra+1frfBOLyD49PEgFAvL9\nH9S3OpTL0qwLQUgb5lSs8HkTfk03LFxlwOneqejw8E+Cdc3V+hbq7AbCYkxx\nkf2M\r\n=Bzz8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIElT3wGW1BFE9emYwJqNLJMUhJrXbtUcZRA/OTdhpIakAiAislgksYQLRgsPSmqrOp5eO8n/+/7CPDbxXvu6mH9H2A=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.0.0-beta.8_1523845771762_0.6607585147526311"},"_hasShrinkwrap":false},"2.0.0-beta.9":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.9","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^10.1.0","@types/redux-mock-store":"^0.0.13","chai":"^4.1.2","codecov":"^3.0.2","cross-env":"^5.1.5","isomorphic-fetch":"^2.2.1","mocha":"^5.1.1","nyc":"^11.8.0","redux":"^3.x","redux-mock-store":"^1.5.1","redux-thunk":"^2.x","rimraf":"^2.6.2","ts-node":"^6.0.3","tslib":"^1.9.1","tslint":"^5.10.0","typescript":"^2.8.3","typescript-fsa-reducers":"^0.4.5"},"dependencies":{"typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":"^3.x","redux-thunk":"^2.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's probably breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk@beta redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `bindThunkAction(AsyncActionCreators, AsyncWorker): ThunkActionCreator`\nCreates redux-thunk that wraps the target async actions.\nResulting thunk dispatches `started` action once it is started and\n`done`/`failed` upon finish.\n\n### `asyncFactory<State, Extra>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n### * Of this API, you may only end up using `asyncFactory` and `thunkToAction` (if you're using `react-redux`)\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware } from 'redux';\nimport thunkMiddleware from 'redux-thunk';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: Error;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action */\nconst login = createAsync<LoginParams, UserToken>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new Error(\n\t\t\t\t`Error ${res.status}: ${res.statusText} ${await res.text()}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\tconst store = createStore(reducer, applyMiddleware(thunkMiddleware));\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\tconst userToken = await store.dispatch(login.action({\n\t\t\temail: 'test@example.com',\n\t\t\tpassword: 'password'\n\t\t}));\n\n\t\tconsole.log(store.getState().title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"43682ac221efbb79ea91d3891fb36d8f45f00159","_id":"typescript-fsa-redux-thunk@2.0.0-beta.9","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-uGWSqJ2oygHTYXB2OTvB7BR8Aj6ZtpKiF36GFP0i8vi5skhDnXGBSDvU+RyfZUJRbJSy02F4vTP92SJ0g39HNw==","shasum":"6bb261eadd0f22dbb4c6d5e0c1d81112cff2b329","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.9.tgz","fileCount":12,"unpackedSize":36397,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/L5bCRA9TVsSAnZWagAAQpwP/RfNGuydLXAOJXe5DU7a\njE/sBBsgd0vKhstx4M5rlSCX55Y5rhwd1Pb1MZ6gEijToiKSN0hnevtfT9ks\nQMBRa/6DX+M0dTH4Ymy4VND+WuB434TcyUpzgF9MAf/SV7V9Rsx6Zie83G9v\nX1EK7EDeawj51u87LX/vVj18yrFlcddi4TjaKyU0DkkIhC1zbXoc45sAViU5\nRlsVu2paW4mufqiMA+k35h65C7mF0VUroN8ePWHylubsR67n36onY9d99xDe\nWEVf4E/jYknkq9h/qJ5yAMBJywKRLyn636jBUwwc3wCGH0LvFICYO8d2UVzz\nAn7Hi7PIlJ78s36WVyCmP0rbYaq3Eb8pfHhkYC1wSrfuK+8O5CNBB13RB02S\nQxJar/TC4GQIsWGNOsL8+wUmH07C0+0YYaCwfso9sgUC58HqcdwHJBMDSC5b\n8AwiZb1K6kITsMT+RBn1ns+FBQsqHc7ldrmowVDxTz8SU5hbN4F4taO/EkZE\nurUpbDMHDZpOkW3OUBblEB9qAwLiPBig+6/b3gKfQxU2O0FvaKHZIMNAgJ+s\nik3Uby946bLI0Why5HhuyGIfFPFuNlmzUJXSB5KbGL+FvTtX4qoihUBul6w7\nGqKNBZm4dtmIgzoq7DdA5WFdu/HTU6GeZRaGhehrO7lPZ2XisdjraaKrafSU\ngAKR\r\n=FVVC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICgA+3hAcjTzQqMwTZvMXY4diyY9CWEuy0fJ8S5417ZxAiEAnHON7xL2yWDbqaZ89GCXrANKqiNhrSboGO4QshbF430="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.0.0-beta.9_1526513242982_0.0696128707615673"},"_hasShrinkwrap":false},"2.0.0-beta.10":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.10","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^10.1.4","@types/redux-mock-store":"^0.0.13","chai":"^4.1.2","codecov":"^3.0.2","cross-env":"^5.1.6","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","nyc":"^11.8.0","redux":"^4.x","redux-mock-store":"^1.5.1","rimraf":"^2.6.2","ts-node":"^6.0.5","tslib":"^1.9.2","tslint":"^5.10.0","typescript":"^2.8.3","typescript-fsa-reducers":"^0.4.5"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=3.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's probably breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk@beta redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `bindThunkAction(AsyncActionCreators, AsyncWorker): ThunkActionCreator`\nCreates redux-thunk that wraps the target async actions.\nResulting thunk dispatches `started` action once it is started and\n`done`/`failed` upon finish.\n\n### `asyncFactory<State, Extra>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n### * Of this API, you may only end up using `asyncFactory` and `thunkToAction` (if you're using `react-redux`)\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware } from 'redux';\nimport thunkMiddleware from 'redux-thunk';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: Error;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action */\nconst login = createAsync<LoginParams, UserToken>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new Error(\n\t\t\t\t`Error ${res.status}: ${res.statusText} ${await res.text()}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\tconst store = createStore(reducer, applyMiddleware(thunkMiddleware));\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\tconst userToken = await store.dispatch(login.action({\n\t\t\temail: 'test@example.com',\n\t\t\tpassword: 'password'\n\t\t}));\n\n\t\tconsole.log(store.getState().title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"1b50ed35cc4bd7a5e2046a7e9bfe302788c7b826","_id":"typescript-fsa-redux-thunk@2.0.0-beta.10","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-09FCGnCjx4fUEz5WQmectFhqW8a6QejxmbVyQciNLOw+svVzCxxDn3lcWOZBQ3Ceaj4ZLZ5zp7mgBO2e4E364A==","shasum":"a6b5ec229f25c846166d07fcfecae604fce57e89","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.10.tgz","fileCount":12,"unpackedSize":37276,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDi+2CRA9TVsSAnZWagAAwdkP+wdZemOU1pqJDgHpVzcS\nl1vqavXlSkRzLu6JE/J9VM0593MKSAzzbyBVyDDZtW3UruIQJirj7XIXisxL\ngO46Yq42pwmrsvaZC7t/jQcs5VUf/s5nxKYc3SXJJB/1LMwwl6cL48eJ7xI7\nQr1r1AINexSfvSpZRToIfvbQpBc0NL1eFLwJ1ZzsIrPfNBudSeDMyf1pas6h\nd5CE/Gaug66JfXTfz1eppaVurzaaXgHTLxQpaOWyRehBkP71JZx2BUrC4K94\nAEp2SUhJdyLheoLR3ub3NBfz/1A6trAX1453IPuQeP5f14hdA65E32Ryj654\nb1J9T5cPbQxv5+f1Wp26qnJYROSlyLtvQkntY21T9SjBsYrTqSpk7oWgX++D\npX++PL9jmbxEVyQcCbZnImXuRdUo8ECn9aRaEaVMtkSSPMfsxjQ4zP6NFBeS\ncVfaVoJR9oHpAMQNtz6xgnoQz9VPKwk578Mh9OHaYVoFNsQ0d0cpCo1RTb3L\nWrY5/1HO3hn+6aLhWJxf6wazdpYo1RkgoEB+skRVxrg+efU1QtmbieZAp4qY\nac/FOS/XaulJ8/9kjyhJzGTCWUiljQnySBrfFlAkIA+YZ6LAyyhJIVuIzy+k\nmAJ/Y/Mkh0g9VmBX7MA7z7izPsgvDsAWPF4QataqBBN5ihboKr8lf8xSOurm\nxZNk\r\n=YMDj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBuy6tFKxhy7ndycG/+DOIpjymyOez8FGv606Ya2l8S+AiEA0w5pxvb6YlWxs0VHhwpOsqwgNUJ/nificoeODOYGrYI="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.0.0-beta.10_1527656373647_0.045323692139866534"},"_hasShrinkwrap":false},"2.0.0-beta.11":{"name":"typescript-fsa-redux-thunk","version":"2.0.0-beta.11","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","files":["lib","src"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.3","@types/mocha":"^5.2.0","@types/node":"^10.1.4","@types/redux-mock-store":"^0.0.13","chai":"^4.1.2","codecov":"^3.0.2","cross-env":"^5.1.6","isomorphic-fetch":"^2.2.1","mocha":"^5.2.0","nyc":"^11.8.0","redux":"^4.x","redux-mock-store":"^1.5.1","rimraf":"^2.6.2","ts-node":"^6.0.5","tslib":"^1.9.2","tslint":"^5.10.0","typescript":"^2.8.3","typescript-fsa-reducers":"^0.4.5"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=3.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's probably breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk@beta redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `bindThunkAction(AsyncActionCreators, AsyncWorker): ThunkActionCreator`\nCreates redux-thunk that wraps the target async actions.\nResulting thunk dispatches `started` action once it is started and\n`done`/`failed` upon finish.\n\n### `asyncFactory<State, Extra>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n### * Of this API, you may only end up using `asyncFactory` and `thunkToAction` (if you're using `react-redux`)\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware, AnyAction } from 'redux';\nimport thunkMiddleware, { ThunkMiddleware } from 'redux-thunk';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: Error;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action */\nconst login = createAsync<LoginParams, UserToken>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new Error(\n\t\t\t\t`Error ${res.status}: ${res.statusText} ${await res.text()}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\t// Declaring the type of the redux-thunk middleware is what makes\n\t// `store.dispatch` work. (redux@4.x, redux-thunk@2.3.x)\n\tconst thunk: ThunkMiddleware<State, AnyAction> = thunkMiddleware;\n\tconst store = createStore(reducer, applyMiddleware(thunk));\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\tconst userToken = await store.dispatch(login.action({\n\t\t\temail: 'test@example.com',\n\t\t\tpassword: 'password'\n\t\t}));\n\n\t\tconsole.log(store.getState().title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"b09e8260b5df7db46aa43fc5773be1983777c9fa","_id":"typescript-fsa-redux-thunk@2.0.0-beta.11","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"dist":{"integrity":"sha512-jU8Di5ZcfGWY8eavXMxkFUF9wRzfDVuQwoBcgszLQGlyGxKXl49ILHtFdN4ZuwlHigLWxfK9XxVHDSHtm1EKEw==","shasum":"d3db08af3f57234f59a2c0eceae1737898e4f780","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.0.0-beta.11.tgz","fileCount":12,"unpackedSize":37490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDjHxCRA9TVsSAnZWagAAQKMP/2rVquJ+q285UESEV/ZL\nyYrlcQA/8TFnXEWUMR3w4XtdKc1H4fR69qScmiDOGqzZ+Z8bo4ZjaOly4Qk4\nWVNOq2lGyCBF4QKMxqswTH0bBuS5yg9Ai/v0TjP+CfFQDeqQLagTmvGl4Jk6\nIPahUR7IyKGzO43wI0ufK1cCfNqgBSo7XyrmiE7SDP9Nam+E6uvc8hD0eNph\nwL9LkyV5Cd+xi+DgVMQ36O097wC9d7y3Pr9o4lPSnYQaLTxqkCSYgHt8M1cs\n5SU7H3Gq+MBOVHrbB9o8nosttjxw/C8dh22MOlglbisUx1kKxjBL1v0C+kHs\n+IzkDpHNOxm1u757YAxEihQVR7OcDhWupZybl9vwHCEWrQER/i6cnb3Kkbto\nXROMnCSgOzxJlb6cwQngPnVu6bF+wtoKy+Ba/9/9Hm7j4agrdTRSNr5ttwqp\ndjGOFoJGWaIVNzGWkQAkiHIzhrjqdbOSTPcM0/7lkgKbrJT173y7yA5t6s5w\nuyH0SmXg960P2FOuIyKrNu41UAxY6SjDPDMwEf21bI3RSaiJNHxtfn6zMV1Y\nfLVCWUR7VaIC7DdbBbKML0YysPQW4s2c5KtlrRJKiDZcJq1imth25GroRniq\nNwfWHS4WQTaMbj9fRK1aTYa8UEr6878LYG9/iBwq7ja5zROuOi7wWej+KRoy\nDYHU\r\n=unxF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGYwdLTTsOmHROsNi8IFB3/MQrxPQpB4eS345E+FG1wvAiA+jyJtVZ+xgJ8xL8k6YzXCXzB05QSLO4WT2JRPJiJsGA=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.0.0-beta.11_1527656945666_0.0435951643178254"},"_hasShrinkwrap":false},"2.1.0-beta.1":{"name":"typescript-fsa-redux-thunk","version":"2.1.0-beta.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.1.4","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^2.6.3","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.18.0","typescript":"^3.5.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"a5dd46b40c112ddaf2b0fa6d37cdacd968c34d1d","_id":"typescript-fsa-redux-thunk@2.1.0-beta.1","_nodeVersion":"11.15.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-pZqAhJ5BKwNMnwWrSd+HpB13EQntF9cSjgrP6EIQ2sFqL36NYDgzD82DoAGq8M5/ryrNmCB1bWrb7uY6cMrSkQ==","shasum":"fa3b85b2c5ed55b6aaf50aaa31e0530324499200","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.0-beta.1.tgz","fileCount":12,"unpackedSize":35853,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGQOzCRA9TVsSAnZWagAAUh0P/RUFooETQCMWXjQG57L1\nI7e+/GgWGLKNtrheANcbC/gIiszXlkYpU97tBiLfLWjMUG02oNSxMg0Cj0HC\ndilzU4XzOoBM+k+/jdXIWhhE0AknFW1B1oFIFhE/sCm/DzvanpJ6gsRp7CJf\nKowBz/bGj65wBbihRMqlTOMPWpSecNW0QucI81gX4z8LniMmPK9ArFCEeA63\nwXnnSBBFidfboXTswjWlLyTLmOPJjGkS5CqiYyBDPxc0SpNJNn56yo27esuy\nd4zTy/rh1VbpxzXiFqLEm+Yza20V+qbYFA5CwefER864W6zCtfeb7Z4GUdxv\nNYki6HmUdQeawuD0JEmVM/T8Z1OADIq1JQ/Bsp07Dg4YoUOoYDkOT2aPSota\nQ8ZeVK47QrUsdRzsqYJZCsfCyvtoLPYAOUvSawv/f1IxauBpJ+xETs3zyLGE\nNu3JWCdSXiw7ou/gZk7MFy4LSPYfdRqkSw0NTF+S71Sdt7uMdM2/R2pWsiFy\nxNY6Gnm8IwdvPEV3X8Iort5mSR14QeR4ghqBjcme5ZusfPT6PNJDn1VwQaU8\nFtZOwGjRX4RfKZT1cRPH10G/1UmBJ/oHCYfjotcKhpYqiwqSkpbgVoyDFlfm\n0pvFdvpXNPEK0y/DqvPoZZhQX8WE0oEMKWq6/e42cuRqC+IVNYVt5u57IyyN\nWUHS\r\n=xztw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHzl9o7YKUx86IghNWiQqv4i60J/3+B9Xjbw1MFR589AIhAJT3aRba99FtDu3JWplFLJ9u4JY3H+OqJ/MmIFDOo5XJ"}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.0-beta.1_1561920434463_0.38419156705532"},"_hasShrinkwrap":false},"2.1.1":{"name":"typescript-fsa-redux-thunk","version":"2.1.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.1.4","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^2.6.3","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.18.0","typescript":"^3.5.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"8384416d6743e47ac55d5e3fcdad024c8d45fc5e","_id":"typescript-fsa-redux-thunk@2.1.1","_nodeVersion":"11.15.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-+QWV8WOhXUZYjdSBiw/DxkGQ6y+DXP113oZb+EZs5Yt2mJaFhg4wSIfdCywYKl25oeHzYhDQoQNmLqRh1Lcyuw==","shasum":"3a62df6b1f6f9ce34da6611539c04cccc70cc611","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.1.tgz","fileCount":12,"unpackedSize":35954,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGQTsCRA9TVsSAnZWagAAc0sP/3r9zIpObgQ9dE+N1y9L\n73pXwhI4P2eLN0VbyujekMoN3zqpq47chGZLNA0cpb9695xXJ0Gq/DlCz4t1\nzMgbRQuNzGaZTqqf3FJED2LECoPoGBW3SM+I9LU5zr3+p+qcUGDU6/Tb25FM\nKWtp+1pUEGG0APfklHt0lJLUFH2cAuCZ8/2lL2qUV4InR/4+QQZnrBSrH89b\ngoSIzkUUcAKR3ZR7K/B5V0hFtJhQ/ByvKglmnRBQSZlMI6qZzjI8tDH3Iuzi\nHD1ugkcsglwJnOO4WOT0M+72crv7F1UWitrCnIIQoYU+B+FDQfk7dr80OtzX\nYx1QNr5nXIHHhu3+eM7y5PsWjQv1Kc5ClaNi+kIzEaujoI779F5bbco49cm8\n/0YoJVc+vLnXHnkCRp3QasrxGoOSKD8Go42bFqzdfPaXtN/SvMGQ4Ymr/UG6\nssUbGwoZQoxddJvirzR7yLwci40Qf658ukR88K4tcYqtFCiRIhcvJXA4oRbI\nzB01pInfklvxRQ26WIvAM8fOXMTmWiIyGElf9gt5M1GD0evn0yLp6jOT5Yt1\nAjOuGs+u5eIO6ecTpgb3A7/kq4tMT+XFOltQ9daW87RRfngrrj3gEZdtfbKe\nY8lH+DThOV3Z3gWY3MDYdxPG4YyJci34fW+FUTxqAm83U+bzMLgARw3xe5s/\nzvi+\r\n=pMNV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICA4ukii4uUmr7lCcr9T9jwg4hP4ND/zi1MoEF+XurfeAiEAp8El/QK6DZLEvWqjMiH/oKfb49xoTbAn2jODPQyrug4="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.1_1561920747737_0.7642215441264775"},"_hasShrinkwrap":false},"2.1.2-beta.1":{"name":"typescript-fsa-redux-thunk","version":"2.1.2-beta.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.1.4","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^2.6.3","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.18.0","typescript":"^3.5.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `asyncFactory<State>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware, AnyAction } from 'redux';\nimport thunkMiddleware, { ThunkMiddleware } from 'redux-thunk';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: Error;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action */\nconst login = createAsync<LoginParams, UserToken>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new Error(\n\t\t\t\t`Error ${res.status}: ${res.statusText} ${await res.text()}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\t// Declaring the type of the redux-thunk middleware is what makes\n\t// `store.dispatch` work. (redux@4.x, redux-thunk@2.3.x)\n\tconst thunk: ThunkMiddleware<State, AnyAction> = thunkMiddleware;\n\tconst store = createStore(reducer, applyMiddleware(thunk));\n\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\t// See https://reqres.in/api/users for valid users on this site\n\t\tawait store.dispatch(login.action({\n\t\t\temail: 'eve.holt@reqres.in',\n\t\t\tpassword: 'cityslicka'\n\t\t}));\n\n\t\tconst { title, userToken } = store.getState();\n\n\t\tconsole.log(title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\nThe API has been simplified.  This release is in preparation for a new project\nthat works with react hooks. Coming soon!\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"cd18387b1d54d078f190516ed656abca60188e2b","_id":"typescript-fsa-redux-thunk@2.1.2-beta.1","_nodeVersion":"11.15.0","_npmVersion":"6.9.2","dist":{"integrity":"sha512-ogdcfvGoYcMZTv4cf9zyRoedYymhXoLMuzweBC4WiQpAiI0MsEetKqQlw6U6EMUvFaFeb48SrTwoWfE1Imyxsg==","shasum":"f8a5f21034d36fb09550e050b07fe5e76bc4ae39","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.2-beta.1.tgz","fileCount":12,"unpackedSize":35961,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdGQbGCRA9TVsSAnZWagAAJLAQAKTo8XAlbYgwkzdw+wgi\n3ZvD/9u1Htt/2B+vRE6mQg/cNWYXGKN4Tn6pXbsLxwrLdVHxgoed9FUab4Gv\nbwGTnzZkk8SZBIV0FEyIOHhruSPH+/euz3SEogrvSQ8KmnmVEeCj/zEEyXyC\nfTFrH3rgse0WlrQmsjiWNWXBYMnZJJUK6ZLNlALBJqT7fFnGC4flVHkLSCtL\nHC6llobrkoQSCJ6uqWPV1GP0Q/TfzVhaDlTTA8jCX3eM8eJUBZAfzuJ9QzPv\n3VmekhF9fIfEzHFjGQAG1yc8hr9zD9bjXLvByFKL5HvdjhRdSOvHDWFGo+Nd\nnTyHzncHw/Go+qRwtJ7j30wxqA+wenObclEDl7W6FUWncHLQhhbZ0W+ErP5K\nhnwdrEOaE8oG9xyId9Ys40D017kft2/JnR53zz4HEOQoHbACtVCMtxNKwqTM\nGSqvyEKblkFtNvqsbg4c/bDu6AEXQ9I4ctOi7VUsYEBKvrxOMLaHd2lLMonP\nETO/AeJBCx2h9D/pwNnKNkuMzJLNcd2YYjEitpnsEjkwEcCYofUsNbDkG0Ij\n40E01Eg36D4EK/ISRWJOIfXiknBqZZlcTBRVNkmJbUtBs6iPHHKo+91xX+Ad\n9vEheNg8iUJlf1S8KNWgy+ZP1phnekFEHf5hcxvA89WCDgxd2EhJF8Yo3Xtf\n+jQ5\r\n=AkfY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrpC0osdm4RRDNAQZz1ipYAejyKSSBX7BIvhPjT1QN4QIhAPP4zTjfcoUGkPLcdovzBMvusmDbuCT/cXHQh0qhV481"}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.2-beta.1_1561921221510_0.4415192635763805"},"_hasShrinkwrap":false},"2.1.2-beta.2":{"name":"typescript-fsa-redux-thunk","version":"2.1.2-beta.2","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.1.4","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^2.6.3","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.18.0","typescript":"^3.5.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `asyncFactory<State>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware, AnyAction } from 'redux';\nimport thunkMiddleware, { ThunkMiddleware } from 'redux-thunk';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: Error;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action */\nconst login = createAsync<LoginParams, UserToken>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new Error(\n\t\t\t\t`Error ${res.status}: ${res.statusText} ${await res.text()}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\t// Declaring the type of the redux-thunk middleware is what makes\n\t// `store.dispatch` work. (redux@4.x, redux-thunk@2.3.x)\n\tconst thunk: ThunkMiddleware<State, AnyAction> = thunkMiddleware;\n\tconst store = createStore(reducer, applyMiddleware(thunk));\n\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\t// See https://reqres.in/api/users for valid users on this site\n\t\tawait store.dispatch(login.action({\n\t\t\temail: 'eve.holt@reqres.in',\n\t\t\tpassword: 'cityslicka'\n\t\t}));\n\n\t\tconst { title, userToken } = store.getState();\n\n\t\tconsole.log(title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\nThe API has been simplified.  This release is in preparation for a new project\nthat works with react hooks. Coming soon!\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"864bce452a0bb0133877f97b73ba09e3248a2312","_id":"typescript-fsa-redux-thunk@2.1.2-beta.2","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+FPqzYIeLEjVN38tqnlonJJzDUGQ2KxIS+s/ImwX5BhlCAx9PbenVQ62WvJ8JtXFYBlRhvVu4mW0vVKlaEJNsg==","shasum":"26819580ebc7673a35a4e133026f464b748e5505","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.2-beta.2.tgz","fileCount":12,"unpackedSize":36236,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHn6rCRA9TVsSAnZWagAAKxkP+QCXbNx9KXBYfVyUtKf1\nNKOjedStPjIS4Op1WpK7WV+s1gLnS3ytDaZ0Yw1i0apZlzWtU9jGG3Cg2kWR\nDlFCWQj84e9+ya20gTY50lH8qFqzWmaX4r2s8WdjMPjlIFtKLsvvgdieUJBd\nc0dijBBtmqlfKUKUI/echtn3US0mZnV1QXb+ePbnh46e7FrOKz3+8OMFa4UR\nAF0pmXjgZSx85Dy1yllPCo9uRFxvdYgko9QsMPTTgS5VQ9ET7QGIQKLgqqwI\nmSBTVcKaWz7dW5ZcaG4yN5Iaz3kOQkked+gHysi1lsmAOm9SCUqWGzK/BwDC\nPp000YGhEOge/O84098C1ay9QdZplbw4mjFPc0DgkgxJ4lKR3ZDtZRJ82oXi\nTWXn3SiHbYIIRLA2m4wydnfH0B/sXjGsMdjA04NaCruK0dYF2bKJRP/5xKD5\n+gHIYGmG3+amtLMJ18ks0YJliX4JI9kfSph0GkRqkIjwqbQoQ69PmHXt/lm6\nuuluXpENzjqiOAxHDYzH8cnMTfAEyuKGFfm9KTP4vB7SxACWzimFlTonHYjQ\n4KJ/BAmiLcNFv9rO0DTzYJ4lKOMWP/59cxtdlKD9qr6HUk4kvNS4TAYPyI9m\nQ3Bvqjw0h3fTll6HoouBFXEKc0VJbsPz7Aatq8wdrG2gBWPech2pmImpWdyg\nXm++\r\n=c9e2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3Zxz2tQNN4SdPfAUNkM9c7JipSzIZ7SHWCIe3v9p1owIgUdgjFUISm+fG8MPPh/OnxDSywx/vgB31PXsgufl7ivc="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.2-beta.2_1562279594711_0.07679882102557878"},"_hasShrinkwrap":false},"2.1.2":{"name":"typescript-fsa-redux-thunk","version":"2.1.2","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.1.4","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^2.6.3","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.18.0","typescript":"^3.5.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"fc5e90c05ff21b73480738368400d8524f0fc577","_id":"typescript-fsa-redux-thunk@2.1.2","_nodeVersion":"12.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-gB0XteMs9Q0BKmhTF2m7cc/Jd9VINq9E4TkLx/rU6cIWvE32XrnwF9vop3NJH6iinRS0Ew7FEIhgf/gjYySjFw==","shasum":"ccebd695561b49ff11b13a53e482c1ad556a2c22","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.2.tgz","fileCount":12,"unpackedSize":36229,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHoAjCRA9TVsSAnZWagAAvzgQAIRQTPjrAwGvmOTrqldm\nT74xnoTY285LiW4yVowNehRlwrg4ILeex89jFhCk5w6VXeeM14n/U5SgyZbk\nQb5zNXjk/TnEV4tzh1eIh2wMlRIobt1NHp6hwtr8TDKEq2QRk/3Zh3HSf5SV\nWQ75goOGKwWQjRUqrzg0CU7kGwPBiRfJsI0W1K2HfYjIicJFll7YjBDmPxke\nGgo8RCCAgyQ8X5FIWCBlxe3KrrTw/3HMslhefbFYWDoCcXZ4A/m6BAMDNKxs\nO8+P+jtK2i/PYRF9zxgnqom2MvUXVxYi63C/VGM6t3utBpdDeytU6fH8H1rI\nVdf+ZFtor024Az9zwm11lzQmqWVDjd07NAZDXHKjmiiiEs5PLNI+1RUq9fc3\nn/I4JvJVIGKVJCNrR2XA02Okr+iuLE8kR7wQfMUqHTDShpcS+Ig4ma8Ps4k0\nxH4aAOwWGZXdmfXevCkdYmnqGFVvMkwRUxJtHUZo7K4hRkuz4bFT90xS/QEH\nGMMgpVdCoO5rT7858RDKZDo1D+XxecOoyWQDYf3OguoTTTShJ4PsbS6bGA2m\nW1zh2Zh47eGSws5a0/DQdhHW1mJtq9ZkoLIigt1mlcBUSZ8yaKwKIu3fvJgv\nobkpFHkgOSXHzp3mhpSSflIKvIB8QYxxuYkGb6Qnt+ZzoE4rywhGQTzsxC5N\nhwJG\r\n=3O4b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWixDml4uVc4WTFNpiBavEagGZJrwWWnnINuTaYgWdPAiEAmrhJUOyCxiT7SDDw93IdvzCnMYUCYIYgST7NHVMqP8I="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.2_1562279971157_0.6259469300347329"},"_hasShrinkwrap":false},"2.1.3":{"name":"typescript-fsa-redux-thunk","version":"2.1.3","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.1.7","@types/mocha":"^5.2.7","@types/node":"^12.0.10","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.1.4","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^2.6.3","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.18.0","typescript":"^3.5.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"c1c2bba60ecd41f4cf4b422b85ee7f4c667bf61a","_id":"typescript-fsa-redux-thunk@2.1.3","_nodeVersion":"12.9.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-MUM5Y4oOcWcwm7rlVbWX4Ir5/q1qfGc4QMvuSKNJjZX8+l0PAniciWT7FYy2nvWVBK/rMibxUA1y8je/XXcCDA==","shasum":"7ae5cc0c192d2820db411aa9df143cb2e1490b5b","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.3.tgz","fileCount":12,"unpackedSize":37549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaqEzCRA9TVsSAnZWagAA7UkP/3zFJr0zBu+lDrGDKzJN\nI4lMyiOExpi9mi0NYdof7phXzGaFl3DtQoiT7hSDh/XmyLbQsop5SzF9armE\n8MIU6/VQ2+WZLfXZ5P2oVBWiVLIG3upbmOUNy/Pz50WdkQJA48mBCfhZQ9Oc\nV3LD86ajYNuJE9eqXzRDnN+Z7KhXh67zH+fti5gb7TNotxyFFi0FjAZIv3Ot\nU3suMluf4yluN5FP2twU00UCzbnWSV1EPUU5hUjYEG/yTpipn1XSC1XaAl8o\ncoTE2Q/NFPy9570jDkkBR8ZMAqmSwJ1zcrDYQSy+myjAfeJFZyTYhZ19S1um\nhk+lGcwAnYecJDQAazQUhhZw3HuKppHFaAEHT+MUQHoaPdrRS8JJJZgbDBfu\nuisDc2WGgdkGk6Oq7WV55rKOOWq7+bM+8Mz/OJRcw5dAhoIdh6flCVw8QJnq\ngMosopaIoXGTyNFFrlgg+Tv0UHLr1tDw7KHNVevZOKy/w40vUC63jvC5acQs\n6tDZKPUZ/XC2OBCmZcu+tCMIew5dfDIf0FLvMFM9OLL/41oXODewemXkyPR/\n1xCE4gaR5OFsYreS7j6Ud5gFQKa6xpUV6SK/BL1Euaa/ASn9rHWpRrPXLv0q\nLExy8KZqaR4QYZd9C4cR1LfnN2nACRL0eN862XitCKM9fQEq2a68UXeuCPn8\n/u0F\r\n=ksQJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9w1w0Vl9J9s0NCJqp6NV0kasLsr1tuXBlX8pcwO1wswIgQj/0cpcdXUnsxcFqSt1HM/wwvmTk8QfbaihAww6gqfk="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.3_1567269171243_0.8031267612158159"},"_hasShrinkwrap":false},"2.1.4-beta.1":{"name":"typescript-fsa-redux-thunk","version":"2.1.4-beta.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.2.0","@types/mocha":"^5.2.7","@types/node":"^12.7.3","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.2.0","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.19.0","typescript":"^3.6.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n### NOTE: There's breaking changes from 1.x.  Read on to find out more and check the notes at the bottom for more info.\n\n## Installation\n```\nnpm i typescript-fsa-redux-thunk redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator.  If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example.  TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `asyncFactory<State>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ async: AsyncActionCreators, action: ThunkActionCreator }))`\nFactory function to easily create a typescript-fsa redux thunk.\n\n**Example**\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware, AnyAction } from 'redux';\nimport thunkMiddleware, { ThunkMiddleware } from 'redux-thunk';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** You can optionally use custom Error types */\nclass CustomError extends Error { }\n\n/** Parameters used for logging in */\ninterface LoginParams {\n\temail: string;\n\tpassword: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n\ttoken: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n\ttitle: string;\n\tuserToken: UserToken;\n\tloggingIn?: boolean;\n\terror?: CustomError;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action; Error type is optional */\nconst login = createAsync<LoginParams, UserToken, CustomError>(\n\t'Login',\n\tasync (params, dispatch) => {\n\t\tconst url = `https://reqres.in/api/login`;\n\t\tconst options: RequestInit = {\n\t\t\tmethod: 'POST',\n\t\t\tbody: JSON.stringify(params),\n\t\t\theaders: {\n\t\t\t\t'Content-Type': 'application/json; charset=utf-8'\n\t\t\t}\n\t\t};\n\t\tconst res = await fetch(url, options);\n\t\tif (!res.ok) {\n\t\t\tthrow new CustomError(`Error ${res.status}: ${res.statusText}`);\n\t\t}\n\n\t\tdispatch(changeTitle('You are logged-in'));\n\n\t\treturn res.json();\n\t}\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n\ttitle: 'Please login',\n\tuserToken: {\n\t\ttoken: ''\n\t}\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n\t.case(changeTitle, (state, title) => ({\n\t\t...state,\n\t\ttitle\n\t}))\n\t.case(login.async.started, state => ({\n\t\t...state,\n\t\tloggingIn: true,\n\t\terror: undefined\n\t}))\n\t.case(login.async.failed, (state, { error }) => ({\n\t\t...state,\n\t\tloggingIn: false,\n\t\terror\n\t}))\n\t.case(login.async.done, (state, { result: userToken }) => ({\n\t\t...state,\n\t\tuserToken,\n\t\tloggingIn: false,\n\t\terror: undefined\n\t}));\n\n/** Putting it all together */\n(async () => {\n\t// Declaring the type of the redux-thunk middleware is what makes\n\t// `store.dispatch` work. (redux@4.x, redux-thunk@2.3.x)\n\tconst thunk: ThunkMiddleware<State, AnyAction> = thunkMiddleware;\n\tconst store = createStore(reducer, applyMiddleware(thunk));\n\n\tconsole.log(store.getState().title);\n\n\ttry {\n\t\t// See https://reqres.in/api/users for valid users on this site\n\t\tawait store.dispatch(login.action({\n\t\t\temail: 'eve.holt@reqres.in',\n\t\t\tpassword: 'cityslicka'\n\t\t}));\n\n\t\tconst { title, userToken } = store.getState();\n\n\t\tconsole.log(title, userToken);\n\t} catch (err) {\n\t\tconsole.log(err);\n\t}\n})();\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\nThe API has been simplified.  This release is in preparation for a new project\nthat works with react hooks. Coming soon!\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n","readmeFilename":"README.md","gitHead":"201f83e829e3d8868cc65224e2e0b691cc8d398a","_id":"typescript-fsa-redux-thunk@2.1.4-beta.1","_nodeVersion":"12.9.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-nJRZLZEaf6xgMOcvORPl9Bs0Z8ObMUt97EWKhUy/D9Crfe4KUF34X7+CTjnPuPPLK8314DmVZmKup7uI9zO+AQ==","shasum":"b432d231018aa6a6586ab395c11709bf9f165df3","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.4-beta.1.tgz","fileCount":12,"unpackedSize":38557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaqRfCRA9TVsSAnZWagAADrEP/jgq+Kpc0YUM+d1OqPMX\nwmU/c7RxWjD4KgYXwqIQSYoYIaWT2kf6LfPAu2lUGQ80GodDFutNdjMquSOU\nvBkgVGb+zJAMohyR4f98v06GJDe3X8P4DK6EwI1z5KaSh2tGnZ/GgxRH3PYx\no9ObH65kNwe+oGHj/X+f8n9/1Fu0b0bXrc5zAktIa44rC7mJZ2y8C+o0JOsB\nW+R2P2Z8k6dVZKVChdvlDrG3W8Jc4+1IrnARb7aNaFbTemTYb5omzk6nDwdb\ne801K0dV98fTBJvBPKBWQt+xlf9Z+Srcp1Iu3g3EogEsvGKUT91VZeD6cwBh\n/vYWP0aHyKAmg/IPPJXyQst2VMW++N6SnBAeD5rXQvtoe8Bc7s16IrmJxKj7\nSG50r7O0KgaweaPxgaZ6HZ50Jt8/LCACtr82AOzPtizyDi8BS168+KnqTDan\nx+09P/R06oKuSrqvrp08rI9NBkS8YwZv+2aE7Qn9tbZ1FoHcBBLR5L3D+SzV\nkEEi+zP3J9oa8jjR8+1NlRvdFVtb8Qx+3acg0euygvFg1N2sW6oaT+D1z4yX\nBGEhHxPJLMAuMpQDPKeIevuZkXh+TkFYyDAQDIz1wMgFpwrmH/qpkKp5hjf4\nAG8dmkxC8Xq3CoSY+w2eM7Met9HxBNX6e+kYdlCtU0HvD1oBRlPbX9ObEH/D\nDk0/\r\n=JVau\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOVmNS2Kl1MWa1nJwsZouGaoRfT8MMvVFjjxS5v9bKpQIgfhuhIr5EGIqhzkT8pgnrWozoa/d63H/hBQuAe6NHB1w="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.4-beta.1_1567269982782_0.22457729445825958"},"_hasShrinkwrap":false},"2.1.4":{"name":"typescript-fsa-redux-thunk","version":"2.1.4","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.2.0","@types/mocha":"^5.2.7","@types/node":"^12.7.3","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.0","isomorphic-fetch":"^2.2.1","mocha":"^6.2.0","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.19.0","typescript":"^3.6.2","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"5d06627b80c0963ee4b8bf2da6aaf1a7a70404d3","_id":"typescript-fsa-redux-thunk@2.1.4","_nodeVersion":"12.9.1","_npmVersion":"6.11.2","dist":{"integrity":"sha512-Krpdg2267gsBhtv9ud9AzlmVZbe9BXrW7BqnHg1lG0/NLptfLS9bX4fMmJWgAZS1Sq1piFbSuRx1+aSgoskvXw==","shasum":"f712a0dc09d3103fcf93aebc14c1f520f9766824","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.4.tgz","fileCount":12,"unpackedSize":38550,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdaqXwCRA9TVsSAnZWagAAxwMQAJBBnAdnbk7zj0fgyRaT\nu4pKGxY9cYL2FNEvmzrWIcXZUPB87bE4JZ7uY23q3+fzUURAGgCzuyumGdMv\nQ2/o8x8a6VhtMeWgn4lrupvFRmYhNax8kA8rwTasuEgo2M/eZMkcot8557mo\nK+ml/Pol0HJcVkbX9cyNbMs/bcQuLhrqbLsARcRUGwZy55zkcFRJ2ldAkGA0\nIqFIQSTUKtvEAiLQQuGKTZ3CH9kayE9iEONl00d/EuqsmPK0j9qb4hZBVJ/W\nfP4rv1aLFFhv3QeW0UucuJTOQMJf97gch0ACkjEI4bv0LFADwO67vzOhbIQh\ns6kioXgWF6pZP2hqgLI8dhKuj9nlyfBNLHoj38Lv0xOxV2QNt3YOUAgggJo5\n8FMtYmfyRFVaKva1W9Q6QTez3kPO+BiKFmERzgkvgTrtc52d3IyB0OTO58mq\nZldtFMwAT1JD1YJUQRrBpM5cCdN/GvEIoEvK5HZkJZAnpnU383at9qbKViFO\nlwxcUGaq7XkfsVkZ9AiZweRNvDkcmBVjDdp7/bgG0xfXlOqswYQI4WLLcH+/\nKJRYXRkNo4WRU6DNQPeLcPH/L25vk9Tu79nMJuXV/Orp7N+0P2EiQKPlnweQ\ncI6Yudc720c/dB64HGbSG5DblpX79iBIBrqayHaSBYjH6gNKpqsTUEdYJLPC\n9CEM\r\n=eLrL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBxTqA56lSdtgtG2bKX5PAeWdIo/UcVXSOE3IZ56RRdQIgYjgbyjhs2FcbLa7IRCOENToKbQTul5BYC/fZoJPG/lc="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.4_1567270383913_0.611281822899868"},"_hasShrinkwrap":false},"2.1.5":{"name":"typescript-fsa-redux-thunk","version":"2.1.5","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.2.2","@types/mocha":"^5.2.7","@types/node":"^12.7.5","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.1","isomorphic-fetch":"^2.2.1","mocha":"^6.2.0","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.20.0","typescript":"^3.6.3","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0-beta-2"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"e606d7e3f3ec4ed2f37b0d54c8efc2fe089f1639","_id":"typescript-fsa-redux-thunk@2.1.5","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"integrity":"sha512-uoZ/lrGy0Vic3ZGa675KxuE3OJ7YArZ6AQHnna4bRMAOA79PWNiF/dLTlF/KZGkqrBFqzrb92kPfp/ezxow2Mw==","shasum":"c3f0f379da5010271d610f6b1f446e34d868662d","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.5.tgz","fileCount":13,"unpackedSize":40712,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfHMACRA9TVsSAnZWagAAyW0P/1XfTy2zI+uJGu0jsYl3\nEL6mm2ydYnFt32V1eeDQ8Lwju0bq2D1v7FBW5apKUHWzVpH++ogDe47Nf/xr\naLygL8I1eYXuatmP5Ba+qoTG/VxuJDdLKdOTbVFx/l+uuEzwexAnWn9S/l6/\ncc1WsapqWWfElGMqMDUthqfwf1djaybwZamn3yI4N2zdvqyN+0YdrQfQg4sX\nZquuEf+gb782X8OUBNICtvmzsFqu2ijwVaNEctbG9Zv75vFzArGza59wZJsn\nTTNNE5iGhbjdJUNbsCVc2xLqBPPp/zd+Vj4wmKGIsRdpsElLQEGR3ASPZw64\n4hVzyz6FmXkjeyp0Dptg1S/C62ej7P/hp6GQGDnlT7Uasw2OvPfSEqGNxt2Y\nL4+89f/j91Ncjx1hWYkns5++ulydAPd3jaiKNvdyt4k2oFewMxm4kZjFToS5\nHpWLE5ueW54APB/tE9UBLcUaTFc39rmlhaBFs1qfQU1nFS0GfaQvk+V4XbTB\nNWIyQ3oPkVqQ+PWOsKhs0gWeh8FCUy67FaxjfW/0ZsDdMraeYy60kcYG3Dee\n2rtSuW5ZMrJcP5Uv+x1r89u9DQNBl53fEXKc68LP5oojovleyUdFrB8/F/aJ\nGhxyJaJusAXRTSb5Mm7qDsjaRhw95e6ZV8MFQ6svgb/LiiecC1C64523vxZ6\nIbBQ\r\n=ZJoe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRjyEWj+u90BS2JhlnPTp9Yes740WtD5SPhQBlxO0xwAiEAgGs8m9rxvow8h59w5Jc1MYrezC2xC1iE/G2sh8QOyjU="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.5_1568436991877_0.16663185024272553"},"_hasShrinkwrap":false},"2.1.6":{"name":"typescript-fsa-redux-thunk","version":"2.1.6","description":"TypeScript FSA utilities for redux-thunk","keywords":["redux","thunk","redux-thunk","typescript","typescript-fsa","action","action creator","flux standard action"],"main":"lib/index.js","typings":"lib/index.d.ts","repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"scripts":{"clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts","posttest":"test $CI && codecov -f coverage/*.json || true","build:lib":"tsc","build":"npm -s run build:lib"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","devDependencies":{"@types/chai":"^4.2.2","@types/mocha":"^5.2.7","@types/node":"^12.7.5","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^5.2.1","isomorphic-fetch":"^2.2.1","mocha":"^6.2.0","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.3.0","tslib":"^1.10.0","tslint":"^5.20.0","typescript":"^3.6.3","typescript-fsa-reducers":"^1.2.1"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"34ead05fae9a17304853b9983446bd7b0976ed48","_id":"typescript-fsa-redux-thunk@2.1.6","_nodeVersion":"12.9.1","_npmVersion":"6.10.3","dist":{"integrity":"sha512-GE+Vcq35pAic3FrttYRaf/lWHqUZsF4zmuh3RZ8E/Tk0gR8Zz9iut9zQ7APSzbsAqHs3gDK8PkFr5izhiLGQew==","shasum":"47443ccded47d3ff132f3346a9fd3f15d711660f","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.6.tgz","fileCount":13,"unpackedSize":41073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdfSClCRA9TVsSAnZWagAAi30P/AtUhgdIqkG99exjVlwn\nKnKuxY01C9fqxrKYNdUAimxmWWGunQs++y1EsnE1cMq5zq0nEAiIgg747KnF\n6FYX7Tqk4XmerhhGoOaGnKqqTt+2TDvLNn508i/pjAsWCSjLjPEt0gP2GTnx\nLv9HY9+xYNFJGye6wIwtkSnVgE+PVYv+QtixC6zMkAppLXVVIyP+N/HmBcC3\nT8v18kLAp9kYRjnIhctcJF4N8Z/XxveyuTXaNKJfnn+xxTxdCjukddweGWVB\nh5f/eAtu/2mHPdrOhydlH6I764jbNKPwl1WmijoQkhg3A5uTsqsJOtU/r+AJ\niMmV4tRR4hoZH0XDz+cPg5xPCyEdxonTD2gAo5wZUuKJCd8G4Dalwrzt05Yq\n2Yv5jFjeUVU3xUetjcG+kU2g+96EU5Rs7GSnu16MYZXQrQT77VMvf8+Uc418\ns4HnN+Wmkf8XlfJixhiMGe2FifzmEvVD9xRcwEy5yQNkBBRFo3SMcI1sCL4T\nfBvR2La+0Hj0qCH7NKXpv3aFO2P3//ICaviEm3LjnZbs131q3bVd/N30EwmK\nuT5bOPfzgPqpXemHHZkFo7VANlCfWdfsef9Svk7I1dNa2rY+DuGUXWUZsUg+\n+JB4zQlAiguSM6zyehsk2u3+c10Z2Ov2tecl7ijVhprSYwYj5r2hG74KDapY\nJqRr\r\n=sdxv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFR/pNJnAMF+XcDh9AaadMZ6s8oqoAcfeAcfjPislykGAiBxqSxxf2UxFfX1fd1QY9FV8/TkvZL963p0lqfLoybvTw=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.6_1568481444849_0.9866255732205969"},"_hasShrinkwrap":false},"2.1.7":{"name":"typescript-fsa-redux-thunk","version":"2.1.7","description":"TypeScript FSA utilities for redux-thunk","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"license":"MIT","author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"build":"npm -s run build:lib","build:lib":"tsc","clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","posttest":"test $CI && codecov -f coverage/*.json || true","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0"},"devDependencies":{"@types/chai":"^4.2.3","@types/mocha":"^5.2.7","@types/node":"^12.7.5","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.5.0","cross-env":"^6.0.0","isomorphic-fetch":"^2.2.1","mocha":"^6.2.0","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.4.1","tslib":"^1.10.0","tslint":"^5.20.0","typescript":"^3.6.3","typescript-fsa-reducers":"^1.2.1"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"3a69c5e9e021430115f963f2d721f318fd3fccec","_id":"typescript-fsa-redux-thunk@2.1.7","_nodeVersion":"12.10.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-ztbjS8p41yMsE1B5bExQXLvZx2ZDAiUcCPSyyd/pjftqTysOYflQfIKJNC6SdHWtxoKzR56Ms9rRZ4Y3OfWsDg==","shasum":"4a0d7662dc5c46bc65a3499fdd02753a6c91b848","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.7.tgz","fileCount":13,"unpackedSize":38737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgbvoCRA9TVsSAnZWagAAkwAP/AgMWDwXvAHnCAmJ8mni\nJ1jRIVBFu8hyllKiCrMDmQcI2v/nfG2AvHUBqz6akrqt173RCWE8LyAUw1Yb\n0Ut/4eGGSDAKqnMzZ4baL0buSKnUFeLu20MPd1jFhF7etQLuNTkBzp1Ct24/\nidw4h8EQ2gxixDH2oeDfs01AMFCnoft4jahlUCJFsq3UH1pXvUJ0gE1v6SFn\nsM/XQQ6e79tdszOO5zH3O3Ts/XqNeXewkqFcjpvYAzE35M0eIGAtxVM9Nn3I\n+36/XmVHdS2zlwh4x2GNvDtuM2V5yFt2ZycFQsVcUmGqBCg6L7O5c3q7ZduT\n2oeOYWoVhg3Q5H3rPnNu0tb9dFBzIyGYB++AzKznBJ28AyEyKNH3iB4F5pQh\ndrx4h8kTE6P1okggGS9qcxLYGIpgjx6e8XmWqZ4o98mfGoZj9Op1RchV2yz7\nmIuf9uB57Y34gn7XBvohYvlOvNL6x+Tb1y/ClvhfNszCvglg16cf+hgCVUMP\nKGG/n+r+0dvaMH22CRq3tO6yTDbgxEQmU67yNsnzXnTU5QgOPn6Z2cqPjRBg\nRhjbzUHOPJcLmbiwBpMnF42ITxpRfoYzF/PckGNWZ7nOYQ+kzlS96nkELjwe\ncEo2yB++Cnbvus1SUdej7XqzuQB3ixOjaUwRcEOc6OoqaHtBLzhunbFCjWRg\n5k9Y\r\n=jm4z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICRwxe993H+O4TrHNL9QzUm/JTtl1/2Lt75yfan21Hc9AiAiKPubAhjGVGRpTri1U4N1xfj55NQ0ePbaJFLwm+1uEg=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.7_1568783335797_0.29885732399838116"},"_hasShrinkwrap":false},"2.1.8":{"name":"typescript-fsa-redux-thunk","version":"2.1.8","description":"TypeScript FSA utilities for redux-thunk","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"license":"MIT","author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"build":"npm -s run build:lib","build:lib":"tsc","clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","posttest":"test $CI && codecov -f coverage/*.json || true","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0"},"devDependencies":{"@types/chai":"^4.2.4","@types/mocha":"^5.2.7","@types/node":"^12.12.6","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.6.1","cross-env":"^6.0.3","isomorphic-fetch":"^2.2.1","mocha":"^6.2.2","nyc":"^14.1.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.4.1","tslib":"^1.10.0","tslint":"^5.20.1","typescript":"^3.6.4","typescript-fsa-reducers":"^1.2.1"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"7a7d4c704d9e8745f51273189279373982c0ef85","_id":"typescript-fsa-redux-thunk@2.1.8","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-nDdHnlUUCIgXofptkKEmrWngWZclAqAe3nVAlvvOigs2GS1mxjNX5jC38QqPQ9+MastD1mYoTFvEri3YJIwvNQ==","shasum":"4d69aa920b0430f671e6e85ee9021127990bd734","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.8.tgz","fileCount":13,"unpackedSize":38850,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxPaNCRA9TVsSAnZWagAAb2IP+gJ4DJ9dTGqnfWbEcDLn\nGp1MX5Mta/T69+pqthZWpp/U+IbSbbwzp7WGLSpIdX65wrcq87YpKBqSdSsa\njqsNtf2HrkVs+Fow8UTovmGGpZv2jSmrl8E5FLTBAFxO8a+6sHcjpFDZPO+X\ny1xjIa1Lg5MHS+1myquAuh2EVoPtf4WG2Pud919x6Qa9RrRdgrs3mrWYutkh\nfZALOuVsKHfR0l9E3KmVITjp/eJmfp97NwCXNAc4tD1ACV0+CdWNu9kHmFJ0\nxQj+AzHqx2AL5dxQC+WSG1f6o12Mbo4ywxf3wOFkdSYxqROgJ10zCPiqDRSu\n/4C5LzieJvDAJTviNig47n7X9lCtJfYQ0eQX+j/ydxe8U41V2Y52uDhq+lPh\n6+8XTQGKgaE/Jww+mykIJuPw6OSD7mvss2TO1mz2Yj2/O5oIs9zpWeoU+Eis\nRR+NEXxMsz6Pw7L+xIyMbEwR71hNXdbIH+BkLDgVpcGELbgquJcxb4u1Qw+J\nhHF1VSzG5wiXVImPMEhTqCMQksJpMmt9K6tD+K07LFCikduXZeuEoEPHfuWM\n4nlgsYWuJZnz6Bncrds8ubRxC9eo06SXoKnRN5ndaZuEn8wsnbFeyFQJ/7Ic\nfo7PG38F6UBzy9edJg3GC+32sEIYFOk36VZ/n69IxwkyaFY6E1UCwZUSJ4dF\nQTfZ\r\n=85no\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHicPZe4MhRh1yOPCZytoQjzF6g/52CSiO6i3xsoV4L2AiEAxRKslEWJxSG/c/KQxiT8RTt8AvKIivVYdgBYROQCHlA="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.8_1573189260724_0.23282408558983003"},"_hasShrinkwrap":false},"2.1.9":{"name":"typescript-fsa-redux-thunk","version":"2.1.9","description":"TypeScript FSA utilities for redux-thunk","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"license":"MIT","author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"build":"npm -s run build:lib","build:lib":"tsc","clean":"rimraf lib .nyc_output coverage","lint":"tslint --project tsconfig.json -c tslint.json","format":"prettier --write \"src/**/*.ts\"","test":"cross-env TS_NODE_PROJECT=tsconfig.tests.json nyc mocha --exclude src/examples.ts","posttest":"test $CI && codecov -f coverage/*.json || true","test:watch":"npm -s t -- --reporter min --watch src/**/*.ts --watch-extensions ts"},"dependencies":{"redux-thunk":"^2.3.0","typescript-fsa":"^3.0.0"},"devDependencies":{"@types/chai":"^4.2.4","@types/mocha":"^5.2.7","@types/node":"^12.12.6","@types/redux-mock-store":"^1.0.1","chai":"^4.2.0","codecov":"^3.6.1","cross-env":"^6.0.3","isomorphic-fetch":"^2.2.1","mocha":"^6.2.2","nyc":"^14.1.1","prettier":"^1.19.1","redux":"^4.x","redux-mock-store":"^1.5.3","rimraf":"^3.0.0","ts-node":"^8.4.1","tslib":"^1.10.0","tslint":"^5.20.1","typescript":"^3.6.4","typescript-fsa-reducers":"^1.2.1"},"peerDependencies":{"redux":">=4.x","redux-thunk":"^2.3.x"},"nyc":{"include":["src/**/*.ts"],"exclude":["src/**/*.spec.ts","src/examples.ts","node_modules"],"extension":[".ts"],"require":["ts-node/register"],"reporter":["text-summary","html","json"],"sourceMap":true,"instrument":true},"gitHead":"2f2abc9133ab1bf51ba147cf80afea7418cb9639","_id":"typescript-fsa-redux-thunk@2.1.9","_nodeVersion":"12.12.0","_npmVersion":"6.11.3","dist":{"integrity":"sha512-8SqF3awKrwKc/U/c5Sby/i30w6xTqkdLNdD3JEBzggUYn08BDVu73dHYRktJgp0pOE2DWUL3yajn11T5adLlkw==","shasum":"c4e828edafca69625de3d3f6583217bf48cbcfd0","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.1.9.tgz","fileCount":14,"unpackedSize":40664,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdxwuvCRA9TVsSAnZWagAAY9oP/R1aD5Yt0JURr9xu2T6D\nLiDNvr/tE5fwzYiCVgcLXAg/STMvm1G4ZjWgu22j5gSRx2in8L/XWSv7xIh6\nScRRFla9b6t0XuQkLI3voWJha51vcAaOKH28jXUpeUTy6Ob7h/pab6M7nDyC\n1Amobenvnk5mOdilT9RPqjo+IwDsY4Wxu4SZfcszQNcDL0bK+kfMxKeYeZAI\nUim62WI/qWwxVBGOM5LGjFluofyPz+A91zNZOXTHy36aTuVS+n7g2VrPhVdk\ncQQbY+jRYqhUEgrCqMb17ZYuKagUWKiCNf/E0UnEl0zDIBgERQJyNRFqupnv\nj9kFdP62aXGkmYJVL1Fm/ZTaSv8+FppmXuNFVKbl8EYNfzne3D3ANXokGwY3\nU4TFU6nHfHRfJqkkZlS3Vg2W32jQwaxolLJ8I6ofyuCMeEcrMbzlHVzTdD4w\nMLGZnTDJv5EYUQEMfT3m1tRqWOdyuTqh/z+/EQmjifWw6ryeUJhcQfyQVBb0\n3t6siAaNf4MvdjmCx6NeY09YqvP4Y+jrK+qN9MFubRNbeUpxWgARvgWyn63/\nMEe8Mk0UJKPMRb1cL6ef+9MPl/wJYoh+zurxHERi8NODI01aISNTXmfXq2pF\nAr6oUAsGmb4UscSBWlGO+O9lmUVyjnWHjt0yElajFAvYCs1XZGhCxkgouWtb\ntysX\r\n=NlIm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMwdB2jDXeFJlAfE2/3FoY4PmUf7e9YO0Ya+C1sAEL1AiBypu50ip6CRhK29jj/32Ntp6AssNjwTxdtejNxRnx9Iw=="}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.1.9_1573325743199_0.1232361613420796"},"_hasShrinkwrap":false},"2.10.0":{"name":"typescript-fsa-redux-thunk","version":"2.10.0","description":"TypeScript FSA utilities for redux-thunk","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"license":"MIT","author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"main":"lib/index.js","module":"esm/index.js","scripts":{"build":"npm run build:lib","build:lib":"tsc && tsc -p tsconfig.esm.json","clean":"rimraf lib .nyc_output coverage","format":"prettier --write .","lint":"eslint --ext .ts .","prepublishOnly":"npm run build:lib","test":"env-cmd -e mocha nyc mocha","posttest":"test $CI && codecov -f coverage/*.json || true","test:watch":"npm test -- --reporter min --watch src/**/*.ts --watch-extensions ts"},"devDependencies":{"@types/chai":"^4.2.12","@types/mocha":"^8.0.2","@types/node":"^14.0.27","@types/redux-mock-store":"^1.0.2","@typescript-eslint/eslint-plugin":"^3.9.0","@typescript-eslint/parser":"^3.9.0","chai":"^4.2.0","codecov":"^3.7.2","env-cmd":"^10.1.0","eslint":"^7.7.0","eslint-config-prettier":"^6.11.0","isomorphic-fetch":"^2.2.1","mocha":"^8.1.1","nyc":"^15.1.0","prettier":"^2.0.5","redux":"^4.0.5","redux-mock-store":"^1.5.4","redux-thunk":"^2.3.0","rimraf":"^3.0.2","ts-node":"^8.10.2","typescript":"^3.9.7","typescript-fsa":"^3.0.0","typescript-fsa-reducers":"^1.2.2"},"peerDependencies":{"redux":">=4.x","redux-thunk":">=2.3.x","typescript-fsa":">=3.x"},"gitHead":"9537105dd25ae23973a2a0d43adcb19f8f0b1026","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@2.10.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-wUPjCKKdHfFbnGpNPmzkP9lT0UTpqG0oqLKa2pIth6nPcawQ/P+wGpGaS06aYeeO41QWsvDpB82vywpMIQbxow==","shasum":"528f627e2ef5db99f4b44ee03a3ba184281a8a8d","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.10.0.tgz","fileCount":17,"unpackedSize":47763,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfOiJfCRA9TVsSAnZWagAAKPkP/jsgnpX4agk8h+9oBJGt\nOgqHQdeyRJJ6KzkM9NZF8CwfuHb6TpWc92SuDVN1NbObwc558bTnHzZmsXRL\nJohwxPJZ1T7xySaA5g1piJtPUJROI38POmWcaAaR+gYxehaRElD0ml7FvTWy\nSmYHoF8wxYrGb9jRwlfqwmOIZf6iKznC7M+VGJlgFiW9u2AVBYuql5qOfNcW\nDtz/HshCZqbNlIao70C7mFDKLXkxJdv2e/vGgCon0gEUwdknTsF19waLYDVJ\n1qmFl+ddipkAWkKYZk++EMcBWEoJ5IHby5Ushk1hgJjI/YutkBso1o9Zmvfq\nX8lstOmmoZ17B91vncBb7TwT/23XY2qgr2a/Te4p2aD5/TQGm9s2KMRN8nEs\nLw4UaH/E+2LpxmpMTdhhro5Ynj/3aveAbat4XJzvmWUjj51wVDXZYylriq10\nuP5hOrHelE9aIik9Zpmy+bw7F3etf44AQii/CJSK966tDrXhHA5yMO3X1szw\nmwNCaKj++QeBaxBE9hjsOd1bEs0UenyNh/XmbNuF2+gjw382Y7/omXY3xKkV\nDSbb4H2Rb1P7RV8MRMWtoeknS/jdvViHdqY+1Rh9rs/kw3Ds1MDYPg97Mu8W\n79W7LsO6a4EvZ4F+6M0T1Hgvo6gDQ9YCC7epZS3hkVfmPoAqskRm4h1eJNAv\nBq5Z\r\n=wBGx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC46Fev9zYe5flzuIfh6PuNIUI9oAG8RZ2U+6Rz0Nt5BgIhAKo9MmpoxTvZ2uDB/g2YUlVcebnTMBC2Mg+ZKAbvVspG"}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.10.0_1597645407110_0.5304958910371316"},"_hasShrinkwrap":false},"2.10.1":{"name":"typescript-fsa-redux-thunk","version":"2.10.1","description":"TypeScript FSA utilities for redux-thunk","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"license":"MIT","author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"main":"lib/index.js","module":"esm/index.js","scripts":{"build":"npm run build:lib","build:lib":"tsc && tsc -p tsconfig.esm.json","clean":"rimraf lib .nyc_output coverage","format":"prettier --write .","lint":"eslint --ext .ts .","prepublishOnly":"npm run build:lib","test":"env-cmd -e mocha nyc mocha","posttest":"test $CI && codecov -f coverage/*.json || true","test:watch":"npm test -- --reporter min --watch src/**/*.ts --watch-extensions ts"},"devDependencies":{"@types/chai":"^4.2.12","@types/mocha":"^8.0.3","@types/node":"^14.11.2","@types/node-fetch":"^2.5.7","@types/redux-mock-store":"^1.0.2","@typescript-eslint/eslint-plugin":"^4.2.0","@typescript-eslint/parser":"^4.2.0","chai":"^4.2.0","codecov":"^3.7.2","env-cmd":"^10.1.0","eslint":"^7.9.0","eslint-config-prettier":"^6.11.0","mocha":"^8.1.3","node-fetch":"^2.6.1","nyc":"^15.1.0","prettier":"^2.1.2","redux":"^4.0.5","redux-mock-store":"^1.5.4","redux-thunk":"^2.3.0","rimraf":"^3.0.2","ts-node":"^9.0.0","typescript":"^4.0.3","typescript-fsa":"^3.0.0","typescript-fsa-reducers":"^1.2.2"},"peerDependencies":{"redux":">=4.x","redux-thunk":">=2.3.x","typescript-fsa":">=3.x"},"dependencies":{},"gitHead":"05ed659bed07dc173863202208f702f4ea530f41","bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@2.10.1","_nodeVersion":"14.7.0","_npmVersion":"6.14.7","dist":{"integrity":"sha512-VrIPIWCn7vNwTBB3+Svv5hfocTpm+cQ9dBmiBDWGqvScCOrNm7G+Nh3inf1HD1CmK4pIL9Eyioirztfi+BWwiQ==","shasum":"e626836746d2af045d8ac28117c6d1208c3314be","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.10.1.tgz","fileCount":17,"unpackedSize":47733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfamhcCRA9TVsSAnZWagAANFEQAI9JB8aKZ1qL9KgQsTaF\nYdyE6CeLKptXTf5EOMBGAxXuWZNtavFefTsM9KCostVbttEy2ho0CDO2qTWD\nZ4FSegNCT5zcTZ3U4DpDIeXHsehK9nviLrK8Ch8EEjzaGGCFZIy0+icAaU2m\nLAqNEO83m+ZrPV+5SSQMfAcCd2mIRTbAqqJism1s/W8n/Slk23Jr+tfYLRMq\n/b4x0HF3EmfH+t65f0EG6h+TgyrDqRyrmCzKjQGISgKJ4pQC9v4vBthYopT8\nW8lJpj5dqR47fihIgtkxmQOko68iBURwJu/WaKR4cgKzRcCtNaRWb8bU34WD\nksKQAPxjRxotsoCSyiQsMigLuM5lUqigAjvwUwzZEc1A6xOft/ms3jevNe9z\nA9ELE4C/AQsUJqebTejCJbskz0FA1f5V/D4C3p3Mfcxhj3LG6ZvN5FlrYKvK\nA9KwNarRZ+ytxacG6o01Ezf3JUgOMUMBhSc3Riv/3MTVDn31WLC8zM9zDCrF\nt4AXdO9slrWeVzVvEJlyuLZ2IJHhxKvoTyhKAENpTxJnYBzLByN7xJ72Jbxk\nulJoG+S61RgAuDIvbhUPkl7PXfIEyAkhvMqJh10OeKPh9MgCwsKUKc4bESee\nsyi+uLxeneTdLiaA0qsfgE/SunRLKh0lBOMiwZNjP0zbE9DSMx+IIOU7e9F8\neABo\r\n=qkOz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZqY/T52vszAMulZKFO7W+qrnlzgq5HoYN98mhNmfu4AIhAPnqPwwY1owFsqAGQBC/0MFQH/FVJX8PHQ8rCtcuiwtX"}]},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.10.1_1600809052192_0.09550753469244011"},"_hasShrinkwrap":false},"2.10.2":{"name":"typescript-fsa-redux-thunk","version":"2.10.2","description":"TypeScript FSA utilities for redux-thunk","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"license":"MIT","author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"main":"lib/index.js","module":"esm/index.js","scripts":{"build":"npm run build:lib","build:lib":"tsc && tsc -p tsconfig.esm.json","clean":"rimraf lib .nyc_output coverage","format":"prettier --write .","lint":"eslint --ext .ts .","prepublishOnly":"npm run build:lib","test":"env-cmd -e mocha nyc mocha","posttest":"test $CI && codecov -f coverage/*.json || true","test:watch":"npm test -- --reporter min --watch src/**/*.ts --watch-extensions ts"},"devDependencies":{"@types/chai":"^4.2.21","@types/mocha":"^9.0.0","@types/node":"^16.7.10","@types/redux-mock-store":"^1.0.3","@typescript-eslint/eslint-plugin":"^4.30.0","@typescript-eslint/parser":"^4.30.0","chai":"^4.3.4","codecov":"^3.8.3","env-cmd":"^10.1.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","mocha":"^9.1.1","node-fetch":"^2.6.1","nyc":"^15.1.0","prettier":"^2.3.2","redux":"^4.0.5","redux-mock-store":"^1.5.4","redux-thunk":"^2.3.0","rimraf":"^3.0.2","ts-node":"^10.2.1","typescript":"^4.4.2","typescript-fsa":"^3.0.0","typescript-fsa-reducers":"^1.2.2"},"peerDependencies":{"redux":">=4.x","redux-thunk":">=2.3.x","typescript-fsa":">=3.x"},"dependencies":{},"bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","_id":"typescript-fsa-redux-thunk@2.10.2","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-hLDsTSWt9xsQYArdLFOe+YwCH5OJPyf2d6njnAXhZ9y13dBeI+Tc9hx/QT1VZZUWCDdRa19DCqFIFInwcbej8A==","shasum":"887cb2d0873ecc875d08ac629f87875d4b0e8ed3","tarball":"https://registry.npmjs.org/typescript-fsa-redux-thunk/-/typescript-fsa-redux-thunk-2.10.2.tgz","fileCount":17,"unpackedSize":48006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhNYyuCRA9TVsSAnZWagAAr5EP/RFGgR6JCzWENOqiENRj\niFXJ81vaTs1Z/2Y6DIzgoJpQPwCLVy1bu6fPNVhK0oSyXetDuAA/zP69W3uR\nfrVhkVRGMPKrs76eESS8w0fRaR6noYnaUhJD0y8g/4ZJS35F3zS7yd9h0KU8\nXTARcJx+snzE24siKjPDOXhH84wffi4gdURsChDfbxQ0lSkwZgE0kItx3cbs\ndaqI33fQdIXe6z6D2r97U0bBSpRanYVTJRF/Fi7U0G2Jx89gaT+hR6LyOSyc\nb9ZDGDJ4twbqU+vv1qPSveHN2JLw1l7IBuEpQvdV88wfCaMOIguXOF9izwIL\nB52zd+Hc2ym6DUdDTafp3Cj/HxaSlzJhFQ9ubX1Qqoj9xo8RcKRhCYk2c5n/\nIgOjxXG2hyRcmloDoBYbR+cf0mhu9rUIKeSSqH1MgiVLLiLr85/JWMXE0J7A\nbvtlqkw9EyDmNyN7WIoTCMrCxJThggYvdreSD7XoPnwtVkA5tem0NvNVzstY\nXSFu0jgDO6LKGe5rTkY+B7g9RJXUD0NKK0pzHbkc77eZdgfklMM7emiwZIpn\nsN0/lesaqywBJm3utSnRQdoJ+U6tQDgAm6EiVHIdqRt1702Nb81ePCGOJggj\neLU16DGl73/4UTsHhCKjpZVStVQm1iXBq0L1gXhX+3FzUoHjZyIsUYI4tudn\ncYF3\r\n=0xZl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeqCGQYRNxZpvSL39wRgHfUDsvWLuB1p8nhXZVTKaYcgIgddmGVP9Jq4iFBDtEsrERPXiSVCoucsl/4tkMi5YhcJY="}]},"_npmUser":{"name":"xdave","email":"deft.productions@gmail.com"},"directories":{},"maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typescript-fsa-redux-thunk_2.10.2_1630899374510_0.10885597324849017"},"_hasShrinkwrap":false}},"readme":"# [TypeScript FSA](https://github.com/aikoven/typescript-fsa) utilities for redux-thunk\n\n[![npm (tag)](https://img.shields.io/npm/v/typescript-fsa-redux-thunk/beta.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![npm](https://img.shields.io/npm/l/typescript-fsa-redux-thunk.svg)](https://github.com/xdave/typescript-fsa-redux-thunk/blob/v2/LICENSE.md)\n[![GitHub last commit (branch)](https://img.shields.io/github/last-commit/xdave/typescript-fsa-redux-thunk/v2.svg)](https://github.com/xdave/typescript-fsa-redux-thunk)\n[![Build Status][travis-image]][travis-url]\n[![codecov](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk/branch/v2/graph/badge.svg)](https://codecov.io/gh/xdave/typescript-fsa-redux-thunk)\n\n## NOTE: There's breaking changes from 1.x. Read on to find out more and check the notes at the bottom for more info\n\n## Installation\n\n```bash\nnpm install typescript-fsa-redux-thunk redux redux-thunk\n```\n\n## API\n\n### `thunkToAction(ThunkActionCreator): ((Params) => Result)`\n\nAnother useful cast function that can help when attempting to extract the return\nvalue out of your async action creator. If the action is being pre-bound to\ndispatch, then all we want back is the return value (the action object).\nComing soon: an example. TL;DR: pass your async action creator into this before\npassing it to `bindActionCreators` or the `mapDispatchToProps` object (react-redux).\n\n### `asyncFactory<State>(ActionCreatorFactory): ((type: string, AsyncWorker) => ({ (params?): ThunkActionCreator, async: AsyncActionCreators }))`\n\nFactory function to easily create a typescript-fsa redux thunk.\n\n**Example**\n\n```ts\nimport 'isomorphic-fetch';\nimport { createStore, applyMiddleware, AnyAction } from 'redux';\nimport thunkMiddleware, { ThunkMiddleware } from 'redux-thunk';\nimport { reducerWithInitialState } from 'typescript-fsa-reducers';\nimport actionCreatorFactory from 'typescript-fsa';\nimport { asyncFactory } from 'typescript-fsa-redux-thunk';\n\n/** You can optionally use custom Error types */\nclass CustomError extends Error {}\n\n/** Parameters used for logging in */\ninterface LoginParams {\n  email: string;\n  password: string;\n}\n\n/** The object that comes back from the server on successful login */\ninterface UserToken {\n  token: string;\n}\n\n/** The shape of our Redux store's state */\ninterface State {\n  title: string;\n  userToken: UserToken;\n  loggingIn?: boolean;\n  error?: CustomError;\n}\n\n/** The typescript-fsa action creator factory function */\nconst create = actionCreatorFactory('examples');\n\n/** The typescript-fsa-redux-thunk async action creator factory function */\nconst createAsync = asyncFactory<State>(create);\n\n/** Normal synchronous action */\nconst changeTitle = create<string>('Change the title');\n\n/** The asynchronous login action; Error type is optional */\nconst login = createAsync<LoginParams, UserToken, CustomError>(\n  'Login',\n  async (params, dispatch) => {\n    const url = `https://reqres.in/api/login`;\n    const options: RequestInit = {\n      method: 'POST',\n      body: JSON.stringify(params),\n      headers: {\n        'Content-Type': 'application/json; charset=utf-8',\n      },\n    };\n    const res = await fetch(url, options);\n    if (!res.ok) {\n      throw new CustomError(`Error ${res.status}: ${res.statusText}`);\n    }\n\n    dispatch(changeTitle('You are logged-in'));\n\n    return res.json();\n  },\n);\n\n/** An initial value for the application state */\nconst initial: State = {\n  title: 'Please login',\n  userToken: {\n    token: '',\n  },\n};\n\n/** Reducer, handling updates to indicate logging-in status/error */\nconst reducer = reducerWithInitialState(initial)\n  .case(changeTitle, (state, title) => ({\n    ...state,\n    title,\n  }))\n  .case(login.async.started, (state) => ({\n    ...state,\n    loggingIn: true,\n    error: undefined,\n  }))\n  .case(login.async.failed, (state, { error }) => ({\n    ...state,\n    loggingIn: false,\n    error,\n  }))\n  .case(login.async.done, (state, { result: userToken }) => ({\n    ...state,\n    userToken,\n    loggingIn: false,\n    error: undefined,\n  }));\n\n/** Putting it all together */\n(async () => {\n  // Declaring the type of the redux-thunk middleware is what makes\n  // `store.dispatch` work. (redux@4.x, redux-thunk@2.3.x)\n  const thunk: ThunkMiddleware<State, AnyAction> = thunkMiddleware;\n  const store = createStore(reducer, applyMiddleware(thunk));\n\n  console.log(store.getState().title);\n\n  try {\n    // See https://reqres.in/api/users for valid users on this site\n    await store.dispatch(\n      login({\n        email: 'eve.holt@reqres.in',\n        password: 'cityslicka',\n      }),\n    );\n\n    const { title, userToken } = store.getState();\n\n    console.log(title, userToken);\n  } catch (err) {\n    console.log(err);\n  }\n})();\n```\n\nNote: A change from 1.x is the result type is not always assumed to be a\nPromise. If you want the result to be a promise, just return one from your\nworker function; but continue to specify the result as `T` rather than\n`Promise<T>` (same as 1.x).\n\nThe API has been simplified. This release is in preparation for a new project\nthat works with react hooks. Coming soon!\n\n[travis-image]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk.svg?branch=v2\n[travis-url]: https://travis-ci.org/xdave/typescript-fsa-redux-thunk\n\n## `react-redux` integrated\n\n```ts\nimport { ThunkDispatch, AnyAction } from 'redux-thunk';\nimport { RootState } from 'to/your/reducers';\n\ndeclare module 'react-redux' {\n  interface DefaultRootState extends RootState {}\n\n  function useDispatch(): ThunkDispatch<RootState, never, AnyAction>;\n}\n\ndeclare module 'typescript-fsa-redux-thunk' {\n  interface DefaultRootState extends RootState {}\n}\n```\n","maintainers":[{"name":"xdave","email":"deft.productions@gmail.com"}],"time":{"modified":"2022-06-28T01:54:39.943Z","created":"2017-06-17T05:24:04.084Z","1.0.0":"2017-06-17T05:24:04.084Z","2.0.0-beta.1":"2017-10-03T08:39:10.852Z","2.0.0-beta.2":"2017-10-03T08:43:53.606Z","2.0.0-beta.3":"2017-10-04T01:37:19.441Z","2.0.0-beta.4":"2017-10-04T05:12:48.791Z","2.0.0-beta.5":"2017-10-04T05:34:38.804Z","2.0.0-beta.6":"2017-10-04T07:25:10.903Z","2.0.0-beta.7":"2018-04-16T02:21:04.450Z","1.0.1":"2018-04-16T02:27:03.327Z","2.0.0-beta.8":"2018-04-16T02:29:31.870Z","2.0.0-beta.9":"2018-05-16T23:27:23.243Z","2.0.0-beta.10":"2018-05-30T04:59:33.723Z","2.0.0-beta.11":"2018-05-30T05:09:05.745Z","2.1.0-beta.1":"2019-06-30T18:47:14.595Z","2.1.1":"2019-06-30T18:52:27.912Z","2.1.2-beta.1":"2019-06-30T19:00:21.717Z","2.1.2-beta.2":"2019-07-04T22:33:14.829Z","2.1.2":"2019-07-04T22:39:31.292Z","2.1.3":"2019-08-31T16:32:51.366Z","2.1.4-beta.1":"2019-08-31T16:46:22.935Z","2.1.4":"2019-08-31T16:53:04.049Z","2.1.5":"2019-09-14T04:56:32.077Z","2.1.6":"2019-09-14T17:17:25.014Z","2.1.7":"2019-09-18T05:08:55.912Z","2.1.8":"2019-11-08T05:01:00.863Z","2.1.9":"2019-11-09T18:55:43.316Z","2.10.0":"2020-08-17T06:23:27.212Z","2.10.1":"2020-09-22T21:10:52.331Z","2.10.2":"2021-09-06T03:36:14.643Z"},"homepage":"https://github.com/xdave/typescript-fsa-redux-thunk#readme","keywords":["action","action creator","flux standard action","redux","redux-thunk","thunk","typescript","typescript-fsa"],"repository":{"type":"git","url":"git+https://github.com/xdave/typescript-fsa-redux-thunk.git"},"author":{"name":"Dave Gradwell","email":"deft.productions@gmail.com"},"bugs":{"url":"https://github.com/xdave/typescript-fsa-redux-thunk/issues"},"license":"MIT","readmeFilename":"README.md","users":{"xdave":true}}