Repository navigation
Veil 0.12.1
Veil 0.12.1 publishes all ten packages in the fixed group at the same version: @provablehq/veil-core, @provablehq/veil-aleo-sdk, @provablehq/veil-aleo-devnode, @provablehq/veil-aleo-wallet-adapter, @provablehq/veil-aleo-react-hooks, @provablehq/veil-leo, @provablehq/veil-codegen, @provablehq/shield-swap-sdk, @provablehq/shield-swap-cli, and @provablehq/aleo-bridge-sdk.
This is a patch release. The only functional change is in the Shield Swap SDK and CLI; every other package is republished so the fixed group stays on one version.
Shield Swap: application API actions and referral CLI
@provablehq/shield-swap-sdk now exposes every non-admin operation of the deployed Shield Swap application API as a typed SDK action and as an agent and MCP tool. This covers personal referral codes and referral attribution, market discovery and analytics, compliance, price history, and wallet-session management. Admin-only operations stay excluded. The generated API types are refreshed from the deployed OpenAPI specification, and an endpoint coverage test guards the catalog against drift. (#178)
Session handling gains cookie-aware refresh and explicit logout. Browser cookies and retained Node refresh cookies are both supported, concurrent refreshes are deduplicated, and credentials are cleared when the session ends. Adopting an explicit JWT clears the previous account's refresh state and signer, and a stale in-flight refresh cannot overwrite a replacement session. Existing action names remain available; getPool24hStats carries the corrected pool-statistics response type.
@provablehq/shield-swap-cli adds a redeem command:
shield-swap redeem --code <code> --execute
shield-swap redeem --generate --executeBoth forms preview by default and require --execute to act. --code redeems a referral code and saves the account's access status on success. --generate returns the saved account's existing shareable code or requests a new one. --network and --json select the network and emit machine-readable output.
Upgrading
- Update every
@provablehq/veil-*,@provablehq/shield-swap-*, and@provablehq/aleo-bridge-sdkdependency to0.12.1together. The fixed group shares one version and the peer floors onveil-coreandveil-aleo-devnodenow start at 0.12.1. - No code changes are required. Callers of
getPool24hStatsmay see a narrowed response type when they upgrade; it now matches what the API returns.
Per-package details are in each package's CHANGELOG.md.