58 Commits

Author SHA1 Message Date
GitHub Action e2ba9d0da8 [CI Skip] Bump version to 0.62.25 2026-02-06 02:48:14 +00:00
pezkuwichain bf6df8fc94 ci: add automatic version bump and VPS1 deployment 2026-02-06 05:40:14 +03:00
pezkuwichain 7e0051455f security: add medium priority improvements
- Add IPFS/IPNS CID format validation (CIDv0, CIDv1, IPNS keys)
- Add authorization request rate limiting (5 seconds per origin)
- Add security event logging for audit trail
  - Logs: auth_granted, auth_denied, auth_cancelled
  - Logs: sign_approved, sign_rejected, rate_limit_hit
- Add getSecurityLogs() method for UI display
2026-02-06 05:28:14 +03:00
pezkuwichain 9377b4a549 security: fix postMessage wildcard and auth race condition
- Change postMessage targetOrigin from '*' to window.location.origin
- Add pendingAuthUrls Set to prevent authorization race conditions
- Remove from pending set on auth completion/rejection/deletion
2026-02-06 05:16:32 +03:00
pezkuwichain df7ad72047 fix: use JS mnemonic generation instead of broken wasm bip39 2026-02-02 20:45:54 +03:00
pezkuwichain f5495f7cac fix: ensure crypto initialized before handling messages
Fixed race condition where message handlers could process requests
before cryptoWaitReady() and keyring.loadAll() completed.

Now all message handlers wait for initialization before processing,
which fixes the seed creation failure on first account creation.
2026-02-02 19:34:50 +03:00
pezkuwichain 084187e67b fix(i18n): handle 'default' language by mapping to 'en'
The ui-settings LANGUAGE_DEFAULT is 'default' but no locale folder exists for it.
This caused i18n to fail loading translations, breaking the entire UI including
wallet creation screen (showed <unknown> instead of text).

Fix normalizes 'default' language to 'en' in the i18n Backend.
2026-02-02 19:11:43 +03:00
pezkuwichain 6e5ff295d9 fix: add AuthorizeCall user extension to signing registry
Added PEZKUWI_USER_EXTENSIONS with AuthorizeCall to the signing request
registry. This ensures proper transaction signing for PezkuwiChain
networks even when chain metadata is not available.

