Update headers for 2023 (#1189)
This commit is contained in:
parent
923ae122a0
commit
c71492a5f4
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const base = require('@polkadot/dev/config/eslint.cjs');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module.exports = require('@polkadot/dev/config/prettier.cjs');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('fs');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const config = require('@polkadot/dev/config/jest.cjs');
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const nodeCrypto = require('crypto');
|
||||
|
||||
@ -44,10 +44,10 @@
|
||||
"sinon-chrome": "^3.0.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"@polkadot/api": "^9.10.4",
|
||||
"@polkadot/api": "^9.10.5",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/networks": "^10.2.1",
|
||||
"@polkadot/types": "^9.10.4",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"@polkadot/x-fetch": "^10.2.1",
|
||||
|
||||
@ -21,15 +21,15 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/api": "^9.10.4",
|
||||
"@polkadot/api": "^9.10.5",
|
||||
"@polkadot/extension-chains": "^0.44.7",
|
||||
"@polkadot/extension-dapp": "^0.44.7",
|
||||
"@polkadot/extension-inject": "^0.44.7",
|
||||
"@polkadot/keyring": "^10.2.1",
|
||||
"@polkadot/networks": "^10.2.1",
|
||||
"@polkadot/phishing": "^0.18.12",
|
||||
"@polkadot/rpc-provider": "^9.10.4",
|
||||
"@polkadot/types": "^9.10.4",
|
||||
"@polkadot/rpc-provider": "^9.10.5",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/ui-keyring": "^2.9.14",
|
||||
"@polkadot/ui-settings": "^2.9.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringPair } from '@polkadot/keyring/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringPair } from '@polkadot/keyring/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/extension-mocks/chrome';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-bg authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-bg authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef, ProviderMeta } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Subscription } from 'rxjs';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export function withErrorLog (fn: () => unknown): void {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MessageTypes, TransportRequestMessage } from '../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MessageTypesWithSubscriptions, SubscriptionMessageTypes } from '../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable no-use-before-define */
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { packageInfo } from './packageInfo';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// this _must_ be changed for each extension
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { packageInfo as chainsInfo } from '@polkadot/extension-chains/packageInfo';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedAccount, InjectedAccounts, Unsubcall } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Injected } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedProvider, ProviderList, ProviderMeta } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Signer as SignerInterface, SignerResult } from '@polkadot/api/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MessageTypes, MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes, TransportRequestMessage, TransportResponseMessage } from '../background/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes } from '../background/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringJson, KeyringStore } from '@polkadot/ui-keyring/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
type StoreValue = Record<string, unknown>;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-base authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as AccountsStore } from './Accounts';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export interface Message extends MessageEvent {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeypairType } from '@polkadot/util-crypto/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { EXTENSION_PREFIX } from '../defaults';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { canDerive } from './canDerive';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-chains authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-chains authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-chains authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-chains authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@metamask/detect-provider": "^1.2.0",
|
||||
"@polkadot/extension-inject": "^0.44.7",
|
||||
"@polkadot/types": "^9.10.4",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"web3": "^1.8.1"
|
||||
},
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-compat-metamask authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-compat-metamask authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-compat-metamask authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-compat-metamask authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-dapp authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-dapp authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export function documentReadyPromise <T> (creator: () => Promise<T>): Promise<T> {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { u8aConcat, u8aEq, u8aToString } from '@polkadot/util';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util';
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.20.7",
|
||||
"@polkadot/rpc-provider": "^9.10.4",
|
||||
"@polkadot/types": "^9.10.4",
|
||||
"@polkadot/rpc-provider": "^9.10.5",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
"@polkadot/util-crypto": "^10.2.1",
|
||||
"@polkadot/x-global": "^10.2.1"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Injected, InjectedExtension, InjectedWindow, InjectOptions } from './types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { extractGlobal, xglobal } from '@polkadot/x-global';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { exposeGlobal, xglobal } from '@polkadot/x-global';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// cyrb53 (c) 2018 bryc (github.com/bryc)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Empty template, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2017-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-inject authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Signer as InjectedSigner } from '@polkadot/api/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-mocks authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-mocks authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-line
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-mocks authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React from 'react';
|
||||
|
||||
@ -31,8 +31,8 @@
|
||||
"@polkadot/networks": "^10.2.1",
|
||||
"@polkadot/react-identicon": "^2.9.14",
|
||||
"@polkadot/react-qr": "^2.9.14",
|
||||
"@polkadot/types": "^9.10.4",
|
||||
"@polkadot/types-augment": "^9.10.4",
|
||||
"@polkadot/types": "^9.10.5",
|
||||
"@polkadot/types-augment": "^9.10.5",
|
||||
"@polkadot/ui-keyring": "^2.9.14",
|
||||
"@polkadot/ui-settings": "^2.9.14",
|
||||
"@polkadot/util": "^10.2.1",
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { MetadataDef } from '@polkadot/extension-inject/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/extension-mocks/chrome';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountJson } from '@polkadot/extension-base/background/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountWithChildren } from '@polkadot/extension-base/background/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// We _could_ reformat, but just keep it as-is, since this is actually
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/extension-mocks/chrome';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RequestAuthorizeTab } from '@polkadot/extension-base/background/types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/extension-mocks/chrome';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/extension-mocks/chrome';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useMemo, useState } from 'react';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@polkadot/extension-mocks/chrome';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ThemeProps } from '../types';
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2022 @polkadot/extension-ui authors & contributors
|
||||
// Copyright 2019-2023 @polkadot/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { faSync } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user