From d67f9670bda61acff6d9fc8c6c8fd64d1be3b44d Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Wed, 1 May 2019 17:26:06 +1200 Subject: [PATCH] ensure single package for ui-keyring (#120) --- package.json | 2 +- packages/ui-keyring/src/index.ts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 77959342..bb31a6aa 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "version": "0.38.0-beta.5", "private": true, "engines": { - "node": "^10.13.0", + "node": ">=10.13.0", "yarn": "^1.10.1" }, "homepage": ".", diff --git a/packages/ui-keyring/src/index.ts b/packages/ui-keyring/src/index.ts index c96c23dd..437072ab 100644 --- a/packages/ui-keyring/src/index.ts +++ b/packages/ui-keyring/src/index.ts @@ -2,8 +2,12 @@ // This software may be modified and distributed under the terms // of the Apache-2.0 license. See the LICENSE file for details. +import { assertSingletonPackage } from '@polkadot/util'; + import keyring, { Keyring } from './Keyring'; +assertSingletonPackage('@polkadot/ui-keyring'); + export default keyring; export {