@aztec/stdlib 1.0.0-nightly.20250805 → 1.0.0-nightly.20250807
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.
|
@@ -10,7 +10,7 @@ import type { PublicKey } from '../keys/public_key.js';
|
|
|
10
10
|
* @returns A derived shared secret.
|
|
11
11
|
* @throws If the publicKey is zero.
|
|
12
12
|
*
|
|
13
|
-
* TODO(#12656): This function is kept around because of the
|
|
13
|
+
* TODO(#12656): This function is kept around because of the utilityGetSharedSecret oracle. Nuke this once returning
|
|
14
14
|
* the app-siloed secret.
|
|
15
15
|
*/
|
|
16
16
|
export declare function deriveEcdhSharedSecret(secretKey: GrumpkinScalar, publicKey: PublicKey): Promise<Point>;
|
|
@@ -9,7 +9,7 @@ import { Grumpkin } from '@aztec/foundation/crypto';
|
|
|
9
9
|
* @returns A derived shared secret.
|
|
10
10
|
* @throws If the publicKey is zero.
|
|
11
11
|
*
|
|
12
|
-
* TODO(#12656): This function is kept around because of the
|
|
12
|
+
* TODO(#12656): This function is kept around because of the utilityGetSharedSecret oracle. Nuke this once returning
|
|
13
13
|
* the app-siloed secret.
|
|
14
14
|
*/ export async function deriveEcdhSharedSecret(secretKey, publicKey) {
|
|
15
15
|
if (publicKey.isZero()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aztec/stdlib",
|
|
3
|
-
"version": "1.0.0-nightly.
|
|
3
|
+
"version": "1.0.0-nightly.20250807",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"inherits": [
|
|
6
6
|
"../package.common.json",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"test": "NODE_NO_WARNINGS=1 node --experimental-vm-modules ../node_modules/.bin/jest --passWithNoTests --maxWorkers=${JEST_MAX_WORKERS:-8}"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@aztec/bb.js": "1.0.0-nightly.
|
|
72
|
-
"@aztec/blob-lib": "1.0.0-nightly.
|
|
73
|
-
"@aztec/constants": "1.0.0-nightly.
|
|
74
|
-
"@aztec/ethereum": "1.0.0-nightly.
|
|
75
|
-
"@aztec/foundation": "1.0.0-nightly.
|
|
76
|
-
"@aztec/noir-noirc_abi": "1.0.0-nightly.
|
|
71
|
+
"@aztec/bb.js": "1.0.0-nightly.20250807",
|
|
72
|
+
"@aztec/blob-lib": "1.0.0-nightly.20250807",
|
|
73
|
+
"@aztec/constants": "1.0.0-nightly.20250807",
|
|
74
|
+
"@aztec/ethereum": "1.0.0-nightly.20250807",
|
|
75
|
+
"@aztec/foundation": "1.0.0-nightly.20250807",
|
|
76
|
+
"@aztec/noir-noirc_abi": "1.0.0-nightly.20250807",
|
|
77
77
|
"@google-cloud/storage": "^7.15.0",
|
|
78
78
|
"axios": "^1.9.0",
|
|
79
79
|
"json-stringify-deterministic": "1.0.12",
|
|
@@ -13,7 +13,7 @@ import type { PublicKey } from '../keys/public_key.js';
|
|
|
13
13
|
* @returns A derived shared secret.
|
|
14
14
|
* @throws If the publicKey is zero.
|
|
15
15
|
*
|
|
16
|
-
* TODO(#12656): This function is kept around because of the
|
|
16
|
+
* TODO(#12656): This function is kept around because of the utilityGetSharedSecret oracle. Nuke this once returning
|
|
17
17
|
* the app-siloed secret.
|
|
18
18
|
*/
|
|
19
19
|
export async function deriveEcdhSharedSecret(secretKey: GrumpkinScalar, publicKey: PublicKey): Promise<Point> {
|