@fellow/capacitor-android
Advanced tools
Comparing version 3.0.1-beta.1 to 3.2.0-beta.1
@@ -40,4 +40,2 @@ | ||
const initEvents = (win, cap) => { | ||
const doc = win.document; | ||
const cordova = win.cordova; | ||
cap.addListener = (pluginName, eventName, callback) => { | ||
@@ -62,2 +60,3 @@ const callbackId = cap.nativeCallback(pluginName, 'addListener', { | ||
cap.createEvent = (eventName, eventData) => { | ||
const doc = win.document; | ||
if (doc) { | ||
@@ -79,2 +78,4 @@ const ev = doc.createEvent('Events'); | ||
cap.triggerEvent = (eventName, target, eventData) => { | ||
const doc = win.document; | ||
const cordova = win.cordova; | ||
eventData = eventData || {}; | ||
@@ -176,3 +177,6 @@ const ev = cap.createEvent(eventName, eventData); | ||
if (seen.has(v)) { | ||
return '...'; | ||
if (v === null) | ||
return null; | ||
else | ||
return '...'; | ||
} | ||
@@ -179,0 +183,0 @@ if (typeof v === 'object') { |
{ | ||
"name": "@fellow/capacitor-android", | ||
"version": "3.0.1-beta.1", | ||
"version": "3.2.0-beta.1", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -26,3 +26,3 @@ "homepage": "https://capacitorjs.com", | ||
"peerDependencies": { | ||
"@capacitor/core": "~3.0.0" | ||
"@capacitor/core": "^3.2.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "publishConfig": { |
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
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
497
307092
62