Update headers for 2023 (#1189)

This commit is contained in:
Jaco 2023-01-01 10:23:00 +02:00 committed by GitHub
parent 923ae122a0
commit c71492a5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
222 changed files with 328 additions and 328 deletions

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
const base = require('@polkadot/dev/config/eslint.cjs'); const base = require('@polkadot/dev/config/eslint.cjs');

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs'); module.exports = require('@polkadot/dev/config/prettier.cjs');

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs'); module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs');

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
const fs = require('fs'); const fs = require('fs');

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
const config = require('@polkadot/dev/config/jest.cjs'); const config = require('@polkadot/dev/config/jest.cjs');

View File

@ -1,4 +1,4 @@
// Copyright 2017-2022 @polkadot/extension authors & contributors // Copyright 2017-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
const nodeCrypto = require('crypto'); const nodeCrypto = require('crypto');

View File

@ -44,10 +44,10 @@
"sinon-chrome": "^3.0.1" "sinon-chrome": "^3.0.1"
}, },
"resolutions": { "resolutions": {
"@polkadot/api": "^9.10.4", "@polkadot/api": "^9.10.5",
"@polkadot/keyring": "^10.2.1", "@polkadot/keyring": "^10.2.1",
"@polkadot/networks": "^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": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1", "@polkadot/util-crypto": "^10.2.1",
"@polkadot/x-fetch": "^10.2.1", "@polkadot/x-fetch": "^10.2.1",

View File

@ -21,15 +21,15 @@
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.7", "@babel/runtime": "^7.20.7",
"@polkadot/api": "^9.10.4", "@polkadot/api": "^9.10.5",
"@polkadot/extension-chains": "^0.44.7", "@polkadot/extension-chains": "^0.44.7",
"@polkadot/extension-dapp": "^0.44.7", "@polkadot/extension-dapp": "^0.44.7",
"@polkadot/extension-inject": "^0.44.7", "@polkadot/extension-inject": "^0.44.7",
"@polkadot/keyring": "^10.2.1", "@polkadot/keyring": "^10.2.1",
"@polkadot/networks": "^10.2.1", "@polkadot/networks": "^10.2.1",
"@polkadot/phishing": "^0.18.12", "@polkadot/phishing": "^0.18.12",
"@polkadot/rpc-provider": "^9.10.4", "@polkadot/rpc-provider": "^9.10.5",
"@polkadot/types": "^9.10.4", "@polkadot/types": "^9.10.5",
"@polkadot/ui-keyring": "^2.9.14", "@polkadot/ui-keyring": "^2.9.14",
"@polkadot/ui-settings": "^2.9.14", "@polkadot/ui-settings": "^2.9.14",
"@polkadot/util": "^10.2.1", "@polkadot/util": "^10.2.1",

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeyringPair } from '@polkadot/keyring/types'; import type { KeyringPair } from '@polkadot/keyring/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeyringPair } from '@polkadot/keyring/types'; import type { KeyringPair } from '@polkadot/keyring/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/extension-mocks/chrome'; import '@polkadot/extension-mocks/chrome';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { MetadataDef } from '@polkadot/extension-inject/types'; import type { MetadataDef } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { MetadataDef, ProviderMeta } from '@polkadot/extension-inject/types'; import type { MetadataDef, ProviderMeta } from '@polkadot/extension-inject/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Subscription } from 'rxjs'; import type { Subscription } from 'rxjs';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export function withErrorLog (fn: () => unknown): void { export function withErrorLog (fn: () => unknown): void {

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { MessageTypes, TransportRequestMessage } from '../types'; import type { MessageTypes, TransportRequestMessage } from '../types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { MessageTypesWithSubscriptions, SubscriptionMessageTypes } from '../types'; import type { MessageTypesWithSubscriptions, SubscriptionMessageTypes } from '../types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
/* eslint-disable no-use-before-define */ /* eslint-disable no-use-before-define */

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
export { packageInfo } from './packageInfo'; export { packageInfo } from './packageInfo';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// this _must_ be changed for each extension // this _must_ be changed for each extension

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { packageInfo as chainsInfo } from '@polkadot/extension-chains/packageInfo'; import { packageInfo as chainsInfo } from '@polkadot/extension-chains/packageInfo';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Since we inject into pages, we skip this // Since we inject into pages, we skip this

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { InjectedAccount, InjectedAccounts, Unsubcall } from '@polkadot/extension-inject/types'; import type { InjectedAccount, InjectedAccounts, Unsubcall } from '@polkadot/extension-inject/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { Injected } from '@polkadot/extension-inject/types'; import type { Injected } from '@polkadot/extension-inject/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@polkadot/extension-inject/types'; import type { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { InjectedProvider, ProviderList, ProviderMeta } from '@polkadot/extension-inject/types'; import type { InjectedProvider, ProviderList, ProviderMeta } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { Signer as SignerInterface, SignerResult } from '@polkadot/api/types'; import type { Signer as SignerInterface, SignerResult } from '@polkadot/api/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { MessageTypes, MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes, TransportRequestMessage, TransportResponseMessage } from '../background/types'; import type { MessageTypes, MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes, TransportRequestMessage, TransportResponseMessage } from '../background/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes } from '../background/types'; import type { MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes } from '../background/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { KeyringJson, KeyringStore } from '@polkadot/ui-keyring/types'; import type { KeyringJson, KeyringStore } from '@polkadot/ui-keyring/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
type StoreValue = Record<string, unknown>; type StoreValue = Record<string, unknown>;

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { MetadataDef } from '@polkadot/extension-inject/types'; import type { MetadataDef } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
export { default as AccountsStore } from './Accounts'; export { default as AccountsStore } from './Accounts';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export interface Message extends MessageEvent { export interface Message extends MessageEvent {

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { KeypairType } from '@polkadot/util-crypto/types'; import type { KeypairType } from '@polkadot/util-crypto/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { EXTENSION_PREFIX } from '../defaults'; import { EXTENSION_PREFIX } from '../defaults';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
export { canDerive } from './canDerive'; export { canDerive } from './canDerive';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { MetadataDef } from '@polkadot/extension-inject/types'; import type { MetadataDef } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo'; import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Since we inject into pages, we skip this // Since we inject into pages, we skip this

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { MetadataDef } from '@polkadot/extension-inject/types'; import type { MetadataDef } from '@polkadot/extension-inject/types';

View File

@ -23,7 +23,7 @@
"@babel/runtime": "^7.20.7", "@babel/runtime": "^7.20.7",
"@metamask/detect-provider": "^1.2.0", "@metamask/detect-provider": "^1.2.0",
"@polkadot/extension-inject": "^0.44.7", "@polkadot/extension-inject": "^0.44.7",
"@polkadot/types": "^9.10.4", "@polkadot/types": "^9.10.5",
"@polkadot/util": "^10.2.1", "@polkadot/util": "^10.2.1",
"web3": "^1.8.1" "web3": "^1.8.1"
}, },

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types'; import type { Injected, InjectedAccount, InjectedWindow } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo'; import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Since we inject into pages, we skip this // Since we inject into pages, we skip this

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@polkadot/extension-inject/types'; import type { InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo'; import { packageInfo as injectInfo } from '@polkadot/extension-inject/packageInfo';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Since we inject into pages, we skip this // Since we inject into pages, we skip this

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
export function documentReadyPromise <T> (creator: () => Promise<T>): Promise<T> { export function documentReadyPromise <T> (creator: () => Promise<T>): Promise<T> {

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { u8aConcat, u8aEq, u8aToString } from '@polkadot/util'; import { u8aConcat, u8aEq, u8aToString } from '@polkadot/util';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util'; import { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@polkadot/util';

View File

@ -18,8 +18,8 @@
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.20.7", "@babel/runtime": "^7.20.7",
"@polkadot/rpc-provider": "^9.10.4", "@polkadot/rpc-provider": "^9.10.5",
"@polkadot/types": "^9.10.4", "@polkadot/types": "^9.10.5",
"@polkadot/util": "^10.2.1", "@polkadot/util": "^10.2.1",
"@polkadot/util-crypto": "^10.2.1", "@polkadot/util-crypto": "^10.2.1",
"@polkadot/x-global": "^10.2.1" "@polkadot/x-global": "^10.2.1"

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { Injected, InjectedExtension, InjectedWindow, InjectOptions } from './types'; import type { Injected, InjectedExtension, InjectedWindow, InjectOptions } from './types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { extractGlobal, xglobal } from '@polkadot/x-global'; import { extractGlobal, xglobal } from '@polkadot/x-global';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { exposeGlobal, xglobal } from '@polkadot/x-global'; import { exposeGlobal, xglobal } from '@polkadot/x-global';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// cyrb53 (c) 2018 bryc (github.com/bryc) // cyrb53 (c) 2018 bryc (github.com/bryc)

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Empty template, auto-generated by @polkadot/dev // Empty template, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Since we inject into pages, we skip this // Since we inject into pages, we skip this

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev // Do not edit, auto-generated by @polkadot/dev

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { Signer as InjectedSigner } from '@polkadot/api/types'; import type { Signer as InjectedSigner } from '@polkadot/api/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
/* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/no-explicit-any */

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// eslint-disable-line // eslint-disable-line

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import React from 'react'; import React from 'react';

View File

@ -31,8 +31,8 @@
"@polkadot/networks": "^10.2.1", "@polkadot/networks": "^10.2.1",
"@polkadot/react-identicon": "^2.9.14", "@polkadot/react-identicon": "^2.9.14",
"@polkadot/react-qr": "^2.9.14", "@polkadot/react-qr": "^2.9.14",
"@polkadot/types": "^9.10.4", "@polkadot/types": "^9.10.5",
"@polkadot/types-augment": "^9.10.4", "@polkadot/types-augment": "^9.10.5",
"@polkadot/ui-keyring": "^2.9.14", "@polkadot/ui-keyring": "^2.9.14",
"@polkadot/ui-settings": "^2.9.14", "@polkadot/ui-settings": "^2.9.14",
"@polkadot/util": "^10.2.1", "@polkadot/util": "^10.2.1",

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { MetadataDef } from '@polkadot/extension-inject/types'; import { MetadataDef } from '@polkadot/extension-inject/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/extension-mocks/chrome'; import '@polkadot/extension-mocks/chrome';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { AccountJson } from '@polkadot/extension-base/background/types'; import type { AccountJson } from '@polkadot/extension-base/background/types';

View File

@ -1,4 +1,4 @@
// Copyright 2019-2022 @polkadot/extension authors & contributors // Copyright 2019-2023 @polkadot/extension authors & contributors
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import type { AccountWithChildren } from '@polkadot/extension-base/background/types'; import type { AccountWithChildren } from '@polkadot/extension-base/background/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
// 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

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/extension-mocks/chrome'; import '@polkadot/extension-mocks/chrome';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { RequestAuthorizeTab } from '@polkadot/extension-base/background/types'; import type { RequestAuthorizeTab } from '@polkadot/extension-base/background/types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/extension-mocks/chrome'; import '@polkadot/extension-mocks/chrome';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useState } from 'react'; import React, { useCallback, useState } from 'react';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useContext, useEffect, useState } from 'react'; import React, { useCallback, useContext, useEffect, useState } from 'react';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../../types'; import type { ThemeProps } from '../../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/extension-mocks/chrome'; import '@polkadot/extension-mocks/chrome';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react'; import React, { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useContext, useMemo, useState } from 'react'; import React, { useCallback, useContext, useMemo, useState } from 'react';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import '@polkadot/extension-mocks/chrome'; import '@polkadot/extension-mocks/chrome';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../types'; import type { ThemeProps } from '../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../types'; import type { ThemeProps } from '../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import type { ThemeProps } from '../types'; import type { ThemeProps } from '../types';

View File

@ -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 // SPDX-License-Identifier: Apache-2.0
import { faSync } from '@fortawesome/free-solid-svg-icons'; import { faSync } from '@fortawesome/free-solid-svg-icons';

Some files were not shown because too many files have changed in this diff Show More