UNPKG

reg-simple-keygen-plugin

Version:

Determine snapshot key with given values

13 lines (12 loc) 452 B
import { PluginLogger, PluginCreateOptions, KeyGeneratorPlugin } from "reg-suit-interface"; export interface PluginConfig { expectedKey: string; actualKey: string; } export declare class SimpleKeygenPlugin implements KeyGeneratorPlugin<PluginConfig> { _logger: PluginLogger; _options: PluginConfig; init(config: PluginCreateOptions<PluginConfig>): void; getExpectedKey(): Promise<string>; getActualKey(): Promise<string>; }