diff --git a/.changeset/two-dryers-float.md b/.changeset/two-dryers-float.md new file mode 100644 index 000000000..65f5b2331 --- /dev/null +++ b/.changeset/two-dryers-float.md @@ -0,0 +1,6 @@ +--- +'@graphql-hive/core': patch +--- + +Replace usage of `crypto.randomUUID()` with a custom UUID generation for better backwards +compatability. diff --git a/packages/libraries/core/src/client/http-client.ts b/packages/libraries/core/src/client/http-client.ts index f2572a1ab..249086560 100644 --- a/packages/libraries/core/src/client/http-client.ts +++ b/packages/libraries/core/src/client/http-client.ts @@ -1,5 +1,5 @@ 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'; interface SharedConfig {