forked from mystiq/hydrogen-web
Use named param in Legacy Platform
This commit is contained in:
parent
1cdc76f5a4
commit
4f23944581
1 changed files with 2 additions and 2 deletions
|
@ -19,6 +19,6 @@ import {hkdf} from "../../utils/crypto/hkdf";
|
||||||
|
|
||||||
import {Platform as ModernPlatform} from "./Platform.js";
|
import {Platform as ModernPlatform} from "./Platform.js";
|
||||||
|
|
||||||
export function Platform(container, assetPaths, config, options = null) {
|
export function Platform({ container, assetPaths, config, configURL, options = null }) {
|
||||||
return new ModernPlatform(container, assetPaths, config, options, {aesjs, hkdf});
|
return new ModernPlatform({ container, assetPaths, config, configURL, options, cryptoExtras: { aesjs, hkdf }});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue