Skip to content

Commit

Permalink
Merge pull request #185 from julianhille/feature/183-correct-ts-overl…
Browse files Browse the repository at this point in the history
…oad-for-recrypt

Fix recrypt missing buffer information in ts defintions.
  • Loading branch information
julianhille authored Jun 25, 2022
2 parents 2d17050 + b093be9 commit a7576b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Changed

- Fixes missing buffer information for recrypt typescript definition

## [2.5.0] - 2022-06-23

### Added
Expand Down
4 changes: 2 additions & 2 deletions muhammara.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ declare module 'muhammara' {
options?: PDFRecryptOptions,
): void;
export function recrypt(
originalPdfStream: PDFRStreamForFile,
newPdfStream: PDFWStreamForFile,
originalPdfStream: PDFRStreamForFile | PDFRStreamForBuffer,
newPdfStream: PDFWStreamForFile | PDFWStreamForBuffer,
options?: PDFRecryptOptions,
): void;

Expand Down

0 comments on commit a7576b9

Please sign in to comment.