mirror of
https://github.com/graphql-hive/console
synced 2026-05-24 09:38:26 +00:00
fix: uuid generation on old Node.js (#6494)
This commit is contained in:
parent
90f3c61772
commit
ae2d16d553
2 changed files with 7 additions and 1 deletions
6
.changeset/two-dryers-float.md
Normal file
6
.changeset/two-dryers-float.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
'@graphql-hive/core': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Replace usage of `crypto.randomUUID()` with a custom UUID generation for better backwards
|
||||||
|
compatability.
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import asyncRetry from 'async-retry';
|
import asyncRetry from 'async-retry';
|
||||||
import { fetch, URL } from '@whatwg-node/fetch';
|
import { crypto, fetch, URL } from '@whatwg-node/fetch';
|
||||||
import type { Logger } from './types.js';
|
import type { Logger } from './types.js';
|
||||||
|
|
||||||
interface SharedConfig {
|
interface SharedConfig {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue