{"_id":"@a-react-kit/fetching","_rev":"6-6c243f17f0d91e32f02a07c389ff2d74","name":"@a-react-kit/fetching","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"@a-react-kit/fetching","version":"0.0.1","description":"BestDay Fetching library","main":"dist/index.js","types":"dist/indes.d.ts","author":{"name":"Carlos Vargas"},"scripts":{"test":"jest --passWithNoTests","postbuild":"tsc --project tsconfig.json","build":"babel . --ignore ./__tests__,./coverage --root-mode upward --out-dir dist --source-maps --extensions .js,.ts,.tsx --delete-dir-on-start --no-comments","build:publish":"npm run build && npm publish --access public"},"dependencies":{"axios":"^0.19.0","react":"^16.12.0","react-dom":"^16.12.0"},"devDependencies":{"@babel/cli":"^7.7.5","@babel/core":"^7.7.5","@babel/preset-env":"^7.7.6","@babel/preset-react":"^7.7.4","@babel/preset-typescript":"^7.7.4","@babel/runtime-corejs3":"^7.7.6","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.4.0","@types/jest":"^24.0.23","@typescript-eslint/eslint-plugin":"^2.12.0","@typescript-eslint/parser":"^2.12.0","babel-core":"^6.26.3","babel-jest":"^24.9.0","eslint":"^6.7.2","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.7.0","eslint-loader":"^3.0.3","eslint-plugin-import":"^2.19.1","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.2","eslint-plugin-react":"^7.17.0","jest":"^24.9.0","ts-jest":"^24.2.0","typescript":"^3.7.3"},"_id":"@a-react-kit/fetching@0.0.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-lVF12YDgbT5gghQ92EVVZPdZ0kZ0eXLFha2aLzx8LAY+1y2UKWi4zuV2VH0Q+EnslFrLiRozMTFoolZsH7y1Vg==","shasum":"9c5337772d70058ecb4ad5c6727517e50ee5f9a6","tarball":"https://registry.npmjs.org/@a-react-kit/fetching/-/fetching-0.0.1.tgz","fileCount":2,"unpackedSize":4957,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeE3L1CRA9TVsSAnZWagAAEF4QAJHcoOZCzbOBVn3duoOC\n+jeQRlMtXPO9oB5CMHifEieQgQnNrjKQK7rmOFWnwkeNm/2aZN8nBkwnDRmj\n8C7irlCA2/yVKWF6XXXlHn5/001zFvZxcTpF9ETUt/0WQ1k95DsjsQKLcUAo\npFV9CsjBxOLJQjQABCzVDyJkSJvWSTjELlekaao7mF/mY2Edbkfp6czFeQix\n0jtKUpd+ddSClJQkPOCK2EcKJ8DLhL7ftQgnfBIUU7A1OYizgbtMl21flFTe\ngaVTx8j3uXJb7kAQVYy1DQbVkx6HWRmixNn/o3DbY69NDl0PTQDoQY4vnLeA\nQzXRHRB4dFUavjOepeLrncJSD0bOuvrQE4dUk6sF3lGqGrbW1he3LqTlzvN1\nS1IUVW6msJRmyjlE4uwDQ2ZE2SN73wsoNX4zxkrJGrnN7D3jTUhhys6wsU+L\n64LQGcvEiGw6c1BynqeuHaPFIwhPBk9xEyg4nsWVqX4YUBVLNWaipXmc+MhW\ndp5vVAZIzVyNPLwc9g0/O65c3ZfPmzGdCLIwCH1guaMv65F/cWVyzvhOEIfU\nmqVnqhqu0FGlRy3RZ2KmcXxgJ4rt7KmKVOv9URmKq+nO1mj38icUbzrHu51N\nydeo/Oj/L2mevX4GHxcVoyIJD6A+dwsOCHIDK1wBpA69yUxmb8bcxMuhqMzI\n0d4c\r\n=QdMh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCN4Y4J5dd8bYdWUyedzjvDzPAH6wi09JNWCMTR8YVW9wIhAJVhnQPvnfaN6GN1a8UBSrGRDkdI5QyL4+lXcl+PfRQu"}]},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"_npmUser":{"name":"caanvaga","email":"caanvaga@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetching_0.0.1_1578332917379_0.9461136096901561"},"_hasShrinkwrap":false},"0.0.2":{"name":"@a-react-kit/fetching","version":"0.0.2","description":"BestDay Fetching library","main":"dist/index.js","types":"dist/indes.d.ts","author":{"name":"Carlos Vargas"},"scripts":{"test":"jest --passWithNoTests","postbuild":"tsc --project tsconfig.json","build":"babel . --ignore ./__tests__,./coverage --root-mode upward --out-dir dist --source-maps --extensions .js,.ts,.tsx --delete-dir-on-start --no-comments","build:publish":"npm run build && npm publish --access public"},"dependencies":{"axios":"^0.19.0","react":"^16.12.0","react-dom":"^16.12.0"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/preset-env":"^7.6.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.6.0","@babel/runtime-corejs3":"^7.6.0","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.4.0","@types/jest":"^24.0.23","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","babel-core":"^6.26.3","babel-jest":"^24.9.0","eslint":"^6.2.1","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.1.0","eslint-loader":"^2.2.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.3","jest":"^24.9.0","ts-jest":"^24.2.0","typescript":"^3.7.3"},"_id":"@a-react-kit/fetching@0.0.2","dist":{"shasum":"cf72982e9550178e2cb3f3602dd85bb52f64b396","integrity":"sha512-3VjK+RwCTXj8iwwHUC/PmRIolosh76BjViQWjHE7fUsFBCwsWousLv9M9/hwxtyLdbssy7tHKik/RxAIHxaReQ==","tarball":"https://registry.npmjs.org/@a-react-kit/fetching/-/fetching-0.0.2.tgz","fileCount":36,"unpackedSize":32997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeE6WNCRA9TVsSAnZWagAAyCgP+we57a7lzDkvDsf8qYks\n8Kgp9X7BrBySbfO/KDY7It71IbkAKGwIs83oT5zjdrJrMTFodNKKKIzDBm1p\niz9MrDKvNxFav856D0x/j8Jl/gxSGQ26831HlB0XdVQiMM7ZaPmmRYCnycpa\n32vx1t+5z63NqoBT1IItx6aiLpLi7BhneMnP0zbJMkXXfyBsVVL88QGF0US6\nKUns/hPaZkxJxSq+G5txvjXdcj7wIDpyzbWokomknPzVVrN8kHeKeNKELcVU\nIg8hB8lePggkiEnMVNP146gnr7leaW55hrCLkJMo8q8HJW3SH8o0BE79Igxt\nXJyzPW7sh1bSslAGtYV4Lkg70FqBheMxpPIOCBdTtqv5sJ/Y+knxR1u236YK\nb0rX15u46BMEOZXwRS7sonExlcjryCXy4WrBtfitUgRP2xBtlk0mpCmHnw5Q\nkagsiZ7ZXQGbOdSQYiMcvN0SzODZt3yJV2h2QSJF/HlaGUsGUkA5R/uR7l9T\nQkkrkFnBPYsqKYxFQNCKbRpVDIAORgDZr/+nvvfB6Wv+CUxWiGR3BmVCsaiQ\nHCJrymDdPtxKbApdKmE81FrwuRMp/WcI41qags+iMvgqqaGzRK5ahGvEiPGz\nY7Yt1BkJq25QFSNMg4u6Dd82iBf9GE0Fop9g6ZQqvO8si2QOZvZnIW6ltxF4\ngdVY\r\n=8KZg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk6BtbwZP2h1ceOeNZoQ0CZhmGmiDaetX+6pcgrOHfdgIgFdi+pQKHk/Xv/ImcZFpFL254E31+KteLmjrEAD8Z8Wc="}]},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"_npmUser":{"name":"caanvaga","email":"caanvaga@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetching_0.0.2_1578345869003_0.4005940486858819"},"_hasShrinkwrap":false},"0.0.3":{"name":"@a-react-kit/fetching","version":"0.0.3","description":"BestDay Fetching library","main":"dist/index.js","types":"dist/indes.d.ts","author":{"name":"Carlos Vargas"},"scripts":{"test":"jest --passWithNoTests","postbuild":"tsc --project tsconfig.json","build":"babel . --ignore ./__tests__,./coverage --root-mode upward --out-dir dist --source-maps --extensions .js,.ts,.tsx --delete-dir-on-start --no-comments","build:publish":"npm run build && npm publish --access public"},"dependencies":{"axios":"^0.19.0","react":"^16.12.0","react-dom":"^16.12.0"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/preset-env":"^7.6.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.6.0","@babel/runtime-corejs3":"^7.6.0","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.4.0","@types/jest":"^24.0.23","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","babel-core":"^6.26.3","babel-jest":"^24.9.0","eslint":"^6.2.1","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.1.0","eslint-loader":"^2.2.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.3","jest":"^24.9.0","ts-jest":"^24.2.0","typescript":"^3.7.3"},"_id":"@a-react-kit/fetching@0.0.3","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-IDa2MlkMLy0Q/3kW2DzrRdOFzhXBm8oOkf6CnZUxWqdF0dIcf+89uymitrlrnJZXh5aAFhGqO6iZ6rwLIVV63w==","shasum":"2f878d489ced88cb7749eba9daa3fe7bd698d834","tarball":"https://registry.npmjs.org/@a-react-kit/fetching/-/fetching-0.0.3.tgz","fileCount":33,"unpackedSize":35318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMI9ICRA9TVsSAnZWagAAk4oP/0/q/r7twFigZauM86x7\nh30KuRDCbasDY2yr46xlgHeQLXv6A7r2Qwe7pBHba9xgoRytyWytep9aR0tX\n1Fcdh2ZtXnOsnOXDwqGqqcTYQgqPEQ/dtSesnHWjiZhTsFFJGkb0ZfNdXI/J\n3/xZERSjWEd+kTgMidYF6wEsvObpt4oeIrBVzQMvNwTMpSTl8aYvEY+Fl9RC\nIIj7Q2svnAI8xOr34jeIgrSwTjI+I11X0zz6QtTVuSDtv2sysY8261tnCxm+\nZx71AZa5OCbvb4QmCxcb2kDR/GQuKFjBvEbRlsK7Ij1Pzjt5CzOBrpr8UmYE\nlKUOmMMXSyYuJF031+pCDNYQIa7vzqHbbyRkgTTXi9hEfxz1EGpmC7I/RGV9\nhR5P00s6NSvawp44PpBlSgldAjeNz27/oDI/762jHQrTQU4cZb+uEL435yH+\njORBtsD7BftfeylZ6J+C6pTNrtqK2eD0vE69TZtyN6X2gBOmg0CoeWmYvU97\nHXXU5q8B1ajbUJRzLWekNp7zjci/oxkOJW2Ba4Z/16qMvtWlZpHAdsfS2P/+\nMUDSuml11fj76jGr7YBr6HWKEecH3Yj1VHyJkO2P/GH289TqL2Fb98F0wTmh\nMjhHJCcTLoRaICnSi9Hzb5Ef0mI50eNVdmu9mkogFq9C2f3ivkvmW6pFDnNJ\nfOIK\r\n=h2yL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbD1E/g1FIH2u3LiB83DW8CJQJf6ujuoWDrCsaS8EAUQIgbRYsYXd3vNg00hRjU9GVG8e2QGCurB8yQViJBSadwKg="}]},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"_npmUser":{"name":"caanvaga","email":"caanvaga@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetching_0.0.3_1580240712093_0.37467630091713855"},"_hasShrinkwrap":false},"0.0.4":{"name":"@a-react-kit/fetching","version":"0.0.4","description":"BestDay Fetching library","main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Carlos Vargas"},"scripts":{"test":"jest --passWithNoTests","postbuild":"tsc --project tsconfig.json","build":"babel . --ignore ./__tests__,./coverage --root-mode upward --out-dir dist --source-maps --extensions .js,.ts,.tsx --delete-dir-on-start --no-comments","build:publish":"npm run build && npm publish --access public"},"dependencies":{"axios":"^0.19.0","react":"^16.12.0","react-dom":"^16.12.0"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/preset-env":"^7.6.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.6.0","@babel/runtime-corejs3":"^7.6.0","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.4.0","@types/jest":"^24.0.23","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","babel-core":"^6.26.3","babel-jest":"^24.9.0","eslint":"^6.2.1","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.1.0","eslint-loader":"^2.2.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.3","jest":"^24.9.0","ts-jest":"^24.2.0","typescript":"^3.7.3"},"_id":"@a-react-kit/fetching@0.0.4","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-d9YE49hrEwYUInMFjJWz/xr206ARFEAr6Yo8JAM/UK2B6CwxPBiH8HvG7p7Rbk5ON0I+dr7f9e95OEuLKV2RcQ==","shasum":"e8ece397d04418e6dcca6980a61c3ecb36ed218d","tarball":"https://registry.npmjs.org/@a-react-kit/fetching/-/fetching-0.0.4.tgz","fileCount":33,"unpackedSize":35318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMJ5dCRA9TVsSAnZWagAAcXMP/0pRfmhRtp6oTSKLV6I/\nnbDu2Jt7s+Wkn137lnJPUf+0KlqcPPoAKk+RFxvK6kGOsBGVI8fDmDwdgQog\nZcr/Pz/7D8iA4Fyv4uEwepdXicwXxMs9NmxhT/EDHGaqm5ge0FhtYu+jXlch\nQ3ePUPvXrhD2+AaSuibaQC1ykb0hUme8vDlC7TZzT2CoBKEfoEDQE5LcQ+0j\nicST/r5GuQc1T3BCxhgzr8at8qbKLgYU3yXCOCJuLg0XIueLpEUkP6YwoJSO\nOtIioAxJwDvNnOorRFwpGhY69H/JrFxgge2vyeJCDLbHsFY6UIOvrhjsib2i\nOFrfx+aZHI4I63mxZYYjCcltHe9pkpjIAPMcy1X+0TA5US/HAgc0sCbG4s0Z\nDQKxOZEFIje0XLm1KMb2avG6j9vd5vFoTgFW572SaZFnYzyJTVhoJ+J4lbNY\nHCTxVa+yGf2uRxzJ3hb+Wi68qfeV3a8tUGu5i11OFUvTrUmezvKBsveeslBd\n/zNE5SL6z9j6WZQ2689T0MmMtpUi+5pMx9ZTVh5SxSXsr2gPypSuG/CuusnC\nUu2pAmi757GpGrwN1g871ZevhRuKyP2hOcUVImLoIMDMgBsA+dUZIM4iav0/\naFDxqsTV8OfZqWQUPn7ypJxi2KXpdQah2jRVGp00qk/VVvy1kTPnHrVb8WX1\nhs7B\r\n=CMYO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbgzL0ws7Kj3wR8/kYnGSVrntz9SiTRaZ9/poGJ83rSAiEA7gb4qLP0nMdieCsAQBOBxqy8kngAmuWq7vc7wdzIbOE="}]},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"_npmUser":{"name":"caanvaga","email":"caanvaga@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetching_0.0.4_1580244573031_0.4012147372861583"},"_hasShrinkwrap":false},"0.0.5":{"name":"@a-react-kit/fetching","version":"0.0.5","description":"BestDay Fetching library","main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Carlos Vargas"},"scripts":{"test":"jest --passWithNoTests","postbuild":"tsc --project tsconfig.json","build":"babel . --ignore ./__tests__,./coverage --root-mode upward --out-dir dist --source-maps --extensions .js,.ts,.tsx --delete-dir-on-start --no-comments","build:publish":"npm run build && npm publish --access public"},"dependencies":{"axios":"^0.19.0","react":"^16.12.0","react-dom":"^16.12.0"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/preset-env":"^7.6.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.6.0","@babel/runtime-corejs3":"^7.6.0","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.4.0","@types/jest":"^24.0.23","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","babel-core":"^6.26.3","babel-jest":"^24.9.0","eslint":"^6.2.1","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.1.0","eslint-loader":"^2.2.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.3","jest":"^24.9.0","ts-jest":"^24.2.0","typescript":"^3.7.3"},"_id":"@a-react-kit/fetching@0.0.5","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-xUvDgnkTxVPWvhs3ZkXT0XSZmIbwd6sNcTjdnKOdGxYwIXXheeKd0WqI8xavyHrVOvRqMu5Jyu9AHEhVZFyctw==","shasum":"6157cd93895d7c9070de647f785637b9f74c7cec","tarball":"https://registry.npmjs.org/@a-react-kit/fetching/-/fetching-0.0.5.tgz","fileCount":33,"unpackedSize":35320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMKQUCRA9TVsSAnZWagAAy0IQAImQ3OLdF2Ydk7R6h0Z1\nBasDPtNYsjAGfL/r/YZhklkyi5p9nkJZeuL9tf2ZTlPvo8pM+8H1dG4LwCx9\nLZmIi30FbDSS5zuyFkDHQXrJzlVihUxdiIEtXX7DzVCSIv+Z3j3bnzkKlI+d\nyZQ1Eg+1zK5qEaf7Hx/aN5/5bDngRfce/w0dNW7sT+60IENSbdVwjgQxuwNJ\nkajRaV6PFwKrIfRRpaNSKdre7aNx89Hvbe9o8kruYNbuV2aBIWuYe2ML/uoY\n7iRnWxNW+yTQHdjwGKGs9zsFR9EFoVA5qEUZBYVMIbjf+I3f8saVLR3MKDYC\nKk1Wmv0Pe8YAJ0b+lrsa/ZMWCQ+nMmahhXj56XQEjHxcTO1ItCbAiC12Jktx\nhJT2yqf0M3+BqP7ySjvKzW3htCz3ohe/YlpwTno83P2idP+2soTBQVBzmpfI\n0B0Hly4/COhqo8AxN2z3UCWJxaoaWdV8yIaWXX+/8cCD7FRP6QCqkzjWHmfU\nsfazcMHqXZwSElJVaz8bXqpC5L6EIvyoxtqBERzFMMlJ++Rqu5O0diMfk2vi\nHeMlHYHKe0YsXA/mzRe8tu9v9yj2h3qUONc1I5A2o9r/q7qDCPyLjImvpYUL\n05gtdGOWG/IR6dey0Wd00CugdZuUqKyK1JHUX8AAgMzNhYTMdtD0XDMxHppc\n5hx7\r\n=+q1D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICVnOY6Dm1T7ELHOhOQIzN1AeXpaUs9pNym5rjW+AJ8cAiBLLuRxsWpyI8GAO0oUdwUA4MsSmEtumaAKxlbB4lThlQ=="}]},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"_npmUser":{"name":"caanvaga","email":"caanvaga@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetching_0.0.5_1580246035801_0.408935558669399"},"_hasShrinkwrap":false},"0.0.6":{"name":"@a-react-kit/fetching","version":"0.0.6","description":"BestDay Fetching library","main":"dist/index.js","types":"dist/index.d.ts","author":{"name":"Carlos Vargas"},"scripts":{"test":"jest --passWithNoTests","postbuild":"tsc --project tsconfig.json","build":"babel . --ignore ./__tests__,./coverage --root-mode upward --out-dir dist --source-maps --extensions .js,.ts,.tsx --delete-dir-on-start --no-comments","build:publish":"npm run build && npm publish --access public"},"dependencies":{"axios":"^0.19.0","react":"^16.12.0","react-dom":"^16.12.0"},"devDependencies":{"@babel/cli":"^7.6.0","@babel/core":"^7.6.0","@babel/preset-env":"^7.6.0","@babel/preset-react":"^7.0.0","@babel/preset-typescript":"^7.6.0","@babel/runtime-corejs3":"^7.6.0","@testing-library/jest-dom":"^4.2.4","@testing-library/react":"^9.4.0","@types/jest":"^24.0.23","@typescript-eslint/eslint-plugin":"^2.0.0","@typescript-eslint/parser":"^2.0.0","babel-core":"^6.26.3","babel-jest":"^24.9.0","eslint":"^6.2.1","eslint-config-airbnb":"^18.0.1","eslint-config-prettier":"^6.1.0","eslint-loader":"^2.2.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-prettier":"^3.1.0","eslint-plugin-react":"^7.14.3","jest":"^24.9.0","ts-jest":"^24.2.0","typescript":"^3.7.3"},"_id":"@a-react-kit/fetching@0.0.6","_nodeVersion":"12.14.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-G8/mH+OB4VrQp1R4tsHrh4WXhnmj9cb8PUe43B11a0wXzv0fpVb+HQLn24FYigPx7hW5LS14c/HUWf4KHfAWHw==","shasum":"a09f25e9e8916f6910d429790bb9db81fcd7c4d2","tarball":"https://registry.npmjs.org/@a-react-kit/fetching/-/fetching-0.0.6.tgz","fileCount":33,"unpackedSize":35484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMxjWCRA9TVsSAnZWagAAL+UP/3bFpJRfbMNLZg8fT/Lx\nAkRGJssoFlJ9ypROuLCUrv/+1i7K9EUDZyLYqrP3+XE0/sW1zw4gXbjD4Ff8\nd34M75pWfzqXiBLD1bS49RgmweOImI7yMRJe4S3EQb4ZbUy+T34cADsMlfjI\n1KR+SWKDOjlsPY1SDMuyE6w54wN6KlO9Oiu/Nk+73ASUG41E5VXjdyvSPBjP\nfM4cftiaydGN6Fw+fdMIA7TFiw6nDwYGemOyCrU7lyrAZgEOql61QwdUTmne\nwumdFpz9lN4JIpKIr4+la98BRUwS37KxPWe7naqJ9wiv5bzRHdHGte85SgJL\ncKoutaWn991eqO5ks102gez7uTJZzZDiRWgFJE0WEoe8mp95RzUl/63sFb9D\ncHOmwKWBFNGGU6T83A7jUDabd1qfH/FTFUz27IJtGHM0ippLi02lP6ALHtcn\n7Z13Oz6ffMmsrVSCkNYqn1XCy8jfTPLiNMadp4bY8oQObokbM1P3eDXs1mxH\n1js0EKSKKoDmWm3mQUSnm17oPCW10ozwzFdDN5l2UcrCjKJNLDLhPjTvNHLu\nAvWS0iJ2saFAwYDlFZr1z/uUN7le4+jfRV4sXoGFsM1XEoF/MdZNmk77e+mp\nYBcajjEhBxfPin8D0cvx1saFG7ZbgjxPrS6uuw9x6y3MWrhaQa5KVt/SA+NV\nRMN3\r\n=vwP6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICb19g87sXlZeCOgvR5yMyHOQolunMwWjd4a0WWGcCdCAiAQlSfYJkqyk52eqgV4x+0FOeY1Zx+yUFljyuFJPve8/Q=="}]},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"_npmUser":{"name":"caanvaga","email":"caanvaga@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetching_0.0.6_1580406997500_0.09351426612347735"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-06T17:48:37.146Z","0.0.1":"2020-01-06T17:48:37.491Z","modified":"2022-04-04T10:52:26.696Z","0.0.2":"2020-01-06T21:24:29.226Z","0.0.3":"2020-01-28T19:45:12.205Z","0.0.4":"2020-01-28T20:49:33.204Z","0.0.5":"2020-01-28T21:13:55.920Z","0.0.6":"2020-01-30T17:56:37.607Z"},"maintainers":[{"name":"caanvaga","email":"caanvaga@gmail.com"},{"name":"metabaronespinosa","email":"axnotliztac@gmail.com"}],"description":"BestDay Fetching library","author":{"name":"Carlos Vargas"},"readme":"Simple fetching library that use hooks to fetch data.\r\n\r\n## Short example of use\r\n```jsx\r\nimport { useFetch } from '@skeletor/fetching';\r\n\r\nconst action = {\r\n    endpoint: '/list',\r\n    method: 'GET'\r\n};\r\n\r\nexport const ListContainer = () => {\r\n    const [sendRequest, isPending, source, reset] = useFetch(action);\r\n\r\n    return <List isLoading={isPending} returned={source} fetch={()=> sendRequest()} clear={()=> reset()} />\r\n}\r\n```\r\n## queryFetch method\r\n\r\nqueryFetch method is used for fetch resources asynchronously across the network. This method can optionally accept a second parameter, an Action object that allows you to control a number of different settings.\r\n\r\n```js\r\n  import { queryFetch } from '@skeletor/fetching';\r\n\r\n  async const postData(url = '', data = {}){\r\n    \r\n    // The first parameter requires an url or direct Action object.\r\n    // The second parameter, it's optional and receive an Action object for have a specific configuration.\r\n    const response = await queryFetch(url, {\r\n      method: 'POST',\r\n    });\r\n\r\n    return response;\r\n  }\r\n\r\n  postData('https://domain.com/test', { role: 'tester' })\r\n    .then(() => {\r\n      console.log(data);\r\n    });\r\n\r\n```\r\n\r\n## useFetch Hook\r\n\r\nThis hook is used to fetch data, and provides the control (for send and reset).\r\n\r\n```js\r\n   const [sendRequest, isPending, source, reset] = useFetch(action, fieldValues)\r\n```\r\n* **action** [Action] parameter provides the action with the request configuration and more.\r\n* **fieldValues** [Array<any>] parameter shares the field values, use for fill the request payload.\r\n\r\n#### returned parameters\r\n* [sendRequest] (function, control) sends the request to the server.\r\n  - sendRequest is function that accepts as first parameter 'skipCache' (boolean), allows skip cache function for send the request direct to server. Example: sendRequest(false)\r\n* [isPending] (boolean, state) indicates whether the request is pending.\r\n* [source] (Response object, state) returns the Response object.\r\n* [reset] (function, control) restores the initial state.\r\n\r\n## Action object\r\n\r\nObject with the request configuration.\r\n\r\n```js\r\n\r\n{\r\n  // `endpoint` is the server URL that will be used for the request\r\n  endpoint: '/list',\r\n  // `method` is the request method to be used when making the request\r\n  method: 'POST',\r\n  // `body` is the data to be sent as the request body\r\n  // Only applicable for request methods 'PUT', 'POST', and 'PATCH'\r\n  body: { role : 'Tester' },\r\n  // `headers` are custom headers to be sent\r\n  headers: { 'X-Requested-With': 'XMLHttpRequest' };\r\n  // `config` is the internal configuration previos and after to send the request\r\n  config: {\r\n    // `skipCache` by default value is 'false', this meaning that will save in cache the last response for every once action.\r\n    // If is 'true' value will to send request to the endpoint every once without save the response in cache.\r\n    skipCache: false,\r\n    // `parameters` this map specifies the parameters that will be added to the body request. Using the same key of this map for the\r\n    // payload request, and the value of this map defined the key element from 'fieldValues' map will be used for getting the value.\r\n    // Only applicable when the body is not defined.\r\n    parameters: { name : 'fieldValue1' },\r\n    // `emitErrorForStatus` defines the response status numbers that will emit error.\r\n    emitErrorForStatus: [500, 404]\r\n  }\r\n  // `responseType` indicates the type of data that the server will response with\r\n  // options are: 'json' | 'text' | 'blob'\r\n  responseType: 'json'\r\n}\r\n\r\n```\r\n\r\n## Response object\r\n\r\n```js\r\n\r\n{\r\n  // `status` is the status HTTP response code\r\n  status: 200,\r\n  // `error` indicates whether the response was unexpected or has catched an error\r\n  error: false,\r\n  // `errorObject` is the error object catched in exeception handling \r\n  errorObject: null;\r\n  // `payload` is the response data from server\r\n  payload: {\r\n      list : [\r\n          { role : 'tester' }\r\n      ]\r\n  },\r\n  // `headers` are the response headers\r\n  headers: { 'Content-Type' : 'application/json; charset=utf8' }\r\n}\r\n","readmeFilename":"README.md"}