vector-im-hydrogen-web/src/legacy-extras.js

7 lines
303 B
JavaScript
Raw Normal View History

import aesjs from "../lib/aes-js/index.js";
2020-09-17 18:55:09 +02:00
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}};