Commit Graph
14 Commits
Author SHA1 Message Date
Satoshi Qazi Muhammed 81e25b008b x-randomvalues: declare NativeModules locally; resolve braces to @pezkuwi/braces
x-randomvalues read one export from react-native, NativeModules, and
took its types from the deprecated @types/react-native, which depends
on react-native itself: react-native 0.83, metro 0.83 and with them
image-size (open advisory, fixed only in 2.x, which metro 0.83 does not
accept). The two native modules it looks for are now declared in
src/react-native-modules.d.ts; the casts to RNExt are gone and each
module is checked before use. The published react-native.d.ts does not
reference react-native, and react-native/metro leave the dependency
tree.

braces resolves to @pezkuwi/braces 3.0.4: braces 3.0.3, the latest upstream release, has an open advisory with no fixed version (CVE-2026-93687, stack exhaustion through deeply nested patterns); the fork rejects nesting deeper than maxDepth (500) with a SyntaxError.
2026-10-10 04:01:02 +04:00
Satoshi Qazi Muhammed c46ce1a9e6 Move to @pezkuwi/dev 0.86 (eslint 10 toolchain)
- @pezkuwi/dev, dev-test, dev-ts ^0.86.3
- rethrown errors carry the original as `cause` (hw-ledger, address decode)
- optional chain in isEthereumAddress, includes() in bip39 validation
- logger calls the lazy formatter through a typed function
- x-global: an assertion to the type the value already has removed,
  with the comment and directive that explained it
- type-only re-exports of modules that emit no JavaScript
- disable directives renamed for the new rule names, or removed where
  the rule no longer reports
2026-10-09 16:32:28 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 f296babf8e Drop the Deno target
The deno step mapped every package to https://deno.land/x/pezkuwi/..., which
never existed (nor does @pezkuwi on JSR): it was red on every run, hidden by
continue-on-error. Decided 2026-10-07: no Deno build. The src/mod.ts entry
points (imported by nothing else, and the switch that makes the build emit
build-deno/), the import maps, the deno script and the CI step are removed.
The npm packages are unchanged; Deno users can import them as npm:.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 19:21:45 +04:00
Satoshi Qazi MuhammedandClaude Opus 5.5 c87daf5f97 Restore the source manifests; build with dev 0.85.12 and wasm 7.5.20; 14.0.26
- main/module/types/exports/browser/react-native/sideEffects back to the
  upstream source form (they held the build's rewritten copies)
- @pezkuwi/dev ^0.85.12; util-crypto on @pezkuwi/wasm-crypto and wasm-util
  ^7.5.20 (the first complete wasm-crypto) and on @noble/curves ^1.9.7 and
  @noble/hashes ^1.8.0, the versions whose current APIs it now uses
- resolutions: only typescript, as upstream; the pins that held the whole
  tree to wasm 7.5.17 are gone
- every package at 14.0.26 (npm had 14.0.25, this tree said 14.0.22/23), with
  the internal dependencies at the same version

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-07 19:21:45 +04:00
Kurdistan Tech Ministry 134f0ae3ce Resolve @pezkuwi/scure-sr25519 from npm, not a path on one machine
The root resolutions pointed @pezkuwi/scure-sr25519 at
portal:/home/mamostehp/pezkuwi-wasm/packages/scure-sr25519, a directory
that only existed on the machine 14.0.25 was published from. Everywhere
else `yarn install` stops with "Manifest not found", so this repository
could not be installed, built or tested, and the PR workflow had never run.

util-crypto already asks for ^0.2.1, which is on npm; its lib/ is identical
to packages/scure-sr25519 in pezkuwi-wasm (same "bizinikiwi" signing
context). Dropping the resolution resolves it there.

With this, install, lint and test run. They are not green yet: 161 of
3014 tests fail, most of them on @pezkuwi/wasm-crypto 7.5.17 stubs
(secp256k1, ed25519, scrypt, bip39Generate "not yet implemented"), which
pezkuwi-wasm#2 fixes as 7.5.19. That, the remaining failures and the
continue-on-error in pr-any.yml follow once 7.5.19 is published.
2026-10-07 19:21:45 +04:00
Kurdistan Tech Ministry 45ccf8b846 chore: migrate git dependencies to Gitea mirror (git.pezkuwichain.io) 2026-04-21 18:53:16 +03:00
Kurdistan Tech Ministry 63781f8889 release: v14.0.25 - npm package structure fix
- Published from build/ directories for correct npm structure
- Updated wasm dependencies to 7.5.17
- All packages now have index.js at root level
2026-02-01 21:45:12 +03:00
Kurdistan Tech Ministry 0c2b211a12 chore: update wasm dependencies to 7.5.10 2026-02-01 09:20:20 +03:00
Kurdistan Tech Ministry 8f0415ed0f fix: update to 14.0.12 with author and dependency fixes
- Author: Dijital Kurdistan Tech Institute <dev@pezkuwichain.io>
- Fixed Uint8Array type errors in test files
- Added @types/react-native devDependency for x-randomvalues
- Added @pezkuwi/hw-ledger devDependency for networks tests
- Added @pezkuwi/x-randomvalues devDependency for util tests
- Updated all internal dependencies to 14.0.12
2026-01-30 22:48:06 +03:00
Kurdistan Tech Ministry 76dec54169 chore: release 14.0.10 2026-01-10 19:51:05 +03:00
Kurdistan Tech Ministry 159b375d2f refactor(networks): restrict selectable networks to Pezkuwi ecosystem 2026-01-10 19:38:24 +03:00
Kurdistan Tech Ministry a5542fdd87 Rebrand: polkadot → pezkuwi internal references fixed
- Fixed internal @polkadot references to @pezkuwi
- Updated hw-ledger and hw-ledger-transports packages
- Updated keyring and networks packages
- Version 14.0.7
2026-01-07 02:34:39 +03:00
Kurdistan Tech Ministry 782581ecf6 Update domain references to pezkuwichain.app 2026-01-06 12:20:45 +03:00
Kurdistan Tech Ministry ec06da0ebc Initial rebrand: @polkadot -> @pezkuwi (14 packages)
- Package namespace: @polkadot/* -> @pezkuwi/*
- Repository: polkadot-js/common -> pezkuwichain/pezkuwi-common
- Author: Pezkuwi Team <team@pezkuwichain.io>

Core packages:
- @pezkuwi/util (utilities)
- @pezkuwi/util-crypto (crypto primitives)
- @pezkuwi/keyring (account management)
- @pezkuwi/networks (chain metadata)
- @pezkuwi/hw-ledger (Ledger hardware wallet)
- @pezkuwi/x-* (10 polyfill packages)

Total: 14 packages
Upstream: polkadot-js/common v14.0.1
2026-01-05 14:00:34 +03:00