supabase / auth-js

An isomorphic Javascript library for Supabase Auth.
MIT License
355 stars 160 forks source link

chore: add missing 'is_anonymous' property to User type #871

Closed dave-irvine closed 6 months ago

dave-irvine commented 6 months ago

What kind of change does this PR introduce?

Types update

What is the current behavior?

User type is missing 'is_anonymous' property.

What is the new behavior?

User type has the 'is_anonymous' property.

Additional context

I'm not 100% certain if this property is optional or not, hoping @kangmingtay can offer some insight as they implemented the feature in https://github.com/supabase/auth/issues/68

Fixes https://github.com/supabase/auth-js/issues/872