@managesome/eposmatic-toolkit 0.2.384 → 0.2.386

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.
@@ -24,7 +24,7 @@ export interface ISrbInvoice {
24
24
  pos_pass: string;
25
25
  }
26
26
  export interface ISrbInvoiceResponse {
27
- srbInvoceId: string;
27
+ srbInvoiceId: string;
28
28
  resCode: string;
29
29
  QRCodeLink: string;
30
30
  }
@@ -176,7 +176,7 @@ function formatDateToDateTime(date, gmtOffset) {
176
176
  const isoString = tenantTime.toISOString();
177
177
  // Extract date and time components
178
178
  const datePart = isoString.slice(0, 10);
179
- const timePart = isoString.slice(11, 23);
179
+ const timePart = isoString.slice(11, 19);
180
180
  // Combine date and time in the desired format
181
181
  // FORMAT: YYYY-MM-DD HH:MM:SS
182
182
  const customFormat = `${datePart} ${timePart}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.384",
3
+ "version": "0.2.386",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",