Without this fix, transactions fail with "bad signature" errors
because the AuthorizeCall extension is not properly included in
the signed payload.
2026-02-02 17:43:29 +03:00
pezkuwichain a0bd0e2b3f fix: correct Asset Hub, People Chain, Zagros genesis hashes
All genesis hashes now from live chains:
- PezkuwiChain: 0xbb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75
- Asset Hub: 0x00d0e1d0581c3cd5c5768652d52f4520184018b44f56a2ae1e0dc9d65c00c948
- People Chain: 0x58269e9c184f721e0309332d90cafc410df1519a5dc27a5fd9b3bf5fd2d129f8
- Zagros Testnet: 0x96eb58af1bb7288115b5e4ff1590422533e749293f231974536dc6672417d06f
2026-02-02 03:00:47 +03:00
pezkuwichain 552d2bf3cf fix: update genesis hashes with correct mainnet values
- PezkuwiChain Mainnet: 0xbb4a61ab0c4b8c12f5eab71d0c86c482e03a275ecdafee678dea712474d33d75
- Updated chain names to match actual network names
2026-02-02 02:57:01 +03:00
pezkuwichain 6e0c7fb295 fix: wait for crypto init before responding awake
Fixes race condition where extension UI could send messages before
crypto/keyring was fully initialized, causing seed import to hang.
2026-02-02 02:40:25 +03:00
pezkuwichain 3176649a20 feat: update extension to v0.62.21 with AuthorizeCall support
- Add AuthorizeCall signed extension support for PezkuwiChain
- Update extension name to "pezkuwi{.js} extension"
- Update version to 0.62.21
- Fix signing for transactions that require custom signed extensions
2026-02-02 01:10:36 +03:00
pezkuwichain 672ec36f09 fix: update build scripts and bump @pezkuwi packages to latest
- Fix Chrome/Firefox zip build scripts to copy manifest to build folder
- Update all @pezkuwi packages to latest stable versions (API 16.5.36, Common 14.0.25)
2026-02-01 22:50:24 +03:00
pezkuwichain 8bd5d59356 fix: update @pezkuwi/api to 16.5.22 and common packages to 14.0.13 2026-01-31 18:21:10 +03:00
pezkuwichain 897e1d04b6 chore: Sync all package versions to 0.62.20 2026-01-19 23:04:39 +03:00
pezkuwichain ffbe372a06 feat: Add postbuild cleanup and web-ext lint validation
- Add scripts/postbuild-cleanup.cjs to remove unsafe Function patterns
- Add lint:extension script for web-ext validation
- Fix manifest_firefox.json strict_min_version to 112.0
- Reduces web-ext warnings from 14 to 10
2026-01-19 21:52:04 +03:00
pezkuwichain 7b9ef31480 chore: Bump version to 0.62.20 and fix Firefox strict_min_version
- Update version to 0.62.20 in package.json and manifests
- Fix Firefox manifest strict_min_version from 142.0 to 109.0
- Update @pezkuwi/api packages to ^16.5.11
- Update @pezkuwi/dev to ^0.85.7

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 21:24:06 +03:00
pezkuwichain ba72735459 fix(firefox): Change strict_min_version from 142.0 to 109.0
Firefox 142 does not exist yet (current stable ~134). This was causing
Mozilla to reject the extension. Firefox 109+ supports Manifest V3.
2026-01-19 21:04:26 +03:00
pezkuwichain 70613d26a8 Remove build artifacts and old zip files 2026-01-18 01:05:38 +03:00
pezkuwichain b2b0273758 Bump version to 0.62.20 with proper exports 2026-01-18 01:00:38 +03:00
pezkuwichain 1c630603cf Update yarn.lock and normalize package.json 2026-01-18 00:50:31 +03:00
pezkuwichain 5025a255f0 Add exports map to extension-inject for subpath imports 2026-01-17 23:13:21 +03:00
pezkuwichain 0ebf885251 Fix extension-dapp package exports and dependency versions
- Add proper exports map for workspace linking
- Update extension-inject dependency to 0.62.19

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 21:42:15 +03:00
pezkuwichain 8cbd3702d5 Bump version to 0.62.19 2026-01-17 21:12:56 +03:00
pezkuwichain f123bbfacc Downgrade styled-components to v5 for TypeScript compatibility
- Downgrade styled-components from v6.1.1 to v5.3.11
- Add @types/styled-components for v5 type definitions
- Simplify styled.ts export (v5 uses default export)
- Remove tsconfig skipLibCheck workaround (not needed with v5)
- Add string-replace-loader dependency for webpack
- Update @pezkuwi/dev to 0.85.4 (includes rollup config export fix)

This fixes TS2742 declaration emit errors that prevented npm
package builds while allowing Chrome/Firefox extension bundles.
2026-01-17 21:08:55 +03:00
pezkuwichain ebe8d5c499 fix: add type exports to styled.ts for TypeScript declaration compatibility 2026-01-17 19:51:56 +03:00
pezkuwichain 0bd174ccd6 fix: add skipLibCheck for styled-components compatibility 2026-01-17 19:40:48 +03:00
pezkuwichain b85ad382b5 fix: remove incompatible declaration settings from extension-ui tsconfig 2026-01-17 19:30:13 +03:00
pezkuwichain bbfae9cca6 Pin TypeScript to 5.5.4 to fix styled-components declaration emission errors 2026-01-17 19:03:27 +03:00
pezkuwichain 1bd4157013 Revert "Add composite: false for extension-ui to fully disable declaration emission"
This reverts commit 20437c87cf.
2026-01-17 19:01:35 +03:00
pezkuwichain 20437c87cf Add composite: false for extension-ui to fully disable declaration emission 2026-01-17 18:59:20 +03:00
pezkuwichain dbb18e8621 Disable declaration emission for extension-ui (not npm-published package) 2026-01-17 18:55:13 +03:00
pezkuwichain f951677f96 Revert "Fix styled-components type errors by adding skipLibCheck"
This reverts commit 947c1cb449.
2026-01-17 18:45:11 +03:00
pezkuwichain 40ad9a4efb Revert "Disable declaration emission for extension-ui to fix styled-components TS errors"
This reverts commit 16d8c7a95b.
2026-01-17 18:44:56 +03:00
pezkuwichain 16d8c7a95b Disable declaration emission for extension-ui to fix styled-components TS errors 2026-01-17 18:43:35 +03:00
pezkuwichain 947c1cb449 Fix styled-components type errors by adding skipLibCheck 2026-01-17 18:38:04 +03:00
pezkuwichain cb95c15e63 Add yarn.lock for CI reproducible builds 2026-01-17 18:36:02 +03:00
pezkuwichain 7e586239ae v0.62.18: Firefox AMO compliance and new extension ID
- New Firefox extension ID for AMO
- Fixed data_collection_permissions for Mozilla compliance
- Updated webpack config for ES2022 target
- Added firefox-postprocess.sh script
- Bumped all packages to 0.62.18
2026-01-17 16:31:30 +03:00
pezkuwichain 9b0feb43b4 chore: update dependencies to latest versions
- @pezkuwi/api: ^16.5.9
- @pezkuwi/types: ^16.5.9
- @pezkuwi/rpc-provider: ^16.5.9
- @pezkuwi/util: ^14.0.11
- @pezkuwi/util-crypto: ^14.0.11
- @pezkuwi/keyring: ^14.0.11
- @pezkuwi/networks: ^14.0.11
- @pezkuwi/x-global: ^14.0.11

