{"_id":"@dabapps/django-s3-file-upload","_rev":"9-d9652070bf08848eaad05d1be2c2f613","name":"@dabapps/django-s3-file-upload","dist-tags":{"latest":"0.1.3"},"versions":{"0.0.0":{"name":"@dabapps/django-s3-file-upload","version":"0.0.0","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.4.3"},"peerDependencies":{},"gitHead":"bb11da3045da8f3cd9632e65259eb6b9ea2bea71","_id":"@dabapps/django-s3-file-upload@0.0.0","_nodeVersion":"10.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-f2WWJncwPJL7FJnlxTfHmVLddKF4L9eEgdZ/MM0f+/iBLXa3PX2zZ6NDC4rI8Rt6GDQbYn6Vl8dPH7zU4Ya3SQ==","shasum":"f3b22c57a36367e9a6f2b183056556a28e4fc8c0","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.0.0.tgz","fileCount":33,"unpackedSize":94356,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwspZCRA9TVsSAnZWagAA65kP/2NYLQHQtQ322MNd4tV+\nhbjFV4URLncjc67oD9y/pT01tH5YeJ1Yqzr0DtALS9hJGgSTTUqMQf6d7GGG\nbKiM4BM4BBpZ63FyPTN0q3Xka4I4tfYl6CTztEh4PHLeMASQtA+nqfsmtJVS\ncct2Mh05pGKhuKpycY+Y547Ji38rh+15EIZvCSflQCxupFmnQvetbLQMXEEX\nglfst2mCzDhMKlJh9ssr8tBrGTE9wRCrO7H+Sizmi5DMimdJXQ07HJAqbE2K\nx/W0mtWM/MK6nCF9WgLSI0pFjh4n8cnURkKIo3WPIKi3Tz2j/Rh/MevCj+Yv\nFmc54cuRQ8l+mwcmHi+4Z94CaiRrW1yQLjVtDhGOwhnvOwcq+Nex79U7UfxK\nn8tM9nuUkA0oMRz7tO1PwlFZQk5AUT/5nsk3WBvqhb6+XUU3aMiiaMbQNxQ3\nzhVk2zwq49gm3hiZdqhEyJd3WrAAD0AukroyRsEbY3L3qrhRCAM1m8qMxUlg\nazRXRlYU9qLTRPifzDiOzaxmd/cDKHp2t3f0Ua/rzTU9A/YirBelxlC0OhjM\nzrOz69N44sTXhavC2+yhN3TBd12IrKFyJbAwZXR6AQJM2NqLEnZQkjTK9kYz\no4HgCrm7bYvKosPNyOmF+4AQO8SrEmD9U4K9e7cL7Zg4QLAgjHgIhiwOk+RO\nTqyG\r\n=5yGu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBgp3AhqEV5WmAUMg4pwFg4hMPgUQ5MIKRFD26Srtqh1AiABIYLNxav9VCc2G10rQTyTnWbJhV0+YFfS26TKi7mIhg=="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.0.0_1556269656807_0.48644337567976526"},"_hasShrinkwrap":false,"deprecated":"The initial release was incorrectly published, please upgrade to 0.0.1"},"0.0.1":{"name":"@dabapps/django-s3-file-upload","version":"0.0.1","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.4.3"},"peerDependencies":{},"gitHead":"739efce03563a8664ee2a73a5de9595d710147a4","_id":"@dabapps/django-s3-file-upload@0.0.1","_nodeVersion":"10.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-GruSgQVPvDZ+1LPiL55iqZIni1T6+2v/dnMa9xmROXm3IhAB23HrUPR7X259ZZWtvsCmKOaIUu3VFbweMyxpWQ==","shasum":"f3366a91394ebb45660dfdb0dde07ad4be0a4a4c","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.0.1.tgz","fileCount":48,"unpackedSize":105328,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwwi4CRA9TVsSAnZWagAAxfEP+QCoHVu5xmNwkkCmRT/P\nIL381IKnoKU0DmVLdhTSzOTWwV5FkSkvJTrbwXrqVfV2xmUJgLm42Gq6NOVl\nQoKzDro49eiXn/jyeac+YET0g5FzrRmLj1LhZgmbgwO270usop437YEA0Sti\nwW/KpWuVRTEQrOZ4o61CilGoqdxpKNFP5F0dNABL87eRVDU7876CMvlNvy0z\n6mAR/E7rre9/WzqQHv2GriLeF58mq23+k4FBGMYBG2gWsp1I1hVZwzzREfyT\ng4ibn7HhotthJZY+GZoNo9QmoslL8qetIDAqoFysBeZM/Qz0wkvZwvPNsDJR\n0HBLkuHjfbp7R46clLZjTwjaWoEARiS/2/rzhP++SMVgySdPJuvSe13mu1iO\nYcJxRU1iZgfcVTakfCDngyyAqJ679vq5ytKNn3aUJtFqpLvWrs92nSCCYseh\naslfcZu9bhS5kV4S34+vhH3EmZ1bgC0UB+5bcscE2cpItGAvNY4/wujUoHMu\n6uqFZouL90Xstf7SarAtNkgVy8y8pDv/qSsDl/Dh9/S4XVjLLbxnHizxmK2j\njw28/rw4onu7Zs4D+h/I8oxh28m7/4/Z/HXQ7/asywdUpKKUsqgVYu8EzYj3\nJFapvhEFRm0lv3YRXlzCT1OLrAus/xnQKfaggQrrmaVJ3cUAo9N/hFLagF2d\nffQv\r\n=MLxm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYRSWFHv2Msv2eet75tHUig/19V4sH4Lu4HV+vQS+/YAiEA/Z4d/0l/JXxKXxpFarg5BMROZmfB8j+J9ZKP0M3TTk0="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.0.1_1556285623462_0.7544691511088759"},"_hasShrinkwrap":false},"0.0.2":{"name":"@dabapps/django-s3-file-upload","version":"0.0.2","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.3.4000"},"peerDependencies":{},"gitHead":"b9eb327c04d5cf4e201e66dc28bdcffc9f0d8cf5","_id":"@dabapps/django-s3-file-upload@0.0.2","_nodeVersion":"10.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+puulh/52mfeAYhy6Vne6GSedd1Ryo0IL/qw6/oeyhLFG38GwkrYoUzJrgjYZwH4zA5l7jw52SzFTgVC1/Hiew==","shasum":"6a01676ae5dd37ed90128b533d57b94b5c74c002","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.0.2.tgz","fileCount":48,"unpackedSize":105359,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwy7kCRA9TVsSAnZWagAAfmUP/369cU9BKKoR1Xwok0tn\n8YLlP3TIorYxEzyxB1vVy2lGozK6W1d4uBQBNl05S+qMdewatGFdwJxJtLhi\nMz9Z1x64bPoIatQ3I/F201sIxq18Kd4TSko64HVvsulPZSPAmgzLb+HewMmM\nEXQgvFR/WTV5/JX/Tt+Rc4W189hhfYix62RPvaOmuNgPRpEgYIKRrgzvCL/n\ntfyCffDU3SAI9vIWyzrZo4kkwG5SBXnKKkICaIHYr0YflnptHaN+FG+iSdZl\nxr1LlEniTRRpU2Wy37zTkizdStgxjcJij6Ji5LSG4Ps+5Gu88OuOdv1vnUDW\nxGvb1h7KyUQxTMbhkfsmcT6mZ/f6DQIXWcc9J4xguikfT8ZwRCgByZ4o3BgG\n6eEDq3H4ybjpqJumCX44/kWIVoQ2SqmhUdhsDntOAnYGchC3jKC9iVrUvqS5\nJstvlLMBCs+dk12XZCF88H2Yi16vyj2OUS18jMUKBjGAQH/y9nqgur/kIjKp\nmVa8sia3vd12hm/AgvmmCOBluvuOhLuYuSR9BG19Cf7pIGiWgOXnJ4r2qdTl\n8WtVHm21LK6NH5jcUqS4Np1UOBwrl8DL2dNVZ1ouGq1D+EG42TsDKVt2k3Gl\nokN73uaDONySlDKUX869bIYtgcos423FICzfZyyxUjEME/acibVpvuYiCXcZ\n0pM/\r\n=URFq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEBPeYL/Nc4il1jXIVBlKoVaOPT2EZauuGzDVDnW3PwcAiAlExFGld5OtblwS7wZppjICZTChaMV9Z+RsZ1cgFVKSQ=="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.0.2_1556295394797_0.059283172143791196"},"_hasShrinkwrap":false},"0.0.3":{"name":"@dabapps/django-s3-file-upload","version":"0.0.3","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.3.4000"},"peerDependencies":{},"gitHead":"c445e36c2d6dae8aa10e99f847e481d4fab55dc4","_id":"@dabapps/django-s3-file-upload@0.0.3","_nodeVersion":"10.5.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-6SBhcISoeIFxhxp1lkMPiDNI/ugeq6Y+07jW5tD4QlcbfQ5hdmfqmk3uDhl/F3ancdY4nBD144jw4Xoeoea7Vw==","shasum":"ac880f8a8d54c8333fb3b68635c92c303c7d3bd3","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.0.3.tgz","fileCount":48,"unpackedSize":105804,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0ZmACRA9TVsSAnZWagAAEHEP/3HVWQdsQR3H+I2M2YQu\nhcyVE7MG1EgnuN8/MwrdNKPii/cabG2t//Q0HLbJ0dvTa2cXZI6ntoMk1kOm\n7uqNbdBFHIN6GiICpMd9MmFjE4507YosxU1fcVcwxSlQqkEO1TJVvHdzYn0h\nWhTcW/8wohjI9BroL6wNBVzJWJKymtT/AI68fBf0gckwi2SY5GDFUoZAHlon\nVndg4kTHsWL8x4xJjze0xvhJTaUE94ea+q1+8jjDOCb6xXl0RDJNR5mT8EWL\n8HzY4z3Hqst9cWWh2bTyPkGi/Np9W25FZKECS4v7Ezy9qjFuDmaU6RNmEiGg\nsS890PwRnSQz7J02/wZ+IIPf3Eq38AzCaAljTMKudmSRwe3JI7V6ancyR9qj\nY2iLCPX2PD5eAvvMf23Dh4+Hpq7PTXESVXkmVVL4S+uSDpHd/uO5+UytxaSz\nesFAJmG7NV1twzIcxiHUJDXD7rPZg+/s2PMDfG8mKH16EoZ1cOvISsQArWdQ\nl82WAiMuCfDMIOqe/r0uF3mVJl/zonskSO3JE+c/Fmtv0omEoKIzJdwiUMSK\n8G1RROQIpuDoYS/svQABNfKxUJxDMCRSIUspMjVfsjRPZ7mdtD+/PilnUDeZ\nCIGyEijRchqKBl+Vyra7PC3H/4UHUGrwpK6M9/lnatPLd1I6xpr4yZtGtvDV\nyL5i\r\n=GEcD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdNXmAbclGazzSX3IOiqt4Np4B1lHvC9Qs7PjykKwJfgIhAN21FIzS+8TCv93DWFpPBrm9K4/l2ROPVzUgPu3XPh9d"}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.0.3_1557240191416_0.5116555555806579"},"_hasShrinkwrap":false},"0.1.0":{"name":"@dabapps/django-s3-file-upload","version":"0.1.0","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.3.4000"},"peerDependencies":{},"gitHead":"347e0a1fb503cbd51e8bbc95c6d226f4095c8d9f","_id":"@dabapps/django-s3-file-upload@0.1.0","_nodeVersion":"10.5.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-TKFMOoG62i691oerede+OXIAZpl1U2iECrDog6Y2xyQS9c1aQfyMGSu5teJl97Z4cfYiKs9g4K0ESzf96nFMTQ==","shasum":"357cc1458ecd54099e59bd423378399bdc768f83","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.1.0.tgz","fileCount":48,"unpackedSize":108382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXmUQCRA9TVsSAnZWagAA+DYP/1q2VTgjKlQXh3D858nB\nVpNLpJj0ue8Cpe7fcvCTQund7FFimXW5u3eZUShQLhTAiuF7STlQAZNWosvx\n5sO8pi+im9V4AIvA/y+zmWck2xQ5Hr0YiolOQog7eG4ViNCx778vJcrXqJoX\nT+RRq6dtCB9K/ZbKddu6Fq6S/ZePnFoRT8egalXAx0xO2QnezgHKTCn7g21r\nsfHFz9c4lAkbekcLd8QCcLn3gIYecxF5fLDgBBr1DwlOWLhn+NVNNA2Q8I5B\nN3y911rLDrNxXd+gVy+bjqfTTcoaVu0SGeNmbef2ZtFfQjEp2ywyhloPCCx1\nDkqG1CLFPPR+LUUGz5geqf919hER5kEzgu+IdJ655Rql4i4XU1CKkjjlpVv0\nN3qXl1wKi7yZ8bQGhkz0uMTlLpuaPDfEA4N1ar1radYT7UQSNDKiI9uO/g2v\nBzhpkzPV7SqHLXgVPNsX5W57Y8nUyppTfcYHN6hedUSTT693ann5g+JoUfBu\nhyi9KAcMa+jc8QaxDM9y3h0VTmfhACONYtuQwppaf7TKlgSe+KMFm8jLuziI\n4WTzqV3vVfhh3/1icaepARVe2SHmdR06RffctR9qJfkR4ychChrlJ06Ox8B7\n/+hRKwiTjKyShsifL4VgKEVSzUIi8d5tPP4kBrcw6qJl5aAnTaeJCmltFmy9\nNeyc\r\n=t44L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDf3Zu0SFoXj6lQ36pLszhen69UyXjtbprHWNe7CsplvAiAg1juPMG3ON2aFvwDNRuh2bWLPVpkhqf54B8rAUysKNw=="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.1.0_1566467343835_0.2887609969622347"},"_hasShrinkwrap":false},"0.1.1":{"name":"@dabapps/django-s3-file-upload","version":"0.1.1","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.3.4000"},"peerDependencies":{},"gitHead":"b0383f0c58c56af015aa8e2b48e763e379378725","_id":"@dabapps/django-s3-file-upload@0.1.1","_nodeVersion":"10.5.0","_npmVersion":"6.10.1","dist":{"integrity":"sha512-T+DDme+Xi9odK5coAPWb1z3LzJoy8vy30tS+L7cercaLV6qCEu3hOjayuFs7b+omfAMtuPUXIdB9+U5KlpUFqw==","shasum":"129c7339047c6553a6c28344f8328b55f3d35061","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.1.1.tgz","fileCount":48,"unpackedSize":108382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXmqdCRA9TVsSAnZWagAA5zUP/3tI5ZgcRHpmm1vVO/+5\nKHKO2NCtZB675Xh5nqhm7OM9zKIWqcfw3GHPTBIfp089iHBdW4bo/la8ZQ5i\nREkB9kYVStpVmPuc7FPp22J32zzR8z8TCY8PkNb4iTTsr+mW2XipUylHYXpA\nJjGXhScNWAfFjNMpPPl37ki7FNZAg34ombEfhvQZYxvbyEr+LG7B5pQVoX+6\nXSDRTeEkUnHc5BABBZCC8V7OG3uGQm/MivDgJROz7TdBOPCb+6yYNqTEqS99\npSlKZBnp08mqO4RjWPM3MIeARMKGFjQ821vL2FLv/8f/+0mGQSttVhkyESc7\nOU2Egu3u85a1jGTxO05JS+FatPlVvOVYBGs52rK24BFM8dObKZTPO0sMMo5I\nSGpeL8Mf75HiIxfcaQLamaVTg4LrWOCJIuGzqFGCqf/EZv7eoTyD5GfAIOsh\ng0dYQYoYeU6IDGor1gOH73aGRyVXEor7Q3BGvtw5EoTaRmzovxqmEhmddwM/\nYlRmnWYxftPiBcg5HYzxfn+YmQtPCpa7oSNQdRPDUt1hMQGWzrLLlyRehv2b\nUWbF7WPLqiXaOTzd0CuWEkvkFH1K4pU5+0KQdcuqBrblcXl84wr7a6QfjjTN\nauA/IfMt2lPZLh1gxrkN49umf8pzoOAksk1psBOZtB2wEp2cB5az7zdZpu/l\nAayD\r\n=Ga4l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDw2lFb37tR62o9q4VylPDGsrZohPy4csmH9WSC8HEukAIgGKcQ2mtSh7iMv0wnn6gMoX18KxRXQLoPl/PGRQYcWek="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.1.1_1566468764807_0.902077295968182"},"_hasShrinkwrap":false},"0.1.2":{"name":"@dabapps/django-s3-file-upload","version":"0.1.2","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run dist && npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.0","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.3.4000"},"peerDependencies":{},"gitHead":"b9c4ccef67a80579e3920453c1516686c1d54c7f","_id":"@dabapps/django-s3-file-upload@0.1.2","_nodeVersion":"10.5.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-lyCB2TmGsV5bT3VZ1j7MsL7g38ZzY8omlVb45kq1mjkwSmRn5+/blD90Mdzt12Jhjw2KOvPngfRDyugN6FB5hQ==","shasum":"111d557794beb6ae9d2fb6ee5c8f0ae3277a0a20","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.1.2.tgz","fileCount":48,"unpackedSize":109682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddh9HCRA9TVsSAnZWagAADDUQAJhJBo94ea49UT2WjF3L\n2QDzGs0OMpNo/dD9yxxSjLpC22ZaZvU3wmMXLZuagNDZfwsBnBvSAIWPbfvl\nVU7Y96CA31Dsmyw7lp+EoHAop24NXS43Q1m5MnMIzw/PICOg9QK1IQKX6gWn\n2z/dK8ylWOOZjjT7SrnfZc9DbKjN6SqXE+QC4WaAm97Go/k7Q2Z9GQ/u15r2\nb0ms65ZJhFnzd6Eqc6z15E9TMIqGMIm83CyELNhWVl90kxLBENi7+ReKPfVH\nCeqzgoRkhURxa1rJ/Wkviu+xIFAauCpnF5tEcgBdKtxAvbB61x0uAyBQKegs\nlDnG5EuxPSfTWa0IXiVoADaJjLSB6pyBrRNvCx+rSy2187ObpM9CMLE7Zxxt\n4GhnWDzimQWwbc8M+Oji2FC0qgg+pUwZlZRPXVzQ5IwaJHCxZBTSVvVuuENi\nY12gvZ/AA6cJxPgtveXGsmCCQDmO9MDATUGDOm2eQSD5hBAVv4MRNV7UyXkd\nzFHUAsu/IoKAH1Niu1TQxtRW0/KTZLv4P+BpbjCABazgUeFTCS1kzChxguz0\nLpGh3razEL6e0ZdvuCCbyFD932XuB4wO0zF7j2NUYP95dWwoqq48B+YJgENh\ndVNz/AtHUIVd3gwKdlQR1tLBwDCowYtUmqN39w5mYH2B3O+CqsgrSda3uFp3\nUbtZ\r\n=o50P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUHwydKg8vPNTFoaQoLjGrOFjevOg/jVdwabOIJlgYlAiBSETYD5n92pvcsfX7TljzDanR5NyGRZzDAqCyiPDZhTw=="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.1.2_1568022342481_0.35213296560035157"},"_hasShrinkwrap":false},"0.1.3":{"name":"@dabapps/django-s3-file-upload","version":"0.1.3","description":"Upload files from the browser to S3 - client side implementation","main":"dist/index.js","directories":{},"publishConfig":{"access":"public"},"scripts":{"dist":"rm -rf dist/ && mkdir -p dist/ && tsc --project './tsconfig.dist.json'","typecheck":"tsc --noEmit --project tsconfig.json","lint":"tsc --noEmit --project tsconfig.json && npm run prettier-check && tslint --project tsconfig.json '{src,tests,types,examples,docs}/**/*.@(ts|tsx)'","prettier-check":"prettier --check '**/*.{ts,tsx,js,jsx}'","prettier":"prettier --write '**/*.{ts,tsx,js,jsx}'","tests":"jest","test":"npm run dist && npm run lint && npm run typecheck && npm run tests -- --runInBand --coverage","prepublishOnly":"npm run dist"},"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"keywords":["npm","file","upload","s3","aws","django","dabapps"],"author":{"name":"DabApps"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","dependencies":{"@dabapps/redux-create-reducer":"^1.0.3","@types/redux-thunk":"^2.1.0","axios":"^0.18.1","js-cookie":"^2.2.0","redux":"*","redux-thunk":"*"},"devDependencies":{"@types/jest":"^24.0.9","@types/js-cookie":"^2.2.2","jest":"^24.3.1","prettier":"^1.17.0","ts-jest":"^24.0.0","tslint":"^5.11.0","tslint-config-dabapps":"github:dabapps/tslint-config-dabapps#v0.5.5","typescript":"^3.3.4000"},"peerDependencies":{},"gitHead":"e927f01ed97ef2838b40341fb5bafd5f4ef84c35","_id":"@dabapps/django-s3-file-upload@0.1.3","_nodeVersion":"10.5.0","_npmVersion":"6.11.2","dist":{"integrity":"sha512-TQiin23534KfOm7wlJGnyLHUyffmQ9Y7aFUEYVRH8tgBGQKbsrpo32sejrigd47umjR8I8+MACJFmyBUmAMFOg==","shasum":"90851c2c619ee9530386d72033bf0840cb40b134","tarball":"https://registry.npmjs.org/@dabapps/django-s3-file-upload/-/django-s3-file-upload-0.1.3.tgz","fileCount":48,"unpackedSize":109682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddiRbCRA9TVsSAnZWagAAky8P/3ftaSDHn3ZL+j/EiVQA\nfeY7QkcJLlQwM50NoQxpHSF5G2r3izz7kvnAQIf+qcZbfvf5jrrZ1iReu3z2\nFEqWqXgYZ14KJrtAtiSe8PAyi8c9NeWMmb0Kl7E160e8iibcSyyJ83bu0Okk\ndShlq25VnirHKLUI+W4VXPUX+SVybKWCJsExfNZ4HxjOai77IozrCNAye1D/\nYTOcxnfK0JytEvxuxINtvmHDLC55v7mWg28JWAixwoodSc8nu1bvtlI+BlgN\nwceevrq/Nd3Updu4GfwGRJUZtH74DbPOXINPWkC6teHTOykWEjyIoRt4w8A1\nMVJ+2oiBw5Gw6p/C3aR4WmpvOUQD9fS9OdXFrDoq2sHEASzcapHkb9DWdVXl\nX7Uo732/xLimZtwAlq6uaQHea9iF0nerMIlLiDvNl5onb6KWYjPP0V1sRkCT\nkmJVn/Ib/c77ghTdpKZW81xxlOmCNSUVNm0TwAgh6YhlHHCF4PXcKSlEDRRb\nB086tOg5e/h6acnGBkC2jaZwCSQPDLGl7C6LkfhFWq8oeZVdvml1jnzqxkCV\nGBDQTIBxAegd3AjwngJ//6Hqgt/GcMS4K8Riho0dmp5qIqtEAhglUt8pLYoz\np2wQeGjGE0mEhnqrh/141WXxl+duznz8ii84/c+jbuK+7qEAIXfp34eug4Y+\n+oie\r\n=4ZXC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRILJjONaCTyUR/q+tXubqaz64UVzcaoITmRHDDdzCYAiB78VqWwXa/EQX52ePAmePrOooAaK9rHpkgIeubo/C55Q=="}]},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"_npmUser":{"name":"dabapps","email":"npm@dabapps.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/django-s3-file-upload_0.1.3_1568023642588_0.5219617274511688"},"_hasShrinkwrap":false}},"time":{"created":"2019-04-26T09:07:36.615Z","0.0.0":"2019-04-26T09:07:36.981Z","modified":"2022-04-05T02:31:38.776Z","0.0.1":"2019-04-26T13:33:43.605Z","0.0.2":"2019-04-26T16:16:35.036Z","0.0.3":"2019-05-07T14:43:11.523Z","0.1.0":"2019-08-22T09:49:03.981Z","0.1.1":"2019-08-22T10:12:45.004Z","0.1.2":"2019-09-09T09:45:42.611Z","0.1.3":"2019-09-09T10:07:22.705Z"},"maintainers":[{"name":"dabapps","email":"npm@dabapps.com"}],"description":"Upload files from the browser to S3 - client side implementation","homepage":"https://github.com/dabapps/django-s3-file-upload-client#readme","keywords":["npm","file","upload","s3","aws","django","dabapps"],"repository":{"type":"git","url":"git+https://github.com/dabapps/django-s3-file-upload-client.git"},"author":{"name":"DabApps"},"bugs":{"url":"https://github.com/dabapps/django-s3-file-upload-client/issues"},"license":"BSD-3-Clause","readme":"# Django S3 File Upload Client\n\n[![Build Status](https://travis-ci.com/dabapps/django-s3-file-upload-client.svg?token=k7ApnEQbpXLoWVm5Bc9o&branch=master)](https://travis-ci.com/dabapps/django-s3-file-upload-client)\n\nUpload files from the browser to S3 - client side implementation (with redux integration)\n\nFor the server side implementation see [github.com/dabapps/django-s3-file-upload-server](https://github.com/dabapps/django-s3-file-upload-server)\n\n## Installation\n\nTo install the package run:\n\n```shell\nnpm i @dabapps/django-s3-file-upload -S\n```\n\n### Compatibility\n\nYou will also need polyfills for both `Promises` and `Symbols` if you wish to target older browsers.\n\n## Usage\n\n### How it works\n\nThe flow to be able to upload files from the browser straight to AWS is as follows.\n![Flow S3 file uploads](images/flow-s3-file-uploads.png)\n\nThis library abstracts away the process of chaining the three requests that the frontend needs to make to upload a file from the browser to S3:\n1. Request upload from server\n2. Upload file to AWS S3\n3. Mark upload as complete on server\n\nThe implementation is specific to the endpoints setup in this repo [github.com/dabapps/django-s3-file-upload-server](https://github.com/dabapps/django-s3-file-upload-server) so be sure to have the backend configured accordingly.\n\n### Redux integration\n\nThis library provides 3 functions that can be combined to handle uploading multiple files, and storing the results, errors, and loading states in redux.\n\n#### createActionSet\n\nThis function simply creates an object with some keys that will be used internally to allow the action and reducer to communicate.\n\n```ts\nconst UPLOAD_PROFILE_PHOTO = createActionSet('UPLOAD_PROFILE_PHOTO');\n```\n\n#### createFileUploadAction\n\nThis creates a [redux-thunk](https://github.com/reduxjs/redux-thunk) action that handles dispatching requests, and actions that track the loading states of the files, as well as the responses / errors.\n\n```ts\nconst uploadProfilePhoto = createFileUploadAction(UPLOAD_PROFILE_PHOTO);\n```\n\n`createFileUploadAction` takes an action set, and an optional options object, and returns a `Promise<UploadData>` (see [Types](#types)).\n\nActions created with this function will not throw errors by default. This means that calling `.catch` on the returned promise will not be effective unless you utilize the following option...\n\nCurrently the options object only exists to allow you to provide a `shouldRethrow` function, which is called with any errors, and will cause the action to rethrow any errors if `true` is returned from `shouldRethrow`.\n\nOnce you've created your action you can then dispatch this from your store, or connected component e.g.\n\n```ts\nclass MyComponent extends PureComponent<Props> {\n  // ...\n  private onSubmit = (data: FormData) => {\n    this.props.uploadProfilePhoto([data.picture]);\n  }\n  // ...\n}\n\nexport default connect(undefined, { uploadProfilePhoto })(MyComponent);\n```\n\nThis takes an array of files. If you only have a single file to upload just provide an array containing that file.\n\nYou should prevent the user from attempting to upload the same set of, or additional files while the requests are in progress (as this will cause issues with the loading states). You can check the current loading state from the [reducer](#createFileUploadReducer), and disable your submit button.\n\n#### createFileUploadReducer\n\nThis function is used to create a reducer for a specific set of file uploads.\n\nDO NOT use the same reducer for uploading multiple sets of files unless you really know what you are doing.\n\n```ts\nconst profilePhotoUpload = createFileUploadReducer(UPLOAD_PROFILE_PHOTO);\n```\n\nThis can then be added to your store, and connected to React components to provide you with the `UploadState` (see [Types](#types)).\n\n### Basic usage\n\nThe function `uploadFileToS3` is used internally by the other functions that integrate with redux. If you're not using redux, you can use this to upload individual files, and manually store the loading state, responses, and errors.\n\n`uploadFileToS3` returns a `Promise` of type `Promise<UploadData>` (see [Types](#types)).\n\nLet's say we have a form which contains a `file`, which we want to upload to S3 on submit, we can do the following:\n\n```ts\nimport { UploadData, uploadFileToS3 } from '@dabapps/django-s3-file-upload';\n\ninterface FormData {\n  file: File\n}\n\nconst handleSubmit = (formData: FormData): Promise<UploadData> => {\n  uploadFileToS3(formData.file)\n};\n```\n\nThe file should now be stored in `S3`, but isn't linked to any useful models (apart from `UploadedFile`) on the backend yet.\n\nSay we have a `Llama` model on the backend and an action implemented on the frontend to `updateLlamaProfile`. We'll probably want to update the Llama profile with the new `file` after it's been stored in `S3`.\n\nWe can do this by chaining our functions:\n\n```ts\nimport { UploadData, uploadFileToS3 } from '@dabapps/django-s3-file-upload';\n\nimport { updateLlamaProfile, displayError } from './path';\n\ninterface FormData {\n  file: File\n}\n\nconst handleSubmit = (formData: FormData) => {\n  uploadFileToS3(formData.file)\n    .then(({id}) => {\n      updateLlamaProfile({\n        llama_file: id\n      })\n    })\n    .catch((error) => {\n      displayError(error);\n    });\n};\n```\n\n### Types\n\nThe response type for each file upload:\n\n```ts\ninterface UploadData {\n  id: string;\n  created: string;\n  modified: string;\n  complete_url: string;\n  file: string;\n  file_key: string;\n  file_path: string;\n  filename: string;\n  upload_form: UploadForm;\n}\n```\n\nReducer state:\n\n```ts\ninterface UploadState {\n  loading: boolean;\n  fileCount: number; // Total number of files to be uploaded\n  inFlightCount: number; // Number of files being uploaded (but have not finished)\n  completeCount: number;\n  successCount: number;\n  failureCount: number;\n  data: undefined | ReadonlyArray<UploadData>;\n  error: undefined | ReadonlyArray<unknown>;\n}\n```\n\n## Code of conduct\n\nFor guidelines regarding the code of conduct when contributing to this repository please review [https://www.dabapps.com/open-source/code-of-conduct/](https://www.dabapps.com/open-source/code-of-conduct/)\n","readmeFilename":"README.md"}