aboutsummaryrefslogtreecommitdiffstats
path: root/src/dm.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/dm.js')
-rw-r--r--src/dm.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dm.js b/src/dm.js
index c610aa3..443dd22 100644
--- a/src/dm.js
+++ b/src/dm.js
@@ -121,4 +121,8 @@ export async function unwrapDM(wrap, skOrSigner) {
return null;
}
}
-export const SIGNER_SILENT = /did not answer|timed? ?out|connect|closed|socket|relay|network/i;
+// Also silent: a bunker request every relay refused to carry ("All promises
+// were rejected" — rate-limited on one, PoW demanded by another) and a call
+// that reached a signer object selfHealing had just closed ("not open
+// anymore"). Neither is the signer saying "not yours".
+export const SIGNER_SILENT = /did not answer|timed? ?out|connect|closed|socket|relay|network|not open|all promises were rejected/i;