From 2275440f87c877780ce01c157f51c05f60d6fa2c Mon Sep 17 00:00:00 2001 From: Jaco Date: Fri, 31 Dec 2021 16:24:48 +0100 Subject: [PATCH] Introduce detectOther (#578) --- packages/react-identicon/src/detectOther.ts | 7 +++++++ packages/reactnative-identicon/src/detectOther.ts | 6 ++++++ packages/ui-keyring/src/detectOther.ts | 6 ++++++ packages/vue-identicon/src/detectOther.ts | 6 ++++++ 4 files changed, 25 insertions(+) create mode 100644 packages/react-identicon/src/detectOther.ts create mode 100644 packages/reactnative-identicon/src/detectOther.ts create mode 100644 packages/ui-keyring/src/detectOther.ts create mode 100644 packages/vue-identicon/src/detectOther.ts diff --git a/packages/react-identicon/src/detectOther.ts b/packages/react-identicon/src/detectOther.ts new file mode 100644 index 00000000..5e6aa2cc --- /dev/null +++ b/packages/react-identicon/src/detectOther.ts @@ -0,0 +1,7 @@ +// Copyright 2017-2021 @polkadot/react-identicon authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; + +export default [settingsInfo, sharedInfo]; diff --git a/packages/reactnative-identicon/src/detectOther.ts b/packages/reactnative-identicon/src/detectOther.ts new file mode 100644 index 00000000..21e3c4ec --- /dev/null +++ b/packages/reactnative-identicon/src/detectOther.ts @@ -0,0 +1,6 @@ +// Copyright 2017-2021 @polkadot/reactnative-identicon authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; + +export default [sharedInfo]; diff --git a/packages/ui-keyring/src/detectOther.ts b/packages/ui-keyring/src/detectOther.ts new file mode 100644 index 00000000..ca1f797c --- /dev/null +++ b/packages/ui-keyring/src/detectOther.ts @@ -0,0 +1,6 @@ +// Copyright 2017-2021 @polkadot/ui-keyring authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo'; + +export default [settingsInfo]; diff --git a/packages/vue-identicon/src/detectOther.ts b/packages/vue-identicon/src/detectOther.ts new file mode 100644 index 00000000..6e0fe575 --- /dev/null +++ b/packages/vue-identicon/src/detectOther.ts @@ -0,0 +1,6 @@ +// Copyright 2017-2021 @polkadot/vue-identicon authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo'; + +export default [sharedInfo];