Rebrand: polkadot → pezkuwi

- Updated all package references
- Fixed react-identicon and related packages
- Version 3.16.8
This commit is contained in:
2026-01-07 02:35:24 +03:00
parent 2e00b6e4e4
commit d1cd13072f
140 changed files with 1737 additions and 738 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs');
module.exports = require('@pezkuwi/dev/config/prettier.cjs');
+934
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -12,4 +12,4 @@ logFilters:
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.5.1.cjs
yarnPath: .yarn/releases/yarn-4.6.0.cjs
+177 -177
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -1,4 +1,4 @@
# @polkadot/ui
# @pezkuwi/ui
Basic browser and framework agnostic UI components for creating apps using the polkadot{.js} libraries
@@ -13,6 +13,6 @@ The following UI components are currently available -
Additionally some shared libraries, that are not dependent on any framework -
- [ui-keyring](packages/ui-keyring/) A browser-specific wrapper around the base [@polkadot/keyring](https://github.com/polkadot-js/common/) library
- [ui-keyring](packages/ui-keyring/) A browser-specific wrapper around the base [@pezkuwi/keyring](https://github.com/pezkuwichain/common/) library
- [ui-settings](packages/ui-settings/) A browser local storage wrapper for app settings & configuration
- [ui-shared](packages/ui-shared) Shared logic that is used across UI components, e.g. for icon generation
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared 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
+15 -15
View File
@@ -1,20 +1,20 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"engines": {
"node": ">=18.14"
},
"homepage": "https://github.com/polkadot-js/ui#readme",
"homepage": "https://github.com/pezkuwichain/ui#readme",
"license": "Apache-2.0",
"packageManager": "yarn@4.5.1",
"packageManager": "yarn@4.6.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": false,
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"versions": {
"git": "3.16.6",
"npm": "3.16.6"
@@ -23,18 +23,18 @@
"packages/*"
],
"scripts": {
"build": "polkadot-dev-build-ts",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"clean": "polkadot-dev-clean-build",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "polkadot-dev-run-test --env browser",
"test:one": "polkadot-dev-run-test --env browser"
"build": "pezkuwi-dev-build-ts",
"build:release": "pezkuwi-ci-ghact-build",
"build:rollup": "pezkuwi-exec-rollup --config",
"clean": "pezkuwi-dev-clean-build",
"lint": "pezkuwi-dev-run-lint",
"postinstall": "pezkuwi-dev-yarn-only",
"test": "pezkuwi-dev-run-test --env browser",
"test:one": "pezkuwi-dev-run-test --env browser"
},
"devDependencies": {
"@polkadot/dev": "^0.83.3",
"@polkadot/x-bundle": "^14.0.1",
"@pezkuwi/dev": "^0.85.2",
"@pezkuwi/x-bundle": "^14.0.5",
"@types/node": "^22.10.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
+3 -3
View File
@@ -1,15 +1,15 @@
# @polkadot/react-identicon
# @pezkuwi/react-identicon
A generic identity icon that can render icons based on the theme, be it Substrate or Polkadot
## Usage Examples
To install the component, do `yarn add @polkadot/react-identicon`
To install the component, do `yarn add @pezkuwi/react-identicon`
Inside a React component, you can now render any account with the associated icon -
```javascript
import Identicon from '@polkadot/react-identicon';
import Identicon from '@pezkuwi/react-identicon';
...
render () {
+13 -13
View File
@@ -1,31 +1,31 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"description": "Renders an SVG picture representing an address",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/react-identicon#readme",
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/react-identicon#readme",
"license": "Apache-2.0",
"name": "@polkadot/react-identicon",
"name": "@pezkuwi/react-identicon",
"repository": {
"directory": "packages/react-identicon",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^14.0.1",
"@polkadot/ui-settings": "3.16.6",
"@polkadot/ui-shared": "3.16.6",
"@polkadot/util": "^14.0.1",
"@polkadot/util-crypto": "^14.0.1",
"@pezkuwi/keyring": "^14.0.5",
"@pezkuwi/ui-settings": "3.16.6",
"@pezkuwi/ui-shared": "3.16.6",
"@pezkuwi/util": "^14.0.5",
"@pezkuwi/util-crypto": "^14.0.5",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.2.0",
"react-copy-to-clipboard": "^5.1.0",
@@ -38,9 +38,9 @@
"xmlserializer": "^0.6.1"
},
"peerDependencies": {
"@polkadot/keyring": "*",
"@polkadot/util": "*",
"@polkadot/util-crypto": "*",
"@pezkuwi/keyring": "*",
"@pezkuwi/util": "*",
"@pezkuwi/util-crypto": "*",
"react": "*",
"react-dom": "*",
"react-is": "*"
+5 -5
View File
@@ -1,15 +1,15 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from '@polkadot/util-crypto/address/types';
import type { Prefix } from '@pezkuwi/util-crypto/address/types';
import type { IdentityProps as Props, Props as ComponentProps } from './types.js';
import React from 'react';
import CopyToClipboard from 'react-copy-to-clipboard';
import { ICON_DEFAULT_HOST, settings } from '@polkadot/ui-settings';
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
import { decodeAddress, encodeAddress, ethereumEncode } from '@polkadot/util-crypto';
import { ICON_DEFAULT_HOST, settings } from '@pezkuwi/ui-settings';
import { isHex, isU8a, u8aToHex } from '@pezkuwi/util';
import { decodeAddress, encodeAddress, ethereumEncode } from '@pezkuwi/util-crypto';
import { Beachball, Empty, Ethereum, Jdenticon, Polkadot } from './icons/index.js';
import { styled } from './styled.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './icons/index.js';
@@ -1,11 +1,11 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Props } from '../types.js';
import React, { useCallback } from 'react';
import { beachballIcon } from '@polkadot/ui-shared';
import { beachballIcon } from '@pezkuwi/ui-shared';
function Identicon ({ address, className = '', size, style = {} }: Props): React.ReactElement<Props> {
const updateElem = useCallback(
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Props } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Props } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Props } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2018-2025 @polkadot/react-identicon authors & contributors
// Copyright 2018-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
@@ -16,12 +16,12 @@
// - Move constants to file-level
// - Overall it is now just a static component, expecting an address as an input value
import type { Circle } from '@polkadot/ui-shared/icons/types';
import type { Circle } from '@pezkuwi/ui-shared/icons/types';
import type { Props } from '../types.js';
import React, { useMemo } from 'react';
import { polkadotIcon } from '@polkadot/ui-shared';
import { polkadotIcon } from '@pezkuwi/ui-shared';
function renderCircle ({ cx, cy, fill, r }: Circle, key: number): React.ReactNode {
return (
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { Beachball } from './Beachball.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
@@ -1,12 +1,12 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2026 @pezkuwi/react-identicon 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 { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo as settingsInfo } from '@pezkuwi/ui-settings/packageInfo';
import { packageInfo as sharedInfo } from '@pezkuwi/ui-shared/packageInfo';
import { detectPackage } from '@pezkuwi/util';
import { packageInfo } from './packageInfo.js';
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2026 @pezkuwi/react-identicon 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/react-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/react-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { styled } from 'styled-components';
+2 -2
View File
@@ -1,8 +1,8 @@
// Copyright 2018-2025 @polkadot/react-identicon authors & contributors
// Copyright 2018-2025 @pezkuwi/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type React from 'react';
import type { Prefix } from '@polkadot/util-crypto/address/types';
import type { Prefix } from '@pezkuwi/util-crypto/address/types';
export interface BaseProps {
className?: string;
+1 -1
View File
@@ -1,3 +1,3 @@
# @polkadot/react-qr
# @pezkuwi/react-qr
A Qr-code component that allows for the transfer of addresses and transaction payloads to and from external readers. It implements the [Universal Offline Signatures](https://github.com/maciejhirsz/uos) specification to read and generated QR codes.
+10 -10
View File
@@ -1,29 +1,29 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"description": "Generates and reads QR codes",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/react-qr#readme",
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/react-qr#readme",
"license": "Apache-2.0",
"name": "@polkadot/react-qr",
"name": "@pezkuwi/react-qr",
"repository": {
"directory": "packages/react-qr",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"main": "index.js",
"dependencies": {
"@polkadot/ui-settings": "3.16.6",
"@polkadot/util": "^14.0.1",
"@polkadot/util-crypto": "^14.0.1",
"@pezkuwi/ui-settings": "3.16.6",
"@pezkuwi/util": "^14.0.5",
"@pezkuwi/util-crypto": "^14.0.5",
"@zxing/browser": "^0.1.5",
"@zxing/library": "^0.21.2",
"qrcode-generator": "^1.4.4",
@@ -31,8 +31,8 @@
"tslib": "^2.8.1"
},
"peerDependencies": {
"@polkadot/util": "*",
"@polkadot/util-crypto": "*",
"@pezkuwi/util": "*",
"@pezkuwi/util-crypto": "*",
"react": "*",
"react-dom": "*",
"react-is": "*"
+3 -3
View File
@@ -1,10 +1,10 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useEffect, useMemo, useRef, useState } from 'react';
import { objectSpread } from '@polkadot/util';
import { xxhashAsHex } from '@polkadot/util-crypto';
import { objectSpread } from '@pezkuwi/util';
import { xxhashAsHex } from '@pezkuwi/util-crypto';
import { qrcode } from './qrcode.js';
import { styled } from './styled.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useMemo } from 'react';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useMemo } from 'react';
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { NetworkSpecsStruct } from '@polkadot/ui-settings/types';
import type { NetworkSpecsStruct } from '@pezkuwi/ui-settings/types';
import React, { useMemo } from 'react';
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BrowserQRCodeReader, type IScannerControls } from '@zxing/browser';
@@ -19,7 +19,7 @@ interface Props {
const DEFAULT_DELAY = 150;
const DEFAULT_ERROR = (error: Error): void => {
console.error('@polkadot/react-qr:Scan', error.message);
console.error('@pezkuwi/react-qr:Scan', error.message);
};
function Scan ({ className = '', delay = DEFAULT_DELAY, onError = DEFAULT_ERROR, onScan, size, style = {} }: Props): React.ReactElement<Props> {
+4 -4
View File
@@ -1,11 +1,11 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@polkadot/util/types';
import type { HexString } from '@pezkuwi/util/types';
import React, { useCallback } from 'react';
import { decodeAddress } from '@polkadot/util-crypto';
import { decodeAddress } from '@pezkuwi/util-crypto';
import { ADDRESS_PREFIX, SEED_PREFIX } from './constants.js';
import { QrScan } from './Scan.js';
@@ -61,7 +61,7 @@ function ScanAddress ({ className, isEthereum, onError, onScan, size, style }: P
} catch (error) {
onError && onError(error as Error);
console.error('@polkadot/react-qr:QrScanAddress', (error as Error).message, data);
console.error('@pezkuwi/react-qr:QrScanAddress', (error as Error).message, data);
}
}
},
+2 -2
View File
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { HexString } from '@polkadot/util/types';
import type { HexString } from '@pezkuwi/util/types';
import React, { useCallback } from 'react';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { QrDisplayAddress } from './DisplayAddress.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
export const ADDRESS_PREFIX = 'substrate';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
+3 -3
View File
@@ -1,10 +1,10 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2026 @pezkuwi/react-qr 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 { detectPackage } from '@polkadot/util';
import { detectPackage } from '@pezkuwi/util';
import { packageInfo } from './packageInfo.js';
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2026 @pezkuwi/react-qr 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/react-qr', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/react-qr', path: 'auto', type: 'auto', version: '3.16.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import _qrcode from 'qrcode-generator';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { styled } from 'styled-components';
+4 -4
View File
@@ -1,10 +1,10 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { u8aConcat, u8aToHex, u8aToString } from '@polkadot/util';
import { randomAsU8a } from '@polkadot/util-crypto';
import { u8aConcat, u8aToHex, u8aToString } from '@pezkuwi/util';
import { randomAsU8a } from '@pezkuwi/util-crypto';
import { createAddressPayload, createFrames, createSignPayload, decodeString, encodeNumber, encodeString } from './util.js';
+3 -3
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2025 @polkadot/react-qr authors & contributors
// Copyright 2017-2025 @pezkuwi/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { isString, u8aConcat, u8aToU8a } from '@polkadot/util';
import { decodeAddress } from '@polkadot/util-crypto';
import { isString, u8aConcat, u8aToU8a } from '@pezkuwi/util';
import { decodeAddress } from '@pezkuwi/util-crypto';
import { ADDRESS_PREFIX, CRYPTO_SR25519, FRAME_SIZE, SUBSTRATE_ID } from './constants.js';
+3 -3
View File
@@ -1,15 +1,15 @@
# @polkadot/reactnative-identicon
# @pezkuwi/reactnative-identicon
A generic identity icon that can render icons based on an address.
## Usage Examples
To install the component, do `yarn add @polkadot/reactnative-identicon`
To install the component, do `yarn add @pezkuwi/reactnative-identicon`
Inside a React component, you can now render any account with the associated icon -
```javascript
import Identicon from '@polkadot/reactnative-identicon';
import Identicon from '@pezkuwi/reactnative-identicon';
...
render () {
+10 -10
View File
@@ -1,29 +1,29 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"description": "Renders an SVG picture representing an address",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/reactnative-identicon#readme",
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/reactnative-identicon#readme",
"license": "Apache-2.0",
"name": "@polkadot/reactnative-identicon",
"name": "@pezkuwi/reactnative-identicon",
"repository": {
"directory": "packages/reactnative-identicon",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"main": "index.js",
"dependencies": {
"@polkadot/ui-shared": "3.16.6",
"@polkadot/util": "^14.0.1",
"@polkadot/util-crypto": "^14.0.1",
"@pezkuwi/ui-shared": "3.16.6",
"@pezkuwi/util": "^14.0.5",
"@pezkuwi/util-crypto": "^14.0.5",
"react-native-svg": "^14.1.0",
"tslib": "^2.8.1"
},
@@ -31,8 +31,8 @@
"@types/react-native": "^0.72.8"
},
"peerDependencies": {
"@polkadot/util": "*",
"@polkadot/util-crypto": "*",
"@pezkuwi/util": "*",
"@pezkuwi/util-crypto": "*",
"react": "*",
"react-native": "*"
}
@@ -1,13 +1,13 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from '@polkadot/util-crypto/address/types';
import type { Prefix } from '@pezkuwi/util-crypto/address/types';
import type { Props as ComponentProps } from './types.js';
import React from 'react';
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
import { isHex, isU8a, u8aToHex } from '@pezkuwi/util';
import { decodeAddress, encodeAddress } from '@pezkuwi/util-crypto';
import { Empty, Polkadot } from './icons/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './icons/index.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Props } from '../types.js';
@@ -1,14 +1,14 @@
// Copyright 2018-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2018-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Circle as CircleType } from '@polkadot/ui-shared/icons/types';
import type { Circle as CircleType } from '@pezkuwi/ui-shared/icons/types';
import type { Props } from '../types.js';
import React, { useMemo } from 'react';
import { View } from 'react-native';
import { Circle as SvgCircle, Svg } from 'react-native-svg';
import { polkadotIcon } from '@polkadot/ui-shared';
import { polkadotIcon } from '@pezkuwi/ui-shared';
function renderCircle ({ cx, cy, fill, r }: CircleType, key: number): React.ReactNode {
return (
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { default as Empty } from './Empty.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './packageDetect.js';
@@ -1,11 +1,11 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2026 @pezkuwi/reactnative-identicon 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 sharedInfo } from '@polkadot/ui-shared/packageInfo';
import { detectPackage } from '@polkadot/util';
import { packageInfo as sharedInfo } from '@pezkuwi/ui-shared/packageInfo';
import { detectPackage } from '@pezkuwi/util';
import { packageInfo } from './packageInfo.js';
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2017-2026 @pezkuwi/reactnative-identicon 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/reactnative-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/reactnative-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2018-2025 @polkadot/reactnative-identicon authors & contributors
// Copyright 2018-2025 @pezkuwi/reactnative-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export interface Props {
+9 -9
View File
@@ -1,6 +1,6 @@
# @polkadot/ui-keyring
# @pezkuwi/ui-keyring
A wrapper extending the base @polkadot/keyring interface for usage in the browser:
A wrapper extending the base @pezkuwi/keyring interface for usage in the browser:
Key management of user accounts including generation and retrieval of keyring pairs from a variety of input combinations.
## Usage Examples
@@ -10,7 +10,7 @@ All module methods are exposed through a single default export.
### Regular
```js
import keyring from @polkadot/ui-keyring
import keyring from @pezkuwi/ui-keyring
render () {
// encode publicKey to ss58 address
@@ -36,8 +36,8 @@ render () {
Option 1: Declarative subscribe/unsubscribe w/ react-with-observable (recommended 'React' way)
```js
import accountObservable from '@polkadot/ui-keyring/observable/accounts';
import { SingleAddress, SubjectInfo } from '@polkadot/ui-keyring/observable/types';
import accountObservable from '@pezkuwi/ui-keyring/observable/accounts';
import { SingleAddress, SubjectInfo } from '@pezkuwi/ui-keyring/observable/types';
import React from 'react';
import { Subscribe } from 'react-with-observable';
import { map } from 'rxjs';
@@ -69,8 +69,8 @@ class MyReactComponent extends React.PureComponent {
Option 2: Imperative subscribe/unsubscribe
```js
import accountObservable from '@polkadot/ui-keyring/observable/accounts';
import { SingleAddress, SubjectInfo } from '@polkadot/ui-keyring/observable/types';
import accountObservable from '@pezkuwi/ui-keyring/observable/accounts';
import { SingleAddress, SubjectInfo } from '@pezkuwi/ui-keyring/observable/types';
import React from 'react';
import { Subscription } from 'rxjs';
@@ -125,12 +125,12 @@ class MyReactComponent extends React.PureComponent<State> {
- SS58 Encode / Decode?
- SS58 is a simple address format designed for Substrate based chains. You can read about its specification in more detail in the [Substrate Documentation](https://docs.substrate.io/reference/address-formats/).
**If you have any unanswered/undocumented questions, please raise an issue [here](https://github.com/polkadot-js/ui/issues).**
**If you have any unanswered/undocumented questions, please raise an issue [here](https://github.com/pezkuwichain/ui/issues).**
## Users
Keyring is core to many polkadot/substrate apps.
* [polkadot-js/apps](https://github.com/polkadot-js/apps)
* [pezkuwichain/apps](https://github.com/pezkuwichain/apps)
* [paritytech/substrate-light-ui](https://github.com/paritytech/substrate-light-ui)
+12 -12
View File
@@ -1,29 +1,29 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-keyring#readme",
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/ui-keyring#readme",
"license": "Apache-2.0",
"name": "@polkadot/ui-keyring",
"name": "@pezkuwi/ui-keyring",
"repository": {
"directory": "packages/ui-keyring",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"main": "index.js",
"dependencies": {
"@polkadot/keyring": "^14.0.1",
"@polkadot/ui-settings": "3.16.6",
"@polkadot/util": "^14.0.1",
"@polkadot/util-crypto": "^14.0.1",
"@pezkuwi/keyring": "^14.0.5",
"@pezkuwi/ui-settings": "3.16.6",
"@pezkuwi/util": "^14.0.5",
"@pezkuwi/util-crypto": "^14.0.5",
"mkdirp": "^3.0.1",
"rxjs": "^7.8.1",
"store": "^2.0.12",
@@ -34,8 +34,8 @@
"@types/store": "^2.0.5"
},
"peerDependencies": {
"@polkadot/keyring": "*",
"@polkadot/ui-settings": "*",
"@polkadot/util": "*"
"@pezkuwi/keyring": "*",
"@pezkuwi/ui-settings": "*",
"@pezkuwi/util": "*"
}
}
+6 -6
View File
@@ -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';
+9 -9
View File
@@ -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 -1
View File
@@ -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';
+3 -3
View File
@@ -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 -1
View File
@@ -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';
+1 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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';
+2 -2
View File
@@ -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 -1
View File
@@ -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';
+2 -2
View File
@@ -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 -1
View File
@@ -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';
+4 -4
View File
@@ -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';
+3 -3
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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 -1
View File
@@ -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';
+5 -5
View File
@@ -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']>;
+3 -3
View File
@@ -1,4 +1,4 @@
# @polkadot/ui-settings
# @pezkuwi/ui-settings
Manages app settings including endpoints, themes and prefixes
@@ -7,7 +7,7 @@ Manages app settings including endpoints, themes and prefixes
User preferences are set as a settings object in the browser's local storage.
```js
import settings from '@polkadot/ui-settings';
import settings from '@pezkuwi/ui-settings';
render () {
// get api endpoint for the selected chain
@@ -36,5 +36,5 @@ render () {
Apps that currently use the settings package
* [polkadot-js/apps](https://www.github.com/polkadot-js/apps)
* [pezkuwichain/apps](https://www.github.com/pezkuwichain/apps)
* [paritytech/substrate-light-ui](https://github.com/paritytech/substrate-light-ui)
+9 -9
View File
@@ -1,28 +1,28 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"description": "Manages app settings",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-settings#readme",
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/ui-settings#readme",
"license": "Apache-2.0",
"name": "@polkadot/ui-settings",
"name": "@pezkuwi/ui-settings",
"repository": {
"directory": "packages/ui-settings",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"main": "index.js",
"dependencies": {
"@polkadot/networks": "^14.0.1",
"@polkadot/util": "^14.0.1",
"@pezkuwi/networks": "^14.0.5",
"@pezkuwi/util": "^14.0.5",
"eventemitter3": "^5.0.1",
"store": "^2.0.12",
"tslib": "^2.8.1"
@@ -31,7 +31,7 @@
"@types/store": "^2.0.5"
},
"peerDependencies": {
"@polkadot/networks": "*",
"@polkadot/util": "*"
"@pezkuwi/networks": "*",
"@pezkuwi/util": "*"
}
}
+2 -2
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Endpoint, EndpointType, Option, SettingsStruct } from './types.js';
@@ -6,7 +6,7 @@ import type { Endpoint, EndpointType, Option, SettingsStruct } from './types.js'
import { EventEmitter } from 'eventemitter3';
import store from 'store';
import { hasProcess, isUndefined } from '@polkadot/util';
import { hasProcess, isUndefined } from '@pezkuwi/util';
import { CAMERA, CAMERA_DEFAULT, CRYPTOS, CRYPTOS_ETH, CRYPTOS_LEDGER, ENDPOINT_DEFAULT, ENDPOINTS, ICON_DEFAULT, ICONS, LANGUAGE_DEFAULT, LEDGER_APP, LEDGER_APP_DEFAULT, LEDGER_CONN, LEDGER_CONN_DEFAULT, LOCKING, LOCKING_DEFAULT, METADATA_UP, METADATA_UP_DEFAULT, NOTIFICATION_DEFAULT, PREFIX_DEFAULT, PREFIXES, STORAGE, STORAGE_DEFAULT, UIMODE_DEFAULT, UIMODES, UITHEME_DEFAULT, UITHEMES } from './defaults/index.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Settings, settings } from './Settings.js';
+3 -3
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { selectableNetworks } from '@polkadot/networks';
import { objectSpread } from '@polkadot/util';
import { selectableNetworks } from '@pezkuwi/networks';
import { objectSpread } from '@pezkuwi/util';
type ChainDef = string[];
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
+2 -2
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
import { availableNetworks } from '@polkadot/networks';
import { availableNetworks } from '@pezkuwi/networks';
export const PREFIX_DEFAULT = -1;
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
// matches https://polkadot.js.org & https://*.polkadot.io
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Option } from '../types.js';
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { settings } from './bundle.js';
+3 -3
View File
@@ -1,10 +1,10 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2026 @pezkuwi/ui-settings 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 { detectPackage } from '@polkadot/util';
import { detectPackage } from '@pezkuwi/util';
import { packageInfo } from './packageInfo.js';
+3 -3
View File
@@ -1,6 +1,6 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2026 @pezkuwi/ui-settings 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-settings', path: 'auto', type: 'auto', version: '3.16.6' };
export const packageInfo = { name: '@pezkuwi/ui-settings', path: 'auto', type: 'auto', version: '3.16.6' };
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-settings authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-settings authors & contributors
// SPDX-License-Identifier: Apache-2.0
export interface Option {
+2 -2
View File
@@ -1,3 +1,3 @@
# @polkadot/ui-shared
# @pezkuwi/ui-shared
Shared logic for various logic. For identicon generation used inside the `@polkadot/{react, reactnative, vue}-identicon` icons.
Shared logic for various logic. For identicon generation used inside the `@pezkuwi/{react, reactnative, vue}-identicon` icons.
+9 -9
View File
@@ -1,37 +1,37 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"bugs": "https://github.com/pezkuwichain/ui/issues",
"description": "Shared logic that is usable accross all frameworks-specific areas",
"engines": {
"node": ">=18"
},
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-shared#readme",
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/ui-shared#readme",
"license": "Apache-2.0",
"name": "@polkadot/ui-shared",
"name": "@pezkuwi/ui-shared",
"repository": {
"directory": "packages/ui-shared",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
"url": "https://github.com/pezkuwichain/ui.git"
},
"sideEffects": [
"./packageDetect.js",
"./packageDetect.cjs"
],
"type": "module",
"version": "3.16.6",
"version": "3.16.8",
"main": "index.js",
"dependencies": {
"colord": "^2.9.3",
"tslib": "^2.8.1"
},
"devDependencies": {
"@polkadot/util": "^14.0.1",
"@polkadot/util-crypto": "^14.0.1",
"@pezkuwi/util": "^14.0.5",
"@pezkuwi/util-crypto": "^14.0.5",
"@types/xmlserializer": "^0.6.6",
"xmlserializer": "^0.6.1"
},
"peerDependencies": {
"@polkadot/util": "*",
"@polkadot/util-crypto": "*"
"@pezkuwi/util": "*",
"@pezkuwi/util-crypto": "*"
}
}
+1 -1
View File
@@ -1,4 +1,4 @@
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './icons/index.js';
@@ -1,4 +1,4 @@
# @polkadot/ui-shared/beachball
# @pezkuwi/ui-shared/beachball
Adapted from [Jazzicon](https://github.com/danfinlay/jazzicon) by Dan Finlay with the following changes -
@@ -16,4 +16,4 @@ Adapted from [Jazzicon](https://github.com/danfinlay/jazzicon) by Dan Finlay wit
Also see [src/demo.js](src/demo.js) for a randomly generated example.
![demo](https://raw.githubusercontent.com/polkadot-js/ui/master/packages/ui-shared/demo.png)
![demo](https://raw.githubusercontent.com/pezkuwichain/ui/master/packages/ui-shared/demo.png)
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import type { ColorGen } from './types.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2016 Dan Finlay
@@ -1,7 +1,7 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/globals.d.ts" />
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
import { container } from './container.js';
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2016 Dan Finlay
@@ -1,4 +1,4 @@
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2016 Dan Finlay

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