@fellow/capacitor-ios
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-ios", | ||
"version": "3.0.1-beta.1", | ||
"version": "3.2.0-beta.1", | ||
"description": "Capacitor: Cross-platform apps with JavaScript and the web", | ||
@@ -30,3 +30,3 @@ "homepage": "https://capacitorjs.com", | ||
"peerDependencies": { | ||
"@capacitor/core": "~3.0.0" | ||
"@capacitor/core": "^3.2.0" | ||
}, | ||
@@ -33,0 +33,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
497
245422
84