Commit Graph

13 Commits

Author SHA1 Message Date
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 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 897e1d04b6 chore: Sync all package versions to 0.62.20 2026-01-19 23:04:39 +03:00
pezkuwichain 8cbd3702d5 Bump version to 0.62.19 2026-01-17 21:12:56 +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 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>
2026-01-09 01:22:46 +03:00
pezkuwichain ea2db6558f feat: complete Pezkuwi rebrand - remove other networks
- Remove all Polkadot ecosystem networks from chain selector
- Keep only: Pezkuwi Relay Chain, Zagros Relay Chain, Pezkuwi Beta Testnet
- Update extension ID from polkadot-js to pezkuwi
- Update PhishingDetected to use Pezkuwi branding
- Update metadataMock: Westend → Zagros, WND → ZGR
- Disable Ledger chains (no Pezkuwi Ledger app yet)
- Update Identicon to handle pezkuwi icon theme
- Clean up translation files

Breaking: Extension now only supports Pezkuwi networks
2026-01-08 23:46:33 +03:00
pezkuwichain 4a9181d69b Rebrand: polkadot → pezkuwi build fixes
- Fixed webpack.shared.cjs and webpack.config.cjs imports
- Fixed rollup.config.js imports
- Added x-* package resolutions
- Renamed hooks/index.js to hooks/index.ts
- Added pezkuwi-exec-webpack script alias
- Updated tsconfig.base.json with pezkuwi paths
2026-01-07 02:31:08 +03:00
pezkuwichain c2913a65d9 Update domain references to pezkuwichain.app and rebrand from polkadot 2026-01-06 12:21:11 +03:00