@metamask/snaps-simulation
Version:
A simulation framework for MetaMask Snaps, enabling headless testing of Snaps in a controlled environment
30 lines • 1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGetEntropySourcesImplementation = void 0;
/**
* Get the implementation of the `getEntropySources` hook.
*
* @returns The implementation of the `getEntropySources` hook. Right now, it
* only returns two hard coded entropy source. In the future, it could return a
* configurable list of entropy sources.
*/
function getGetEntropySourcesImplementation() {
return () => {
return [
{
id: 'default',
name: 'Default Secret Recovery Phrase',
type: 'mnemonic',
primary: true,
},
{
id: 'alternative',
name: 'Alternative Secret Recovery Phrase',
type: 'mnemonic',
primary: false,
},
];
};
}
exports.getGetEntropySourcesImplementation = getGetEntropySourcesImplementation;
//# sourceMappingURL=get-entropy-sources.cjs.map