Skip to content

Commit

Permalink
Deprecate undocumented AnalyticsNode (#1023)
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky authored Jan 9, 2024
1 parent 2a80cd6 commit b5b929e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/silent-penguins-sleep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@segment/analytics-next': minor
---

Deprecate AnalyticsNode class (in favor of the standalone @segment/analytics-node)
3 changes: 3 additions & 0 deletions packages/browser/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { Plugin } from '../core/plugin'
import { EventQueue } from '../core/queue/event-queue'
import { PriorityQueue } from '../lib/priority-queue'

/**
* @deprecated Please use the standalone `@segment/analytics-node` package.
*/
export class AnalyticsNode {
static async load(settings: {
writeKey: string
Expand Down

0 comments on commit b5b929e

Please sign in to comment.