diff --git a/.babelrc.js b/.babelrc.js index 5188ea04..288abd38 100644 --- a/.babelrc.js +++ b/.babelrc.js @@ -1 +1,4 @@ +// Copyright 2017-2020 @polkadot/ui authors & contributors +// SPDX-License-Identifier: Apache-2.0 + module.exports = require('./babel.config.js'); diff --git a/.eslintrc.js b/.eslintrc.js index 33b9e86c..5eba89a6 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,3 +1,6 @@ +// Copyright 2017-2020 @polkadot/ui authors & contributors +// SPDX-License-Identifier: Apache-2.0 + const base = require('@polkadot/dev/config/eslint'); module.exports = { diff --git a/babel.config.js b/babel.config.js index a8664a87..7e54ddf5 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const base = require('@polkadot/dev/config/babel'); diff --git a/copy-to-apps.sh b/copy-to-apps.sh index 5204e9d2..28e93e33 100755 --- a/copy-to-apps.sh +++ b/copy-to-apps.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright 2017-2020 @polkadot/ui authors & contributors +# SPDX-License-Identifier: Apache-2.0 function copy_folder () { SRC="packages/$1/build" diff --git a/copy-to-extension.sh b/copy-to-extension.sh index 9189bf7e..2fc0aabc 100755 --- a/copy-to-extension.sh +++ b/copy-to-extension.sh @@ -1,4 +1,6 @@ #!/bin/bash +# Copyright 2017-2020 @polkadot/ui authors & contributors +# SPDX-License-Identifier: Apache-2.0 function copy_folder () { SRC="packages/$1/build" diff --git a/jest.config.js b/jest.config.js index b75dd069..19c68f20 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const config = require('@polkadot/dev/config/jest'); diff --git a/jest.resolver.js b/jest.resolver.js index cf2b4674..d9668e34 100644 --- a/jest.resolver.js +++ b/jest.resolver.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const path = require('path'); diff --git a/packages/example-react/src/index.tsx b/packages/example-react/src/index.tsx index 7009ce6d..8238706e 100644 --- a/packages/example-react/src/index.tsx +++ b/packages/example-react/src/index.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-react authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useEffect, useState } from 'react'; import ReactDOM from 'react-dom'; diff --git a/packages/example-react/webpack.config.js b/packages/example-react/webpack.config.js index 95de28ff..b9c02b38 100644 --- a/packages/example-react/webpack.config.js +++ b/packages/example-react/webpack.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-react authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const path = require('path'); const { WebpackPluginServe } = require('webpack-plugin-serve'); diff --git a/packages/example-vue/src/index.ts b/packages/example-vue/src/index.ts index db31d49a..619d59d7 100644 --- a/packages/example-vue/src/index.ts +++ b/packages/example-vue/src/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-vue authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Prefix } from '@polkadot/util-crypto/address/types'; diff --git a/packages/example-vue/webpack.config.js b/packages/example-vue/webpack.config.js index 3b23b94d..c5cac258 100644 --- a/packages/example-vue/webpack.config.js +++ b/packages/example-vue/webpack.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-vue authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const path = require('path'); const VueLoaderPlugin = require('vue-loader/lib/plugin'); diff --git a/packages/exampleReactNative/App.tsx b/packages/exampleReactNative/App.tsx index 74330d52..f0e8fb8c 100644 --- a/packages/exampleReactNative/App.tsx +++ b/packages/exampleReactNative/App.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-react authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useState } from 'react'; import { Button, SafeAreaView, ScrollView, StatusBar, StyleSheet, Text, View } from 'react-native'; diff --git a/packages/exampleReactNative/babel.config.js b/packages/exampleReactNative/babel.config.js index b4ad1ef8..340e8a1c 100644 --- a/packages/exampleReactNative/babel.config.js +++ b/packages/exampleReactNative/babel.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-reactnative authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 module.exports = { presets: ['module:metro-react-native-babel-preset'] diff --git a/packages/exampleReactNative/index.js b/packages/exampleReactNative/index.js index 3af52d34..1e11e7a9 100644 --- a/packages/exampleReactNative/index.js +++ b/packages/exampleReactNative/index.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-react authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import './nodeGlobalsShim.js'; diff --git a/packages/exampleReactNative/metro.config.js b/packages/exampleReactNative/metro.config.js index ef4e4151..db1312b1 100644 --- a/packages/exampleReactNative/metro.config.js +++ b/packages/exampleReactNative/metro.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-reactnative authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const path = require('path'); const getWorkspaces = require('get-yarn-workspaces'); diff --git a/packages/exampleReactNative/nodeGlobalsShim.js b/packages/exampleReactNative/nodeGlobalsShim.js index fd6185c1..7238430d 100644 --- a/packages/exampleReactNative/nodeGlobalsShim.js +++ b/packages/exampleReactNative/nodeGlobalsShim.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/example-reactnative authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 /* eslint-disable no-global-assign */ diff --git a/packages/react-identicon/src/Demo.tsx b/packages/react-identicon/src/Demo.tsx index 5ebc068f..f3263b00 100644 --- a/packages/react-identicon/src/Demo.tsx +++ b/packages/react-identicon/src/Demo.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/packages/react-identicon/src/Identicon.tsx b/packages/react-identicon/src/Identicon.tsx index d375ba58..2e81a5a3 100644 --- a/packages/react-identicon/src/Identicon.tsx +++ b/packages/react-identicon/src/Identicon.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Prefix } from '@polkadot/util-crypto/address/types'; import { IdentityProps as Props, Props as ComponentProps } from './types'; diff --git a/packages/react-identicon/src/icons/Beachball.tsx b/packages/react-identicon/src/icons/Beachball.tsx index 4d92d17f..e40655db 100644 --- a/packages/react-identicon/src/icons/Beachball.tsx +++ b/packages/react-identicon/src/icons/Beachball.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Props } from '../types'; diff --git a/packages/react-identicon/src/icons/Empty.tsx b/packages/react-identicon/src/icons/Empty.tsx index 5ccf4e2d..8ec4992c 100644 --- a/packages/react-identicon/src/icons/Empty.tsx +++ b/packages/react-identicon/src/icons/Empty.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Props } from '../types'; diff --git a/packages/react-identicon/src/icons/Jdenticon.tsx b/packages/react-identicon/src/icons/Jdenticon.tsx index 6469b424..9648d568 100644 --- a/packages/react-identicon/src/icons/Jdenticon.tsx +++ b/packages/react-identicon/src/icons/Jdenticon.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Props } from '../types'; diff --git a/packages/react-identicon/src/icons/Polkadot.tsx b/packages/react-identicon/src/icons/Polkadot.tsx index fa2ec6b6..b553c088 100644 --- a/packages/react-identicon/src/icons/Polkadot.tsx +++ b/packages/react-identicon/src/icons/Polkadot.tsx @@ -1,7 +1,6 @@ // Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon // Copyright 2018-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 // This has been converted from the original version that can be found at // diff --git a/packages/react-identicon/src/icons/index.ts b/packages/react-identicon/src/icons/index.ts index ae91df8a..26cf14e4 100644 --- a/packages/react-identicon/src/icons/index.ts +++ b/packages/react-identicon/src/icons/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export { default as Beachball } from './Beachball'; export { default as Empty } from './Empty'; diff --git a/packages/react-identicon/src/index.ts b/packages/react-identicon/src/index.ts index 557e5064..a79fb0b9 100644 --- a/packages/react-identicon/src/index.ts +++ b/packages/react-identicon/src/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Identicon from './Identicon'; export * from './icons'; diff --git a/packages/react-identicon/src/types.ts b/packages/react-identicon/src/types.ts index 91c295a9..05865111 100644 --- a/packages/react-identicon/src/types.ts +++ b/packages/react-identicon/src/types.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Prefix } from '@polkadot/util-crypto/address/types'; import React from 'react'; diff --git a/packages/react-identicon/webpack.config.js b/packages/react-identicon/webpack.config.js index 87b129cc..8d8fcf9e 100644 --- a/packages/react-identicon/webpack.config.js +++ b/packages/react-identicon/webpack.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const path = require('path'); diff --git a/packages/react-qr/src/Display.tsx b/packages/react-qr/src/Display.tsx index e7f29b2d..0760ad2e 100644 --- a/packages/react-qr/src/Display.tsx +++ b/packages/react-qr/src/Display.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useEffect, useMemo, useRef, useState } from 'react'; import styled from 'styled-components'; diff --git a/packages/react-qr/src/DisplayAddress.tsx b/packages/react-qr/src/DisplayAddress.tsx index 35a45ac1..f3dfc524 100644 --- a/packages/react-qr/src/DisplayAddress.tsx +++ b/packages/react-qr/src/DisplayAddress.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useMemo } from 'react'; diff --git a/packages/react-qr/src/DisplayPayload.tsx b/packages/react-qr/src/DisplayPayload.tsx index 567d179b..1b37da2c 100644 --- a/packages/react-qr/src/DisplayPayload.tsx +++ b/packages/react-qr/src/DisplayPayload.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useMemo } from 'react'; diff --git a/packages/react-qr/src/NetworkSpecs.tsx b/packages/react-qr/src/NetworkSpecs.tsx index 0806de71..61f43fef 100644 --- a/packages/react-qr/src/NetworkSpecs.tsx +++ b/packages/react-qr/src/NetworkSpecs.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { NetworkSpecsStruct } from '@polkadot/ui-settings'; diff --git a/packages/react-qr/src/Scan.tsx b/packages/react-qr/src/Scan.tsx index c3ab77bb..3a4f7960 100644 --- a/packages/react-qr/src/Scan.tsx +++ b/packages/react-qr/src/Scan.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useCallback, useMemo } from 'react'; import Reader from 'react-qr-reader'; diff --git a/packages/react-qr/src/ScanAddress.tsx b/packages/react-qr/src/ScanAddress.tsx index 874bbb1e..1b18c4da 100644 --- a/packages/react-qr/src/ScanAddress.tsx +++ b/packages/react-qr/src/ScanAddress.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; import { assert } from '@polkadot/util'; diff --git a/packages/react-qr/src/ScanSignature.tsx b/packages/react-qr/src/ScanSignature.tsx index e8c29fd8..121d7538 100644 --- a/packages/react-qr/src/ScanSignature.tsx +++ b/packages/react-qr/src/ScanSignature.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import React, { useCallback } from 'react'; diff --git a/packages/react-qr/src/constants.ts b/packages/react-qr/src/constants.ts index 86a2d721..9d902597 100644 --- a/packages/react-qr/src/constants.ts +++ b/packages/react-qr/src/constants.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const ADDRESS_PREFIX = 'substrate'; const SEED_PREFIX = 'secret'; diff --git a/packages/react-qr/src/index.tsx b/packages/react-qr/src/index.tsx index 7d27dc88..e04d9443 100644 --- a/packages/react-qr/src/index.tsx +++ b/packages/react-qr/src/index.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export { default as QrDisplayAddress } from './DisplayAddress'; export { default as QrDisplayPayload } from './DisplayPayload'; diff --git a/packages/react-qr/src/qrcode.ts b/packages/react-qr/src/qrcode.ts index d4fdeccf..0c91ca8a 100644 --- a/packages/react-qr/src/qrcode.ts +++ b/packages/react-qr/src/qrcode.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import _qrcode from 'qrcode-generator'; diff --git a/packages/react-qr/src/util.spec.ts b/packages/react-qr/src/util.spec.ts index 061b5aa1..0db25ab8 100644 --- a/packages/react-qr/src/util.spec.ts +++ b/packages/react-qr/src/util.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { u8aConcat, u8aToHex, u8aToString } from '@polkadot/util'; diff --git a/packages/react-qr/src/util.ts b/packages/react-qr/src/util.ts index 9e71b7bd..483a63bc 100644 --- a/packages/react-qr/src/util.ts +++ b/packages/react-qr/src/util.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-qr authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { isString, u8aConcat, u8aToU8a } from '@polkadot/util'; import { decodeAddress } from '@polkadot/util-crypto'; diff --git a/packages/reactnative-identicon/src/Identicon.tsx b/packages/reactnative-identicon/src/Identicon.tsx index 5b728a45..f2faf159 100644 --- a/packages/reactnative-identicon/src/Identicon.tsx +++ b/packages/reactnative-identicon/src/Identicon.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Prefix } from '@polkadot/util-crypto/address/types'; import { Props as ComponentProps } from './types'; diff --git a/packages/reactnative-identicon/src/icons/Empty.tsx b/packages/reactnative-identicon/src/icons/Empty.tsx index e9e72882..d4cd8bad 100644 --- a/packages/reactnative-identicon/src/icons/Empty.tsx +++ b/packages/reactnative-identicon/src/icons/Empty.tsx @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Props } from '../types'; diff --git a/packages/reactnative-identicon/src/icons/Polkadot.tsx b/packages/reactnative-identicon/src/icons/Polkadot.tsx index 1a2ec16c..3a162fbb 100644 --- a/packages/reactnative-identicon/src/icons/Polkadot.tsx +++ b/packages/reactnative-identicon/src/icons/Polkadot.tsx @@ -1,6 +1,5 @@ // Copyright 2018-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Circle as CircleType } from '@polkadot/ui-shared/icons/types'; import { Props } from '../types'; diff --git a/packages/reactnative-identicon/src/icons/index.ts b/packages/reactnative-identicon/src/icons/index.ts index 6d3daa01..899f2fae 100644 --- a/packages/reactnative-identicon/src/icons/index.ts +++ b/packages/reactnative-identicon/src/icons/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export { default as Empty } from './Empty'; export { default as Polkadot } from './Polkadot'; diff --git a/packages/reactnative-identicon/src/index.ts b/packages/reactnative-identicon/src/index.ts index 874df362..58f9df7f 100644 --- a/packages/reactnative-identicon/src/index.ts +++ b/packages/reactnative-identicon/src/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Identicon from './Identicon'; export * from './icons'; diff --git a/packages/reactnative-identicon/src/types.ts b/packages/reactnative-identicon/src/types.ts index fd273585..2162738e 100644 --- a/packages/reactnative-identicon/src/types.ts +++ b/packages/reactnative-identicon/src/types.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export interface Props { address: string; diff --git a/packages/ui-assets/src/types.d.ts b/packages/ui-assets/src/types.d.ts index c4cfbe91..657d4960 100644 --- a/packages/ui-assets/src/types.d.ts +++ b/packages/ui-assets/src/types.d.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-assets authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 declare module '*.svg' { // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/packages/ui-keyring/package.json b/packages/ui-keyring/package.json index 9b117024..a7fd96fd 100644 --- a/packages/ui-keyring/package.json +++ b/packages/ui-keyring/package.json @@ -26,7 +26,7 @@ }, "devDependencies": { "@polkadot/keyring": "^3.4.1", - "@polkadot/types": "^1.34.0-beta.8", + "@polkadot/types": "^1.34.0-beta.10", "@polkadot/util": "^3.4.1", "@types/ledgerhq__hw-transport-node-hid": "^4.22.1", "@types/ledgerhq__hw-transport-webusb": "^4.70.0", diff --git a/packages/ui-keyring/src/Base.ts b/packages/ui-keyring/src/Base.ts index 0aa9e0a6..41c9a057 100644 --- a/packages/ui-keyring/src/Base.ts +++ b/packages/ui-keyring/src/Base.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringInstance, KeyringPair } from '@polkadot/keyring/types'; import { Prefix } from '@polkadot/util-crypto/address/types'; diff --git a/packages/ui-keyring/src/Keyring.ts b/packages/ui-keyring/src/Keyring.ts index 406350ed..00c43ea8 100644 --- a/packages/ui-keyring/src/Keyring.ts +++ b/packages/ui-keyring/src/Keyring.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringPair, KeyringPair$Meta, KeyringPair$Json } from '@polkadot/keyring/types'; import { KeypairType } from '@polkadot/util-crypto/types'; diff --git a/packages/ui-keyring/src/defaults.ts b/packages/ui-keyring/src/defaults.ts index 9ae49f3b..7c551dcb 100644 --- a/packages/ui-keyring/src/defaults.ts +++ b/packages/ui-keyring/src/defaults.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { u8aToHex } from '@polkadot/util'; import { decodeAddress } from '@polkadot/keyring'; diff --git a/packages/ui-keyring/src/index.ts b/packages/ui-keyring/src/index.ts index 0dcbb7d5..1bfd8804 100644 --- a/packages/ui-keyring/src/index.ts +++ b/packages/ui-keyring/src/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { detectPackage } from '@polkadot/util'; diff --git a/packages/ui-keyring/src/ledger/index.ts b/packages/ui-keyring/src/ledger/index.ts index cdd41732..4b7888f4 100644 --- a/packages/ui-keyring/src/ledger/index.ts +++ b/packages/ui-keyring/src/ledger/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Transport from '@ledgerhq/hw-transport'; import { AccountOptions, LedgerAddress, LedgerSignature, LedgerTypes, LedgerVersion } from './types'; diff --git a/packages/ui-keyring/src/ledger/transportsEmpty.ts b/packages/ui-keyring/src/ledger/transportsEmpty.ts index 994373b1..7dbc06d2 100644 --- a/packages/ui-keyring/src/ledger/transportsEmpty.ts +++ b/packages/ui-keyring/src/ledger/transportsEmpty.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { TransportDef } from './types'; diff --git a/packages/ui-keyring/src/ledger/transportsNode.ts b/packages/ui-keyring/src/ledger/transportsNode.ts index 39d14ed1..e9bb3b04 100644 --- a/packages/ui-keyring/src/ledger/transportsNode.ts +++ b/packages/ui-keyring/src/ledger/transportsNode.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { TransportDef } from './types'; diff --git a/packages/ui-keyring/src/ledger/transportsWeb.ts b/packages/ui-keyring/src/ledger/transportsWeb.ts index a7054a89..cb14b4d8 100644 --- a/packages/ui-keyring/src/ledger/transportsWeb.ts +++ b/packages/ui-keyring/src/ledger/transportsWeb.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { TransportDef } from './types'; diff --git a/packages/ui-keyring/src/ledger/types.ts b/packages/ui-keyring/src/ledger/types.ts index d19f8e61..21afe29f 100644 --- a/packages/ui-keyring/src/ledger/types.ts +++ b/packages/ui-keyring/src/ledger/types.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Transport from '@ledgerhq/hw-transport'; diff --git a/packages/ui-keyring/src/observable/accounts.ts b/packages/ui-keyring/src/observable/accounts.ts index 948eb03f..3ed25042 100644 --- a/packages/ui-keyring/src/observable/accounts.ts +++ b/packages/ui-keyring/src/observable/accounts.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { accountKey } from '../defaults'; diff --git a/packages/ui-keyring/src/observable/addresses.ts b/packages/ui-keyring/src/observable/addresses.ts index 319b60ed..fcb2b245 100644 --- a/packages/ui-keyring/src/observable/addresses.ts +++ b/packages/ui-keyring/src/observable/addresses.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { addressKey } from '../defaults'; diff --git a/packages/ui-keyring/src/observable/contracts.ts b/packages/ui-keyring/src/observable/contracts.ts index aac71524..69d98e91 100644 --- a/packages/ui-keyring/src/observable/contracts.ts +++ b/packages/ui-keyring/src/observable/contracts.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { contractKey } from '../defaults'; diff --git a/packages/ui-keyring/src/observable/development.ts b/packages/ui-keyring/src/observable/development.ts index ba3748a7..149cd81b 100644 --- a/packages/ui-keyring/src/observable/development.ts +++ b/packages/ui-keyring/src/observable/development.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { BehaviorSubject } from 'rxjs'; diff --git a/packages/ui-keyring/src/observable/genericSubject.ts b/packages/ui-keyring/src/observable/genericSubject.ts index 6bab18c8..676232bb 100644 --- a/packages/ui-keyring/src/observable/genericSubject.ts +++ b/packages/ui-keyring/src/observable/genericSubject.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { SubjectInfo, AddressSubject, SingleAddress } from './types'; import { KeyringJson, KeyringStore } from '../types'; diff --git a/packages/ui-keyring/src/observable/index.ts b/packages/ui-keyring/src/observable/index.ts index 43b6d547..1b80d2b5 100644 --- a/packages/ui-keyring/src/observable/index.ts +++ b/packages/ui-keyring/src/observable/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { SubjectInfo } from './types'; diff --git a/packages/ui-keyring/src/observable/types.ts b/packages/ui-keyring/src/observable/types.ts index f625f09b..b842b978 100644 --- a/packages/ui-keyring/src/observable/types.ts +++ b/packages/ui-keyring/src/observable/types.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { BehaviorSubject } from 'rxjs'; import { KeyringSectionOption } from '../options/types'; diff --git a/packages/ui-keyring/src/options/index.spec.ts b/packages/ui-keyring/src/options/index.spec.ts index b82bac20..65df14ec 100644 --- a/packages/ui-keyring/src/options/index.spec.ts +++ b/packages/ui-keyring/src/options/index.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringStruct } from '../types'; import keyringOptionInstance from '.'; diff --git a/packages/ui-keyring/src/options/index.ts b/packages/ui-keyring/src/options/index.ts index e7ede6a9..aa9897fa 100644 --- a/packages/ui-keyring/src/options/index.ts +++ b/packages/ui-keyring/src/options/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringStruct } from '../types'; import { SingleAddress } from '../observable/types'; diff --git a/packages/ui-keyring/src/options/item.ts b/packages/ui-keyring/src/options/item.ts index bf6a31c8..9e7c2ecf 100644 --- a/packages/ui-keyring/src/options/item.ts +++ b/packages/ui-keyring/src/options/item.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringSectionOption } from './types'; diff --git a/packages/ui-keyring/src/options/types.ts b/packages/ui-keyring/src/options/types.ts index 1700888f..2c988ea1 100644 --- a/packages/ui-keyring/src/options/types.ts +++ b/packages/ui-keyring/src/options/types.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringItemType, KeyringStruct } from '../types'; diff --git a/packages/ui-keyring/src/stores/Browser.ts b/packages/ui-keyring/src/stores/Browser.ts index 10a3b021..6e7e4fd2 100644 --- a/packages/ui-keyring/src/stores/Browser.ts +++ b/packages/ui-keyring/src/stores/Browser.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringStore, KeyringJson } from '../types'; diff --git a/packages/ui-keyring/src/stores/File.ts b/packages/ui-keyring/src/stores/File.ts index bb60e89a..a2f98f6e 100644 --- a/packages/ui-keyring/src/stores/File.ts +++ b/packages/ui-keyring/src/stores/File.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { KeyringStore, KeyringJson } from '../types'; diff --git a/packages/ui-keyring/src/stores/index.ts b/packages/ui-keyring/src/stores/index.ts index 9921b1bb..324660c4 100644 --- a/packages/ui-keyring/src/stores/index.ts +++ b/packages/ui-keyring/src/stores/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export { default as BrowserStore } from './Browser'; export { default as FileStore } from './File'; diff --git a/packages/ui-keyring/src/types.ts b/packages/ui-keyring/src/types.ts index 4dd773ce..9132def3 100644 --- a/packages/ui-keyring/src/types.ts +++ b/packages/ui-keyring/src/types.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-keyring authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Hash } from '@polkadot/types/interfaces'; import { KeyringInstance as BaseKeyringInstance, KeyringPair, KeyringPair$Meta, KeyringPair$Json, KeyringOptions as KeyringOptionsBase } from '@polkadot/keyring/types'; diff --git a/packages/ui-settings/src/Settings.ts b/packages/ui-settings/src/Settings.ts index e0829d43..4100aaf5 100644 --- a/packages/ui-settings/src/Settings.ts +++ b/packages/ui-settings/src/Settings.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import EventEmitter from 'eventemitter3'; import store from 'store'; diff --git a/packages/ui-settings/src/defaults/chains.ts b/packages/ui-settings/src/defaults/chains.ts index 07063cdb..f2b2944e 100644 --- a/packages/ui-settings/src/defaults/chains.ts +++ b/packages/ui-settings/src/defaults/chains.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 type ChainDef = string[]; diff --git a/packages/ui-settings/src/defaults/crypto.ts b/packages/ui-settings/src/defaults/crypto.ts index e4cca7e3..3401cfd3 100644 --- a/packages/ui-settings/src/defaults/crypto.ts +++ b/packages/ui-settings/src/defaults/crypto.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Option } from '../types'; diff --git a/packages/ui-settings/src/defaults/endpoints.ts b/packages/ui-settings/src/defaults/endpoints.ts index a281ed6c..01a00424 100644 --- a/packages/ui-settings/src/defaults/endpoints.ts +++ b/packages/ui-settings/src/defaults/endpoints.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Option } from '../types'; diff --git a/packages/ui-settings/src/defaults/index.ts b/packages/ui-settings/src/defaults/index.ts index 7a58d83b..5ab4ba0f 100644 --- a/packages/ui-settings/src/defaults/index.ts +++ b/packages/ui-settings/src/defaults/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Option } from '../types'; diff --git a/packages/ui-settings/src/defaults/ledger.ts b/packages/ui-settings/src/defaults/ledger.ts index f887676d..72b087ba 100644 --- a/packages/ui-settings/src/defaults/ledger.ts +++ b/packages/ui-settings/src/defaults/ledger.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Option } from '../types'; diff --git a/packages/ui-settings/src/defaults/ss58.ts b/packages/ui-settings/src/defaults/ss58.ts index 55b84c64..64a60b28 100644 --- a/packages/ui-settings/src/defaults/ss58.ts +++ b/packages/ui-settings/src/defaults/ss58.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Option } from '../types'; diff --git a/packages/ui-settings/src/defaults/type.ts b/packages/ui-settings/src/defaults/type.ts index 5fa58b96..d48d2188 100644 --- a/packages/ui-settings/src/defaults/type.ts +++ b/packages/ui-settings/src/defaults/type.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 // matches https://polkadot.js.org & https://*.polkadot.io export const isPolkadot = typeof window !== 'undefined' && window.location.host.includes('polkadot'); diff --git a/packages/ui-settings/src/defaults/ui.ts b/packages/ui-settings/src/defaults/ui.ts index 6365e0ab..90ad6c81 100644 --- a/packages/ui-settings/src/defaults/ui.ts +++ b/packages/ui-settings/src/defaults/ui.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Option } from '../types'; diff --git a/packages/ui-settings/src/index.ts b/packages/ui-settings/src/index.ts index e7e176d4..5544d3e0 100644 --- a/packages/ui-settings/src/index.ts +++ b/packages/ui-settings/src/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import settings, { Settings } from './Settings'; export { ENDPOINT_DEFAULT, ICON_DEFAULT, ICON_DEFAULT_HOST, LANGUAGE_DEFAULT, LOCKING_DEFAULT, PREFIX_DEFAULT, UIMODE_DEFAULT, UITHEME_DEFAULT } from './defaults'; diff --git a/packages/ui-settings/src/types.ts b/packages/ui-settings/src/types.ts index 9eba194c..e2207efe 100644 --- a/packages/ui-settings/src/types.ts +++ b/packages/ui-settings/src/types.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-settings authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export type Option = { disabled?: boolean; diff --git a/packages/ui-shared/src/icons/beachball/colors.spec.ts b/packages/ui-shared/src/icons/beachball/colors.spec.ts index 76f1efa7..c91b155e 100644 --- a/packages/ui-shared/src/icons/beachball/colors.spec.ts +++ b/packages/ui-shared/src/icons/beachball/colors.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { ColorGen } from './types'; diff --git a/packages/ui-shared/src/icons/beachball/colors.ts b/packages/ui-shared/src/icons/beachball/colors.ts index bd38795a..f2f07e77 100644 --- a/packages/ui-shared/src/icons/beachball/colors.ts +++ b/packages/ui-shared/src/icons/beachball/colors.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { ColorGen, Seeder } from './types'; diff --git a/packages/ui-shared/src/icons/beachball/container.spec.ts b/packages/ui-shared/src/icons/beachball/container.spec.ts index 6e305884..64e40638 100644 --- a/packages/ui-shared/src/icons/beachball/container.spec.ts +++ b/packages/ui-shared/src/icons/beachball/container.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import container from './container'; diff --git a/packages/ui-shared/src/icons/beachball/container.ts b/packages/ui-shared/src/icons/beachball/container.ts index 6f482ba1..fc5304ca 100644 --- a/packages/ui-shared/src/icons/beachball/container.ts +++ b/packages/ui-shared/src/icons/beachball/container.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export default function container (diameter: number, background = 'white', className = '', _style: { [index: string]: string } = {}): HTMLElement { const element = document.createElement('div'); diff --git a/packages/ui-shared/src/icons/beachball/defaults.ts b/packages/ui-shared/src/icons/beachball/defaults.ts index 0caba54d..ecfd0d06 100644 --- a/packages/ui-shared/src/icons/beachball/defaults.ts +++ b/packages/ui-shared/src/icons/beachball/defaults.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const COLORS: string[] = [ // https://sashat.me/2017/01/11/list-of-20-simple-distinct-colors/ diff --git a/packages/ui-shared/src/icons/beachball/demo.ts b/packages/ui-shared/src/icons/beachball/demo.ts index c11b963d..7bf001f4 100644 --- a/packages/ui-shared/src/icons/beachball/demo.ts +++ b/packages/ui-shared/src/icons/beachball/demo.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { isNull } from '@polkadot/util'; import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto'; diff --git a/packages/ui-shared/src/icons/beachball/index.spec.ts b/packages/ui-shared/src/icons/beachball/index.spec.ts index 48d51e64..92df0eb0 100644 --- a/packages/ui-shared/src/icons/beachball/index.spec.ts +++ b/packages/ui-shared/src/icons/beachball/index.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import xmlserializer from 'xmlserializer'; diff --git a/packages/ui-shared/src/icons/beachball/index.ts b/packages/ui-shared/src/icons/beachball/index.ts index 1606e673..2e999553 100644 --- a/packages/ui-shared/src/icons/beachball/index.ts +++ b/packages/ui-shared/src/icons/beachball/index.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Options } from '../types'; diff --git a/packages/ui-shared/src/icons/beachball/seeder.spec.ts b/packages/ui-shared/src/icons/beachball/seeder.spec.ts index 375d2827..e847bda0 100644 --- a/packages/ui-shared/src/icons/beachball/seeder.spec.ts +++ b/packages/ui-shared/src/icons/beachball/seeder.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Seeder } from './types'; diff --git a/packages/ui-shared/src/icons/beachball/seeder.ts b/packages/ui-shared/src/icons/beachball/seeder.ts index 28cf62b3..32b3ac62 100644 --- a/packages/ui-shared/src/icons/beachball/seeder.ts +++ b/packages/ui-shared/src/icons/beachball/seeder.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Seeder } from './types'; diff --git a/packages/ui-shared/src/icons/beachball/shape/circle.spec.ts b/packages/ui-shared/src/icons/beachball/shape/circle.spec.ts index dd6151a7..630325e0 100644 --- a/packages/ui-shared/src/icons/beachball/shape/circle.spec.ts +++ b/packages/ui-shared/src/icons/beachball/shape/circle.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import xmlserializer from 'xmlserializer'; diff --git a/packages/ui-shared/src/icons/beachball/shape/circle.ts b/packages/ui-shared/src/icons/beachball/shape/circle.ts index dc5ecdec..c6181faf 100644 --- a/packages/ui-shared/src/icons/beachball/shape/circle.ts +++ b/packages/ui-shared/src/icons/beachball/shape/circle.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Seeder } from '../types'; diff --git a/packages/ui-shared/src/icons/beachball/shape/square.ts b/packages/ui-shared/src/icons/beachball/shape/square.ts index 20c0914a..973e65d2 100644 --- a/packages/ui-shared/src/icons/beachball/shape/square.ts +++ b/packages/ui-shared/src/icons/beachball/shape/square.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Seeder } from '../types'; diff --git a/packages/ui-shared/src/icons/beachball/svg/circle.spec.ts b/packages/ui-shared/src/icons/beachball/svg/circle.spec.ts index 11486e29..d02d4a4c 100644 --- a/packages/ui-shared/src/icons/beachball/svg/circle.spec.ts +++ b/packages/ui-shared/src/icons/beachball/svg/circle.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import xmlserializer from 'xmlserializer'; diff --git a/packages/ui-shared/src/icons/beachball/svg/circle.ts b/packages/ui-shared/src/icons/beachball/svg/circle.ts index eb2bb617..ff38fa42 100644 --- a/packages/ui-shared/src/icons/beachball/svg/circle.ts +++ b/packages/ui-shared/src/icons/beachball/svg/circle.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import createSvg from './svg'; diff --git a/packages/ui-shared/src/icons/beachball/svg/element.spec.ts b/packages/ui-shared/src/icons/beachball/svg/element.spec.ts index 4f2cca17..e21a4b86 100644 --- a/packages/ui-shared/src/icons/beachball/svg/element.spec.ts +++ b/packages/ui-shared/src/icons/beachball/svg/element.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import xmlserializer from 'xmlserializer'; diff --git a/packages/ui-shared/src/icons/beachball/svg/element.ts b/packages/ui-shared/src/icons/beachball/svg/element.ts index 19840101..360c75b0 100644 --- a/packages/ui-shared/src/icons/beachball/svg/element.ts +++ b/packages/ui-shared/src/icons/beachball/svg/element.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import createSvg from './svg'; diff --git a/packages/ui-shared/src/icons/beachball/svg/rect.spec.ts b/packages/ui-shared/src/icons/beachball/svg/rect.spec.ts index fb08a883..203aad7d 100644 --- a/packages/ui-shared/src/icons/beachball/svg/rect.spec.ts +++ b/packages/ui-shared/src/icons/beachball/svg/rect.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import xmlserializer from 'xmlserializer'; diff --git a/packages/ui-shared/src/icons/beachball/svg/rect.ts b/packages/ui-shared/src/icons/beachball/svg/rect.ts index 97744cec..430fc6e6 100644 --- a/packages/ui-shared/src/icons/beachball/svg/rect.ts +++ b/packages/ui-shared/src/icons/beachball/svg/rect.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import createElement from './element'; diff --git a/packages/ui-shared/src/icons/beachball/svg/svg.spec.ts b/packages/ui-shared/src/icons/beachball/svg/svg.spec.ts index 7fe3875b..831e9990 100644 --- a/packages/ui-shared/src/icons/beachball/svg/svg.spec.ts +++ b/packages/ui-shared/src/icons/beachball/svg/svg.spec.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import xmlserializer from 'xmlserializer'; diff --git a/packages/ui-shared/src/icons/beachball/svg/svg.ts b/packages/ui-shared/src/icons/beachball/svg/svg.ts index aaeae623..a694e597 100644 --- a/packages/ui-shared/src/icons/beachball/svg/svg.ts +++ b/packages/ui-shared/src/icons/beachball/svg/svg.ts @@ -1,7 +1,6 @@ // Copyright 2016 Dan Finlay // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const SVG_NS = 'http://www.w3.org/2000/svg'; diff --git a/packages/ui-shared/src/icons/beachball/types.ts b/packages/ui-shared/src/icons/beachball/types.ts index 0177a5d2..34432e8d 100644 --- a/packages/ui-shared/src/icons/beachball/types.ts +++ b/packages/ui-shared/src/icons/beachball/types.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export type Seeder = () => number; diff --git a/packages/ui-shared/src/icons/index.ts b/packages/ui-shared/src/icons/index.ts index 2c0350cf..c19ce386 100644 --- a/packages/ui-shared/src/icons/index.ts +++ b/packages/ui-shared/src/icons/index.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export { default as beachballIcon } from './beachball'; export { default as polkadotIcon } from './polkadot'; diff --git a/packages/ui-shared/src/icons/polkadot.spec.ts b/packages/ui-shared/src/icons/polkadot.spec.ts index 0f2159b6..b2e30caf 100644 --- a/packages/ui-shared/src/icons/polkadot.spec.ts +++ b/packages/ui-shared/src/icons/polkadot.spec.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import generate from './polkadot'; diff --git a/packages/ui-shared/src/icons/polkadot.ts b/packages/ui-shared/src/icons/polkadot.ts index b65382a5..6c333321 100644 --- a/packages/ui-shared/src/icons/polkadot.ts +++ b/packages/ui-shared/src/icons/polkadot.ts @@ -1,7 +1,6 @@ // Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon // Copyright 2018-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 // This has been converted from the original version that can be found at // diff --git a/packages/ui-shared/src/icons/types.ts b/packages/ui-shared/src/icons/types.ts index 42dcb185..fe72438a 100644 --- a/packages/ui-shared/src/icons/types.ts +++ b/packages/ui-shared/src/icons/types.ts @@ -1,6 +1,5 @@ // Copyright 2018-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export interface Circle { cx: number; diff --git a/packages/ui-shared/src/index.ts b/packages/ui-shared/src/index.ts index 637d9825..2dba2a56 100644 --- a/packages/ui-shared/src/index.ts +++ b/packages/ui-shared/src/index.ts @@ -1,5 +1,4 @@ // Copyright 2018-2020 @polkadot/ui-shared authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export * from './icons'; diff --git a/packages/vue-identicon/src/Demo.ts b/packages/vue-identicon/src/Demo.ts index a0a1dae8..30aeb6ae 100644 --- a/packages/vue-identicon/src/Demo.ts +++ b/packages/vue-identicon/src/Demo.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Vue, { VNode } from 'vue'; diff --git a/packages/vue-identicon/src/Identicon.ts b/packages/vue-identicon/src/Identicon.ts index ceaaf76f..43faf236 100644 --- a/packages/vue-identicon/src/Identicon.ts +++ b/packages/vue-identicon/src/Identicon.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Prefix } from '@polkadot/util-crypto/address/types'; diff --git a/packages/vue-identicon/src/icons/Beachball.ts b/packages/vue-identicon/src/icons/Beachball.ts index a30a62ad..fd9a5307 100644 --- a/packages/vue-identicon/src/icons/Beachball.ts +++ b/packages/vue-identicon/src/icons/Beachball.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Vue from 'vue'; import { beachballIcon } from '@polkadot/ui-shared'; diff --git a/packages/vue-identicon/src/icons/Empty.ts b/packages/vue-identicon/src/icons/Empty.ts index c2eb7977..9d608bf9 100644 --- a/packages/vue-identicon/src/icons/Empty.ts +++ b/packages/vue-identicon/src/icons/Empty.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Vue from 'vue'; diff --git a/packages/vue-identicon/src/icons/Jdenticon.ts b/packages/vue-identicon/src/icons/Jdenticon.ts index cf0cca02..08bf9e40 100644 --- a/packages/vue-identicon/src/icons/Jdenticon.ts +++ b/packages/vue-identicon/src/icons/Jdenticon.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Vue from 'vue'; import jdenticon from 'jdenticon'; diff --git a/packages/vue-identicon/src/icons/Polkadot.ts b/packages/vue-identicon/src/icons/Polkadot.ts index 5fedf5ae..ce20ef7a 100644 --- a/packages/vue-identicon/src/icons/Polkadot.ts +++ b/packages/vue-identicon/src/icons/Polkadot.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import Vue from 'vue'; import { polkadotIcon } from '@polkadot/ui-shared'; diff --git a/packages/vue-identicon/src/icons/index.ts b/packages/vue-identicon/src/icons/index.ts index d14856d0..501fbfff 100644 --- a/packages/vue-identicon/src/icons/index.ts +++ b/packages/vue-identicon/src/icons/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/reactnative-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 export * from './Beachball'; export * from './Empty'; diff --git a/packages/vue-identicon/src/index.ts b/packages/vue-identicon/src/index.ts index d4f5f09e..434d23b8 100644 --- a/packages/vue-identicon/src/index.ts +++ b/packages/vue-identicon/src/index.ts @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/vue-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 import { Identicon } from './Identicon'; diff --git a/packages/vue-identicon/webpack.config.js b/packages/vue-identicon/webpack.config.js index e702efc4..213399f2 100644 --- a/packages/vue-identicon/webpack.config.js +++ b/packages/vue-identicon/webpack.config.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/react-identicon authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 const path = require('path'); const VueLoaderPlugin = require('vue-loader/lib/plugin'); diff --git a/typedoc.js b/typedoc.js index bd01b222..dc4ea468 100644 --- a/typedoc.js +++ b/typedoc.js @@ -1,6 +1,5 @@ // Copyright 2017-2020 @polkadot/ui authors & contributors -// This software may be modified and distributed under the terms -// of the Apache-2.0 license. See the LICENSE file for details. +// SPDX-License-Identifier: Apache-2.0 module.exports = { exclude: '**/*+(index|e2e|spec).ts', diff --git a/yarn.lock b/yarn.lock index 8e953812..926460dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3156,17 +3156,17 @@ __metadata: languageName: node linkType: hard -"@polkadot/metadata@npm:1.34.0-beta.8": - version: 1.34.0-beta.8 - resolution: "@polkadot/metadata@npm:1.34.0-beta.8" +"@polkadot/metadata@npm:1.34.0-beta.10": + version: 1.34.0-beta.10 + resolution: "@polkadot/metadata@npm:1.34.0-beta.10" dependencies: "@babel/runtime": ^7.11.2 - "@polkadot/types": 1.34.0-beta.8 - "@polkadot/types-known": 1.34.0-beta.8 + "@polkadot/types": 1.34.0-beta.10 + "@polkadot/types-known": 1.34.0-beta.10 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 bn.js: ^5.1.3 - checksum: 244e3bd0248a348e39c7ba340054ecd6e14d78eeffe4b507644a4509276f628f4690791bf4ddaa766d8522af26c048c92b1f2aa3943910a0ea3b5563af5538e6 + checksum: 09075b88e497ac7fc7d4ba6fd0655c9d0fc8932fccbec732d41fa74b0b9f637276c27b89d5bd38679ac94a3f832404cafd7865d21a5d9068c8b60826bc2b7fd6 languageName: node linkType: hard @@ -3242,31 +3242,31 @@ __metadata: languageName: node linkType: hard -"@polkadot/types-known@npm:1.34.0-beta.8": - version: 1.34.0-beta.8 - resolution: "@polkadot/types-known@npm:1.34.0-beta.8" +"@polkadot/types-known@npm:1.34.0-beta.10": + version: 1.34.0-beta.10 + resolution: "@polkadot/types-known@npm:1.34.0-beta.10" dependencies: "@babel/runtime": ^7.11.2 - "@polkadot/types": 1.34.0-beta.8 + "@polkadot/types": 1.34.0-beta.10 "@polkadot/util": ^3.4.1 bn.js: ^5.1.3 - checksum: b97c8096cf2aff6cb783e2b0846e30169d1218c9e2dd3c900ccdee37cfba1ce8a38e73f378b3a417b6d82e833a32ec9343d67c4c6ed087c445be9765febebd6d + checksum: 3d2783b8d2d7c12e2f1897640035f8e4f42ff83f8fc147d5406aa7678a06b96c14ba1e197d4432a1442c0e7c9da2836a504e777ecc83aa7f830a38d9a52665ee languageName: node linkType: hard -"@polkadot/types@npm:1.34.0-beta.8, @polkadot/types@npm:^1.34.0-beta.8": - version: 1.34.0-beta.8 - resolution: "@polkadot/types@npm:1.34.0-beta.8" +"@polkadot/types@npm:1.34.0-beta.10, @polkadot/types@npm:^1.34.0-beta.10": + version: 1.34.0-beta.10 + resolution: "@polkadot/types@npm:1.34.0-beta.10" dependencies: "@babel/runtime": ^7.11.2 - "@polkadot/metadata": 1.34.0-beta.8 + "@polkadot/metadata": 1.34.0-beta.10 "@polkadot/util": ^3.4.1 "@polkadot/util-crypto": ^3.4.1 "@types/bn.js": ^4.11.6 bn.js: ^5.1.3 memoizee: ^0.4.14 rxjs: ^6.6.3 - checksum: 1c1577ef0f0b8b35e53009c3d2d03afafae7d2ba5742e95557edc5045262db88b4a683459a396a89152fb834e8b533eb53fb35437675eb4894e7ec4ae0b84e20 + checksum: d8513376b5e2b503173198d96a3052381af384aae12ff5e988dd398f1647f383face8f37fd06f0f7e85d2208069d6d2b16e8d78ca9be24ccb99c8d8f322a2cd4 languageName: node linkType: hard @@ -3286,7 +3286,7 @@ __metadata: "@ledgerhq/hw-transport-node-hid": ^5.23.2 "@ledgerhq/hw-transport-webusb": ^5.23.0 "@polkadot/keyring": ^3.4.1 - "@polkadot/types": ^1.34.0-beta.8 + "@polkadot/types": ^1.34.0-beta.10 "@polkadot/util": ^3.4.1 "@types/ledgerhq__hw-transport-node-hid": ^4.22.1 "@types/ledgerhq__hw-transport-webusb": ^4.70.0