@interncom/diplomatic 0.0.28 → 0.0.29

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 +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -8936,7 +8936,7 @@ var DiplomaticClient = class {
8936
8936
  }
8937
8937
  const { hostURL, hostKeyPair, encKey } = this;
8938
8938
  const paths = await this.store.listDownloads();
8939
- paths.sort((p1, p2) => p2.localeCompare(p1));
8939
+ paths.sort((p1, p2) => p1.localeCompare(p2));
8940
8940
  for (const path of paths) {
8941
8941
  const cipher = await api_default.getDelta(hostURL, path, hostKeyPair);
8942
8942
  const packed = await crypto_default.decryptXSalsa20Poly1305Combined(cipher, encKey);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interncom/diplomatic",
3
- "version": "0.0.28",
3
+ "version": "0.0.29",
4
4
  "type": "module",
5
5
  "description": "Secure sync layer",
6
6
  "main": "dist/index.mjs",