15 lines
362 B
TypeScript
15 lines
362 B
TypeScript
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
const PORT_CONTENT = 'content';
|
|
const PORT_EXTENSION = 'extension';
|
|
const PASSWORD_EXPIRY_MIN = 15;
|
|
const PASSWORD_EXPIRY_MS = PASSWORD_EXPIRY_MIN * 60 * 1000;
|
|
|
|
export {
|
|
PASSWORD_EXPIRY_MIN,
|
|
PASSWORD_EXPIRY_MS,
|
|
PORT_CONTENT,
|
|
PORT_EXTENSION
|
|
};
|