react-native-levelplayads 0.1.0 → 0.1.1

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.
@@ -246,9 +246,9 @@ private final class InterstitialAdHolder: AdHolder, LPMInterstitialAdDelegate {
246
246
  self.ad.setDelegate(self)
247
247
  }
248
248
 
249
- func didLoadAd(withAdInfo adInfo: LPMAdInfo) { onLoaded?() }
249
+ func didLoadAd(with adInfo: LPMAdInfo) { onLoaded?() }
250
250
  func didFailToLoadAd(withAdUnitId adUnitId: String, error: Error) { onLoadFailed?(error) }
251
- func didDisplayAd(withAdInfo adInfo: LPMAdInfo) { onDisplayed?() }
251
+ func didDisplayAd(with adInfo: LPMAdInfo) { onDisplayed?() }
252
252
  func didFailToDisplayAd(withAdInfo adInfo: LPMAdInfo, error: Error) { onDisplayFailed?(error) }
253
253
  func didClickAd(withAdInfo adInfo: LPMAdInfo) {}
254
254
  func didCloseAd(withAdInfo adInfo: LPMAdInfo) { onClosed?() }
@@ -264,9 +264,9 @@ private final class RewardedAdHolder: AdHolder, LPMRewardedAdDelegate {
264
264
  self.ad.setDelegate(self)
265
265
  }
266
266
 
267
- func didLoadAd(withAdInfo adInfo: LPMAdInfo) { onLoaded?() }
267
+ func didLoadAd(with adInfo: LPMAdInfo) { onLoaded?() }
268
268
  func didFailToLoadAd(withAdUnitId adUnitId: String, error: Error) { onLoadFailed?(error) }
269
- func didDisplayAd(withAdInfo adInfo: LPMAdInfo) { onDisplayed?() }
269
+ func didDisplayAd(with adInfo: LPMAdInfo) { onDisplayed?() }
270
270
  func didReward(withAdInfo adInfo: LPMAdInfo, reward: LPMReward) { onReward?() }
271
271
  func didFailToDisplayAd(withAdInfo adInfo: LPMAdInfo, error: Error) { onDisplayFailed?(error) }
272
272
  func didClickAd(withAdInfo adInfo: LPMAdInfo) {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-levelplayads",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Nitro Modules bridge for the LevelPlay (ironSource) mediation SDK",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",