Skip to content

Commit e93dbeb

Browse files
committed
export AnalyticsSnippet
1 parent 852ca61 commit e93dbeb

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/red-falcons-worry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@segment/analytics-next': minor
3+
---
4+
5+
Export AnalyticsSnippet type and add directions (for snippet users).

packages/browser/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ export * from './core/context'
66
export * from './core/events'
77
export * from './core/plugin'
88
export * from './core/user'
9+
10+
export type { AnalyticsSnippet } from './browser/standalone-analytics'

0 commit comments

Comments
 (0)