@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.
- package/dist/index.mjs +1 -1
- 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) =>
|
|
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);
|