Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/apps/reputation-oracle/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"rxjs": "^7.2.0",
"typeorm": "^0.3.28",
"typeorm-naming-strategies": "^4.1.0",
"uuid": "^11.1.0",
"validator": "^13.12.0",
"zxcvbn": "^4.4.2"
},
Expand All @@ -84,7 +83,6 @@
"@types/jest": "30.0.0",
"@types/lodash": "^4.17.14",
"@types/node": "22.10.5",
"@types/uuid": "^10.0.0",
"@types/zxcvbn": "4.4.5",
"eslint": "^10.1.0",
"eslint-config-prettier": "^10.1.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { Injectable } from '@nestjs/common';
import { ethers } from 'ethers';
import stringify from 'json-stable-stringify';
import _ from 'lodash';
import { v4 as uuidv4 } from 'uuid';

import { BACKOFF_INTERVAL_SECONDS } from '@/common/constants';
import { JobManifest, JobRequestType } from '@/common/types';
Expand Down Expand Up @@ -455,7 +454,7 @@ export class EscrowCompletionService {
Array.from(recipientToAmountMap.values()),
escrowCompletionEntity.finalResultsUrl as string,
escrowCompletionEntity.finalResultsHash as string,
uuidv4(), // TODO obtain it from intermediate results
crypto.randomUUID(), // TODO obtain it from intermediate results
false,
{
...(await this.web3Service.calculateTxFees(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import crypto from 'crypto';

import { Injectable } from '@nestjs/common';
import { v4 as uuidV4 } from 'uuid';

import { UserStatus } from '@/common/enums';
import { ServerConfigService } from '@/config';
Expand Down Expand Up @@ -35,7 +36,7 @@ export class QualificationService {
expiresAt?: Date;
}): Promise<Qualification> {
const newQualification = new QualificationEntity();
newQualification.reference = uuidV4();
newQualification.reference = crypto.randomUUID();
newQualification.title = qualification.title;
newQualification.description = qualification.description;

Expand Down
2 changes: 0 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,6 @@ __metadata:
"@types/lodash": "npm:^4.17.14"
"@types/node": "npm:22.10.5"
"@types/passport-jwt": "npm:^4.0.1"
"@types/uuid": "npm:^10.0.0"
"@types/zxcvbn": "npm:4.4.5"
axios: "npm:^1.8.1"
bcrypt: "npm:^6.0.0"
Expand Down Expand Up @@ -754,7 +753,6 @@ __metadata:
typeorm-naming-strategies: "npm:^4.1.0"
typescript: "npm:^5.9.2"
typescript-eslint: "npm:^8.57.0"
uuid: "npm:^11.1.0"
validator: "npm:^13.12.0"
zxcvbn: "npm:^4.4.2"
languageName: unknown
Expand Down
Loading