Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.5.4] - 2026-05-08

### Fixed

- **`src/wasm/loader.ts`** — browser WASM init: resolución defensiva de `initFn` para manejar el interop CJS→ESM de Vite. Cuando TypeScript compila `import()` dinámico con `module: "CommonJS"`, Vite envuelve el namespace y reasigna `wasm.default` al objeto namespace, haciendo que `wasm.default.default` sea la función real de init. El loader ahora prueba ambas rutas (`defaultExport` como función directa, o `defaultExport.default`) para garantizar que la inicialización funcione tanto en ESM nativo como en entornos Vite CJS→ESM.

## [3.5.3] - 2026-05-05

### Changed
Expand Down
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ See [backends.md](./backends.md) for a full comparison of speed and artifact siz

| Circuit | `CircuitType` | Public signals | Use case |
|---------|--------------|----------------|----------|
| Unshield | `CircuitType.Unshield` | 5 | Withdraw from pool to public address |
| Transfer | `CircuitType.Transfer` | 5 | Private-to-private transfer |
| Unshield | `CircuitType.Unshield` | 7 | Withdraw from pool to public address |
| Transfer | `CircuitType.Transfer` | 7 | Private-to-private transfer |
| Disclosure | `CircuitType.Disclosure` | 4 | Selective field revelation to auditor |
| PrivateLink | `CircuitType.PrivateLink` | 2 | Privacy-preserving cross-chain identity |

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@orbinum/proof-generator",
"version": "3.5.3",
"version": "3.5.4",
"description": "ZK-SNARK proof generator for Orbinum. Combines snarkjs (witness) with arkworks WASM (proof generation) to produce 128-byte Groth16 proofs.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Loading
Loading