SPDX (#459)
This commit is contained in:
parent
7791282771
commit
bc4e57e353
@ -1 +1,4 @@
|
|||||||
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
module.exports = require('./babel.config.js');
|
module.exports = require('./babel.config.js');
|
||||||
|
|||||||
@ -1,3 +1,6 @@
|
|||||||
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
const base = require('@polkadot/dev/config/eslint');
|
const base = require('@polkadot/dev/config/eslint');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||||
import chrome from 'sinon-chrome';
|
import chrome from 'sinon-chrome';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
// eslint-disable-line
|
// eslint-disable-line
|
||||||
module.exports = '';
|
module.exports = '';
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
module.exports = require('@polkadot/dev/config/babel');
|
module.exports = require('@polkadot/dev/config/babel');
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
# Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
function copy_folder () {
|
function copy_folder () {
|
||||||
SRC="packages/$1/build"
|
SRC="packages/$1/build"
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
input: [
|
input: [
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const config = require('@polkadot/dev/config/jest');
|
const config = require('@polkadot/dev/config/jest');
|
||||||
|
|
||||||
|
|||||||
@ -8,9 +8,9 @@
|
|||||||
"packages/*"
|
"packages/*"
|
||||||
],
|
],
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@polkadot/api": "^1.34.0-beta.8",
|
"@polkadot/api": "^1.34.0-beta.10",
|
||||||
"@polkadot/keyring": "^3.4.1",
|
"@polkadot/keyring": "^3.4.1",
|
||||||
"@polkadot/types": "^1.34.0-beta.8",
|
"@polkadot/types": "^1.34.0-beta.10",
|
||||||
"@polkadot/util": "^3.4.1",
|
"@polkadot/util": "^3.4.1",
|
||||||
"@polkadot/util-crypto": "^3.4.1",
|
"@polkadot/util-crypto": "^3.4.1",
|
||||||
"babel-core": "^7.0.0-bridge.0",
|
"babel-core": "^7.0.0-bridge.0",
|
||||||
@ -36,7 +36,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.11.6",
|
"@babel/core": "^7.11.6",
|
||||||
"@polkadot/dev": "^0.55.52",
|
"@polkadot/dev": "^0.55.52",
|
||||||
"@polkadot/typegen": "^1.34.0-beta.8",
|
"@polkadot/typegen": "^1.34.0-beta.10",
|
||||||
"@types/jest": "^26.0.14",
|
"@types/jest": "^26.0.14",
|
||||||
"copy-webpack-plugin": "^6.1.0",
|
"copy-webpack-plugin": "^6.1.0",
|
||||||
"i18next-scanner": "^2.11.0",
|
"i18next-scanner": "^2.11.0",
|
||||||
|
|||||||
@ -6,9 +6,9 @@
|
|||||||
"license": "Apache-2",
|
"license": "Apache-2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/runtime": "^7.11.2",
|
"@babel/runtime": "^7.11.2",
|
||||||
"@polkadot/api": "^1.34.0-beta.8",
|
"@polkadot/api": "^1.34.0-beta.10",
|
||||||
"@polkadot/extension-inject": "0.35.0-beta.1",
|
"@polkadot/extension-inject": "0.35.0-beta.1",
|
||||||
"@polkadot/keyring": "^3.4.1",
|
"@polkadot/keyring": "^3.4.1",
|
||||||
"@polkadot/ui-keyring": "^0.59.0-beta.7"
|
"@polkadot/ui-keyring": "^0.59.0-beta.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringPair } from '@polkadot/keyring/types';
|
import { KeyringPair } from '@polkadot/keyring/types';
|
||||||
import { RequestSign } from './types';
|
import { RequestSign } from './types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringPair } from '@polkadot/keyring/types';
|
import { KeyringPair } from '@polkadot/keyring/types';
|
||||||
import { SignerPayloadJSON } from '@polkadot/types/types';
|
import { SignerPayloadJSON } from '@polkadot/types/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../../__mocks__/chrome';
|
import '../../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
import { SubjectInfo } from '@polkadot/ui-keyring/observable/types';
|
import { SubjectInfo } from '@polkadot/ui-keyring/observable/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-bg authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-bg authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { knownMetadata, addMetadata } from '@polkadot/extension-chains';
|
import { knownMetadata, addMetadata } from '@polkadot/extension-chains';
|
||||||
import { ProviderMeta, MetadataDef } from '@polkadot/extension-inject/types';
|
import { ProviderMeta, MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { InjectedAccount, InjectedMetadataKnown, MetadataDef, ProviderMeta } from '@polkadot/extension-inject/types';
|
import { InjectedAccount, InjectedMetadataKnown, MetadataDef, ProviderMeta } from '@polkadot/extension-inject/types';
|
||||||
import { KeyringPair } from '@polkadot/keyring/types';
|
import { KeyringPair } from '@polkadot/keyring/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { TransportRequestMessage, MessageTypes } from '../types';
|
import { TransportRequestMessage, MessageTypes } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { SubscriptionMessageTypes, MessageTypesWithSubscriptions } from '../types';
|
import { SubscriptionMessageTypes, MessageTypesWithSubscriptions } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
/* eslint-disable no-use-before-define */
|
/* eslint-disable no-use-before-define */
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const PORT_CONTENT = 'content';
|
const PORT_CONTENT = 'content';
|
||||||
const PORT_EXTENSION = 'extension';
|
const PORT_EXTENSION = 'extension';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { InjectedAccounts, InjectedAccount, Unsubcall } from '@polkadot/extension-inject/types';
|
import { InjectedAccounts, InjectedAccount, Unsubcall } from '@polkadot/extension-inject/types';
|
||||||
import { SendRequest } from './types';
|
import { SendRequest } from './types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import PostMessageProvider from './PostMessageProvider';
|
import PostMessageProvider from './PostMessageProvider';
|
||||||
import { Injected } from '@polkadot/extension-inject/types';
|
import { Injected } from '@polkadot/extension-inject/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@polkadot/extension-inject/types';
|
import { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
import { SendRequest } from './types';
|
import { SendRequest } from './types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ProviderInterfaceEmitCb, ProviderInterfaceEmitted } from '@polkadot/rpc-provider/types';
|
import { ProviderInterfaceEmitCb, ProviderInterfaceEmitted } from '@polkadot/rpc-provider/types';
|
||||||
import { AnyFunction } from '@polkadot/types/types';
|
import { AnyFunction } from '@polkadot/types/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Signer as SignerInterface, SignerResult } from '@polkadot/api/types';
|
import { Signer as SignerInterface, SignerResult } from '@polkadot/api/types';
|
||||||
import { SignerPayloadJSON, SignerPayloadRaw } from '@polkadot/types/types';
|
import { SignerPayloadJSON, SignerPayloadRaw } from '@polkadot/types/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ResponseTypes, TransportRequestMessage, TransportResponseMessage, MessageTypes, RequestTypes, MessageTypesWithNullRequest, SubscriptionMessageTypes, MessageTypesWithNoSubscriptions, MessageTypesWithSubscriptions } from '../background/types';
|
import { ResponseTypes, TransportRequestMessage, TransportResponseMessage, MessageTypes, RequestTypes, MessageTypesWithNullRequest, SubscriptionMessageTypes, MessageTypesWithNoSubscriptions, MessageTypesWithSubscriptions } from '../background/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { RequestTypes, ResponseTypes, SubscriptionMessageTypes, MessageTypesWithNullRequest, MessageTypesWithNoSubscriptions, MessageTypesWithSubscriptions } from '../background/types';
|
import { RequestTypes, ResponseTypes, SubscriptionMessageTypes, MessageTypesWithNullRequest, MessageTypesWithNoSubscriptions, MessageTypesWithSubscriptions } from '../background/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringStore, KeyringJson } from '@polkadot/ui-keyring/types';
|
import { KeyringStore, KeyringJson } from '@polkadot/ui-keyring/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import chrome from '@polkadot/extension-inject/chrome';
|
import chrome from '@polkadot/extension-inject/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-base authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export { default as AccountsStore } from './Accounts';
|
export { default as AccountsStore } from './Accounts';
|
||||||
export { default as MetadataStore } from './Metadata';
|
export { default as MetadataStore } from './Metadata';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export interface Message extends MessageEvent {
|
export interface Message extends MessageEvent {
|
||||||
data: {
|
data: {
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { MetadataDefBase } from '@polkadot/extension-inject/types';
|
import { MetadataDefBase } from '@polkadot/extension-inject/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import chains from './chains';
|
import chains from './chains';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
import { Chain } from './types';
|
import { Chain } from './types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-chains authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
import { Registry } from '@polkadot/types/types';
|
import { Registry } from '@polkadot/types/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import singleSource from './singleSource';
|
import singleSource from './singleSource';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Signer } from '@polkadot/api/types';
|
import { Signer } from '@polkadot/api/types';
|
||||||
import { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';
|
import { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Injected, InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedExtensionInfo, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@polkadot/extension-inject/types';
|
import { Injected, InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedExtensionInfo, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@polkadot/extension-inject/types';
|
||||||
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
|
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-dapp authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
export function documentReadyPromise <T> (creator: () => Promise<T>): Promise<T> {
|
export function documentReadyPromise <T> (creator: () => Promise<T>): Promise<T> {
|
||||||
return new Promise((resolve): void => {
|
return new Promise((resolve): void => {
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-inject authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-inject authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
const extension = typeof chrome !== 'undefined'
|
const extension = typeof chrome !== 'undefined'
|
||||||
? chrome
|
? chrome
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-inject authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-inject authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Injected, InjectedWindow, InjectOptions } from './types';
|
import { Injected, InjectedWindow, InjectOptions } from './types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-inject authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-inject authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Signer as InjectedSigner } from '@polkadot/api/types';
|
import { Signer as InjectedSigner } from '@polkadot/api/types';
|
||||||
import { ProviderInterface } from '@polkadot/rpc-provider/types';
|
import { ProviderInterface } from '@polkadot/rpc-provider/types';
|
||||||
|
|||||||
@ -9,8 +9,8 @@
|
|||||||
"@polkadot/extension-base": "0.35.0-beta.1",
|
"@polkadot/extension-base": "0.35.0-beta.1",
|
||||||
"@polkadot/extension-inject": "0.35.0-beta.1",
|
"@polkadot/extension-inject": "0.35.0-beta.1",
|
||||||
"@polkadot/keyring": "^3.4.1",
|
"@polkadot/keyring": "^3.4.1",
|
||||||
"@polkadot/react-identicon": "^0.59.0-beta.7",
|
"@polkadot/react-identicon": "^0.59.0-beta.8",
|
||||||
"@polkadot/react-qr": "^0.59.0-beta.7",
|
"@polkadot/react-qr": "^0.59.0-beta.8",
|
||||||
"@polkadot/util": "^3.4.1",
|
"@polkadot/util": "^3.4.1",
|
||||||
"@polkadot/util-crypto": "^3.4.1",
|
"@polkadot/util-crypto": "^3.4.1",
|
||||||
"i18next": "^19.7.0",
|
"i18next": "^19.7.0",
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../../__mocks__/chrome';
|
import '../../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { AccountJson } from '@polkadot/extension-base/background/types';
|
import { AccountJson } from '@polkadot/extension-base/background/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
// Copyright 2019-2020 @polkadot/extension authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { AccountWithChildren } from '@polkadot/extension-base/background/types';
|
import { AccountWithChildren } from '@polkadot/extension-base/background/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
// We _could_ reformat, but just keep it as-is, since this is actually
|
// We _could_ reformat, but just keep it as-is, since this is actually
|
||||||
// externally generated and not really user-editable
|
// externally generated and not really user-editable
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useContext } from 'react';
|
import React, { useContext } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../../__mocks__/chrome';
|
import '../../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { RequestAuthorizeTab } from '@polkadot/extension-base/background/types';
|
import { RequestAuthorizeTab } from '@polkadot/extension-base/background/types';
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useContext } from 'react';
|
import React, { useContext } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useState } from 'react';
|
import React, { useCallback, useState } from 'react';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../../__mocks__/chrome';
|
import '../../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useState } from 'react';
|
import React, { useCallback, useState } from 'react';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../../__mocks__/chrome';
|
import '../../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
|
import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useContext, useMemo, useState } from 'react';
|
import React, { useCallback, useContext, useMemo, useState } from 'react';
|
||||||
import { useParams } from 'react-router';
|
import { useParams } from 'react-router';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../__mocks__/chrome';
|
import '../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useContext, useState } from 'react';
|
import React, { useCallback, useContext, useState } from 'react';
|
||||||
import { RouteComponentProps, withRouter } from 'react-router';
|
import { RouteComponentProps, withRouter } from 'react-router';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useContext } from 'react';
|
import React, { useCallback, useContext } from 'react';
|
||||||
import { RouteComponentProps, withRouter } from 'react-router';
|
import { RouteComponentProps, withRouter } from 'react-router';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useContext, useState } from 'react';
|
import React, { useContext, useState } from 'react';
|
||||||
import { QrScanAddress } from '@polkadot/react-qr';
|
import { QrScanAddress } from '@polkadot/react-qr';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useContext } from 'react';
|
import React, { useContext } from 'react';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { KeyringPair$Json } from '@polkadot/keyring/types';
|
import { KeyringPair$Json } from '@polkadot/keyring/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { Chain } from '@polkadot/extension-chains/types';
|
import { Chain } from '@polkadot/extension-chains/types';
|
||||||
import { Call, ExtrinsicEra, ExtrinsicPayload } from '@polkadot/types/interfaces';
|
import { Call, ExtrinsicEra, ExtrinsicPayload } from '@polkadot/types/interfaces';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ExtrinsicPayload } from '@polkadot/types/interfaces';
|
import { ExtrinsicPayload } from '@polkadot/types/interfaces';
|
||||||
import { SignerPayloadJSON } from '@polkadot/types/types';
|
import { SignerPayloadJSON } from '@polkadot/types/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ExtrinsicPayload } from '@polkadot/types/interfaces';
|
import { ExtrinsicPayload } from '@polkadot/types/interfaces';
|
||||||
import { AccountJson, RequestSign } from '@polkadot/extension-base/background/types';
|
import { AccountJson, RequestSign } from '@polkadot/extension-base/background/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import '../../../../../__mocks__/chrome';
|
import '../../../../../__mocks__/chrome';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../../types';
|
import { ThemeProps } from '../../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback, useEffect, useState } from 'react';
|
import React, { useCallback, useEffect, useState } from 'react';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { SignerPayloadJSON } from '@polkadot/types/types';
|
import { SignerPayloadJSON } from '@polkadot/types/types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps as Props } from '../types';
|
import { ThemeProps as Props } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { AccountJson, AccountsContext, AuthorizeRequest, MetadataRequest, SigningRequest } from '@polkadot/extension-base/background/types';
|
import { AccountJson, AccountsContext, AuthorizeRequest, MetadataRequest, SigningRequest } from '@polkadot/extension-base/background/types';
|
||||||
import { SettingsStruct } from '@polkadot/ui-settings/types';
|
import { SettingsStruct } from '@polkadot/ui-settings/types';
|
||||||
|
|||||||
3
packages/extension-ui/src/assets/images.d.ts
vendored
3
packages/extension-ui/src/assets/images.d.ts
vendored
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
declare module '*.svg' {
|
declare module '*.svg' {
|
||||||
const url: string;
|
const url: string;
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { AccountJson, AccountWithChildren } from '@polkadot/extension-base/background/types';
|
import { AccountJson, AccountWithChildren } from '@polkadot/extension-base/background/types';
|
||||||
import { Chain } from '@polkadot/extension-chains/types';
|
import { Chain } from '@polkadot/extension-chains/types';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Button } from '.';
|
import { Button } from '.';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { createGlobalStyle } from 'styled-components';
|
import { createGlobalStyle } from 'styled-components';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2017-2020 @polkadot/react-components authors & contributors
|
// Copyright 2017-2020 @polkadot/react-components authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import React, { useCallback } from 'react';
|
import React, { useCallback } from 'react';
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
// Copyright 2019-2020 @polkadot/extension-ui authors & contributors
|
||||||
// This software may be modified and distributed under the terms
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
||||||
|
|
||||||
import { ThemeProps } from '../types';
|
import { ThemeProps } from '../types';
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user