From 7f48ae354f668948d10b0750aac26ef9a3d7bec2 Mon Sep 17 00:00:00 2001 From: Panda <167453417+kun6fup4nd4@users.noreply.github.com> Date: Mon, 20 May 2024 10:45:51 -0300 Subject: [PATCH] upgraded crypt utils (#19) --- package-lock.json | 30 +++++++++++++++++++++++++----- package.json | 2 +- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c0e6709..e44a6326 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@ethereumjs/util": "^9.0.2", "@hapi/sntp": "^4.0.0", "@shardus/archiver-discovery": "1.1.0", - "@shardus/crypto-utils": "4.0.4", + "@shardus/crypto-utils": "4.1.3", "axios": "1.6.1", "better-sqlite3": "7.6.2", "body-parser": "1.19.0", @@ -635,7 +635,7 @@ "gts": "3.1.1" } }, - "node_modules/@shardus/crypto-utils": { + "node_modules/@shardus/archiver-discovery/node_modules/@shardus/crypto-utils": { "version": "4.0.4", "resolved": "https://registry.npmjs.org/@shardus/crypto-utils/-/crypto-utils-4.0.4.tgz", "integrity": "sha512-NOXqaURiyKNkTMF+LJWFMVOrOFAdBckjTvN2ZvuoMJ3W2IX/XCbM2/cDCKnsCTj8qmEbEMuGUrVsTsw0R4tyVg==", @@ -645,6 +645,25 @@ "sodium-native": "^3.1.1" } }, + "node_modules/@shardus/crypto-utils": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@shardus/crypto-utils/-/crypto-utils-4.1.3.tgz", + "integrity": "sha512-nvPqtw8R2uQ34MwF5CuE1xI0lx658aRELaKtxYO0b6QoLdwPGm6eO6I8KMSVZv3YJtHkx3Srs0Q/BB5/s9aRmQ==", + "dependencies": { + "@shardus/types": "1.2.8", + "buffer-xor": "2.0.2", + "fast-stable-stringify": "1.0.0", + "sodium-native": "3.3.0" + }, + "engines": { + "node": "18.16.1" + } + }, + "node_modules/@shardus/types": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@shardus/types/-/types-1.2.8.tgz", + "integrity": "sha512-QCCHm15dmEFkH+TUMUNMT/iCGCsjOR8z6/5AZasG7Gsu9CTL85V4L+Ny/SGjKzM9sdi1Vz8XARy96r+slUZBOg==" + }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -6446,9 +6465,9 @@ "integrity": "sha512-lJUL9imLTNi1ZfXT+DU6rBBdbiKGBuay9B6xGSPVjUeQwaH1RIGqef8RZkUtHioLmSNpPR5M4HVKJGm1j8FWVQ==" }, "node_modules/sodium-native": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-3.4.1.tgz", - "integrity": "sha512-PaNN/roiFWzVVTL6OqjzYct38NSXewdl2wz8SRB51Br/MLIJPrbM3XexhVWkq7D3UWMysfrhKVf1v1phZq6MeQ==", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/sodium-native/-/sodium-native-3.3.0.tgz", + "integrity": "sha512-rg6lCDM/qa3p07YGqaVD+ciAbUqm6SoO4xmlcfkbU5r1zIGrguXztLiEtaLYTV5U6k8KSIUFmnU3yQUSKmf6DA==", "hasInstallScript": true, "dependencies": { "node-gyp-build": "^4.3.0" @@ -7521,3 +7540,4 @@ } } } + diff --git a/package.json b/package.json index 47e9d271..47a8087c 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@ethereumjs/util": "^9.0.2", "@hapi/sntp": "^4.0.0", "@shardus/archiver-discovery": "1.1.0", - "@shardus/crypto-utils": "4.0.4", + "@shardus/crypto-utils": "4.1.3", "axios": "1.6.1", "better-sqlite3": "7.6.2", "body-parser": "1.19.0",