Skip to content

Commit

Permalink
Fix issue where crypto import was causing downstream Jest incompatibi…
Browse files Browse the repository at this point in the history
…lities (#574)

* import from crypto rather than node:crypto

* Update CHANGELOG.md
  • Loading branch information
mrashed-dev authored Sep 11, 2024
1 parent 4dc6968 commit 95e5cf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### Unreleased
* Fix issue where crypto import was causing downstream Jest incompatibilities

### 7.5.2 / 2024-07-12
* Fix issue where metadata was being incorrectly modified before being sent to the API

Expand Down
2 changes: 1 addition & 1 deletion src/resources/auth.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { v4 as uuid } from 'uuid';
import { createHash } from 'node:crypto';
import { createHash } from 'crypto';
import { Resource } from './resource.js';
import {
URLForAdminConsentConfig,
Expand Down

0 comments on commit 95e5cf6

Please sign in to comment.