mirror of
https://github.com/pezkuwichain/pezkuwi-extension.git
synced 2026-04-21 23:48:03 +00:00
chore: update copyright years to 2026 and fix lint issues
- Update all copyright headers from 2025 to 2026 - Fix @polkadot references to @pezkuwi in config files - Fix eslint.config.js import path Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
module.exports = require('@polkadot/dev/config/prettier.cjs');
|
||||
module.exports = require('@pezkuwi/dev/config/prettier.cjs');
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/extension authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import baseConfig from '@polkadot/dev/config/eslint';
|
||||
import baseConfig from '@pezkuwi/dev/config/eslint';
|
||||
|
||||
export default [
|
||||
...baseConfig,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @polkadot/extension authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const fs = require('fs');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringPair } from '@pezkuwi/keyring/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringPair } from '@pezkuwi/keyring/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-bg authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-bg authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export function withErrorLog (fn: () => unknown): void {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as handlers, withErrorLog } from './handlers/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable no-use-before-define */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// this _must_ be changed for each extension
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedAccount, InjectedAccounts, Unsubcall } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Injected } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedMetadata, InjectedMetadataKnown, MetadataDef } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedProvider, ProviderList, ProviderMeta } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Signer as SignerInterface, SignerResult } from '@pezkuwi/api/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable no-redeclare */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MessageTypesWithNoSubscriptions, MessageTypesWithNullRequest, MessageTypesWithSubscriptions, RequestTypes, ResponseTypes, SubscriptionMessageTypes } from '../background/types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringJson, KeyringStore } from '@pezkuwi/ui-keyring/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* global chrome */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { default as AccountsStore } from './Accounts.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export interface Message extends MessageEvent {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { EXTENSION_PREFIX } from '../defaults.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { canDerive } from './canDerive.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-base authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-base authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Message } from '@pezkuwi/extension-base/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-chains authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-chains authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-chains authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-chains authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-compat-metamask authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Injected, InjectedAccount, InjectedWindow } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-compat-metamask authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-compat-metamask authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-dapp authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { InjectedAccount, InjectedAccountWithMeta, InjectedExtension, InjectedProviderWithMeta, InjectedWindow, ProviderList, Unsubcall, Web3AccountsOptions } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-dapp authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-dapp authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-dapp authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/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-2025 @pezkuwi/extension authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type * as _ from '@pezkuwi/dev-test/globals.d.ts';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { U8A_WRAP_ETHEREUM, U8A_WRAP_POSTFIX, U8A_WRAP_PREFIX, u8aIsWrapped, u8aUnwrapBytes, u8aWrapBytes } from '@pezkuwi/util';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Injected, InjectedExtension, InjectedWindow, InjectOptions } from './types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { extractGlobal, xglobal } from '@pezkuwi/x-global';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { exposeGlobal, xglobal } from '@pezkuwi/x-global';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type * as _ from '@pezkuwi/dev-test/globals.d.ts';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// cyrb53 (c) 2018 bryc (github.com/bryc)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Since we inject into pages, we skip this
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-inject authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-inject authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Signer as InjectedSigner } from '@pezkuwi/api/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-mocks authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-mocks authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import sinonChrome from 'sinon-chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-mocks authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export default '';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @polkadot/extension-mocks authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// eslint-disable-line
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-mocks authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import path from 'node:path';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-mocks authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-mocks authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type React from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountJson } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountWithChildren } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/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-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountWithChildren } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useEffect } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AuthUrlInfo } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AuthUrlInfo, AuthUrls } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { t } from 'i18next';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RequestAuthorizeTab } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useEffect, useRef, useState } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useRef, useState } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { faLock, faLockOpen } from '@fortawesome/free-solid-svg-icons';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/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-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useMemo, useState } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RouteComponentProps } from 'react-router';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RouteComponentProps } from 'react-router';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { RouteComponentProps } from 'react-router';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { MetadataDef } from '@pezkuwi/extension-inject/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useContext } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ResponseJsonGetAccountInfo } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useMemo } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Chain } from '@pezkuwi/extension-chains/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/* eslint-disable deprecation/deprecation */
|
||||
@@ -11,11 +11,11 @@ import type { HexString } from '@pezkuwi/util/types';
|
||||
|
||||
import { faSync } from '@fortawesome/free-solid-svg-icons';
|
||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||
import { merkleizeMetadata } from '@polkadot-api/merkleize-metadata';
|
||||
import React, { useCallback, useEffect, useState } from 'react';
|
||||
|
||||
import settings from '@pezkuwi/ui-settings';
|
||||
import { assert, objectSpread, u8aToHex } from '@pezkuwi/util';
|
||||
import { merkleizeMetadata } from '@polkadot-api/merkleize-metadata';
|
||||
|
||||
import { Button, Warning } from '../../components/index.js';
|
||||
import { useLedger, useMetadata, useTranslation } from '../../hooks/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { ExtrinsicPayload } from '@pezkuwi/types/interfaces';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import React, { useCallback, useContext, useEffect, useState } from 'react';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { AccountJson, RequestSign } from '@pezkuwi/extension-base/background/types';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2019-2025 @pezkuwi/extension-ui authors & contributors
|
||||
// Copyright 2019-2026 @pezkuwi/extension-ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import '@pezkuwi/extension-mocks/chrome';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user