@rdlabo/capacitor-brotherprint 6.4.3 → 6.4.4

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.
@@ -136,9 +136,9 @@ class BrotherPrint : Plugin() {
136
136
  notifyListeners(
137
137
  BrotherPrintEvent.onPrintError.webEventName,
138
138
  JSObject().put("code", printError.code)
139
- .put("message", result.error.code.toString())
139
+ .put("message", printError.code.toString())
140
140
  )
141
- call.reject("Error - Print Image: " + result.error.code.toString())
141
+ call.reject("Error - Print Image: " + printError.code.toString())
142
142
  return@Thread
143
143
  }
144
144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdlabo/capacitor-brotherprint",
3
- "version": "6.4.3",
3
+ "version": "6.4.4",
4
4
  "description": "Capacitor plugin for Brother Print SDK",
5
5
  "main": "dist/plugin.js",
6
6
  "module": "dist/esm/index.js",