Skip to content

Commit

Permalink
✨[RUMF-609] export Datacenter enum from logs and rum (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcaudan authored Jul 1, 2020
1 parent d85fadc commit 1e68570
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/logs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ Datadog browser logs library.
### NPM

```
import { Datacenter } from '@datadog/browser-core'
import { datadogLogs } from '@datadog/browser-logs'
import { Datacenter, datadogLogs } from '@datadog/browser-logs'
datadogLogs.init({
clientToken: 'XXX',
datacenter: Datacenter.US,
Expand Down
1 change: 1 addition & 0 deletions packages/logs/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { Datacenter } from '@datadog/browser-core'
export { StatusType, HandlerType, LoggerConfiguration, Logger, LogsMessage } from './logger'
export { LogsUserConfiguration, Status, LogsGlobal, datadogLogs } from './logs.entry'
3 changes: 1 addition & 2 deletions packages/rum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ Datadog browser rum library.
### NPM

```
import { Datacenter } from '@datadog/browser-core'
import { datadogRum } from '@datadog/browser-rum'
import { Datacenter, datadogRum } from '@datadog/browser-rum'
datadogRum.init({
applicationId: 'XXX',
clientToken: 'XXX',
Expand Down
1 change: 1 addition & 0 deletions packages/rum/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { Datacenter } from '@datadog/browser-core'
export { RumUserConfiguration, RumGlobal, datadogRum, InternalContext } from './rum.entry'
export { RumEventCategory, RumEvent, RumResourceEvent, RumViewEvent, RumUserActionEvent } from './rum'

0 comments on commit 1e68570

Please sign in to comment.