Skip to content

[STREAM-1604] - Replace UUID with native alternative#356

Merged
patrickfeeney03 merged 11 commits into
developfrom
STREAM-1604
May 29, 2026
Merged

[STREAM-1604] - Replace UUID with native alternative#356
patrickfeeney03 merged 11 commits into
developfrom
STREAM-1604

Conversation

@patrickfeeney03
Copy link
Copy Markdown
Collaborator

@patrickfeeney03 patrickfeeney03 commented May 22, 2026

Build passing in wrapper repo
image


global.window = global;
global.self = global;
globalThis.crypto = { randomUUID: jest.fn(() => randomUUID())}
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node doesn't have globalThis.crypto... by default so just mock it.

@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented May 22, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 duplication

Metric Results
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@patrickfeeney03 patrickfeeney03 marked this pull request as draft May 22, 2026 11:53
@patrickfeeney03 patrickfeeney03 marked this pull request as ready for review May 22, 2026 11:58
@hjon
Copy link
Copy Markdown
Collaborator

hjon commented May 22, 2026

We can also remove @types/uuid.

@patrickfeeney03 patrickfeeney03 merged commit b7a642e into develop May 29, 2026
3 of 4 checks passed
patrickfeeney03 added a commit that referenced this pull request Jun 5, 2026
* [STREAM-1604] - Replace UUID with native alternative (#356)

* Update uuid, first pass

UUID is transitive thorugh jest and jest-junit. jest-mock-axios wasnt
used

* Remove UUID

* Add crypto to setup-browser-env

* Update tests

* Dont bump jest versions yet

* Update CHANGELOG

* Also bump client logger

* remove @types/uuid

* lock

* Prep v19.8.1

* changelog

* fix package version

* update changelog

* update version to 20

---------

Co-authored-by: Jon Hjelle <jon.hjelle@genesys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants