mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-12 09:55:40 +00:00
Rebrand: polkadot → pezkuwi
- Updated all package references - Fixed react-identicon and related packages - Version 3.16.8
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringInstance, KeyringPair } from '@polkadot/keyring/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { Prefix } from '@polkadot/util-crypto/address/types';
|
||||
import type { KeyringInstance, KeyringPair } from '@pezkuwi/keyring/types';
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
import type { Prefix } from '@pezkuwi/util-crypto/address/types';
|
||||
import type { AddressSubject } from './observable/types.js';
|
||||
import type { KeyringOptions, KeyringStore } from './types.js';
|
||||
|
||||
import { createTestKeyring } from '@polkadot/keyring';
|
||||
import { isBoolean, isNumber, isString } from '@polkadot/util';
|
||||
import { createTestKeyring } from '@pezkuwi/keyring';
|
||||
import { isBoolean, isNumber, isString } from '@pezkuwi/util';
|
||||
|
||||
import { accounts } from './observable/accounts.js';
|
||||
import { addresses } from './observable/addresses.js';
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@polkadot/keyring/types';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { EncryptedJson } from '@polkadot/util-crypto/json/types';
|
||||
import type { KeypairType } from '@polkadot/util-crypto/types';
|
||||
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@pezkuwi/keyring/types';
|
||||
import type { BN } from '@pezkuwi/util';
|
||||
import type { EncryptedJson } from '@pezkuwi/util-crypto/json/types';
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
import type { AddressSubject, SingleAddress } from './observable/types.js';
|
||||
import type { CreateResult, KeyringAddress, KeyringAddressType, KeyringItemType, KeyringJson, KeyringJson$Meta, KeyringOptions, KeyringPairs$Json, KeyringStruct } from './types.js';
|
||||
|
||||
import { createPair } from '@polkadot/keyring';
|
||||
import { chains } from '@polkadot/ui-settings';
|
||||
import { bnToBn, hexToU8a, isFunction, isHex, isString, objectSpread, stringify, stringToU8a, u8aSorted, u8aToString } from '@polkadot/util';
|
||||
import { base64Decode, createKeyMulti, jsonDecrypt, jsonEncrypt } from '@polkadot/util-crypto';
|
||||
import { createPair } from '@pezkuwi/keyring';
|
||||
import { chains } from '@pezkuwi/ui-settings';
|
||||
import { bnToBn, hexToU8a, isFunction, isHex, isString, objectSpread, stringify, stringToU8a, u8aSorted, u8aToString } from '@pezkuwi/util';
|
||||
import { base64Decode, createKeyMulti, jsonDecrypt, jsonEncrypt } from '@pezkuwi/util-crypto';
|
||||
|
||||
import { env } from './observable/env.js';
|
||||
import { KeyringOption } from './options/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { Keyring } from './Keyring.js';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { decodeAddress } from '@polkadot/keyring';
|
||||
import { u8aToHex } from '@polkadot/util';
|
||||
import { decodeAddress } from '@pezkuwi/keyring';
|
||||
import { u8aToHex } from '@pezkuwi/util';
|
||||
|
||||
const ACCOUNT_PREFIX = 'account:';
|
||||
const ADDRESS_PREFIX = 'address:';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './packageDetect.js';
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Be able to import json in TS
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { accountKey } from '../defaults.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { addressKey } from '../defaults.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { contractKey } from '../defaults.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeypairType } from '@polkadot/util-crypto/types';
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
import type { KeyringJson, KeyringStore } from '../types.js';
|
||||
import type { AddressSubject, SingleAddress, SubjectInfo } from './types.js';
|
||||
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
import { objectCopy, objectSpread } from '@polkadot/util';
|
||||
import { objectCopy, objectSpread } from '@pezkuwi/util';
|
||||
|
||||
import { createOptionItem } from '../options/item.js';
|
||||
import { env } from './env.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { SubjectInfo } from './types.js';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { BehaviorSubject } from 'rxjs';
|
||||
import type { KeypairType } from '@polkadot/util-crypto/types';
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
import type { KeyringSectionOption } from '../options/types.js';
|
||||
import type { KeyringJson, KeyringStore } from '../types.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Subscription } from 'rxjs';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringSectionOption } from './types.js';
|
||||
|
||||
import { isUndefined } from '@polkadot/util';
|
||||
import { isUndefined } from '@pezkuwi/util';
|
||||
|
||||
export function createOptionItem (address: string, _name?: string): KeyringSectionOption {
|
||||
const name = isUndefined(_name)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringItemType, KeyringStruct } from '../types.js';
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
// (packageInfo imports will be kept as-is, user-editable)
|
||||
|
||||
import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo';
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
import { packageInfo as settingsInfo } from '@pezkuwi/ui-settings/packageInfo';
|
||||
import { detectPackage } from '@pezkuwi/util';
|
||||
|
||||
import { packageInfo } from './packageInfo.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-keyring', path: 'auto', type: 'auto', version: '3.16.6' };
|
||||
export const packageInfo = { name: '@pezkuwi/ui-keyring', path: 'auto', type: 'auto', version: '3.16.6' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringJson, KeyringStore } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringJson, KeyringStore } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { BrowserStore } from './Browser.js';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-keyring authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { KeyringInstance as BaseKeyringInstance, KeyringOptions as KeyringOptionsBase, KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@polkadot/keyring/types';
|
||||
import type { HexString } from '@polkadot/util/types';
|
||||
import type { EncryptedJson } from '@polkadot/util-crypto/json/types';
|
||||
import type { KeypairType } from '@polkadot/util-crypto/types';
|
||||
import type { KeyringInstance as BaseKeyringInstance, KeyringOptions as KeyringOptionsBase, KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '@pezkuwi/keyring/types';
|
||||
import type { HexString } from '@pezkuwi/util/types';
|
||||
import type { EncryptedJson } from '@pezkuwi/util-crypto/json/types';
|
||||
import type { KeypairType } from '@pezkuwi/util-crypto/types';
|
||||
import type { AddressSubject, SingleAddress } from './observable/types.js';
|
||||
|
||||
export type ContractMeta = NonNullable<KeyringPair$Meta['contract']>;
|
||||
|
||||
Reference in New Issue
Block a user