@digipair/skill-pdf 0.84.7 → 0.85.0

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/index.cjs.js CHANGED
@@ -27656,7 +27656,7 @@ var PDFButton$1 = PDFButton;
27656
27656
 
27657
27657
  let PDFService = class PDFService {
27658
27658
  base64ToPdf(base64) {
27659
- const data = base64.replace(/^data:application\/pdf;base64,/, '');
27659
+ const data = base64.replace(/^data:.*;base64,/, '');
27660
27660
  const buffer = Buffer.from(data, 'base64');
27661
27661
  return buffer;
27662
27662
  }
package/index.esm.js CHANGED
@@ -27651,7 +27651,7 @@ var PDFButton$1 = PDFButton;
27651
27651
 
27652
27652
  let PDFService = class PDFService {
27653
27653
  base64ToPdf(base64) {
27654
- const data = base64.replace(/^data:application\/pdf;base64,/, '');
27654
+ const data = base64.replace(/^data:.*;base64,/, '');
27655
27655
  const buffer = Buffer.from(data, 'base64');
27656
27656
  return buffer;
27657
27657
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-pdf",
3
- "version": "0.84.7",
3
+ "version": "0.85.0",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",