fix: read browser locale and is debug on first event

`shared.ts` currently reads the default browser locale and is debug on import, which causes
issueswhen imported in a server component. This moves the reads for those to whenever the first
event issent and those values are actually required, which is typically on the client.

fix #7
This commit is contained in:
Noah Richardson 2024-07-19 09:37:35 -04:00
parent e4250b9352
commit 95f9710547
8 changed files with 40 additions and 14 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@aptabase/angular",
"version": "0.0.1",
"version": "0.0.2",
"description": "Angular SDK for Aptabase: Open Source, Privacy-First and Simple Analytics for Mobile, Desktop and Web Apps",
"scripts": {
"ng": "ng",