Skip to content

Commit

Permalink
Fix downstream tests
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Oct 1, 2024
1 parent 442366c commit 182a802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/crypto/aes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@ import decryptAESSecretStorageItem from "../utils/decryptAESSecretStorageItem.ts

// Export for backwards compatibility
export type { AESEncryptedSecretStoragePayload as IEncryptedPayload } from "../@types/AESEncryptedSecretStoragePayload.ts";
export { encryptAESSecretStorageItem, decryptAESSecretStorageItem };
// Export with new names instead of using `as` to not break react-sdk tests
export const encryptAES = encryptAESSecretStorageItem;
export const decryptAES = decryptAESSecretStorageItem;
export { calculateKeyCheck } from "../secret-storage.ts";

0 comments on commit 182a802

Please sign in to comment.