Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-google-mobile-ads

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-google-mobile-ads - npm Package Compare versions

Comparing version 6.2.4 to 6.2.5

2

lib/commonjs/ads/MobileAd.js

@@ -119,3 +119,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')) {
if (!((0, _common.isOneOf)(type, Object.values(_AdEventType.AdEventType)) || (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.`);

@@ -122,0 +122,0 @@ }

@@ -8,4 +8,4 @@ "use strict";

// Generated by genversion.
const version = '6.2.4';
const version = '6.2.5';
exports.version = version;
//# sourceMappingURL=version.js.map

@@ -122,3 +122,3 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

_addAdEventListener(type, listener) {
if (!(isOneOf(type, Object.values(AdEventType)) || isOneOf(type, Object.values(RewardedAdEventType)) && this._type === 'rewarded')) {
if (!(isOneOf(type, Object.values(AdEventType)) || 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.`);

@@ -125,0 +125,0 @@ }

// Generated by genversion.
export const version = '6.2.4';
export const version = '6.2.5';
//# sourceMappingURL=version.js.map

@@ -1,2 +0,2 @@

export declare const SDK_VERSION = "6.2.4";
export declare const SDK_VERSION = "6.2.5";
export { default, MobileAds } from './MobileAds';

@@ -3,0 +3,0 @@ export { AdsConsentDebugGeography } from './AdsConsentDebugGeography';

@@ -1,1 +0,1 @@

export declare const version = "6.2.4";
export declare const version = "6.2.5";
{
"name": "react-native-google-mobile-ads",
"version": "6.2.4",
"version": "6.2.5",
"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.",

@@ -133,3 +133,4 @@ /*

isOneOf(type, Object.values(AdEventType)) ||
(isOneOf(type, Object.values(RewardedAdEventType)) && this._type === 'rewarded')
(isOneOf(type, Object.values(RewardedAdEventType)) &&
(this._type === 'rewarded' || this._type === 'rewarded_interstitial'))
)

@@ -136,0 +137,0 @@ ) {

// Generated by genversion.
export const version = '6.2.4';
export const version = '6.2.5';

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc