Skip to content

Commit

Permalink
be compatible with older node versions
Browse files Browse the repository at this point in the history
For Node 18, the webcrypto compatibility mode has to be explicitly
enabled.

This fixes #65.
  • Loading branch information
gflohr committed Jan 8, 2025
1 parent 160b90d commit 80fa166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/format/format-factur-x.service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Textdomain } from '@esgettext/runtime';
import { Injectable } from '@nestjs/common';
import crypto from 'crypto';
import { webcrypto as crypto } from 'crypto';
import {
AFRelationship,
PDFArray,
Expand Down

0 comments on commit 80fa166

Please sign in to comment.