@measurequick/measurequick-report-generator 1.2.91 → 1.2.92

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": "@measurequick/measurequick-report-generator",
3
- "version": "1.2.91",
3
+ "version": "1.2.92",
4
4
  "description": "Generates PDF documents for various MeasureQuick applications.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -4086,7 +4086,7 @@ EVERYTHING BELOW THIS UP TO THE NEXT BLOCK LIKE THIS IS SHARED BETWEEN APP AND C
4086
4086
  }
4087
4087
  }
4088
4088
  }
4089
- catch(error) { console.log(error) }
4089
+ catch(error) {}
4090
4090
  }
4091
4091
 
4092
4092
  function hasPhotos(photos) {
@@ -13,7 +13,7 @@ import * as util from '../util.js';
13
13
  let docs = [];
14
14
  let forms = [];
15
15
 
16
- export async function getReport(payload) { console.log(payload);
16
+ export async function getReport(payload) {
17
17
 
18
18
  const coreDoc = await PDFDocument.create();
19
19
 
@@ -15,7 +15,6 @@ export async function getReport(payload) {
15
15
  const pdfBase64 = await pdfDoc.saveAsBase64({ dataUri: true });
16
16
  return pdfBase64;
17
17
  } catch (e) {
18
- console.log(e);
19
18
  return false;
20
19
  }
21
20
  }
@@ -206,7 +206,7 @@ export async function getReport(payload, _test) {
206
206
  form.flatten();
207
207
  const pdfBase64 = await pdfDoc.saveAsBase64({ dataUri: true });
208
208
  return pdfBase64;
209
- } catch (error) { console.log(error) }
209
+ } catch (error) {}
210
210
  }
211
211
 
212
212
  function getTextFields(payload, test) {