@thealteroffice/react-native-adgeist 0.0.20 → 0.0.23-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Adgeist.podspec +1 -1
- package/README.md +63 -522
- package/android/{generated/java/com/adgeist → app/build/generated/source/codegen/java/com/facebook/fbreact/specs}/NativeAdgeistSpec.java +12 -12
- package/android/app/build/generated/source/codegen/java/com/facebook/react/viewmanagers/HTML5AdNativeComponentManagerDelegate.java +55 -0
- package/android/app/build/generated/source/codegen/java/com/facebook/react/viewmanagers/HTML5AdNativeComponentManagerInterface.java +24 -0
- package/android/{generated → app/build/generated/source/codegen}/jni/RNAdgeistSpec-generated.cpp +12 -12
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/ComponentDescriptors.cpp +22 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/ComponentDescriptors.h +24 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/EventEmitters.cpp +60 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/EventEmitters.h +49 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/Props.cpp +28 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/Props.h +52 -0
- package/android/{generated → app/build/generated/source/codegen}/jni/react/renderer/components/RNAdgeistSpec/RNAdgeistSpecJSI-generated.cpp +14 -22
- package/android/{generated → app/build/generated/source/codegen}/jni/react/renderer/components/RNAdgeistSpec/RNAdgeistSpecJSI.h +36 -36
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/ShadowNodes.cpp +17 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/ShadowNodes.h +32 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/States.cpp +16 -0
- package/android/app/build/generated/source/codegen/jni/react/renderer/components/RNAdgeistSpec/States.h +29 -0
- package/android/build.gradle +4 -1
- package/android/src/main/java/com/adgeist/AdgeistPackage.kt +8 -7
- package/android/src/main/java/com/adgeist/components/HTML5AdViewManagerImpl.kt +125 -0
- package/android/src/main/java/com/adgeist/modules/AdgeistImpl.kt +114 -0
- package/android/src/main/java/com/adgeist/utils/CreativeExtensions.kt +151 -0
- package/android/src/newarch/java/com/Adgeist.kt +119 -0
- package/android/src/newarch/java/com/HTML5AdViewManager.kt +77 -0
- package/android/src/oldarch/java/com/Adgeist.kt +132 -0
- package/android/src/oldarch/java/com/HTML5AdViewManager.kt +63 -0
- package/ios/Adgeist-Bridging-Header.h +3 -0
- package/ios/Adgeist.mm +71 -65
- package/ios/AdgeistImpl.swift +127 -132
- package/ios/NativeHTML5AdManager.h +9 -0
- package/ios/NativeHTML5AdManager.mm +183 -0
- package/ios/NativeHTML5AdView.swift +136 -0
- package/lib/module/cdpclient/index.js +1 -25
- package/lib/module/cdpclient/index.js.map +1 -1
- package/lib/module/components/HTML5AdView.js +128 -0
- package/lib/module/components/HTML5AdView.js.map +1 -0
- package/lib/module/components/{BannerAd.js → deprecated/BannerAdView.js} +50 -79
- package/lib/module/components/deprecated/BannerAdView.js.map +1 -0
- package/lib/module/components/{ConsentModal.js → deprecated/ConsentModal.js} +2 -2
- package/lib/module/components/deprecated/ConsentModal.js.map +1 -0
- package/lib/module/constants.js +14 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/index.js +3 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/{components → providers}/AdgeistProvider.js +10 -35
- package/lib/module/providers/AdgeistProvider.js.map +1 -0
- package/lib/module/specs/HTML5AdNativeComponent.ts +46 -0
- package/lib/module/specs/NativeAdgeist.js.map +1 -0
- package/lib/module/types/AdSize.js +2 -0
- package/lib/module/types/AdSize.js.map +1 -0
- package/lib/module/types/CPMAdResponse.js +2 -0
- package/lib/module/types/CPMAdResponse.js.map +1 -0
- package/lib/module/types/FixedAdResponse.js +2 -0
- package/lib/module/types/FixedAdResponse.js.map +1 -0
- package/lib/module/types/HTML5AdNativeComponentProps.js +4 -0
- package/lib/module/types/HTML5AdNativeComponentProps.js.map +1 -0
- package/lib/module/types/Provider.js +2 -0
- package/lib/module/types/Provider.js.map +1 -0
- package/lib/typescript/src/cdpclient/index.d.ts +1 -21
- package/lib/typescript/src/cdpclient/index.d.ts.map +1 -1
- package/lib/typescript/src/components/HTML5AdView.d.ts +3 -0
- package/lib/typescript/src/components/HTML5AdView.d.ts.map +1 -0
- package/lib/typescript/src/components/deprecated/BannerAdView.d.ts +17 -0
- package/lib/typescript/src/components/deprecated/BannerAdView.d.ts.map +1 -0
- package/lib/typescript/src/components/deprecated/ConsentModal.d.ts.map +1 -0
- package/lib/typescript/src/constants.d.ts +10 -0
- package/lib/typescript/src/constants.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/providers/AdgeistProvider.d.ts +9 -0
- package/lib/typescript/src/providers/AdgeistProvider.d.ts.map +1 -0
- package/lib/typescript/src/specs/HTML5AdNativeComponent.d.ts +29 -0
- package/lib/typescript/src/specs/HTML5AdNativeComponent.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeAdgeist.d.ts +28 -0
- package/lib/typescript/src/specs/NativeAdgeist.d.ts.map +1 -0
- package/lib/typescript/src/types/AdSize.d.ts +5 -0
- package/lib/typescript/src/types/AdSize.d.ts.map +1 -0
- package/lib/typescript/src/types/CPMAdResponse.d.ts +25 -0
- package/lib/typescript/src/types/CPMAdResponse.d.ts.map +1 -0
- package/lib/typescript/src/types/FixedAdResponse.d.ts +50 -0
- package/lib/typescript/src/types/FixedAdResponse.d.ts.map +1 -0
- package/lib/typescript/src/types/HTML5AdNativeComponentProps.d.ts +24 -0
- package/lib/typescript/src/types/HTML5AdNativeComponentProps.d.ts.map +1 -0
- package/lib/typescript/src/types/Provider.d.ts +16 -0
- package/lib/typescript/src/types/Provider.d.ts.map +1 -0
- package/package.json +8 -3
- package/react-native.config.js +2 -3
- package/src/cdpclient/index.ts +1 -21
- package/src/components/HTML5AdView.tsx +161 -0
- package/src/components/{BannerAd.tsx → deprecated/BannerAdView.tsx} +80 -115
- package/src/components/{ConsentModal.tsx → deprecated/ConsentModal.tsx} +2 -2
- package/src/constants.ts +8 -0
- package/src/index.tsx +4 -2
- package/src/{components → providers}/AdgeistProvider.tsx +26 -60
- package/src/specs/HTML5AdNativeComponent.ts +46 -0
- package/src/{NativeAdgeist.ts → specs/NativeAdgeist.ts} +26 -25
- package/src/types/AdSize.ts +4 -0
- package/src/types/CPMAdResponse.ts +26 -0
- package/src/types/FixedAdResponse.ts +51 -0
- package/src/types/HTML5AdNativeComponentProps.ts +28 -0
- package/src/types/Provider.ts +16 -0
- package/android/src/main/AndroidManifestNew.xml +0 -2
- package/android/src/main/java/com/adgeist/implementation/AdgeistModuleImpl.kt +0 -252
- package/android/src/newarch/java/com/AdgeistModule.kt +0 -135
- package/android/src/oldarch/java/com/AdgeistModule.kt +0 -148
- package/ios/adgeist-Bridging-Header.h +0 -1
- package/ios/generated/RNAdgeistSpec/RNAdgeistSpec-generated.mm +0 -116
- package/ios/generated/RNAdgeistSpec/RNAdgeistSpec.h +0 -133
- package/ios/generated/RNAdgeistSpecJSI-generated.cpp +0 -149
- package/ios/generated/RNAdgeistSpecJSI.h +0 -170
- package/lib/module/NativeAdgeist.js.map +0 -1
- package/lib/module/components/AdgeistProvider.js.map +0 -1
- package/lib/module/components/BannerAd.js.map +0 -1
- package/lib/module/components/ConsentModal.js.map +0 -1
- package/lib/typescript/src/NativeAdgeist.d.ts +0 -28
- package/lib/typescript/src/NativeAdgeist.d.ts.map +0 -1
- package/lib/typescript/src/components/AdgeistProvider.d.ts +0 -50
- package/lib/typescript/src/components/AdgeistProvider.d.ts.map +0 -1
- package/lib/typescript/src/components/BannerAd.d.ts +0 -64
- package/lib/typescript/src/components/BannerAd.d.ts.map +0 -1
- package/lib/typescript/src/components/ConsentModal.d.ts.map +0 -1
- /package/android/{generated → app/build/generated/source/codegen}/jni/CMakeLists.txt +0 -0
- /package/android/{generated → app/build/generated/source/codegen}/jni/RNAdgeistSpec.h +0 -0
- /package/lib/module/{NativeAdgeist.js → specs/NativeAdgeist.js} +0 -0
- /package/lib/typescript/src/components/{ConsentModal.d.ts → deprecated/ConsentModal.d.ts} +0 -0
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { TurboModule } from 'react-native';
|
|
2
|
-
export interface UserDetails {
|
|
3
|
-
userId?: string;
|
|
4
|
-
userName?: string;
|
|
5
|
-
email?: string;
|
|
6
|
-
phone?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface Event {
|
|
9
|
-
eventType: string;
|
|
10
|
-
eventProperties: Object;
|
|
11
|
-
}
|
|
12
|
-
export interface Spec extends TurboModule {
|
|
13
|
-
initializeSdk(customDomain: string): Promise<boolean>;
|
|
14
|
-
fetchCreative(apiKey: string, origin: string, adSpaceId: string, publisherId: string, isTestEnvironment: boolean): Promise<Object>;
|
|
15
|
-
setUserDetails(user: Object): void;
|
|
16
|
-
logEvent(event: Object): void;
|
|
17
|
-
getConsentStatus(): Promise<boolean>;
|
|
18
|
-
updateConsentStatus(consent: boolean): void;
|
|
19
|
-
trackImpression(campaignId: string, adSpaceId: string, publisherId: string, apiKey: string, bidId: string, isTestEnvironment: boolean, renderTime: number): Promise<string>;
|
|
20
|
-
trackView(campaignId: string, adSpaceId: string, publisherId: string, apiKey: string, bidId: string, isTestEnvironment: boolean, viewTime: number, visibilityRatio: number, scrollDepth: number, timeToVisible: number): Promise<string>;
|
|
21
|
-
trackTotalView(campaignId: string, adSpaceId: string, publisherId: string, apiKey: string, bidId: string, isTestEnvironment: boolean, totalViewTime: number, visibilityRatio: number): Promise<string>;
|
|
22
|
-
trackClick(campaignId: string, adSpaceId: string, publisherId: string, apiKey: string, bidId: string, isTestEnvironment: boolean): Promise<string>;
|
|
23
|
-
trackVideoPlayback(campaignId: string, adSpaceId: string, publisherId: string, apiKey: string, bidId: string, isTestEnvironment: boolean, totalPlaybackTime: number): Promise<string>;
|
|
24
|
-
trackVideoQuartile(campaignId: string, adSpaceId: string, publisherId: string, apiKey: string, bidId: string, isTestEnvironment: boolean, quartile: string): Promise<string>;
|
|
25
|
-
}
|
|
26
|
-
declare const _default: Spec;
|
|
27
|
-
export default _default;
|
|
28
|
-
//# sourceMappingURL=NativeAdgeist.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NativeAdgeist.d.ts","sourceRoot":"","sources":["../../../src/NativeAdgeist.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,KAAK;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,MAAM,WAAW,IAAK,SAAQ,WAAW;IACvC,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEtD,aAAa,CACX,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,iBAAiB,EAAE,OAAO,GACzB,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEnC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B,gBAAgB,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAErC,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IAE5C,eAAe,CACb,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,OAAO,EAC1B,UAAU,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,SAAS,CACP,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,OAAO,EAC1B,QAAQ,EAAE,MAAM,EAChB,eAAe,EAAE,MAAM,EACvB,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,cAAc,CACZ,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,OAAO,EAC1B,aAAa,EAAE,MAAM,EACrB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,UAAU,CACR,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,OAAO,GACzB,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,kBAAkB,CAChB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,OAAO,EAC1B,iBAAiB,EAAE,MAAM,GACxB,OAAO,CAAC,MAAM,CAAC,CAAC;IAEnB,kBAAkB,CAChB,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,iBAAiB,EAAE,OAAO,EAC1B,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,MAAM,CAAC,CAAC;CACpB;;AAED,wBAAiE"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module AdgeistProvider
|
|
3
|
-
* @description Context provider for Adgeist ad-serving configuration and initialization
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Interface for Adgeist context
|
|
8
|
-
*/
|
|
9
|
-
interface AdgeistContextType {
|
|
10
|
-
publisherId: string;
|
|
11
|
-
apiKey: string;
|
|
12
|
-
domain: string;
|
|
13
|
-
isTestEnvironment: boolean;
|
|
14
|
-
isInitialized: boolean;
|
|
15
|
-
initializationError?: Error;
|
|
16
|
-
setAdgeistConsentModal: (value: boolean) => void;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Props for AdgeistProvider
|
|
20
|
-
*/
|
|
21
|
-
interface AdgeistProviderProps {
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
/** Custom API origin for Adgeist SDK */
|
|
24
|
-
customAdgeistApiOrigin?: string;
|
|
25
|
-
/** Publisher identifier */
|
|
26
|
-
publisherId: string;
|
|
27
|
-
/** API key for authentication */
|
|
28
|
-
apiKey: string;
|
|
29
|
-
/** Domain for ad serving */
|
|
30
|
-
domain: string;
|
|
31
|
-
/** Enable test environment mode */
|
|
32
|
-
isTestEnvironment?: boolean;
|
|
33
|
-
/** Callback for initialization errors */
|
|
34
|
-
onInitializationError?: (error: Error) => void;
|
|
35
|
-
/** Callback for successful initialization */
|
|
36
|
-
onInitializationSuccess?: () => void;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* AdgeistProvider component for managing ad-serving configuration
|
|
40
|
-
* @param props - Component properties
|
|
41
|
-
* @returns JSX.Element
|
|
42
|
-
*/
|
|
43
|
-
export declare const AdgeistProvider: React.FC<AdgeistProviderProps>;
|
|
44
|
-
/**
|
|
45
|
-
* Hook to access Adgeist context
|
|
46
|
-
* @returns AdgeistContextType
|
|
47
|
-
*/
|
|
48
|
-
export declare const useAdgeistContext: () => AdgeistContextType;
|
|
49
|
-
export {};
|
|
50
|
-
//# sourceMappingURL=AdgeistProvider.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AdgeistProvider.d.ts","sourceRoot":"","sources":["../../../../src/components/AdgeistProvider.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAMN,MAAM,OAAO,CAAC;AAIf;;GAEG;AACH,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,iBAAiB,EAAE,OAAO,CAAC;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,mBAAmB,CAAC,EAAE,KAAK,CAAC;IAC5B,sBAAsB,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAClD;AAED;;GAEG;AACH,UAAU,oBAAoB;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,wCAAwC;IACxC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,2BAA2B;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,mCAAmC;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yCAAyC;IACzC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAC/C,6CAA6C;IAC7C,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;CACtC;AAWD;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+D1D,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,0BAM7B,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @module BannerAd
|
|
3
|
-
* @description A React Native component for displaying banner and video ads with robust error handling and analytics.
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Interface for ad data structure
|
|
8
|
-
*/
|
|
9
|
-
interface AdData {
|
|
10
|
-
id: string;
|
|
11
|
-
bidId: string;
|
|
12
|
-
cur: string;
|
|
13
|
-
seatBid: SeatBid[];
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Interface for seat bid data
|
|
17
|
-
*/
|
|
18
|
-
interface SeatBid {
|
|
19
|
-
bidId: string;
|
|
20
|
-
bid: Bid[];
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Interface for individual bid
|
|
24
|
-
*/
|
|
25
|
-
interface Bid {
|
|
26
|
-
id: string;
|
|
27
|
-
impId: string;
|
|
28
|
-
price: number;
|
|
29
|
-
ext: BidExtension;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Interface for bid extension data
|
|
33
|
-
*/
|
|
34
|
-
interface BidExtension {
|
|
35
|
-
creativeUrl: string;
|
|
36
|
-
ctaUrl: string;
|
|
37
|
-
creativeTitle: string;
|
|
38
|
-
creativeDescription: string;
|
|
39
|
-
creativeBrandName?: string;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Props for the BannerAd component
|
|
43
|
-
*/
|
|
44
|
-
interface AdBannerProps {
|
|
45
|
-
/** Unique identifier for the ad slot */
|
|
46
|
-
dataAdSlot: string;
|
|
47
|
-
/** Type of ad to display */
|
|
48
|
-
dataSlotType?: 'banner' | 'video';
|
|
49
|
-
/** Width of the ad container */
|
|
50
|
-
width?: number;
|
|
51
|
-
/** Height of the ad container */
|
|
52
|
-
height?: number;
|
|
53
|
-
/** Enable responsive layout */
|
|
54
|
-
isResponsive?: boolean;
|
|
55
|
-
/** Responsive layout type */
|
|
56
|
-
responsiveType?: 'SQUARE' | 'VERTICAL' | 'WIDE';
|
|
57
|
-
/** Callback for ad load errors */
|
|
58
|
-
onAdLoadError?: (error: Error) => void;
|
|
59
|
-
/** Callback for ad load success */
|
|
60
|
-
onAdLoadSuccess?: (adData: AdData) => void;
|
|
61
|
-
}
|
|
62
|
-
export declare const BannerAd: React.FC<AdBannerProps>;
|
|
63
|
-
export {};
|
|
64
|
-
//# sourceMappingURL=BannerAd.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BannerAd.d.ts","sourceRoot":"","sources":["../../../../src/components/BannerAd.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAmD,MAAM,OAAO,CAAC;AAgBxE;;GAEG;AACH,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,EAAE,CAAC;CACpB;AAED;;GAEG;AACH,UAAU,OAAO;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,GAAG,EAAE,CAAC;CACZ;AAED;;GAEG;AACH,UAAU,GAAG;IACX,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,YAAY,CAAC;CACnB;AAED;;GAEG;AACH,UAAU,YAAY;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED;;GAEG;AACH,UAAU,aAAa;IACrB,wCAAwC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,YAAY,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAClC,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+BAA+B;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6BAA6B;IAC7B,cAAc,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAAC;IAChD,kCAAkC;IAClC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACvC,mCAAmC;IACnC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgZ5C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ConsentModal.d.ts","sourceRoot":"","sources":["../../../../src/components/ConsentModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,qBAAqB;CAAG;AAElC,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CAgCxD,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|