seven365-zyprinter 0.0.9 → 0.0.10

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.
@@ -424,6 +424,7 @@ extension ZywellSDK: POSBLEManagerDelegate {
424
424
 
425
425
  extension ZywellSDK: POSWIFIManagerDelegate {
426
426
 
427
+ @objc(POSWIFIManager:didConnectedToHost:port:)
427
428
  public func poswifiManager(_ manager: POSWIFIManager!, didConnectedToHost host: String!, port: UInt16) {
428
429
  DispatchQueue.main.async { [weak self] in
429
430
  self?.connectionCompletion?(true, nil)
@@ -431,10 +432,12 @@ extension ZywellSDK: POSWIFIManagerDelegate {
431
432
  }
432
433
  }
433
434
 
435
+ @objc(POSWIFIManager:willDisconnectWithError:)
434
436
  public func poswifiManager(_ manager: POSWIFIManager, willDisconnectWithError error: Error?) {
435
437
  // Handle disconnection warning
436
438
  }
437
439
 
440
+ @objc(POSWIFIManager:didWriteDataWithTag:)
438
441
  public func poswifiManager(_ manager: POSWIFIManager!, didWriteDataWithTag tag: Int) {
439
442
  DispatchQueue.main.async { [weak self] in
440
443
  self?.printCompletion?(true, nil)
@@ -442,10 +445,12 @@ extension ZywellSDK: POSWIFIManagerDelegate {
442
445
  }
443
446
  }
444
447
 
448
+ @objc(POSWIFIManager:didReadData:tag:)
445
449
  public func poswifiManager(_ manager: POSWIFIManager, didReadData data: Data, tag: Int) {
446
450
  // Handle data reading if needed
447
451
  }
448
452
 
453
+ @objc(POSWIFIManagerDidDisconnected:)
449
454
  public func poswifiManagerDidDisconnected(_ manager: POSWIFIManager!) {
450
455
  // Handle disconnection
451
456
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seven365-zyprinter",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Capacitor plugin for Zywell/Zyprint thermal printer integration with Bluetooth and WiFi support",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",