@interncom/diplomatic 0.0.72 → 0.0.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +4 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -11631,7 +11631,10 @@ var DiplomaticClient = class {
11631
11631
  this.emitXferUpdate();
11632
11632
  } catch (err) {
11633
11633
  console.error("Processing download", err, item);
11634
- const transient = true;
11634
+ let transient = true;
11635
+ if (err instanceof Error && err.message === "wrong secret key for the given ciphertext") {
11636
+ transient = false;
11637
+ }
11635
11638
  if (!transient) {
11636
11639
  await this.store.dequeueDownload(item.sha256);
11637
11640
  this.emitXferUpdate();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interncom/diplomatic",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "type": "module",
5
5
  "description": "Secure sync layer",
6
6
  "main": "dist/index.mjs",