@ledgerhq/live-promise
Advanced tools
Comparing version 0.0.4-nightly.0 to 0.0.4
# @ledgerhq/live-promise | ||
## 0.0.4-nightly.0 | ||
## 0.0.4 | ||
### Patch Changes | ||
- [#6731](https://github.com/LedgerHQ/ledger-live/pull/6731) [`5552ca0`](https://github.com/LedgerHQ/ledger-live/commit/5552ca0542d5734b845ed23dae2f02c6d1b8ba2d) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Fix error should be thrown instead of returned in retry mechanism | ||
- [#6566](https://github.com/LedgerHQ/ledger-live/pull/6566) [`cfb97f7`](https://github.com/LedgerHQ/ledger-live/commit/cfb97f7d5c81824815522e8699b7469047b1513a) Thanks [@cgrellard-ledger](https://github.com/cgrellard-ledger)! - Prevent unnecessary http retries when 422 | ||
## 0.0.4-next.1 | ||
### Patch Changes | ||
- [#6731](https://github.com/LedgerHQ/ledger-live/pull/6731) [`5552ca0`](https://github.com/LedgerHQ/ledger-live/commit/5552ca0542d5734b845ed23dae2f02c6d1b8ba2d) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Fix error should be thrown instead of returned in retry mechanism | ||
## 0.0.4-next.0 | ||
### Patch Changes | ||
- [#6566](https://github.com/LedgerHQ/ledger-live/pull/6566) [`cfb97f7`](https://github.com/LedgerHQ/ledger-live/commit/cfb97f7d5c81824815522e8699b7469047b1513a) Thanks [@cgrellard-ledger](https://github.com/cgrellard-ledger)! - Prevent unnecessary http retries when 422 | ||
## 0.0.3 | ||
@@ -10,0 +24,0 @@ |
@@ -29,3 +29,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
if (!retryCondition(e)) { | ||
return e; | ||
throw e; | ||
} | ||
@@ -32,0 +32,0 @@ log("promise-retry", context + " failed. " + remainingTry + " retry remain. " + String(e)); |
@@ -33,3 +33,3 @@ "use strict"; | ||
if (!retryCondition(e)) { | ||
return e; | ||
throw e; | ||
} | ||
@@ -36,0 +36,0 @@ (0, logs_1.log)("promise-retry", context + " failed. " + remainingTry + " retry remain. " + String(e)); |
{ | ||
"name": "@ledgerhq/live-promise", | ||
"version": "0.0.4-nightly.0", | ||
"version": "0.0.4", | ||
"description": "Ledger Live Promise utilities", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,3 +26,3 @@ import { log } from "@ledgerhq/logs"; | ||
if (!retryCondition(e)) { | ||
return e; | ||
throw e; | ||
} | ||
@@ -29,0 +29,0 @@ log("promise-retry", context + " failed. " + remainingTry + " retry remain. " + String(e)); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
42294
0