{"_id":"@adobe/cloud-service-client","_rev":"26-a5cafaf49f171d3845cd48ff47e21d63","name":"@adobe/cloud-service-client","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.1":{"name":"@adobe/cloud-service-client","version":"1.0.1","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@1.0.1","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"8ad0837e6e9976bf838ad8990243ea630c3db495","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-1.0.1.tgz","fileCount":51,"integrity":"sha512-bZW7Iq9Dntd/arK8JTTN8cJ14If2M0qWSe87peXXWqFOkgcudywjeq5U4D/ZtfsDMOFi9fIceMV157Gut+jyJg==","signatures":[{"sig":"MEUCIHtHVMDcsHZ0kcJ0Gfc4xPBB/mHDNUrmoVA/kwJ7JquRAiEAvye3Q9II/7TGRxwBc8kZHyMpgop1EtWPHuJQa3kHmJQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":470920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjd/6CACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVWw//ZYmRoZpSE+6mz2TvOSp/mMBTasAH3BlQOqdcHBEsVTyBsNOR\r\nHJFmdKchkHpf+bwwT16crORc2Xe6mDGREJJog/Fjfz1Cg4n59kxTEuZTRWA8\r\n6Mq4xfywb4rs1hFvlS47kAvgOCanpUKBwk0043YBpoZO3jAdRid/S97U/BCb\r\nC5qJ+XaKJWf+0xYO43kmEpz/jW3NUx8YXN+bpN3X9I6qrGHSebSAmEAQw8cL\r\nwQA66AcLyYe6VMQO0Jy2xOVPv49HYQkW5GWn5JsakFKZOvmbNBsjGGWj0kkS\r\ntcZ0AEPG8PtQBHGiQUKR/iwIv4+PESWIuzcske7QYZl4xu0KR4coMzUzfo5w\r\nUj46RYaYeRirLIdvIEjJWY2Gb+0vHHewe4FJhC/6U2ROASvcTRhf/9Y2N6r1\r\nJC6V7gZLVcBmvuDpa0eXlKz171IQb7eHKwvVdHJ0lE+j/BeBwMvjCx1vk/N0\r\nU/v20Tl1G+sQx5xnHCcPDNOlFVvUYSXcFjgRWawnZHE4aUpC1eQeJnNaah7w\r\n7E+uu/VfWNHHMZl81ns9TQszA++xNHlWffHZUaPWwwiJaCbBvh7FVf411KF3\r\nVKpcnYhh90wnLY+aADZ/nacwXkFIpb6CDG7kXi0cWtLdIzFH38qOc/h+hJB3\r\nANn18x5Mqgvd5hBDvNa66ljycxfSHi1aLJY=\r\n=ofSa\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":"./dist/exports.js","gitHead":"0807779d0f6e03af76570fa6e1571291df1143e9","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && ./node_modules/.bin/babel ./src --out-dir dist","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"8.19.3","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"16.17.1","dependencies":{"uuid":"^9.0.0","tough-cookie":"^4.1.2","semantic-release":"19.0.5","node-abort-controller":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","axios":"^0.27.2","mocha":"^10.0.0","sinon":"^11.1.1","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","prettier":"^2.7.1","@babel/cli":"^7.14.8","node-fetch":"^2.6.7","@babel/core":"^7.18.9","browserslist":"^4.21.2","cookie-parser":"^1.4.6","@babel/preset-env":"^7.9.0","eslint-plugin-jsdoc":"^39.4.0","regenerator-runtime":"0.13.5","@babel/preset-stage-2":"^7.8.3","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","conventional-changelog-eslint":"^3.0.9"},"optionalDependencies":{"semantic-release":"19.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_1.0.1_1668808321910_0.298733332194727","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@adobe/cloud-service-client","version":"1.0.2","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@1.0.2","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"8385e8f0e2488cc695c34c787314eb6f8eac5b24","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-1.0.2.tgz","fileCount":51,"integrity":"sha512-s+fMSn+sv/Sz872nPIlq4EMHYTxzzrEIJsMk/QIKzQ7dzgyYuB+L7k54tY7VqzujJTLMWqy8tTY901a7CU/oCA==","signatures":[{"sig":"MEQCIF1N4YwyL6h9gq40BsswsfV2j/XdI3NIzi0K03oCfLi9AiBAkgTU6/u1NI6OxC1rU/wc9KqxT1yvtpzFnsueOkafUA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":471104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjoksBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrsHw//duHH8dG7JeyS+mI2R1p1cCM6NHWt6UtZ+4mhOJi+jl6GqiGD\r\nEpKY50SiWfRul6ChaoaK4ksS3V5/73oAiGU9Dolfuj8oSCBs/K3HxFa5NuT0\r\nqYSVPvDlTM5GlZetN0QUm48zhhDNKpxzloK7AA/NJ75XzRBqcXvefQ1AMAiA\r\nAzFe+qnzeHBQJaKKbQkoI5fBMm4oJTSQL895ubvlUXiu5xMKVVeAvdnSRFk2\r\ns6nWJ8plXWfAscnkevbHskLQEQ33PbbGwE1HCuYNyzPmLvdriOHNPC/wMGn8\r\nnQUuvIIXsU3fOaG+lM34fo9PtYfZ9RW4QfXEYsNb/yDMnWMG3/UZxUHCJlJh\r\nlFt9/SHC2RjhRnuMVVv3SBA2sSLhpdIn2DVLIODPvun2gFtwvGnoicNwcWqw\r\nlybmi5xs/5PwGQ/8ZlziWjA61Lpy+6thxTMnfxBKHXPwqwy5KG2wFsjaCyeC\r\nRU3MT3wiIyxbPGKd3u4ntWwsSB39RlxcpVbmoM9D2JdFOutPdQlqOadv45kc\r\nAaSiJuexsRWNkm7+MBpRDfRE+shXWQVaKyFOCkE+R3n3RrIt0kifMOEXIoiw\r\nie0Tm1AE9PPKn12nkX9+oyd4tklTWNEIRZMC27v+xvs6A4ViGq/IRve+ZU2t\r\nAfMM0V2V07ZOz+fMTZRH3/jP5QXttnR0JFA=\r\n=5ZQJ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":"./dist/exports.js","gitHead":"11e098d312d8fde90c81fd091034b4adea5f2198","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && ./node_modules/.bin/babel ./src --out-dir dist","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"8.19.3","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"16.17.1","dependencies":{"uuid":"^9.0.0","tough-cookie":"^4.1.2","semantic-release":"19.0.5","node-abort-controller":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","axios":"^0.27.2","mocha":"^10.0.0","sinon":"^11.1.1","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","prettier":"^2.7.1","@babel/cli":"^7.14.8","node-fetch":"^2.6.7","@babel/core":"^7.18.9","browserslist":"^4.21.2","cookie-parser":"^1.4.6","@babel/preset-env":"^7.9.0","eslint-plugin-jsdoc":"^39.4.0","regenerator-runtime":"0.13.5","@babel/preset-stage-2":"^7.8.3","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","conventional-changelog-eslint":"^3.0.9"},"optionalDependencies":{"semantic-release":"19.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_1.0.2_1671580416746_0.9421604525245382","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@adobe/cloud-service-client","version":"1.0.3","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@1.0.3","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"c2a35022ccc3f223dfe3569743980aa5c43fbb60","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-1.0.3.tgz","fileCount":51,"integrity":"sha512-pWZ+AbbskKyaWjN08fJooGaalw3Oho41eHf33pu53TAOLg5XjlRDeWvJQQ32pha8T3O1Z7fUKZDeSenSEILRUA==","signatures":[{"sig":"MEUCIQD3sHxixRt/0ceWp8o/uAnOGBh1/JBv8JsN/z47MNFNrwIgDoxTVQPI3kYV4Ip8/dmJRcEIXiEsTptGNZSozd6BbkY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":471153,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjomeRACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrozA//eDO0sWCurbeupaEIzIvxqZ4AfNo9XAWmf+edbKitTRvG6FYG\r\ng53Gpv5kaenCUffF7JcjaRj1YUYacq8kWThT7GfOvF3alvGuUS8o/fWbdMqT\r\nFWjnsT0IfU8X+v9I/OQ/iI48NN1awtzHnxOc6fxKeKyDiPbc3WsANfLSJq1g\r\n8zsPeoN0X4nQP6/4VnUqgsZj46vRn8H5yFYJ2BX9243LPetgv0hLzjKogPYV\r\nq+RDwb9yg7SH1c44i+ajdn+82yHMyoIziKrC+ex1e0VtD1w3FGh0UUxrnscy\r\nJQ6NOCo3V2qHwhkWpCmy7cGy1PUGXVheo/YQRlxnkCjoUpw4ec4AD5d1giGq\r\nJB10AOF/3OEJRW8Cq5f2BgJlbRFZRkxY4DO0hI8IcJaCMyS5isp9N90nGMJq\r\nbdhhFj6qLrISKY6UW8BRVEdgHnoJieIkUo8KQgmEbgQAbDcR9NZx5ZsVP5Qc\r\n5ZifNzi/nMcyaN95CHyk89BFoneHWg6hagGZ5dYqutlilxe0LXQbrzczMDV9\r\n4kRqD7y0r86HM5E5RyUKv8Eme206sWYXP2s058TqnRgiWIg8OhMcuQ2D9iSK\r\n+iUGoRxdtC/+6X5tLjHFYcHLbadgCTMyvnGkGIHhzCWgXDmSTScib+BnjRPO\r\nI+vAzlXIbSkmQDqskD9DNvQU+LBVXl1XKGs=\r\n=8aFN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":"./dist/exports.js","gitHead":"33fb6cfa2210712550203641d0d51a5e97147421","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && ./node_modules/.bin/babel ./src --out-dir dist","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"8.19.3","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"16.17.1","dependencies":{"uuid":"^9.0.0","tough-cookie":"^4.1.2","semantic-release":"19.0.5","node-abort-controller":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","axios":"^0.27.2","mocha":"^10.0.0","sinon":"^11.1.1","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","prettier":"^2.7.1","@babel/cli":"^7.14.8","node-fetch":"^2.6.7","@babel/core":"^7.18.9","browserslist":"^4.21.2","cookie-parser":"^1.4.6","@babel/preset-env":"^7.9.0","eslint-plugin-jsdoc":"^39.4.0","regenerator-runtime":"0.13.5","@babel/preset-stage-2":"^7.8.3","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","conventional-changelog-eslint":"^3.0.9"},"optionalDependencies":{"semantic-release":"19.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_1.0.3_1671587729529_0.564894299827551","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@adobe/cloud-service-client","version":"1.1.0","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@1.1.0","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"6f856552224c40bde2309f5a35e8764ee5e85417","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-1.1.0.tgz","fileCount":51,"integrity":"sha512-n3crnWI56p8w+/yJzbkXTRNdqhnvoGsycXpYfPKzpIpsALVv7dqx+UoB6pjjogqTHtJTzgvd6bNSFGbwTtPUvQ==","signatures":[{"sig":"MEYCIQCKW2ezYz+hYPMSMLZkluHc+qBaIW5zOg958gmRulIecgIhAIgzs10I8XyjGSXpN9O71EPBzBUFimtByU5aOefQZ9Zc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":478822,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjwKF4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmroJg/+M79OGuCXXurwu3J1NhTGmwcNzKf0vWMidKjwWwpDlIok1/WQ\r\nfHcftit4+J+rEm4pzybgZ4XsIm3OpOKCZPorfBzpvO4pQjOsJyWVDXUFj0RL\r\nfqnuXaAI4joF+VfqbJ4LNXljsOwJhoUlk138J+LolBPcFanlW1NAm1T2E+Ty\r\nF8aQ8shKZGqpeXC5hPzNjzf62Ia9nt6V3wbXTs4qlRNVKX6BqDkqDTWQusJy\r\nYXGp3K5i5ajTvSa/etfv/LElHp67+EaiItiIrHJR7Hv1atqKS/7o/4tmbCRf\r\nRM0jTXeCiVN/5v83ZDiRUa/Y5mifW0cv8K2yOs61ErAGK5MylnkpJC7kNRi6\r\nMDa/1b1Dy/TzoscXJGNdgEMGa99Ab8iVkhhOc/e+EV1ywr3v1/CvP+ImaF3n\r\nuN5PqFXVStguOVtE7puahMwx7zjiqWuP6qjLi7POogPIhL56Dq27qKeWFIra\r\n2mMGKIAhBfTdWbtJVwrDMSKj/CeSxzUOHhwk5uUsGDywa0Dqt422tPsPhbBa\r\nk8OcCgj4kw7cPm/+eAWw+lktSzVVelf9crpXsWyLl3mkVQlJ0dfqGC5VV8CN\r\net6y8JB3XTzeVX56RJ0FBTdtVFnL9Aq1vcRo8dHMfFczsyRhfrzT5gChG4zw\r\niQq5rf17ih5WoelQHk6XTkVlwC2Kuy9NAZw=\r\n=FkQl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","browser":"./dist/exports.js","gitHead":"c6a65a35fd9b83a70f9783a26743fce3c467d348","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && ./node_modules/.bin/babel ./src --out-dir dist","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"8.19.3","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"16.17.1","dependencies":{"uuid":"^9.0.0","tough-cookie":"^4.1.2","semantic-release":"19.0.5","node-abort-controller":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","axios":"^0.27.2","mocha":"^10.0.0","sinon":"^11.1.1","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","prettier":"^2.7.1","@babel/cli":"^7.14.8","node-fetch":"^2.6.7","@babel/core":"^7.18.9","browserslist":"^4.21.2","cookie-parser":"^1.4.6","@babel/preset-env":"^7.9.0","eslint-plugin-jsdoc":"^39.4.0","regenerator-runtime":"0.13.5","@babel/preset-stage-2":"^7.8.3","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","conventional-changelog-eslint":"^3.0.9"},"optionalDependencies":{"semantic-release":"19.0.5"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_1.1.0_1673568632646_0.5515289423926675","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@adobe/cloud-service-client","version":"1.2.0","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@1.2.0","maintainers":[{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"3136be433cfd7c08d546eee2c923cb25617d8908","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-1.2.0.tgz","fileCount":52,"integrity":"sha512-Jz/ctQw2ZBHAwrf0FABgu5AUi9OY2jdB9OM4JkszS2ezv8+kvedlTW8YTg5hEKgLMWEIoRkLU6WZ5kt/DkPKPQ==","signatures":[{"sig":"MEQCIEr/cQwwy7Mtkv54QfqpUXG88OpRjInI6+lwWdHYi7luAiAhQTKyXKIbWF+aJQhYT9ohg3bx/bhNhvhF4+fuLTB+PQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":482848},"main":"index.js","browser":"./dist/exports.js","gitHead":"c404e654410892df2c43b9aec06b49b13a8b08ff","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && ./node_modules/.bin/babel ./src --out-dir dist","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"9.8.1","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"18.16.1","dependencies":{"uuid":"^9.0.0","tough-cookie":"^4.1.2","node-abort-controller":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","axios":"^0.27.2","mocha":"^10.0.0","sinon":"^11.1.1","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","prettier":"^2.7.1","@babel/cli":"^7.14.8","node-fetch":"^2.6.7","@babel/core":"^7.18.9","browserslist":"^4.21.2","cookie-parser":"^1.4.6","@babel/preset-env":"^7.9.0","eslint-plugin-jsdoc":"^39.4.0","regenerator-runtime":"0.13.5","@babel/preset-stage-2":"^7.8.3","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","@semantic-release/changelog":"^6.0.3","conventional-changelog-eslint":"^3.0.9"},"optionalDependencies":{"semantic-release":"21.0.2"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_1.2.0_1691521400816_0.09490515222435625","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@adobe/cloud-service-client","version":"2.0.0","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@2.0.0","maintainers":[{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"korra","email":"npmjs.karo@cupdev.net"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"ea4b2e4dc04ddd46c2e28d78bca510fda19ca79d","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-2.0.0.tgz","fileCount":33,"integrity":"sha512-ty51T8bN+8pKinYs+hDWsWNts1n6xU1G2eUazfJK9QQtktAcPRaCUIoKqO2FtKZ+PyGYY26SuOOjMMd7MX9pWQ==","signatures":[{"sig":"MEUCIGOzKOa3intfSTeo5B+dkxS1I+IFGLPu/Q6jecU8xUFlAiEAufnf/AOVj0WrJ4IguinJF4/S3YD6BKVn1N1J/cPmZuw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":359247},"main":"index.js","browser":"./dist/main.js","engines":{"npm":">=9.6.3 <10.8.0","node":">=18.20.3 <23.0.0"},"gitHead":"a8888d0af118d5c943f08269b29095924f572c52","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && npm run webpack","webpack":"webpack --config webpack.config.js","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"10.8.0","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"22.2.0","dependencies":{"uuid":"^9.0.0","tough-cookie":"^4.1.2","node-abort-controller":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","util":"^0.12.5","axios":"^1.7.2","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","webpack":"^5.91.0","prettier":"^2.7.1","@babel/core":"^7.24.6","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","browserslist":"^4.21.2","cookie-parser":"^1.4.6","minipass-fetch":"^3.0.5","semantic-release":"^23.1.1","@babel/preset-env":"^7.24.6","eslint-plugin-jsdoc":"^48.2.6","regenerator-runtime":"0.13.5","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","conventional-changelog-eslint":"^3.0.9"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_2.0.0_1716996449146_0.3817141142863043","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@adobe/cloud-service-client","version":"2.0.1","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"author":{"name":"Adobe"},"license":"Apache-2.0","_id":"@adobe/cloud-service-client@2.0.1","maintainers":[{"name":"marbec","email":"mabecker@adobe.com"},{"name":"tripod","email":"tripod@bocanegra.ch"},{"name":"garthdb","email":"garthdb@gmail.com"},{"name":"lazd","email":"lazdnet@gmail.com"},{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},{"name":"patrickfulton","email":"patrickfulton@gmail.com"},{"name":"trieloff","email":"lars@trieloff.net"},{"name":"shazron","email":"shazron@gmail.com"},{"name":"krisnye","email":"krisnye@gmail.com"},{"name":"dcpfsdk","email":"dcpfsdk@adobe.com"},{"name":"natebaldwin","email":"natebaldwindesign@gmail.com"},{"name":"devongovett","email":"devongovett@gmail.com"},{"name":"aspro83","email":"danniintheus@gmail.com"},{"name":"symanovi","email":"symanovi@adobe.com"},{"name":"dpfister","email":"dominique.pfister@gmail.com"},{"name":"stefan-guggisberg","email":"sg@adobe.com"},{"name":"rofe","email":"npm@rofe.com"},{"name":"kptdobe","email":"kptdobe@gmail.com"},{"name":"adobehalls","email":"halls@adobe.com"},{"name":"fullcolorcoder","email":"bradjohn@adobe.com"},{"name":"djaeggi","email":"djaeggi@adobe.com"},{"name":"dylandepass","email":"dylandepass@gmail.com"},{"name":"mhaack","email":"mhaack@adobe.com"},{"name":"amol-anand","email":"amol@adobe.com"},{"name":"stopp-adobe","email":"stopp@adobe.com"},{"name":"doten","email":"doten@adobe.com"},{"name":"duh_schmidt","email":"schmidt@adobe.com"},{"name":"asthabh23","email":"astha.bhargava23@gmail.com"},{"name":"zdahbi","email":"zouhir.dahbi@outlook.com"},{"name":"tuicu","email":"tuicu@adobe.com"},{"name":"fmeschbe","email":"fmeschbe@adobe.com"}],"contributors":[{"name":"Mark Frisbey"}],"homepage":"https://github.com/adobe/cloud-service-client#readme","bugs":{"url":"https://github.com/adobe/cloud-service-client"},"dist":{"shasum":"7b50dad5dde954a59025110b70168f3f5afe5d76","tarball":"https://registry.npmjs.org/@adobe/cloud-service-client/-/cloud-service-client-2.0.1.tgz","fileCount":33,"integrity":"sha512-/L2zWcPxrlpc0MXvmVqoi3AnDUjqWIlUfODjy/wRQif4j/oQvid7brW+cWZRGzMWYTwRsgP4Uj11eXQRqQ8AoA==","signatures":[{"sig":"MEMCIFn8cWBamg+irMPuuE8zZJvAnkDMFoWPDXQSZCFsUFCqAh9qGhUsabMhHsdgOGiyqa+btpK6nGLVbqTEq/asr+BP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":362475},"main":"index.js","browser":"./dist/main.js","engines":{"node":">=18.20.3"},"gitHead":"6e691c5af327c0629f82eb89a7b86107712ccdc9","scripts":{"e2e":"mocha --recursive ./e2e","lint":"eslint ./src ./e2e ./test","test":"npm run lint && npm run coverage","build":"rimraf dist && npm run webpack","webpack":"webpack --config webpack.config.js","coverage":"nyc npm run testOnly","testOnly":"mocha --recursive ./test","prepublishOnly":"npm test && npm run build","semantic-release":"semantic-release"},"_npmUser":{"name":"adobe-admin","email":"grp-opensourceoffice@adobe.com"},"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"_npmVersion":"10.8.0","description":"Client for working with an HTTP-based cloud service","directories":{},"_nodeVersion":"22.2.0","dependencies":{"uuid":"^11.1.1","tough-cookie":"^4.1.2","node-abort-controller":"^3.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","nock":"^13.1.0","util":"^0.12.5","axios":"^1.7.2","mocha":"^10.0.0","sinon":"^18.0.0","eslint":"^8.20.0","rimraf":"^3.0.2","core-js":"^3.26.0","express":"^4.18.1","webpack":"^5.91.0","prettier":"^2.7.1","@babel/core":"^7.24.6","webpack-cli":"^5.1.4","babel-loader":"^9.1.3","browserslist":"^4.21.2","cookie-parser":"^1.4.6","minipass-fetch":"^3.0.5","semantic-release":"^23.1.1","@babel/preset-env":"^7.24.6","eslint-plugin-jsdoc":"^48.2.6","regenerator-runtime":"0.13.5","@semantic-release/git":"^10.0.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.2.1","conventional-changelog-eslint":"^3.0.9"},"_npmOperationalInternal":{"tmp":"tmp/cloud-service-client_2.0.1_1781108648045_0.02479519150004994","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2022-11-18T21:52:01.909Z","modified":"2026-07-08T08:10:39.703Z","1.0.1":"2022-11-18T21:52:02.161Z","1.0.2":"2022-12-20T23:53:36.964Z","1.0.3":"2022-12-21T01:55:29.692Z","1.1.0":"2023-01-13T00:10:32.837Z","1.2.0":"2023-08-08T19:03:20.991Z","2.0.0":"2024-05-29T15:27:29.307Z","2.0.1":"2026-06-10T16:24:08.191Z"},"bugs":{"url":"https://github.com/adobe/cloud-service-client"},"author":{"name":"Adobe"},"license":"Apache-2.0","homepage":"https://github.com/adobe/cloud-service-client#readme","keywords":["retry","axios","fetch","eventual","consistency","timeout","poll","http","cloud","cookie","cookies"],"repository":{"url":"git+https://github.com/adobe/cloud-service-client.git","type":"git"},"description":"Client for working with an HTTP-based cloud service","contributors":[{"name":"Mark Frisbey"}],"maintainers":[{"email":"mabecker@adobe.com","name":"marbec"},{"email":"tripod@bocanegra.ch","name":"tripod"},{"email":"garthdb@gmail.com","name":"garthdb"},{"email":"lazdnet@gmail.com","name":"lazd"},{"email":"grp-opensourceoffice@adobe.com","name":"adobe-admin"},{"email":"patrickfulton@gmail.com","name":"patrickfulton"},{"email":"lars@trieloff.net","name":"trieloff"},{"email":"krisnye@gmail.com","name":"krisnye"},{"email":"dcpfsdk@adobe.com","name":"dcpfsdk"},{"email":"natebaldwindesign@gmail.com","name":"natebaldwin"},{"email":"devongovett@gmail.com","name":"devongovett"},{"email":"danniintheus@gmail.com","name":"aspro83"},{"email":"symanovi@adobe.com","name":"symanovi"},{"email":"dominique.pfister@gmail.com","name":"dpfister"},{"email":"sg@adobe.com","name":"stefan-guggisberg"},{"email":"npm@rofe.com","name":"rofe"},{"email":"kptdobe@gmail.com","name":"kptdobe"},{"email":"halls@adobe.com","name":"adobehalls"},{"email":"bradjohn@adobe.com","name":"fullcolorcoder"},{"email":"djaeggi@adobe.com","name":"djaeggi"},{"email":"dylandepass@gmail.com","name":"dylandepass"},{"email":"mhaack@adobe.com","name":"mhaack"},{"email":"amol@adobe.com","name":"amol-anand"},{"email":"stopp@adobe.com","name":"stopp-adobe"},{"email":"namarora@adobe.com","name":"namarora"},{"email":"doten@adobe.com","name":"doten"},{"email":"schmidt@adobe.com","name":"duh_schmidt"},{"email":"astha.bhargava23@gmail.com","name":"asthabh23"},{"email":"zouhir.dahbi@outlook.com","name":"zdahbi"},{"email":"tuicu@adobe.com","name":"tuicu"},{"email":"fmeschbe@adobe.com","name":"fmeschbe"}],"readme":"# Node.JS Cloud Service Client\n\n[![build status](https://github.com/adobe/cloud-service-client/actions/workflows/node.js.yml/badge.svg)](https://github.com/adobe/cloud-service-client/actions/workflows/node.js.yml)\n[![Node version](https://img.shields.io/npm/v/@adobe/cloud-service-client)](https://www.npmjs.com/package/@adobe/cloud-service-client/)\n\nThis client can be used to submit HTTP requests in javascript. You may ask, \"why use this client instead of one of the more popular libraries?\" \nFirst off, it's not a rewrite of HTTP functionality for Node.JS; it's still intended for use with popular modules (like `fetch` or `axios`) for the actual HTTP handling. Think of the client more like added functionality built on top of the basic HTTP capabilities that these modules provide; these features are commonly required when communicating with a complex cloud service.\nHere is some of this functionality:\n\n* Provides configurable request retry functionality. For example, if an HTTP request fails with a 5xx level error or a network-related error, the client will automatically retry the request up to a given number of times. Each retry will\nwait exponentially longer between each attempt.\n* Provides configurable \"polling\" functionality. Even on successful requests, the client can be configured to continually poll a URL until it responds in a desired way.\n* The client is interchangable with `axios` or `fetch`. Currently using `fetch` and need to take advantage of the client's retry functionality? Simply replace your `fetch` calls with the client; everything else (such as response format, options, etc.) will fit into place seamlessly.\n* Can be configured to handle Set-Cookie header when provided by servers. The client will store these cookies in its own jar and use them in\nsubsequent requests.\n\n## Contents\n\n- [Node.JS Cloud Service Client](#nodejs-cloud-service-client)\n  - [Contents](#contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [Axios Usage](#axios-usage)\n    - [Fetch Usage](#fetch-usage)\n    - [Additional Exports](#additional-exports)\n  - [Options](#options)\n    - [Client Options](#client-options)\n    - [Request Options](#request-options)\n  - [Response](#response)\n  - [Request Retry](#request-retry)\n    - [Retry-After Header](#retry-after-header)\n    - [Example Retry Strategies](#example-retry-strategies)\n    - [Built-in Retry Strategies](#built-in-retry-strategies)\n  - [Cookies](#cookies)\n  - [Logging](#logging)\n    - [Set a Log Level](#set-a-log-level)\n    - [Provide a Custom Logger](#provide-a-custom-logger)\n  - [Examples](#examples)\n- [Releasing](#releasing)\n- [Contributing](#contributing)\n- [Licensing](#licensing)\n\n## Installation\n\nThe module can be installed from npm:\n\n```\nnpm install @adobe/cloud-service-client\n```\n\n## Usage\n\nFollowing are some example of how to use the client.\n\n### Axios Usage\n\n```\nconst originalAxios = require('axios');\nconst { axiosClient } = require('@adobe/cloud-service-client');\n\n// add client functionality to axios\nconst axios = axiosClient(originalAxios);\n\n// submit a request that will behave like axios:\nconst response = await axios('http://myrequesturl.com');\n\n// the response will follow axios' response schema:\nconst {\n  data,\n  status,\n  statusText,\n  headers\n} = response;\n\n// axios' other methods work as well:\nconst response = await axios.get('http://myrequesturl.com);\n\n// pass in any of axios' options:\nconst response = await axios({\n  url: 'http://myrequesturl.com',\n  method: 'get',\n  responseType: 'stream'\n});\n```\n\n### Fetch Usage\n\n```\nconst nodeFetch = require('node-fetch');\nconst { fetchClient } = require('@adobe/cloud-service-client');\n\n// add client functionality to node-fetch\nconst fetch = fetchClient(nodeFetch);\n\n// submit the request as fetch would\nconst response = await fetch('http://myrequesturl.com');\n\n// the response will follow fetch's schema:\nconst {\n  status,\n  statusText,\n  headers\n} = response;\nconst header1 = headers.get('my-header);\nconst data = await response.json();\n\nif (response.ok) {\n  // process successful response\n}\n\n// pass in any of fetch's options:\nconst response = await fetch('http://myrequesturl.com', {\n  method: 'get',\n  mode: 'cors',\n  redirect: 'follow'\n});\n```\n\n### Additional Exports\n\nIn addition to providing exports identical to whichever HTTP library is being used, the client provides the following functionality:\n\n* {function} `clearCookies`: When invoked, clears any cookies that the client may currently be storing. The method returns a `Promise` that\nwill resolve when the client's cookies have been cleared.\n  * Example: `const { clearCookies } = require('@adobe/cloud-service-client');`\n* {function} `setGlobalOptions`: Takes a single argument that should be any client-specific request options to apply to _all_ requests that the client sends. Note that this only applies to the client's request options as described in [Request Options](#request-options); options should be provided to the function as they would to the `cloudClient` property. The underlying\nHTTP library of choice (i.e. `axios` or `fetch`) should be used to apply other global request-level options.\n  * Example: `const { setGlobalOptions } = require('@adobe/cloud-service-client');`\n  * Usage: `setGlobalOptions({ eventuallyConsistentCreate: true });`\n\n## Options\n\n### Client Options\n\nExports like `axiosClient()` and `fetchClient()` accept an optional second argument, which should be a simple object containing any of the following configurations:\n\n* {boolean} `handleCookies`: If `true`, the client will use its cookie processing capabilities to provide the cookie handling functionality described in the \"Cookies\" section. Default: `false`.\n* {Object} `log`: See [Logging](#logging) section for more details.\n\nFor example:\n\n```\nconst axios = axiosClient(originalAxios, {\n  handleCookies: true,\n});\n```\n\n### Request Options\n\nIn addition to any options supported by `axios` or `fetch`, the client has some request options of its own. These options should all be provided in an `cloudClient` property on the request's configuration. For example:\n\n```\nfetch(url, {\n  method: 'POST',\n  mode: 'cors',\n  cloudClient: {\n    timeout: 10000,\n    eventuallyConsistentCreate: true\n  }\n});\n```\n\n* {number} `timeout`: The amount of time, in milliseconds, that the client will wait for a request before aborting. By default, an aborted request qualifies for a retry, so timed out requests will fit in with the client's retry functionality.\n* {object} `retry`: Various information about how the client will retry requests under certain circumstances.\n  * {Array} `strategies`: The retry \"strategies\" that the client will send a response through before determining whether the corresponding request needs to be retried. See the \"retry\" section for more information and examples. Note that these strategies will be _in addition_ to the client's default strategies, which will retry on unexpected network-related errors or 5xx level status codes. Each item in the array should be a strategy object consisting of the following properties:\n    * {function} `shouldRetry`: Should return a `Promise` that resolves to true if the information provided by the client warrants a retry. The function will be passed a single argument: an object consisting of the following properties:\n      * {number} attempts: The number of times the current request has been sent.\n      * {number} maxAttempts: The _default_ maximum number of attempts as provided in the client's options.\n      * {number} delay: The _default_ time, in milliseconds, that the client should delay between retries.\n      * {number} delayMultiple: The _default_ multiple as provided in the client's options.\n      * {*} response: Response that was the result of the request. This will be the raw response from the underlying HTTP library.\n      * {string} url: URL to which the client sent the HTTP request that generated the response.\n      * {object} options: Simple object containing the raw options that were given to the underlying HTTP library.\n    * {function} `getDelay`: Should return a `Promise` that resolves with the amount of time, in milliseconds, that the client should wait before retrying the request. This value will be used in conjunction with the delay multiple to exponentially delay subsequent retries. The function will be called with a single argument: an object matching the one described in the `shouldRetry` function. If not specified, the value will default to the delay provided in the client's retry options.\n    * {function} `getDelayMultiple`: Should return a `Promise` that resolves to the multiple to use when calculating the amount of time to delay before retrying the request. The function will be called with a single argument: an object matching the object described in the `shouldRetry` function. If not specified the value will default to the multiple provided in the client's retry options.\n    * {function} `getMaxRetries`: Should return a `Promise` that resolves to the maximum number of times that a given request should be made. The function will be called with a single argument: an object matching the object described in the `shouldRetry` function. If not specified, the value will default to the number provided in the client's retry options. Note that `-1` indicates the client should continue to retry indefinitely; _use this option with extreme care_.\n    * {function} `getRequestOptions`: Should return a `Promise` that resolves with the raw options to provide to the underlying HTTP client on the next retry request. These options will be merged with the options that originally generated the response. The function will be called with a single argument: an object matching the one described in the `shouldRetry` function. If not specified, the client will use the originally provided request options.\n  * {number} `count`: The maximum number of times the client will retry a given request. Note that this is a _default_ value and will not necessarily be respected by all retry strategies. Default: 3.\n  * {number} `delay`: The amount of time, in milliseconds, the client will wait before retrying a request when needed. Default: 1000.\n  * {number} `delayMultiple`: Each time the client delays a retry, it will multiply the `delay` amount by this value. Assume `delay` is 1000, `retry` is 4, and `delayMultiple` is 2. The first time the client retries a request it will wait 1000ms, the second time it will wait 2000ms, the third time it will wait 4000ms, etc. Note that\n  this is a _default_ value and will not necessarily be respected by all retry strategies. Default: 2.\n* {boolean} `eventuallyConsistentCreate`: When `true`, the client will use a built-in retry strategy for handling creation in an eventually consistent system. See the \"Retry\" section for more details. Default: `false`.\n* {boolean} `eventuallyConsistentUpdate`: When `true`, the client will use a built-in retry strategy for handling updates in an eventually consistent system. See the \"Retry\" section for more details. Default: `false`.\n* {boolean} `eventuallyConsistentDelete`: When `true`, the client will use a built-in retry strategy for handling deletions in an eventually consistent system. See the \"Retry\" section for more details. Default: `false`.\n\n## Response\n\nThe client will extend the HTTP response provided by the underlying HTTP library with an `cloudClient` property. Additional information available on this property is as follows:\n\n* {number} `status`: Status code of the response. Note that this value may be missing if the request did not generate a response (such as timeout errors or general network-related errors).\n* {number} `statusText`: Status text of the response. Note that this value may be missing if the request did not generate a response (such as timeout errors or general network-related errors).\n* {number} `requestTime`: The amount of time, in milliseconds, that the underlying HTTP library took submitting the request and receiving a response. Note that this will apply to _last_ request that was sent. The value may be missing if the request's time\ncould not be determined.\n* {object} `headers`: Simple object whose keys are header names and values are header values. These are the HTTP headers that were provided in the response.\n* {object} `options`: The options that were provided to the client when initiating the request. The object will have an `cloudClient` property (regardless of whether one was initially provided) with the following additional properties added to it:\n  * {Array&lt;object&gt;} `retryResponses`: If the request was retried, a list of each response, in order, that resulted in a retry. Each item in the list will include all the items included in this section for the response that was retried.\n  * {number} `retries`: The number of retries that were made for before providing a response.\n  * {number} `retryWait`: The amount of time, in milliseconds, that the client spent waiting between retries before providing a response.\n  * {number} `startTime`: Unix timestamp of the time when the request was initiated.\n  * {number} `endTime`: Unix timestamp of the time when the client recieved a response.\n* {object} `error`: Simple object containing information about the error that the underlying HTTP library may have provided. This property will only be present if there was an error, and its contents may vary depending on the error that was thrown. If the\nerror is a known javascript error type, it contain the following properties:\n  * {string} `name`: The name of the error.\n  * {string} `message`: Message that was associated with the error.\n\n## Request Retry\n\nThe client has built-in support for retrying a given request under certain circumstances. These circumstances are determined by \"request retry strategies.\" In concept, the client has a list of strategies; each strategy is responsible for examining the response to a request and indicating whether the request qualifies for a retry. Whenever the\nclient makes a request, it will pass the response through its list of strategies. The first strategy that indicates the request should be retried will force the client to retry the request. The client will use this algorithm regardless of whether the response can be considered a \"success\" or a \"failure.\"\n\nBy default the client will retry a request up to a maximum number of times, exponentially delaying the amount of time between each retry. However, this behavior can be overridden by individual strategies.\n\n### Retry-After Header\n\nIf a server responds with a `Retry-After` header, the client will use that value above all other retry options. For example, assume the client has been configured to delay\n1 second between retries, with a delay multiple of 2; when a server responds with a `Retry-After` value of 5 on the second retry, the client will ignore the delay and\ndelay multiple and wait 5 seconds.\n\nThis can still be overridden through the `shouldRetry` method, which will receive the server's `Retry-After` value as the default delay.\n\nOn subsequent retries, the client will fall back to its default behavior if the server does not provide additional `Retry-After` headers.\n\n### Example Retry Strategies\n\nThe following client will retry a request up to 5 times if the response code is `404`:\n\n```\naxios({\n  url: 'http://myurltorequest',\n  cloudClient: {\n    retry: {\n      count: 4,\n      strategies: [{\n        shouldRetry: async ({ response }) => response.status === 404\n      }]\n    }\n  }\n});\n```\n\nThis client will poll a URL for as long as the response code is `202`, waiting the _same_ amount of time between each request:\n\n```\naxios({\n  url: 'http://myurltorequest',\n  cloudClient: {\n    retry: {\n      strategies: [{\n        shouldRetry: async ({ response }) => response.status === 202,\n        getDelayMultiple: async () => 1,\n        getMaxRetries: async () => -1,\n      }]\n    }\n  }\n});\n```\n\n(Be very careful with a setup like this, because the client will poll indefinitely)\n\n### Built-in Retry Strategies\n\nBy default the client will always retry requests that fail because of network-related issues, or that have a 5xx level response code.\n\nIn addition, the client provides the following optional strategies. Note that \"Eventually Consistent\" refers to the concept where there may be a delay between when a remote system is modified, and when the said modification is reflected in the system.\n\n* Eventually Consistent Create\n  * Uses the default retry, delay, and multiple to retry a request if the response code is 404.\n* Eventually Consistent Update\n  * Uses the default retry, delay, and multiple to retry a request if the response code is 200 but the response `etag` header doesn't match the `if-match` header provided in the request.\n* Eventually Consistent Delete\n  * Uses the default retry, delay, and multiple to retry a request if the response code is _not_ 404.\n\nSee the retry options for how to utilize these strategies.\n\n## Cookies\n\nIf configured to do so, the client has some basic cookie handling in place. For example, if a response handled by the client has a `Set-Cookie` header, the client will cache those cookies and include them in any subsequent requests that it sends. Note that the cookies are scoped to the lifetime of the client instance - they're not\npersisted and will be lost when the client goes out of scope.\n\nThe client will favor cookies passed in a request's options over any cookies it has stored. For example, assume that the client is storing cookie `mycookie` with a value of `set-cookie-value` because it received it in a `Set-Cookie` header. Also assume that a consumer of the\nclient passes the same cookie in the `Cookie` header with a value of `options-cookie-value` when initiating a request. In this case the client will use `options-cookie-value` as the value of `mycookie`, because it was passed into the request options.\n\nCookies specified with `Set-Cookie` will follow the HTTP specification for the header, and will honor attributes such as `Path`, `Domain`, `Max-Age`, `Expires`, `Secure`, etc. The main deviance is that the life of the cookie will _always_ be, at maximum, the client's scope.\n\nThis functionality will only be enabled when the `handleCookies` options is `true`.\n\n## Logging\n\nThe client will log messages at different levels throughout the request process. By default none of these messages will appear anywhere; change that behavior by using one of the following methods.\n\n### Set a Log Level\n\nSet an environment variable named `NODE_HTTP_CLIENT_LOG_LEVEL` to the level of logging that is desired. Valid values are `DEBUG`, `INFO`, `WARN`, or `ERROR`.\n\nWhen utilizing this logging mechanism, all messages are written to `console.log()`. Use the custom logger method to change that behavior.\n\n### Provide a Custom Logger\n\nUse the `log` option to provide any logger of your choosing:\n\n```\nconst axiosOriginal = require('axios');\nconst { axiosClient } = require('@adobe/cloud-service-client');\n\nconst axios = axiosClient(axiosOriginal, {\n  log: {\n    debug: () => {},\n    info: () => {},\n    warn: () => {},\n    error: () => {},\n  }\n});\n\nconst response = await axios('http://myrequesturl.com',);\n```\n\nAs illustrated in the example, the logger provided must have the following methods:\n\n* `debug()`\n* `info()`\n* `warn()`\n* `error()`\n\nEach method is used by the client to log a message at its corresponding log level. The method will receive multiple arguments, similar in nature to how `console.log()` might be used. Here are some potential examples:\n\n```\nlog.debug('simple message');\nlog.info('formatted message with value %s', formatValue);\nlog.error('non-formatted message with value', someValue);\n```\n\n## Examples\n\nSee the library's [end-to-end contract tests](./e2e/all-methods.test.js) for various examples of how to use the library.\n\n# Releasing\n\nThis module uses [semantic-release](https://github.com/semantic-release/semantic-release) when publishing new versions. The process is initiated upon merging commits to the `main` branch. Review semantic-release's documentation for full details, but the most commonly used conventions are:\n\n* `feat:` for non-breaking releases containing new features. This will increment the minor version number. Example:\n  * `feat: <message describing changes>`\n  * Assuming the library's current version is `1.2.1`, a commit with a message similar to the above would trigger a new release whose version number would be `1.3.0`.\n* `fix:` for non-breaking releases containing bug fixes. This will increment the build version number. Example:\n  * `fix: <message describing changes>`\n  * Assuming the library's current version is `1.2.1`, a commit with a message similar to the above would trigger a new release whose version number would be `1.2.2`.\n\nPRs whose messages do not meet semantic-release's format will not generate a new release.\n\nRelease notes are generated based on git commit messages. Release notes will appear in CHANGELOG.md.\n\n# Contributing\n\nContributions are welcomed! Read the [Contributing Guide](CONTRIBUTING.md) for more information.\n\n# Licensing\n\nThis project is licensed under the Apache V2 License. See [LICENSE](LICENSE.txt) for more information.\n","readmeFilename":"README.md"}