# @platform-modules/ledger

## 0.1.0

### Minor Changes

- 1c03aba: Add `/vesting` subpath — maturity-wallet vesting projection (Path-V): `accrueVesting`, `promoteEntries`, `recomputeWithdrawable`, `setEntryWithdrawableAt`, `getVesting`, the `walletVesting`/`ledgerEntryVesting` tables, and the structural `VestingInvariantError`/`isVestingInvariantError` guard. Core barrel unchanged.
- 70435a5: Add opt-in `/vesting` subpath: `wallet_vesting` companion table + `accrueVesting`, `promoteEntries`, `recomputeWithdrawable`, `setEntryWithdrawableAt`, `getVesting`. The maturity-wallet projection (pending/matured/withdrawable buckets + maturation sweep) now lives here as a ledger-owned opt-in capability so consumers no longer hand-roll divergent wallet tables.

  Core is additive and non-breaking: `appendEntry` and `debitWithRead` now also return the inserted entry id (`{ inserted }` → `{ inserted, id: string | null }`, `id` non-null iff a row was inserted). `debit`/`getBalance` are unchanged. First consumer: `@platform-modules/affiliate`.

## 0.0.2

### Patch Changes

- Updated dependencies [f895518]
  - @platform-modules/db@0.2.0

## 0.0.1

### Patch Changes

- d72b1ba: Initial publish — first versioned release.
- Updated dependencies [d72b1ba]
  - @platform-modules/db@0.0.1
