104 Commits

Author SHA1 Message Date
pezkuwichain 672682558f chore: migrate git dependencies to Gitea mirror (git.pezkuwichain.io) 2026-04-21 18:52:54 +03:00
pezkuwichain ef969fea94 chore: migrate Supabase from cloud to self-hosted (supabase.pezkuwichain.io)
Co-Authored-By: Kurdistan Tech Ministry <noreply@pezkuwichain.io>
2026-04-09 17:04:42 +03:00
pezkuwichain b25668eb7b fix: update DashboardScreen snapshot for Apr 2026 2026-04-09 04:18:45 +03:00
pezkuwichain 6aae238f05 test: update dashboard snapshot for March 2026 2026-03-01 22:23:47 +03:00
pezkuwichain 350b65dec3 fix: resolve critical fast-xml-parser vulnerability and block deploy on audit
- Override fast-xml-parser to ^5.3.6 (fixes CVE-2026-25896, CVE-2026-26278, CVE-2026-25128)
- Add security-audit to deploy job dependencies in quality-gate workflow
2026-02-23 18:23:55 +03:00
pezkuwichain 9ea8ab0189 fix: resolve remaining mobile app lint warnings 2026-02-23 00:33:11 +03:00
pezkuwichain b38798bbd4 fix: resolve remaining lint warnings (console.log and missing deps) 2026-02-23 00:28:32 +03:00
pezkuwichain d8ff28175f fix: resolve all lint warnings in mobile and web apps 2026-02-23 00:24:17 +03:00
pezkuwichain 2895050032 fix: update RPC endpoints to correct production URLs
- Relay Chain: wss://rpc.pezkuwichain.io
- Asset Hub: wss://asset-hub-rpc.pezkuwichain.io
- People Chain: wss://people-rpc.pezkuwichain.io
- Add Zagros testnet configuration
- Remove legacy staging/dev endpoints
- Fix port suffix in Edge Functions
2026-02-06 06:27:37 +03:00
pezkuwichain 389ba7d430 fix: patch @isaacs/brace-expansion DoS vulnerability (CVE-2026) 2026-02-06 06:03:37 +03:00
pezkuwichain c3cd60afcb test: update mobile app snapshots for Feb 2026 2026-02-04 12:02:17 +03:00
pezkuwichain 3c89577d55 chore: update @pezkuwi packages to latest stable versions
- Update all @pezkuwi packages in web, mobile, and backend
- API 16.5.36, Common 14.0.25, WASM 7.5.17
2026-02-01 22:50:51 +03:00
pezkuwichain 8b1b1f091d fix: update @pezkuwi/api packages to 16.5.22 2026-01-31 18:27:51 +03:00
pezkuwichain 1b2c442f3a chore: update @pezkuwi packages to latest versions
- @pezkuwi/api: 16.5.18 (mainnet genesis hash fix)
- @pezkuwi/keyring: 14.0.13
- @pezkuwi/util: 14.0.13
- @pezkuwi/util-crypto: 14.0.13
- All other @pezkuwi packages updated accordingly
2026-01-31 08:18:52 +03:00
pezkuwichain dd1e0dc294 feat: add Telegram mini app connect for P2P access 2026-01-29 21:27:13 +03:00
pezkuwichain 48b51828fa fix: Resolve mobile app crash with import.meta and babel config
- Add guard for import.meta in endpoints.ts for React Native compatibility
- Add jsEngine: jsc to app.json to match gradle.properties
- Add @babel/plugin-transform-class-static-block for @pezkuwi/types-codec
2026-01-20 01:28:56 +03:00
pezkuwichain f9bbabd215 feat(mobile): Add semantic versioning with standard-version
- Add standard-version for automated version bumping
- Create .versionrc with custom configuration for app.json
- Add version-updater.cjs script for Expo version syncing
- Add version bump scripts (release, release:patch, release:minor, release:major)
- Initialize CHANGELOG.md with v1.0.0 release notes
- Add iOS buildNumber and Android versionCode for app store releases
- Update .gitignore to allow CHANGELOG.md

