escpos-buffer
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -51,3 +51,3 @@ "use strict"; | ||
yield this.setStyles(styles, true); | ||
cb(); | ||
yield cb(); | ||
yield this.setStyles(styles, false); | ||
@@ -54,0 +54,0 @@ yield this.setCharSize({ width: 1, height: 1 }); |
{ | ||
"name": "escpos-buffer", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Library to generate buffer for thermal printers.", | ||
@@ -5,0 +5,0 @@ "author": "GrandChef Team <desenvolvimento@grandchef.com.br>", |
@@ -99,3 +99,3 @@ import { Connection } from '../connection'; | ||
await this.setStyles(styles, true); | ||
cb(); | ||
await cb(); | ||
await this.setStyles(styles, false); | ||
@@ -102,0 +102,0 @@ await this.setCharSize({ width: 1, height: 1 }); |
Sorry, the diff of this file is not supported yet
379668