UNPKG

830 BSource Map (JSON)View Raw
1{"version":3,"file":"InterstitialAdManager.js","sourceRoot":"","sources":["../src/InterstitialAdManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAEtD,MAAM,EACJ,wBAAwB,GAAG;IACzB,KAAK,CAAC,MAAM;QACV,OAAO,KAAK,CAAC;IACf,CAAC;CACF,GACF,GAAG,kBAAkB,CAAC;AAEvB,eAAe;IACb;;OAEG;IACH,KAAK,CAAC,MAAM,CAAC,WAAmB;QAC9B,OAAO,MAAM,wBAAwB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IAC5D,CAAC;CACF,CAAC","sourcesContent":["import { NativeModulesProxy } from '@unimodules/core';\n\nconst {\n CTKInterstitialAdManager = {\n async showAd() {\n return false;\n },\n },\n} = NativeModulesProxy;\n\nexport default {\n /**\n * Shows interstitial ad for a given placementId\n */\n async showAd(placementId: string): Promise<boolean> {\n return await CTKInterstitialAdManager.showAd(placementId);\n },\n};\n"]}
\No newline at end of file