This commit is contained in:
Jaco Greeff
2020-09-17 16:12:32 +02:00
committed by GitHub
parent 7791282771
commit bc4e57e353
155 changed files with 301 additions and 398 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
// Copyright 2019-2020 @polkadot/extension-dapp 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 singleSource from './singleSource';
@@ -1,6 +1,5 @@
// Copyright 2019-2020 @polkadot/extension-dapp 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 { Signer } from '@polkadot/api/types';
import { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';
+1 -2
View File
@@ -1,6 +1,5 @@
// Copyright 2019-2020 @polkadot/extension-dapp 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 { Injected, InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedExtensionInfo, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@polkadot/extension-inject/types';
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
+1 -2
View File
@@ -1,6 +1,5 @@
// Copyright 2019-2020 @polkadot/extension-dapp 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 function documentReadyPromise <T> (creator: () => Promise<T>): Promise<T> {
return new Promise((resolve): void => {