@1auth/account 0.0.0-alpha.41 → 0.0.0-alpha.43

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  makeSymetricKey,
7
7
  makeAsymmetricKeys,
8
8
  symetricEncryptFields,
9
- symetricDecryptFields
9
+ symmetricDecryptFields
10
10
  } from '@1auth/crypto'
11
11
 
12
12
  const id = 'account'
@@ -45,7 +45,7 @@ export const lookup = async (sub) => {
45
45
  const { encryptionKey: encryptedKey } = account
46
46
  delete account.encryptionKey
47
47
  delete account.privateKey
48
- const decryptedAccount = symetricDecryptFields(
48
+ const decryptedAccount = symmetricDecryptFields(
49
49
  account,
50
50
  { encryptedKey, sub },
51
51
  options.encryptedFields
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1auth/account",
3
- "version": "0.0.0-alpha.41",
3
+ "version": "0.0.0-alpha.43",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "engines": {
@@ -50,6 +50,6 @@
50
50
  "homepage": "https://github.com/willfarrell/1auth",
51
51
  "gitHead": "7a6c0fbb8ab71d6a2171e678697de9f237568431",
52
52
  "dependencies": {
53
- "@1auth/crypto": "0.0.0-alpha.41"
53
+ "@1auth/crypto": "0.0.0-alpha.43"
54
54
  }
55
55
  }