vector-im-hydrogen-web/src/legacy-extras.js
Bruno Windels ceac6008bc fix import
2020-09-17 18:55:09 +02:00

7 lines
303 B
JavaScript

import aesjs from "../lib/aes-js/index.js";
import {hkdf} from "./utils/crypto/hkdf.js";
// these are run-time dependencies that are only needed for the legacy bundle.
// they are exported here and passed into main to make them available to the app.
export const legacyExtras = {crypto:{aesjs, hkdf}};