This establishes proper engineering practices for version management.
2026-01-19 16:00:43 +03:00
pezkuwichain c260da18b1 fix: Remove workspace config, fix test suite, update snapshots
- Remove root /home/mamostehp/package.json workspace config
- Each project now independent (aligned with CI workflow)
- Add SafeAreaProvider mock to jest setup
- Add __DEV__ global for React Native tests
- Update 4 snapshots for SafeAreaView changes
- All 29 test suites pass (122 tests)
2026-01-19 15:26:47 +03:00
pezkuwichain 7c5887598f refactor: Move pezkuwi-sdk-ui to separate repo, add postinstall for mobile
- Remove pezkuwi-sdk-ui from pwap (now at /home/mamostehp/pezkuwi-sdk-ui)
- Add scripts/fix-pezkuwi-packages.cjs for @pezkuwi package path fixes
- Add postinstall hook to mobile package.json
- Update metro.config.cjs documentation
- Update backend @pezkuwi/api version to 16.5.11

pezkuwi-sdk-ui is now a standalone repo at:
https://github.com/pezkuwichain/pezkuwi-sdk-ui

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:44:52 +03:00
pezkuwichain 83f55bcf03 chore: Fix all linting errors for green build 2026-01-19 03:31:23 +03:00
pezkuwichain 8ddbe8d95a fix: Import PezkuwiWebView in screens to resolve build errors 2026-01-19 03:20:39 +03:00
pezkuwichain 28b4e1d09e feat: Add biometric verification and restore onboarding flow 2026-01-19 03:19:12 +03:00
pezkuwichain c7eab6d78a chore: Fix 430+ TS errors, Safe Area issues, WebView SSO, and mock Alice for testing 2026-01-19 03:06:22 +03:00
pezkuwichain e0bf620f56 Fix react-test-renderer version conflict for npm audit
Pin react-test-renderer@19.1.0 to match react@19.1.0

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 06:13:40 +03:00
pezkuwichain fcfd126698 Add moduleNameMapper for shared lib mocks in Jest
Create dedicated mock files for shared/lib modules and map them
in moduleNameMapper for reliable module resolution in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:40:46 +03:00
pezkuwichain b8b5addf0e Add mocks for shared/lib modules in Jest
Mock shared/lib/tiki, shared/lib/referral, and shared/lib/scores
modules which depend on @pezkuwi/api that's not installed in CI.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:35:00 +03:00
pezkuwichain 1daafc75ca Fix Jest mocks for CI: add virtual: true for optional packages
@polkadot/api and @pezkuwi/* packages are not installed in CI,
so jest.mock needs virtual: true to allow mocking without the
actual module being present.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 03:30:47 +03:00
pezkuwichain 40bc15f1f9 Fix all ESLint errors in mobile app (157 errors -> 0)
Major fixes:
- Replace `any` types with proper TypeScript types across all files
- Convert require() imports to ES module imports
- Add __DEV__ guards to console statements
- Escape special characters in JSX (&apos; and &quot;)
- Fix unused variables (prefix with _ or remove)
- Fix React hooks violations (useCallback, useMemo patterns)
- Convert wasm-crypto-shim.js to TypeScript
- Add eslint-disable comments for valid setState patterns

Files affected: 50+ screens, components, contexts, and services

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 02:55:03 +03:00
pezkuwichain 6979f36721 Fix ESLint errors in governance screens, services, types, and utils 2026-01-18 01:51:22 +03:00
pezkuwichain 28b9cec71b Fix ESLint errors in remaining screens: TaxZekat, WhatsKURD, governance screens 2026-01-18 01:48:13 +03:00
pezkuwichain 1f6e449041 Fix ESLint errors: escape entities, fix any types, remove unused imports 2026-01-18 01:45:31 +03:00
pezkuwichain 4c3a70be92 Fix ESLint errors: remove any types, fix console statements, remove unused vars 2026-01-18 01:41:41 +03:00
pezkuwichain 33033a31f0 Fix web build polyfills and mobile ESLint ignore patterns 2026-01-18 01:28:04 +03:00
pezkuwichain f6d53276a3 Fix mobile types override and SDK UI yarn detection 2026-01-18 01:17:35 +03:00
pezkuwichain bbb442a70b Fix CI: remove root package.json, fix mobile overrides, update workflow 2026-01-18 01:13:24 +03:00
pezkuwichain dfc8d27c39 Add presale lib and backup file, ignore credentials 2026-01-18 01:08:42 +03:00
pezkuwichain 28f1f0de96 Fix TypeScript errors and update dependencies
- Fix ReactPortal return types in PopupWindow, Tooltip, Modal
- Fix RefObject type compatibility for React 18
- Update extension-dapp dependency to 0.62.19
- Update vanitygen dependency to 1.0.1
- Add eslint-scope resolution for webpack
- Remove unused @ts-expect-error directives
- Update mobile test snapshots
2026-01-17 23:13:47 +03:00
pezkuwichain aa7892b3ea Update @pezkuwi/extension packages to 0.62.18 2026-01-17 16:31:58 +03:00
pezkuwichain a3924b0d3a Add Nova Wallet style token list with real prices
- Fix showAlert crash (recursive call -> Alert.alert)
- Add TokenService for dynamic token fetching
- Known tokens (HEZ, PEZ, USDT, DOT, BTC, ETH) always shown
- CoinGecko prices with fallback (HEZ=DOT/4, PEZ=DOT/10)
- Use PNG logos for HEZ/PEZ instead of SVG components
- Token search uses allTokens with proper filtering
- 30s auto-refresh for price updates
2026-01-17 13:52:09 +03:00
pezkuwichain 53e01876cc Redesign HEZ and PEZ token logos with Kurdistan three colors
HEZ Logo:
- Three colored rings (Red, Yellow, Green)
- Two mountains with rising sun
- HEZ text at bottom

PEZ Logo:
- 6 ovals (alternating red/green)
- Sun rays in center
- Stylized Pezkuwi head
2026-01-17 12:50:21 +03:00
pezkuwichain cf1f184fbf Fix referral share link to use pezkuwichain.io domain
- Changed referral link from fake pezkuwi.app to pezkuwichain.io/app
- Updated deep link scheme to pezkuwichain://
- Updated share message with correct branding and Kurdish text

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 12:33:00 +03:00
pezkuwichain 58e07b369d Fix PresidentScreen: use GradientHeader, remove manual header 2026-01-17 04:20:09 +03:00
pezkuwichain 8231052a8f Fix KurdMediaScreen: use GradientHeader, remove manual header 2026-01-17 04:18:50 +03:00
pezkuwichain 6f53aeb9e5 Fix IdentityScreen: use GradientHeader, remove manual header 2026-01-17 04:18:09 +03:00
pezkuwichain 82ff92a766 Fix PerwerdeScreen: use GradientHeader, remove manual header 2026-01-17 04:17:26 +03:00
pezkuwichain 4e4e42fd65 Fix LaunchpadScreen: remove duplicate header, move add button 2026-01-17 04:11:46 +03:00
pezkuwichain 2cb7a0a0e6 Fix TaxZekatScreen: use pezTreasury.governmentPotAccountId for transfers 2026-01-17 04:07:14 +03:00
pezkuwichain 7d43370f90 Fix TaxZekatScreen: change zekat icon, translate Turkish to Kurdish/English 2026-01-17 04:00:45 +03:00
pezkuwichain 401eb5dade Fix B2BScreen: remove duplicate header, move add button next to search 2026-01-17 03:55:49 +03:00
pezkuwichain ca3c9c667c Fix WalletScreen: remove duplicate title, keep only network dropdown 2026-01-17 03:51:06 +03:00