@keshavsoft/tallyextract 1.8.3 → 1.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keshavsoft/tallyextract",
3
- "version": "1.8.3",
3
+ "version": "1.8.4",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -3,7 +3,7 @@ import prepareDataObject from "./PrepareDataObjectV1/entryFile.js";
3
3
 
4
4
  import { validateImportVoucherInput } from "./utils/validateInput.js";
5
5
 
6
- const importVoucher = async (inClientData) => {
6
+ const importVoucherV1 = async (inClientData) => {
7
7
  validateImportVoucherInput(inClientData); // 🔥 early fail
8
8
 
9
9
  const bodyToSend = prepareDataObject({ inClientData });
@@ -13,4 +13,4 @@ const importVoucher = async (inClientData) => {
13
13
  return await true;
14
14
  };
15
15
 
16
- export { importVoucher };
16
+ export default importVoucherV1;
@@ -3,4 +3,4 @@ export { ledger } from "./ledger.js";
3
3
  export { stockItems } from "./stockitems.js";
4
4
 
5
5
  export { importVoucher } from "./importVoucher.js";
6
- export { importVoucherV1 } from "./importVoucherV1.js";
6
+ export * from "./importVoucherV1.js";