saasufy-components 6.1.0 → 6.1.2
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/package.json +2 -2
- package/utils.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "saasufy-components",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"description": "Components for Saasufy.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"author": "Jonathan Gros-Dubois",
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"ag-collection": "^5.2.
|
|
20
|
+
"ag-collection": "^5.2.1",
|
|
21
21
|
"ag-model": "^3.1.0",
|
|
22
22
|
"capitalisk-auth-client": "^1.5.1",
|
|
23
23
|
"socketcluster-client": "^19.2.1",
|
package/utils.js
CHANGED
|
@@ -188,7 +188,6 @@ export { uuid };
|
|
|
188
188
|
export function computeId(...parts) {
|
|
189
189
|
let encoder = new TextEncoder();
|
|
190
190
|
let data = encoder.encode(parts.join('-'));
|
|
191
|
-
let start = Date.now();
|
|
192
191
|
let hashBuffer = sha256(data);
|
|
193
192
|
let hashArray = Array.from(new Uint8Array(hashBuffer));
|
|
194
193
|
let hashHex = hashArray.map(byte => byte.toString(16).padStart(2, '0')).join('');
|