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
+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';