react-native-google-mobile-ads
Advanced tools
Comparing version 12.1.0 to 12.1.1
@@ -97,3 +97,3 @@ "use strict"; | ||
_addAdEventListener(type, listener) { | ||
if (!((0, _common.isOneOf)(type, Object.values(_AdEventType.AdEventType)) || (0, _common.isOneOf)(type, Object.values(_RewardedAdEventType.RewardedAdEventType)) && (this._type === 'rewarded' || this._type === 'rewarded_interstitial'))) { | ||
if (!((0, _common.isOneOf)(type, Object.values(_AdEventType.AdEventType)) || (0, _common.isOneOf)(type, Object.values(_GAMAdEventType.GAMAdEventType)) || (0, _common.isOneOf)(type, Object.values(_RewardedAdEventType.RewardedAdEventType)) && (this._type === 'rewarded' || this._type === 'rewarded_interstitial'))) { | ||
throw new Error(`${this._className}.addAdEventListener(*) 'type' expected a valid event type value.`); | ||
@@ -100,0 +100,0 @@ } |
@@ -8,4 +8,4 @@ "use strict"; | ||
// Generated by genversion. | ||
const version = '12.1.0'; | ||
const version = '12.1.1'; | ||
exports.version = version; | ||
//# sourceMappingURL=version.js.map |
@@ -91,3 +91,3 @@ /* | ||
_addAdEventListener(type, listener) { | ||
if (!(isOneOf(type, Object.values(AdEventType)) || isOneOf(type, Object.values(RewardedAdEventType)) && (this._type === 'rewarded' || this._type === 'rewarded_interstitial'))) { | ||
if (!(isOneOf(type, Object.values(AdEventType)) || isOneOf(type, Object.values(GAMAdEventType)) || isOneOf(type, Object.values(RewardedAdEventType)) && (this._type === 'rewarded' || this._type === 'rewarded_interstitial'))) { | ||
throw new Error(`${this._className}.addAdEventListener(*) 'type' expected a valid event type value.`); | ||
@@ -94,0 +94,0 @@ } |
// Generated by genversion. | ||
export const version = '12.1.0'; | ||
export const version = '12.1.1'; | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
export declare const SDK_VERSION = "12.1.0"; | ||
export declare const SDK_VERSION = "12.1.1"; | ||
export { default, MobileAds } from './MobileAds'; | ||
@@ -3,0 +3,0 @@ export { AdsConsentDebugGeography } from './AdsConsentDebugGeography'; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "12.1.0"; | ||
export declare const version = "12.1.1"; | ||
//# sourceMappingURL=version.d.ts.map |
{ | ||
"name": "react-native-google-mobile-ads", | ||
"version": "12.1.0", | ||
"version": "12.1.1", | ||
"author": "Invertase <oss@invertase.io> (http://invertase.io)", | ||
@@ -5,0 +5,0 @@ "description": "React Native Google Mobile Ads is an easy way to monetize mobile apps with targeted, in-app advertising.", |
@@ -150,2 +150,3 @@ /* | ||
isOneOf(type, Object.values(AdEventType)) || | ||
isOneOf(type, Object.values(GAMAdEventType)) || | ||
(isOneOf(type, Object.values(RewardedAdEventType)) && | ||
@@ -152,0 +153,0 @@ (this._type === 'rewarded' || this._type === 'rewarded_interstitial')) |
// Generated by genversion. | ||
export const version = '12.1.0'; | ||
export const version = '12.1.1'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
991336
12641