Skip to content

Commit b5b929e

Browse files
authored
Deprecate undocumented AnalyticsNode (#1023)
1 parent 2a80cd6 commit b5b929e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
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+
Deprecate AnalyticsNode class (in favor of the standalone @segment/analytics-node)

packages/browser/src/node/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import { Plugin } from '../core/plugin'
66
import { EventQueue } from '../core/queue/event-queue'
77
import { PriorityQueue } from '../lib/priority-queue'
88

9+
/**
10+
* @deprecated Please use the standalone `@segment/analytics-node` package.
11+
*/
912
export class AnalyticsNode {
1013
static async load(settings: {
1114
writeKey: string

0 commit comments

Comments
 (0)