-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove unused exports * Fix imports from core * Changeset
- Loading branch information
Showing
6 changed files
with
18 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@guardian/commercial': patch | ||
--- | ||
|
||
Removed unused exports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,16 @@ | ||
/* istanbul ignore file -- there's no point check this for test coverage */ | ||
|
||
export { ias } from './third-party-tags/ias'; | ||
export { permutive } from './third-party-tags/permutive'; | ||
export { twitter } from './third-party-tags/twitter-uwt'; | ||
export { inizio } from './third-party-tags/inizio'; | ||
export { remarketing } from './third-party-tags/remarketing'; | ||
export { isAdBlockInUse } from './detect-ad-blocker'; | ||
export { EventTimer } from './event-timer'; | ||
export { adSizes } from './ad-sizes'; | ||
export * as constants from './constants'; | ||
export { | ||
bypassCommercialMetricsSampling, | ||
initCommercialMetrics, | ||
} from './send-commercial-metrics'; | ||
export type { ThirdPartyTag } from './types'; | ||
export { | ||
adSizes, | ||
createAdSize, | ||
getAdSize, | ||
outstreamSizes, | ||
slotSizeMappings, | ||
standardAdSizes, | ||
} from './ad-sizes'; | ||
export { isBreakpoint } from './lib/breakpoint'; | ||
export type { Breakpoint } from './lib/breakpoint'; | ||
export type { | ||
SizeKeys, | ||
AdSizeString, | ||
AdSize, | ||
SizeMapping, | ||
SlotSizeMappings, | ||
SlotName, | ||
} from './ad-sizes'; | ||
export { isAdBlockInUse } from './detect-ad-blocker'; | ||
export { | ||
clearPermutiveSegments, | ||
getPermutiveSegments, | ||
getPermutivePFPSegments, | ||
} from './permutive'; | ||
export { initTrackScrollDepth } from './track-scroll-depth'; | ||
export { initTrackGpcSignal } from './track-gpc-signal'; | ||
export { createAdSlot, concatSizeMappings } from '../core/create-ad-slot'; | ||
export type { | ||
AdsConfig, | ||
AdsConfigBasic, | ||
AdsConfigDisabled, | ||
AdTargetingBuilder, | ||
CustomParams, | ||
} from './types'; | ||
export * as constants from './constants'; | ||
export type { ContentTargeting } from './targeting/content'; | ||
export { getContentTargeting } from './targeting/content'; | ||
export type { PersonalisedTargeting } from './targeting/personalised'; | ||
export { getPersonalisedTargeting } from './targeting/personalised'; | ||
export type { SessionTargeting } from './targeting/session'; | ||
export { getSessionTargeting } from './targeting/session'; | ||
export type { SharedTargeting } from './targeting/shared'; | ||
export { getSharedTargeting } from './targeting/shared'; | ||
export type { ViewportTargeting } from './targeting/viewport'; | ||
export { getViewportTargeting } from './targeting/viewport'; | ||
export { pickTargetingValues } from './targeting/pick-targeting-values'; | ||
export { init as initMessenger } from './messenger'; | ||
export type { | ||
RegisterListener, | ||
RegisterPersistentListener, | ||
RespondProxy, | ||
} from './messenger'; | ||
export { postMessage } from './messenger/post-message'; | ||
export { buildPageTargeting } from './targeting/build-page-targeting'; | ||
export { buildPageTargetingConsentless } from './targeting/build-page-targeting-consentless'; | ||
export type { PageTargeting } from './targeting/build-page-targeting'; | ||
/* -- Vendor JavaScript -- */ | ||
export { a9Apstag } from './__vendor/a9-apstag'; | ||
export { ipsosMoriStub } from './__vendor/ipsos-mori'; | ||
export { pubmatic } from './__vendor/pubmatic'; | ||
export { postMessage } from './messenger/post-message'; | ||
export { buildImaAdTagUrl } from './targeting/youtube-ima'; | ||
export { getPermutivePFPSegments } from './permutive'; | ||
export type { AdsConfigDisabled } from './types'; | ||
export type { AdSize, SizeMapping, SlotName } from './ad-sizes'; | ||
export type { PageTargeting } from './targeting/build-page-targeting'; | ||
export type { AdsConfigCCPAorAus, AdsConfigTCFV2 } from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters