{"_id":"@types/async-retry","_rev":"4663428","name":"@types/async-retry","description":"TypeScript definitions for async-retry","dist-tags":{"latest":"1.4.9","ts2.0":"1.3.0","ts2.1":"1.3.0","ts2.2":"1.3.0","ts2.3":"1.4.1","ts2.4":"1.4.1","ts2.5":"1.4.1","ts2.6":"1.4.1","ts2.7":"1.4.1","ts2.8":"1.4.1","ts2.9":"1.4.1","ts3.0":"1.4.2","ts3.1":"1.4.2","ts3.2":"1.4.2","ts3.3":"1.4.2","ts3.4":"1.4.2","ts3.5":"1.4.2","ts3.6":"1.4.3","ts3.7":"1.4.3","ts3.8":"1.4.3","ts3.9":"1.4.4","ts4.0":"1.4.5","ts4.1":"1.4.5","ts4.2":"1.4.5","ts4.3":"1.4.5","ts4.4":"1.4.5","ts4.5":"1.4.8","ts4.6":"1.4.8","ts4.7":"1.4.8","ts4.8":"1.4.9","ts4.9":"1.4.9","ts5.0":"1.4.9","ts5.1":"1.4.9","ts5.2":"1.4.9","ts5.3":"1.4.9","ts5.4":"1.4.9","ts5.5":"1.4.9","ts5.6":"1.4.9","ts5.7":"1.4.9","ts5.8":"1.4.9","ts5.9":"1.4.9","ts6.0":"1.4.9"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2026-04-10T22:23:04.000Z","created":"2018-01-25T17:59:46.180Z","1.4.9":"2024-10-02T18:10:12.289Z","1.4.8":"2023-11-06T23:26:50.178Z","1.4.7":"2023-10-17T22:44:49.771Z","1.4.6":"2023-09-22T20:09:13.280Z","1.4.5":"2022-08-19T20:02:28.142Z","1.4.4":"2022-04-26T19:32:01.102Z","1.4.3":"2021-07-06T18:13:00.612Z","1.4.2":"2020-05-15T04:23:31.448Z","1.4.1":"2019-04-15T21:06:57.226Z","1.4.0":"2019-04-04T18:13:41.274Z","1.3.0":"2019-04-01T20:40:08.993Z","1.2.1":"2018-06-05T00:03:13.248Z","1.2.0":"2018-04-02T15:16:40.958Z","1.1.0":"2018-01-25T17:59:46.180Z"},"users":{},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/async-retry"},"versions":{"1.4.9":{"name":"@types/async-retry","version":"1.4.9","license":"MIT","_id":"@types/async-retry@1.4.9","maintainers":[{"name":"types","email":""}],"contributors":[{"url":"https://github.com/albertywu","name":"Albert Wu","githubUsername":"albertywu"},{"url":"https://github.com/MeLlamoPablo","name":"Pablo Rodríguez","githubUsername":"MeLlamoPablo"},{"url":"https://github.com/rafsawicki","name":"Rafał Sawicki","githubUsername":"rafsawicki"},{"url":"https://github.com/BendingBender","name":"BendingBender","githubUsername":"BendingBender"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","dist":{"shasum":"47d118e835864d633b5208a78a6907b1b44e50bc","size":2392,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.9.tgz"},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/async-retry"},"description":"TypeScript definitions for async-retry","directories":{},"dependencies":{"@types/retry":"*"},"_hasShrinkwrap":false,"typeScriptVersion":"4.8","_npmOperationalInternal":{"tmp":"tmp/async-retry_1.4.9_1727892612016_0.36466132671612494","host":"s3://npm-registry-packages"},"typesPublisherContentHash":"1443b7629a05ab651647d11c00d82d65dd4dc27a06a07040039e55e42ce4a306","_cnpmcore_publish_time":"2024-10-02T18:10:12.289Z","publish_time":1727892612289,"_source_registry_name":"default","_cnpm_publish_time":1727892612289},"1.4.8":{"name":"@types/async-retry","version":"1.4.8","description":"TypeScript definitions for async-retry","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT","contributors":[{"name":"Albert Wu","githubUsername":"albertywu","url":"https://github.com/albertywu"},{"name":"Pablo Rodríguez","githubUsername":"MeLlamoPablo","url":"https://github.com/MeLlamoPablo"},{"name":"Rafał Sawicki","githubUsername":"rafsawicki","url":"https://github.com/rafsawicki"},{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"a200a76ec1af372d6d204ca61092cb28486c4036df0ea5f80a135d93a2f9ecdf","typeScriptVersion":"4.5","_id":"@types/async-retry@1.4.8","dist":{"shasum":"eb32df13aceb9ba1a8a80e7fe518ff4e3fe46bb3","size":2270,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.8.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.8_1699313210012_0.2869641561371965"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-06T23:26:50.178Z","publish_time":1699313210178,"_source_registry_name":"default","_cnpm_publish_time":1699313210178},"1.4.7":{"name":"@types/async-retry","version":"1.4.7","description":"TypeScript definitions for async-retry","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT","contributors":[{"name":"Albert Wu","githubUsername":"albertywu","url":"https://github.com/albertywu"},{"name":"Pablo Rodríguez","githubUsername":"MeLlamoPablo","url":"https://github.com/MeLlamoPablo"},{"name":"Rafał Sawicki","githubUsername":"rafsawicki","url":"https://github.com/rafsawicki"},{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"3044fa617257ef6bb178cb8278d43d338f76326540f0851d8ff626b8bb5b1750","typeScriptVersion":"4.5","_id":"@types/async-retry@1.4.7","dist":{"shasum":"2b2bbb44f6755f28eba367a6593d198f5e2cb45b","size":2276,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.7.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.7_1697582689454_0.22808326024025471"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-17T22:44:49.771Z","publish_time":1697582689771,"_source_registry_name":"default","_cnpm_publish_time":1697582689771},"1.4.6":{"name":"@types/async-retry","version":"1.4.6","description":"TypeScript definitions for async-retry","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"},{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"2e21ddf8a3cd961310961a132b729444a2eca69f3a630cbb8d805310fe3535f3","typeScriptVersion":"4.5","_id":"@types/async-retry@1.4.6","dist":{"shasum":"0548ad60211530086ea240e34561465c61fd7770","size":2376,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.6.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.6_1695413353054_0.22216313565038304"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-22T20:09:13.280Z","publish_time":1695413353280,"_source_registry_name":"default","_cnpm_publish_time":1695413353280},"1.4.5":{"name":"@types/async-retry","version":"1.4.5","description":"TypeScript definitions for async-retry","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"},{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"6162feefbfc56fd9dcbe4b952d129bfcc941ef2b9db832c671fa9f9b3006f40e","typeScriptVersion":"4.0","_id":"@types/async-retry@1.4.5","dist":{"shasum":"02680eb366739a327550f6ad38bb898a5571a095","size":2354,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.5.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.5_1660939347961_0.36518019168039584"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-19T20:14:14.299Z","publish_time":1660939348142,"_cnpm_publish_time":1660939348142},"1.4.4":{"name":"@types/async-retry","version":"1.4.4","description":"TypeScript definitions for async-retry","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"917ec0bd3b8bf2fac38200dd0124cd65513ce0c9e4ec6fbf0725204accd68ca8","typeScriptVersion":"3.9","_id":"@types/async-retry@1.4.4","dist":{"shasum":"3304ce1e64f8757723f166518fc4c4b68df4fe66","size":1853,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.4_1651001520951_0.25151428319267155"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-26T19:32:05.640Z","publish_time":1651001521102,"_cnpm_publish_time":1651001521102},"1.4.3":{"name":"@types/async-retry","version":"1.4.3","description":"TypeScript definitions for async-retry","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"eba4f91daae8ebedcd195bc6b292c5a625a537d6e4d0626fa35e0ab3bf767cfc","typeScriptVersion":"3.6","_id":"@types/async-retry@1.4.3","dist":{"shasum":"8b78f6ce88d97e568961732cdd9e5325cdc8c246","size":1858,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.3.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.3_1625595180461_0.09261666758978393"},"_hasShrinkwrap":false,"publish_time":1625595180612,"_cnpm_publish_time":1625595180612,"_cnpmcore_publish_time":"2021-12-16T13:04:11.321Z"},"1.4.2":{"name":"@types/async-retry","version":"1.4.2","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"2b0a268f3da0f54d1ee6b80b0d610b0e4c02a9c816ba7a3f94bb0a5faae4efe7","typeScriptVersion":"3.0","_id":"@types/async-retry@1.4.2","dist":{"shasum":"7f910188cd3893b51e32df51765ee8d5646053e3","size":1788,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.2.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.2_1589516611327_0.8000011026370881"},"_hasShrinkwrap":false,"publish_time":1589516611448,"_cnpm_publish_time":1589516611448,"_cnpmcore_publish_time":"2021-12-16T13:04:11.538Z"},"1.4.1":{"name":"@types/async-retry","version":"1.4.1","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"d7e5bc61488deb831a5d9fbc2949d483aaa84c8e0aeffaff70aa21799dabeffd","typeScriptVersion":"2.3","_id":"@types/async-retry@1.4.1","dist":{"shasum":"3b136a707b7a850f4947a727eb0f7b473b601992","size":1764,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.1_1555362417078_0.24287316893984312"},"_hasShrinkwrap":false,"publish_time":1555362417226,"_cnpm_publish_time":1555362417226,"_cnpmcore_publish_time":"2021-12-16T13:04:11.800Z"},"1.4.0":{"name":"@types/async-retry","version":"1.4.0","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"},{"name":"Rafał Sawicki","url":"https://github.com/rafsawicki","githubUsername":"rafsawicki"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{"@types/retry":"*"},"typesPublisherContentHash":"ff5dc461aee5026c01b1d5f2463ffda4aa4a62a8de030b4654a08495ebbf6b87","typeScriptVersion":"2.3","_id":"@types/async-retry@1.4.0","dist":{"shasum":"4c52040183941c6f5e7b404538cd5687f9ea7b2a","size":1766,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.4.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.4.0_1554401621149_0.7679317662122871"},"_hasShrinkwrap":false,"publish_time":1554401621274,"_cnpm_publish_time":1554401621274,"_cnpmcore_publish_time":"2021-12-16T13:04:11.987Z"},"1.3.0":{"name":"@types/async-retry","version":"1.3.0","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/async-retry"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d55317654520de31dcf21096a56fe384ef0cc9de05e712b09dc260869ee720d4","typeScriptVersion":"2.0","_id":"@types/async-retry@1.3.0","dist":{"shasum":"9a442a89dd1708b582de214789dd2a0d2118216a","size":1706,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.3.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.3.0_1554151208845_0.2921630730998366"},"_hasShrinkwrap":false,"publish_time":1554151208993,"_cnpm_publish_time":1554151208993,"_cnpmcore_publish_time":"2021-12-16T13:04:12.362Z"},"1.2.1":{"name":"@types/async-retry","version":"1.2.1","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"afb922cbeb6e9949f35997c55366eca8e3a76808e5c5447c8b463a4c80a68f7d","typeScriptVersion":"2.0","_id":"@types/async-retry@1.2.1","dist":{"shasum":"fa9ac165907a8ee78f4924f4e393b656c65b5bb4","size":1704,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.2.1.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.2.1_1528156992869_0.7774549250957605"},"_hasShrinkwrap":false,"publish_time":1528156993248,"_cnpm_publish_time":1528156993248,"_cnpmcore_publish_time":"2021-12-16T13:04:12.570Z"},"1.2.0":{"name":"@types/async-retry","version":"1.2.0","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"},{"name":"Pablo Rodríguez","url":"https://github.com/MeLlamoPablo","githubUsername":"MeLlamoPablo"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"17de25f40211474349e492e7f80198fda1778423d3e89d806e28a036bcf519ae","typeScriptVersion":"2.0","_id":"@types/async-retry@1.2.0","dist":{"shasum":"74ebcfc110c97d3bc636f0455d45c513a3eded4f","size":1694,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.2.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry_1.2.0_1522682200855_0.05809701749004259"},"_hasShrinkwrap":false,"publish_time":1522682200958,"_cnpm_publish_time":1522682200958,"_cnpmcore_publish_time":"2021-12-16T13:04:12.820Z"},"1.1.0":{"name":"@types/async-retry","version":"1.1.0","description":"TypeScript definitions for async-retry","license":"MIT","contributors":[{"name":"Albert Wu","url":"https://github.com/albertywu","githubUsername":"albertywu"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"7e681d7ef6a77b49e8c73cc66ddc6aa266fd358ce65aec302c824799b37bd774","typeScriptVersion":"2.0","_id":"@types/async-retry@1.1.0","dist":{"shasum":"b17a2e3d6621724addc44978b61bac3ce11c1ecf","size":1606,"noattachment":false,"key":"/@types/async-retry/-/@types/async-retry-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/async-retry/download/@types/async-retry-1.1.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-retry-1.1.0.tgz_1516903186126_0.40383327775634825"},"directories":{},"publish_time":1516903186180,"_hasShrinkwrap":false,"_cnpm_publish_time":1516903186180,"_cnpmcore_publish_time":"2021-12-16T13:04:13.033Z"}},"readme":"# Installation\r\n> `npm install --save @types/async-retry`\r\n\r\n# Summary\r\nThis package contains type definitions for async-retry (https://github.com/vercel/async-retry).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry/index.d.ts)\r\n````ts\r\nimport { WrapOptions } from \"retry\";\n\n/**\n * Retrying made simple, easy, and async.\n *\n * @example\n * import retry = require('async-retry');\n * import fetch from 'node-fetch';\n *\n * await retry(\n *   async (bail) => {\n *     // if anything throws, we retry\n *     const res = await fetch('https://google.com');\n *\n *     if (403 === res.status) {\n *       // don't retry upon 403\n *       bail(new Error('Unauthorized'));\n *       return;\n *     }\n *\n *     const data = await res.text();\n *     return data.substr(0, 500);\n *   },\n *   {\n *     retries: 5,\n *   }\n * );\n */\ndeclare function AsyncRetry<TRet, TErr = unknown>(\n    fn: AsyncRetry.RetryFunction<TRet, TErr>,\n    opts?: AsyncRetry.Options<TErr> | number[],\n): Promise<TRet>;\n\ndeclare namespace AsyncRetry {\n    interface Options<TErr = unknown> extends Omit<WrapOptions, \"randomize\"> {\n        /**\n         * An optional function that is invoked after a new retry is performed. It's passed the\n         * `Error` that triggered it as a parameter.\n         */\n        onRetry?: ((e: TErr, attempt: number) => any) | undefined;\n        /**\n         * Randomizes the timeouts by multiplying a factor between 1-2.\n         * @default true\n         */\n        randomize?: boolean | undefined;\n    }\n\n    /**\n     * @param bail A function you can invoke to abort the retrying (bail).\n     * @param attempt The attempt number. The absolute first attempt (before any retries) is `1`.\n     */\n    type RetryFunction<TRet, TErr = unknown> = (bail: (e: TErr) => void, attempt: number) => TRet | Promise<TRet>;\n}\n\nexport = AsyncRetry;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Wed, 02 Oct 2024 18:10:02 GMT\r\n * Dependencies: [@types/retry](https://npmjs.com/package/@types/retry)\r\n\r\n# Credits\r\nThese definitions were written by [Albert Wu](https://github.com/albertywu), [Pablo Rodríguez](https://github.com/MeLlamoPablo), [Rafał Sawicki](https://github.com/rafsawicki), and [BendingBender](https://github.com/BendingBender).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/async-retry","license":"MIT"}