Published:
- @pezkuwi/extension-inject@0.62.16
- @pezkuwi/extension-dapp@0.62.16
2026-01-15 10:35:16 +03:00
pezkuwichain 7b44c5fa22 chore: Update package author to Kurdistan Tech Institute & PezkuwiChain Team
Updated author field in all package.json files from original Polkadot
author to the Pezkuwi project maintainers.
2026-01-15 10:08:46 +03:00
pezkuwichain 49e0087ca9 chore: bump version to 0.62.15
- Renamed extension from "Pezkuwi Wallet" to "Pezkuwi Extension"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
v0.62.15
2026-01-09 15:27:36 +03:00
pezkuwichain 00cab0f7fb fix: rename extension from Pezkuwi Wallet to Pezkuwi Extension
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 15:25:53 +03:00
pezkuwichain 06c966816d fix: add version field to manifest files
Chrome and Firefox manifests were missing the required version field,
causing extension loading failures.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 13:15:07 +03:00
pezkuwichain 7fb4cf5cb5 chore: update @pezkuwi/phishing to 0.25.28 2026-01-09 04:28:40 +03:00
pezkuwichain 5059957bc4 fix: update test genesis hash for Dicle to match chains.ts v0.62.14 2026-01-09 03:31:07 +03:00
pezkuwichain 0c99ee8392 chore: add pezkuwi-extension-*.zip to gitignore 2026-01-09 03:26:48 +03:00
pezkuwichain 646b6d7bb5 feat: add all 4 Pezkuwi ecosystem chains
- Pezkuwi (mainnet relay chain)
- Dicle (canary relay chain)
- Zagros (testnet)
- TeyrChain (testnet)

All chains use placeholder genesis hashes for now.
2026-01-09 03:26:25 +03:00
pezkuwichain 2adf8ca880 Rebrand: Update chainType substrate → bizinikiwi, bump to 0.62.14
- Update chainType from 'substrate' to 'bizinikiwi' in extension-inject/types.ts
- Update default icon from 'substrate' to 'bizinikiwi' in extension-chains/bundle.ts
- Bump all extension packages to version 0.62.14
- Add *.zip to .gitignore
2026-01-09 03:10:08 +03:00
pezkuwichain 5d54192e6d 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>
v0.62.12
2026-01-09 01:22:46 +03:00
pezkuwichain 55d0b57348 fix: update pezkuwi-ui dependencies to 3.17.1 and fix type issues
- Update @pezkuwi/react-identicon, ui-shared, ui-settings, ui-keyring, react-qr to ^3.17.1
- Fix westendMetadata → zagrosMetadata imports in test files
- Remove backward compatibility for polkadot/substrate themes in Identicon.tsx
- Add proper Network[] type annotation to legerChains.ts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 00:53:48 +03:00