Skip to content

Commit

Permalink
fix: blob stream import
Browse files Browse the repository at this point in the history
  • Loading branch information
schoero committed Nov 10, 2023
1 parent e607a15 commit 2452fe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/browser-pre-built-bundle/src/pdf.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { data } from "./data.js";


const stream = new BlobStream();
const pdf = new PDFDocument({ size: "A4" });
const stream = blobStream();
const pdf = new PDFDocument();
const qrBill = new SwissQRBill.pdf.SwissQRBill(data);

stream.on("finish", () => {
Expand Down

0 comments on commit 2452fe4

Please sign in to comment.