From fcf42f68b4226b55417bbaeb6305d33129ede96d Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Thu, 14 Sep 2023 17:05:00 -0500 Subject: [PATCH] [Fix] Export UniversalStorage from @segment/analytics-next (#949) --- .changeset/clean-elephants-deny.md | 5 +++++ packages/browser/src/index.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/clean-elephants-deny.md diff --git a/.changeset/clean-elephants-deny.md b/.changeset/clean-elephants-deny.md new file mode 100644 index 000000000..c4e1fd79f --- /dev/null +++ b/.changeset/clean-elephants-deny.md @@ -0,0 +1,5 @@ +--- +'@segment/analytics-next': patch +--- + +Fix regression where we no longer export UniversalStorage (used in destinations) diff --git a/packages/browser/src/index.ts b/packages/browser/src/index.ts index 625d8e91a..fdd552aa8 100644 --- a/packages/browser/src/index.ts +++ b/packages/browser/src/index.ts @@ -10,3 +10,4 @@ export * from './core/user' export type { AnalyticsSnippet } from './browser/standalone-interface' export type { MiddlewareFunction } from './plugins/middleware' export { getGlobalAnalytics } from './lib/global-analytics-helper' +export { UniversalStorage, Store, StorageObject } from './core/storage'