@bookmypuja-tech/bmp-pdf 0.3.15 → 0.3.16

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/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3500,7 +3500,7 @@ var A4Invoice = ({ data }) => {
3500
3500
  )
3501
3501
  )
3502
3502
  )
3503
- ), /* @__PURE__ */ React17.createElement(
3503
+ ), data.instructions.length > 0 ? /* @__PURE__ */ React17.createElement(
3504
3504
  View12,
3505
3505
  {
3506
3506
  style: {
@@ -3535,7 +3535,7 @@ var A4Invoice = ({ data }) => {
3535
3535
  },
3536
3536
  data.instructions.map((instruction, index) => /* @__PURE__ */ React17.createElement(Text_default, { key: index, style: { fontSize: 8 } }, index + 1, ") ", instruction.instruction))
3537
3537
  )
3538
- ), /* @__PURE__ */ React17.createElement(
3538
+ ) : null, /* @__PURE__ */ React17.createElement(
3539
3539
  View12,
3540
3540
  {
3541
3541
  style: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bookmypuja-tech/bmp-pdf",
3
3
  "description": "PDF Report Generation for Temple360 and T-360 by BookMyPuja",
4
- "version": "0.3.15",
4
+ "version": "0.3.16",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",