Skip to content

Commit fcf42f6

Browse files
authored
[Fix] Export UniversalStorage from @segment/analytics-next (#949)
1 parent 0a8c30a commit fcf42f6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/clean-elephants-deny.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@segment/analytics-next': patch
3+
---
4+
5+
Fix regression where we no longer export UniversalStorage (used in destinations)

packages/browser/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ export * from './core/user'
1010
export type { AnalyticsSnippet } from './browser/standalone-interface'
1111
export type { MiddlewareFunction } from './plugins/middleware'
1212
export { getGlobalAnalytics } from './lib/global-analytics-helper'
13+
export { UniversalStorage, Store, StorageObject } from './core/storage'

0 commit comments

Comments
 (0)