Commit 733200a
authored
[v8] Use globalThis.crypto.randomUUID for runtime-agnostic UUIDs (#1398)
Replaces Node.js-specific crypto import with globalThis.crypto to ensure
compatibility across Node.js 20 and other runtimes.
## Description
## Documentation
Does this require changes to the WorkOS Docs? E.g. the [API
Reference](https://workos.com/docs/reference) or code snippets need
updates.
```
[ ] Yes
```
If yes, link a related docs PR and add a docs maintainer as a reviewer.
Their approval is required.1 parent 62d946c commit 733200a
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
37 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
0 commit comments