Socket
Socket
Sign inDemoInstall

@capacitor-community/admob

Package Overview
Dependencies
Maintainers
26
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor-community/admob - npm Package Compare versions

Comparing version 1.3.0-1 to 3.0.0-1

dist/docs.json

14

dist/esm/definitions.d.ts
import { PluginListenerHandle } from '@capacitor/core';
declare global {
interface PluginRegistry {
AdMob?: AdMobPlugin;
}
}
export interface AdMobPlugin {

@@ -130,2 +125,11 @@ /**

/**
* Notice: banner size changed and notice size
*
* @group Banner
* @param eventName onAdSize
* @param listenerFunc
* @since 3.0.0
*/
addListener(eventName: 'onAdSize', listenerFunc: (info: any) => void): PluginListenerHandle;
/**
* Notice: failed to load Banner ad(android)

@@ -132,0 +136,0 @@ *

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

import type { AdMobPlugin } from './definitions';
declare const AdMob: AdMobPlugin;
export * from './definitions';
export { AdMob };

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

import { registerPlugin } from '@capacitor/core';
const AdMob = registerPlugin('AdMob', {
web: () => import('./web').then(m => new m.AdMobWeb()),
});
export * from './definitions';
export { AdMob };
//# sourceMappingURL=index.js.map
{
"name": "@capacitor-community/admob",
"version": "1.3.0-1",
"version": "3.0.0-1",
"description": "A native plugin for AdMob",
"main": "dist/esm/index.js",
"main": "dist/plugin.cjs.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"unpkg": "dist/plugin.js",
"files": [
"android/src/main/",
"android/build.gradle",
"dist/",
"ios/Plugin/",
"CapacitorCommunityAdmob.podspec"
],
"author": "Masahiko Sakakibara <sakakibara@rdlabo.jp>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git@github.com:capacitor-community/admob.git"
},
"bugs": {
"url": "git@github.com:capacitor-community/admob.git/issues"
},
"scripts": {
"test": "sh ./android/gradlew test -p ./android test",
"build": "npm run clean && tsc",
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
"verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..",
"verify:android": "cd android && ./gradlew clean build test && cd ..",
"verify:web": "npm run build",
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
"fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
"eslint": "eslint . --ext ts",
"prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
"swiftlint": "node-swiftlint",
"docgen": "docgen --api AdMobPlugin --output-readme README_AUTO.md --output-json dist/docs.json",
"build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
"clean": "rimraf ./dist",
"watch": "tsc --watch",
"prepublishOnly": "npm run build",
"docgen": "docgen --api AdMobPlugin --output-readme README_AUTO.md",
"release": "np",
"lint": "npm run prettier -- --check",
"fmt": "npm run prettier -- --write && npm run swiftlint -- autocorrect",
"prettier": "prettier \"{android/src,src}/**/*.{css,html,java,js,ts}\"",
"swiftlint": "node-swiftlint"
"release": "np --any-branch"
},
"author": "Masahiko Sakakibara <sakakibara@rdlabo.jp>",
"license": "MIT",
"devDependencies": {
"@capacitor/android": "3.0.0-beta.2",
"@capacitor/core": "3.0.0-beta.2",
"@capacitor/docgen": "^0.0.10",
"@capacitor/ios": "3.0.0-beta.2",
"@ionic/eslint-config": "^0.3.0",
"@ionic/prettier-config": "^1.0.1",
"@ionic/swiftlint-config": "^1.1.2",
"eslint": "^7.11.0",
"np": "^7.4.0",
"prettier": "~2.2.0",
"prettier-plugin-java": "~1.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.32.0",
"swiftlint": "^1.0.1",
"typescript": "~4.0.3"
},
"dependencies": {
"@capacitor/core": "^2.0.0"
"@capacitor/core": "3.0.0-beta.2"
},
"prettier": "@ionic/prettier-config",
"devDependencies": {
"@capacitor/android": "^2.0.0",
"@capacitor/docgen": "0.0.14",
"@capacitor/ios": "^2.0.0",
"@ionic/prettier-config": "^1.0.0",
"@ionic/swiftlint-config": "^1.0.2",
"husky": "^4.2.5",
"np": "^6.2.4",
"prettier": "^2.0.5",
"prettier-plugin-java": "^0.8.0",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.0",
"swiftlint": "^1.0.1",
"typescript": "^3.2.4"
"swiftlint": "@ionic/swiftlint-config",
"eslintConfig": {
"extends": "@ionic/eslint-config/recommended"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"files": [
"dist/",
"ios/",
"android/",
"CapacitorCommunityAdmob.podspec"
],
"keywords": [

@@ -64,10 +79,3 @@ "capacitor",

}
},
"repository": {
"type": "git",
"url": "git@github.com:capacitor-community/admob.git"
},
"bugs": {
"url": "git@github.com:capacitor-community/admob.git/issues"
}
}

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