mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* specify ad provider * update publisher key * upgrade specify sdk * use profile address for ads * unifiy banner size, remove hype * upgrade specify sdk * review fixes
24 lines
464 B
JavaScript
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: '',
|
|
};
|