Skip to content

Commit db9e0f1

Browse files
🎨 apply prettier formatting to moved files
1 parent b01a4f1 commit db9e0f1

13 files changed

Lines changed: 65 additions & 422 deletions

File tree

‎packages/browser-core/src/browser/pageMayExitObservable.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ export function createPageMayExitObservable(): Observable<PageMayExitEvent> {
4545
}
4646
})
4747
}
48-
49-

‎packages/browser-core/src/index.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export {
7171
bridgeSupports,
7272
BridgeCapability,
7373
createBatch,
74-
createFlushController,
7574
FLUSH_DURATION_LIMIT,
7675
} from './transport'
7776
export * from './tools/display'

‎packages/browser-core/src/transport/batch.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ export function createBatch({
4040
pageMayExitObservable,
4141
encoder,
4242
reportError,
43-
warn: (message) =>
44-
display.warn(`${message} ${MORE_DETAILS} ${DOCS_TROUBLESHOOTING}/#technical-limitations`),
43+
warn: (message) => display.warn(`${message} ${MORE_DETAILS} ${DOCS_TROUBLESHOOTING}/#technical-limitations`),
4544
})
4645
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export { PageExitReason, createFlushController, FLUSH_DURATION_LIMIT, MESSAGES_LIMIT } from '@datadog/js-core/transport'
2-
export type { PageMayExitEvent, UrgentFlushReason, FlushReason, FlushEvent, FlushController } from '@datadog/js-core/transport'
1+
export { PageExitReason, FLUSH_DURATION_LIMIT } from '@datadog/js-core/transport'
2+
export type { PageMayExitEvent, UrgentFlushReason, FlushReason, FlushEvent } from '@datadog/js-core/transport'

‎packages/browser-core/src/transport/httpRequest.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { createHttpRequest as jsCoreCreateHttpRequest, RECOMMENDED_REQUEST_BYTES_LIMIT } from '@datadog/js-core/transport'
1+
import {
2+
createHttpRequest as jsCoreCreateHttpRequest,
3+
RECOMMENDED_REQUEST_BYTES_LIMIT,
4+
} from '@datadog/js-core/transport'
25
import type { EndpointBuilder, Payload, HttpResponse } from '@datadog/js-core/transport'
36
import { fetch } from '../browser/fetch'
47
import { monitor, monitorError } from '../tools/monitor'

‎packages/browser-core/src/transport/index.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export type { BrowserWindowWithEventBridge, DatadogEventBridge } from './eventBr
55
export { canUseEventBridge, bridgeSupports, getEventBridge, BridgeCapability } from './eventBridge'
66
export type { Batch } from './batch'
77
export { createBatch } from './batch'
8-
export type { FlushController, FlushEvent, FlushReason, UrgentFlushReason } from './flushController'
9-
export { createFlushController, FLUSH_DURATION_LIMIT } from './flushController'
8+
export type { FlushEvent, FlushReason, UrgentFlushReason } from './flushController'
9+
export { FLUSH_DURATION_LIMIT } from './flushController'

0 commit comments

Comments
 (0)