@haex-space/vault-sdk 2.3.7 → 2.3.8
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/cli/index.js +5 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/index.mjs +5 -1
- package/dist/cli/index.mjs.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1496,7 +1496,11 @@ async function verifyExtensionSignature(files, manifest) {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
return file;
|
|
1498
1498
|
});
|
|
1499
|
-
filesForHashing.sort((a, b) =>
|
|
1499
|
+
filesForHashing.sort((a, b) => {
|
|
1500
|
+
if (a.path < b.path) return -1;
|
|
1501
|
+
if (a.path > b.path) return 1;
|
|
1502
|
+
return 0;
|
|
1503
|
+
});
|
|
1500
1504
|
const totalLength = filesForHashing.reduce((sum, f) => sum + f.content.length, 0);
|
|
1501
1505
|
const combined = new Uint8Array(totalLength);
|
|
1502
1506
|
let offset = 0;
|