tauri-plugin-thermal-printer 1.0.2 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -201,7 +201,7 @@ on package.json
201
201
 
202
202
  ```json
203
203
  "dependencies": {
204
- "tauri-plugin-thermal-printer-api": "file:../tauri-plugin-thermal-printer"
204
+ "tauri-plugin-thermal-printer": "file:../tauri-plugin-thermal-printer"
205
205
  }
206
206
  ```
207
207
 
@@ -213,7 +213,7 @@ Get all printers available in the system. It just lists the configured printers.
213
213
 
214
214
  #### Request:
215
215
  ```typescript
216
- import { list_thermal_printers } from "tauri-plugin-thermal-printer-api";
216
+ import { list_thermal_printers } from "tauri-plugin-thermal-printer";
217
217
 
218
218
  const response = await list_thermal_printers();
219
219
  ```
@@ -250,7 +250,7 @@ Send a print test to a specific printer to verify functionality.
250
250
 
251
251
  #### Request:
252
252
  ```typescript
253
- import { test_thermal_printer, type TestPrintRequest } from "tauri-plugin-thermal-printer-api";
253
+ import { test_thermal_printer, type TestPrintRequest } from "tauri-plugin-thermal-printer";
254
254
 
255
255
  const response = await test_thermal_printer({
256
256
  "printer_info": {
@@ -319,7 +319,7 @@ Print a personalized document with the specified sections.
319
319
 
320
320
  #### Request:
321
321
  ```typescript
322
- import { print_thermal_printer, type PrintJobRequest } from "tauri-plugin-thermal-printer-api";
322
+ import { print_thermal_printer, type PrintJobRequest } from "tauri-plugin-thermal-printer";
323
323
 
324
324
  const response = await print_thermal_printer({
325
325
  "printer": "TM-T20II",
@@ -771,7 +771,7 @@ This section contains practical examples for different use cases. Each example d
771
771
  ### 🛒 Long Receipt (Supermarket - 80mm)
772
772
 
773
773
  ```typescript
774
- import { print_thermal_printer, type PrintJobRequest } from "tauri-plugin-thermal-printer-api";
774
+ import { print_thermal_printer, type PrintJobRequest } from "tauri-plugin-thermal-printer";
775
775
 
776
776
  const receipt: PrintJobRequest = {
777
777
  "printer": "TM-T20II",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tauri-plugin-thermal-printer",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "author": "luis3132",
5
5
  "description": "Plugin for Tauri to send esc/pos commands to thermal_printer",
6
6
  "type": "module",