community-cordova-plugin-nfc 1.6.0 → 1.6.1
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 +1 -1
- package/plugin.xml +1 -1
- package/www/phonegap-nfc.js +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "community-cordova-plugin-nfc",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Community Cordova NFC Plugin - Read and write NDEF messages, advanced tag analysis, raw memory access",
|
|
5
5
|
"main": "./types/index.d.ts",
|
|
6
6
|
"types": "./types/index.d.ts",
|
package/plugin.xml
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
8
8
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
9
9
|
id="community-cordova-plugin-nfc"
|
|
10
|
-
version="1.6.
|
|
10
|
+
version="1.6.1">
|
|
11
11
|
|
|
12
12
|
<name>NFC</name>
|
|
13
13
|
<description>Community Cordova NFC Plugin - Read and write NDEF messages, advanced tag analysis, raw memory access</description>
|
package/www/phonegap-nfc.js
CHANGED
|
@@ -1149,3 +1149,11 @@ NfcPluginExport.NfcUtil = util;
|
|
|
1149
1149
|
NfcPluginExport.fireNfcTagEvent = fireNfcTagEvent;
|
|
1150
1150
|
|
|
1151
1151
|
module.exports = NfcPluginExport;
|
|
1152
|
+
|
|
1153
|
+
// Legacy globals for backwards compatibility.
|
|
1154
|
+
// @awesome-cordova-plugins/nfc and phonegap-nfc detect the plugin via window.nfc.
|
|
1155
|
+
// These are additive and do not affect the NfcPlugin module export above.
|
|
1156
|
+
window.nfc = nfc;
|
|
1157
|
+
window.ndef = ndef;
|
|
1158
|
+
window.util = util;
|
|
1159
|
+
window.fireNfcTagEvent = fireNfcTagEvent;
|