@aztec/key-store 0.0.1-commit.7cf39cb55 → 0.0.1-commit.808bf7f90

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/key_store.js CHANGED
@@ -1,4 +1,4 @@
1
- import { GeneratorIndex } from '@aztec/constants';
1
+ import { DomainSeparator } from '@aztec/constants';
2
2
  import { poseidon2HashWithSeparator } from '@aztec/foundation/crypto/poseidon';
3
3
  import { Fr } from '@aztec/foundation/curves/bn254';
4
4
  import { GrumpkinScalar, Point } from '@aztec/foundation/curves/grumpkin';
@@ -185,7 +185,7 @@ import { KEY_PREFIXES, computeAppSecretKey, deriveKeys, derivePublicKeyFromSecre
185
185
  masterOutgoingViewingSecretKey.hi,
186
186
  masterOutgoingViewingSecretKey.lo,
187
187
  app
188
- ], GeneratorIndex.OVSK_M);
188
+ ], DomainSeparator.OVSK_M);
189
189
  }
190
190
  /**
191
191
  * Retrieves the sk_m corresponding to the pk_m.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aztec/key-store",
3
- "version": "0.0.1-commit.7cf39cb55",
3
+ "version": "0.0.1-commit.808bf7f90",
4
4
  "type": "module",
5
5
  "exports": "./dest/index.js",
6
6
  "typedocOptions": {
@@ -57,10 +57,10 @@
57
57
  ]
58
58
  },
59
59
  "dependencies": {
60
- "@aztec/constants": "0.0.1-commit.7cf39cb55",
61
- "@aztec/foundation": "0.0.1-commit.7cf39cb55",
62
- "@aztec/kv-store": "0.0.1-commit.7cf39cb55",
63
- "@aztec/stdlib": "0.0.1-commit.7cf39cb55",
60
+ "@aztec/constants": "0.0.1-commit.808bf7f90",
61
+ "@aztec/foundation": "0.0.1-commit.808bf7f90",
62
+ "@aztec/kv-store": "0.0.1-commit.808bf7f90",
63
+ "@aztec/stdlib": "0.0.1-commit.808bf7f90",
64
64
  "tslib": "^2.4.0"
65
65
  },
66
66
  "devDependencies": {
package/src/key_store.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { GeneratorIndex } from '@aztec/constants';
1
+ import { DomainSeparator } from '@aztec/constants';
2
2
  import { poseidon2HashWithSeparator } from '@aztec/foundation/crypto/poseidon';
3
3
  import { Fr } from '@aztec/foundation/curves/bn254';
4
4
  import { GrumpkinScalar, Point } from '@aztec/foundation/curves/grumpkin';
@@ -254,7 +254,7 @@ export class KeyStore {
254
254
 
255
255
  return poseidon2HashWithSeparator(
256
256
  [masterOutgoingViewingSecretKey.hi, masterOutgoingViewingSecretKey.lo, app],
257
- GeneratorIndex.OVSK_M,
257
+ DomainSeparator.OVSK_M,
258
258
  );
259
259
  }
260
260