Skip to content

Conversation

@javorosas
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new previewPdf method to the Invoices class that allows users to generate a preview PDF of an invoice before stamping it. The method accepts invoice data and returns a PDF file stream or blob depending on the runtime environment.

Key Changes

  • Added previewPdf method to the Invoices class with proper JSDoc documentation
  • Bumped package version from 4.9.2 to 4.10.0 following semantic versioning
  • Updated CHANGELOG.md to document the new feature

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/resources/invoices.ts Added new previewPdf method with documentation
package.json Bumped version to 4.10.0 for minor feature release
CHANGELOG.md Added entry documenting the new previewPdf method

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@javorosas javorosas merged commit 60e1031 into main Sep 5, 2025
@javorosas javorosas deleted the feat/preview-pdf branch September 5, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants