Skip to content

Commit e143760

Browse files
committed
refactor: removing unecessary re-export
1 parent 73f0db8 commit e143760

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

new-deepnotes/packages/session/src/crypto/session-crypto.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ export function decryptUserRehashedLoginHash(
5555
);
5656
}
5757

58-
export { getPasswordHashValues } from "./password-hashing.js";
59-
6058
export function decryptUserAuthenticatorSecret(
6159
userEncryptedAuthenticatorSecret: Uint8Array,
6260
encryptionKeyB64: string,

new-deepnotes/packages/session/src/login.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import { and, eq, gt, or } from "drizzle-orm";
33
import {
44
createPrivateKeyring,
55
createSymmetricKeyring,
6+
getPasswordHashValues,
67
} from "./crypto/index.js";
78
import sodium from "libsodium-wrappers-sumo";
89
import { nanoid } from "nanoid";
@@ -18,7 +19,6 @@ import {
1819
decryptUserRehashedLoginHash,
1920
derivePasswordValues,
2021
ensureSodiumReady,
21-
getPasswordHashValues,
2222
} from "./crypto/session-crypto.js";
2323
import { createSessionRowAndCookies } from "./session-lifecycle.js";
2424
import { assertTwoFactorOk } from "./two-factor.js";

0 commit comments

Comments
 (0)