mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-06-13 14:31:01 +00:00
Bumps
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { KeyringStruct } from '../types';
|
||||
import keyringOptionInstance from '.';
|
||||
import { KeyringOption } from '.';
|
||||
|
||||
const keyringOptionInstance = new KeyringOption();
|
||||
|
||||
describe('KeyringOption', (): void => {
|
||||
it('should not allow initOptions to be called more than once', (): void => {
|
||||
|
||||
@@ -34,7 +34,7 @@ const sortByCreated = (a: SingleAddress, b: SingleAddress): number => {
|
||||
return 0;
|
||||
};
|
||||
|
||||
class KeyringOption implements KeyringOptionInstance {
|
||||
export class KeyringOption implements KeyringOptionInstance {
|
||||
public readonly optionsSubject: BehaviorSubject<KeyringOptions> = new BehaviorSubject(this.emptyOptions());
|
||||
|
||||
public createOptionHeader (name: string): KeyringSectionOption {
|
||||
@@ -138,7 +138,3 @@ class KeyringOption implements KeyringOptionInstance {
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
const keyringOptionInstance = new KeyringOption();
|
||||
|
||||
export default keyringOptionInstance;
|
||||
|
||||
Reference in New Issue
Block a user