Files
Igor StuevandGitHub a53c945d5f specify ad provider (#3005)
* specify ad provider

* update publisher key

* upgrade specify sdk

* use profile address for ads

* unifiy banner size, remove hype

* upgrade specify sdk

* review fixes
2025-09-26 17:12:54 +02:00

24 lines
464 B
JavaScript

// Mock for @specify-sh/sdk to avoid build issues in Playwright component tests
export const ImageFormat = {
SHORT_BANNER: 'short_banner',
LONG_BANNER: 'long_banner',
};
export default class Specify {
constructor(options) {
this.publisherKey = options.publisherKey;
}
async serve() {
// Mock implementation that returns null to simulate no ad
return null;
}
}
export const SpecifyAd = {
imageUrl: '',
headline: '',
ctaUrl: '',
};