# Shared libraries

- [Case study](https://tesselpunt.com/projects/libraries)

Authentication and React state-management packages reused across Bridge Labs applications.

Three packages. Three engineering stories.

Role: Library design & maintenance

Period: 2024 — present

Technologies: React, TypeScript, Zod, Authentication

I maintain shared libraries for recurring problems across our applications. Their consumers are primarily applications maintained within Bridge Labs.

Explore the authentication case studies and the React state library below. Each project has its own page for the problem, implementation, and decisions behind the package.

## Authentication

tg-auth connects verified Telegram launch data with application sessions. world-auth connects World wallet proofs with session-bound challenges and backend verification. Their case studies explain the different verification flows and the session mechanics they share.

- [tg-auth case study](https://tesselpunt.com/projects/tg-auth)
- [world-auth case study](https://tesselpunt.com/projects/world-auth)

## provider-kit

A React/TypeScript state library with typed per-slice hooks, functional updates, separate slice contexts, and runtime Zod validation. It handles shared client state rather than serving as a server-data cache.

- [provider-kit project](https://tesselpunt.com/projects/provider-kit)
