@javascriptcommon/react-native-google-mobile-ads 16.3.3 → 16.3.4

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.
@@ -56,7 +56,7 @@ class ReactNativeGoogleMobileAdsNativeModule(reactContext: ReactApplicationConte
56
56
  request,
57
57
  object : NativeAdLoaderCallback {
58
58
  override fun onNativeAdLoaded(nativeAd: NativeAd) {
59
- val responseId = nativeAd.responseInfo?.responseId ?: ""
59
+ val responseId = nativeAd.getResponseInfo()?.responseId ?: ""
60
60
  nativeAds[responseId] = nativeAd
61
61
  attachEventCallback(nativeAd, responseId)
62
62
  promise.resolve(serializeNativeAd(nativeAd, responseId))
@@ -92,7 +92,7 @@ class ReactNativeGoogleMobileAdsRewardedInterstitialModule(reactContext: ReactAp
92
92
  ReactNativeGoogleMobileAdsEvent.GOOGLE_MOBILE_ADS_EVENT_REWARDED_LOADED,
93
93
  requestId,
94
94
  adUnitId,
95
- buildRewardPayload(ad.rewardItem))
95
+ buildRewardPayload(ad.getRewardItem()))
96
96
  }
97
97
 
98
98
  override fun showAd(
@@ -86,7 +86,7 @@ class ReactNativeGoogleMobileAdsRewardedModule(reactContext: ReactApplicationCon
86
86
  ReactNativeGoogleMobileAdsEvent.GOOGLE_MOBILE_ADS_EVENT_REWARDED_LOADED,
87
87
  requestId,
88
88
  adUnitId,
89
- buildRewardPayload(ad.rewardItem))
89
+ buildRewardPayload(ad.getRewardItem()))
90
90
  }
91
91
 
92
92
  override fun showAd(
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = void 0;
7
7
  // Generated by genversion.
8
- const version = exports.version = '16.3.3';
8
+ const version = exports.version = '16.3.4';
9
9
  //# sourceMappingURL=version.js.map
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
3
  // Generated by genversion.
4
- export const version = '16.3.3';
4
+ export const version = '16.3.4';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,4 +1,4 @@
1
- export declare const SDK_VERSION = "16.3.3";
1
+ export declare const SDK_VERSION = "16.3.4";
2
2
  export { default, MobileAds } from './MobileAds';
3
3
  export { AdsConsentDebugGeography, AdsConsentInfo, AdsConsentInfoOptions, AdsConsentInterface, AdsConsentPrivacyOptionsRequirementStatus, AdsConsentStatus, AdsConsentUserChoices, } from './specs/modules/NativeConsentModule';
4
4
  export { AdsConsentPurposes } from './AdsConsentPurposes';
@@ -1,2 +1,2 @@
1
- export declare const version = "16.3.3";
1
+ export declare const version = "16.3.4";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@javascriptcommon/react-native-google-mobile-ads",
3
- "version": "16.3.3",
3
+ "version": "16.3.4",
4
4
  "author": "Invertase <oss@invertase.io> (http://invertase.io)",
5
5
  "description": "Fork of react-native-google-mobile-ads migrated to the GMA Next-Gen SDK on Android (iOS keeps the classic Google Mobile Ads SDK). Banner, interstitial and app-open supported; native ads and rewarded are not migrated on Android.",
6
6
  "main": "lib/commonjs/index.js",
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '16.3.3';
2
+ export const version = '16.3.4';