jinyus / dart_beacon

A reactive primitive (signals) and state management library for dart and flutter
https://pub.dev/packages/state_beacon
28 stars 2 forks source link

fix: BeaconFamily only importable via `src` of `state_beacon_core` #91

Closed btrautmann closed 4 months ago

btrautmann commented 4 months ago

Description

For a bit I'd had both state_beacon and state_beacon_core as direct dependencies, but I was pretty sure I didn't need the latter. When doing the last upgrade I removed *core and BeaconFamily stopped being resolved. I added it back and realized it's only importable via 'package:state_beacon_core/src/producer.dart'. I suspect this isn't intentional.

Expected Behavior

Classes intended to be public should be importable via a public (lib) directory.

jinyus commented 4 months ago

Thanks for the report. Fixed in v0.42.1