@aztec/merkle-tree 3.0.0-nightly.20251208 → 3.0.0-nightly.20251210

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/dest/pedersen.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { pedersenHash } from '@aztec/foundation/crypto/sync';
2
- import { Fr } from '@aztec/foundation/fields';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
3
  /**
4
4
  * A helper class encapsulating Pedersen hash functionality.
5
5
  * @deprecated Don't call pedersen directly in production code. Instead, create suitably-named functions for specific
package/dest/poseidon.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { poseidon2Hash } from '@aztec/foundation/crypto/sync';
2
- import { Fr } from '@aztec/foundation/fields';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
3
  /**
4
4
  * A helper class encapsulating poseidon2 hash functionality.
5
5
  * @deprecated Don't call poseidon2 directly in production code. Instead, create suitably-named functions for specific
@@ -1,5 +1,5 @@
1
1
  import { BlockNumber } from '@aztec/foundation/branded-types';
2
- import { randomBigInt } from '@aztec/foundation/crypto';
2
+ import { randomBigInt } from '@aztec/foundation/crypto/random';
3
3
  import { jest } from '@jest/globals';
4
4
  jest.setTimeout(50_000);
5
5
  /** Creates a test suit for snapshots */ export function describeSnapshotBuilderTestSuite(getTree, getSnapshotBuilder, modifyTree) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/merkle-tree",
3
- "version": "3.0.0-nightly.20251208",
3
+ "version": "3.0.0-nightly.20251210",
4
4
  "type": "module",
5
5
  "exports": "./dest/index.js",
6
6
  "typedocOptions": {
@@ -58,9 +58,9 @@
58
58
  ]
59
59
  },
60
60
  "dependencies": {
61
- "@aztec/foundation": "3.0.0-nightly.20251208",
62
- "@aztec/kv-store": "3.0.0-nightly.20251208",
63
- "@aztec/stdlib": "3.0.0-nightly.20251208",
61
+ "@aztec/foundation": "3.0.0-nightly.20251210",
62
+ "@aztec/kv-store": "3.0.0-nightly.20251210",
63
+ "@aztec/stdlib": "3.0.0-nightly.20251210",
64
64
  "sha256": "^0.2.0",
65
65
  "tslib": "^2.4.0"
66
66
  },
package/src/pedersen.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { pedersenHash } from '@aztec/foundation/crypto/sync';
2
- import { Fr } from '@aztec/foundation/fields';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
3
  import type { Hasher } from '@aztec/foundation/trees';
4
4
 
5
5
  /**
package/src/poseidon.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { poseidon2Hash } from '@aztec/foundation/crypto/sync';
2
- import { Fr } from '@aztec/foundation/fields';
2
+ import { Fr } from '@aztec/foundation/curves/bn254';
3
3
  import type { Hasher } from '@aztec/foundation/trees';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { BlockNumber } from '@aztec/foundation/branded-types';
2
- import { randomBigInt } from '@aztec/foundation/crypto';
2
+ import { randomBigInt } from '@aztec/foundation/crypto/random';
3
3
  import type { Bufferable } from '@aztec/foundation/serialize';
4
4
 
5
5
  import { jest } from '@jest/globals';