cordova-plugin-unvired-logger 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-unvired-logger",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "A logger plugin for Electron, Android, Browser, and iOS that appends logs to log.txt files organized by user ID.",
5
5
  "cordova": {
6
6
  "id": "cordova-plugin-unvired-logger",
package/plugin.xml CHANGED
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <plugin id="cordova-plugin-unvired-logger" version="0.0.4"
2
+ <plugin id="cordova-plugin-unvired-logger" version="0.0.5"
3
3
  xmlns="http://apache.org/cordova/ns/plugins/1.0"
4
4
  xmlns:android="http://schemas.android.com/apk/res/android">
5
5
 
@@ -222,6 +222,7 @@ if (typeof module !== 'undefined' && module.exports) {
222
222
  getLogFileURL,
223
223
  getBackupLogFileURL,
224
224
  };
225
+ require('cordova/exec/proxy').add('UnviredLogger', module.exports);
225
226
  } else if (typeof window !== 'undefined') {
226
227
  // Browser environment
227
228
  window.UnviredLogger = {
@@ -239,4 +240,5 @@ if (typeof module !== 'undefined' && module.exports) {
239
240
  getBackupLogFileURL,
240
241
  };
241
242
  window.Logger = window.UnviredLogger;
243
+ require('cordova/exec/proxy').add('UnviredLogger', window.Logger);
242
244
  }