Skip to content

Commit 0e41fc5

Browse files
committed
fix(pnpm): resolve warnings for pnpm:
- ESlint 8.48.0 no longer supported - @walletconnect/ethereum-provider is unused - uuidv4 to `crypto.randomUUID()` `@simplewebauthn/typescript-types` is NOT yet replaced with later types as unsure with side effects, locked-in to a particular version instead.
1 parent 2e53cfc commit 0e41fc5

File tree

4 files changed

+274
-675
lines changed

4 files changed

+274
-675
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"@simplewebauthn/browser": "^7.2.0",
4444
"@simplewebauthn/typescript-types": "^7.0.0",
4545
"@wagmi/core": "^2.17.1",
46-
"@walletconnect/ethereum-provider": "2.9.2",
4746
"ajv": "^8.12.0",
4847
"babel-jest": "^29",
4948
"base64url": "^3.0.1",
@@ -98,7 +97,7 @@
9897
"esbuild-node-builtins": "^0.1.0",
9998
"esbuild-node-externals": "^1.14.0",
10099
"esbuild-plugin-tsc": "^0.4.0",
101-
"eslint": "8.48.0",
100+
"eslint": "9.34.0",
102101
"eslint-config-next": "12.2.3",
103102
"eslint-config-prettier": "9.1.0",
104103
"eslint-import-resolver-typescript": "3.6.3",

packages/auth-services/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@elysiajs/swagger": "^1.2.0",
2323
"@lit-protocol/contracts": "^0.4.0",
2424
"@simplewebauthn/server": "6.2.1",
25-
"@simplewebauthn/typescript-types": "^8.3.4",
25+
"@simplewebauthn/typescript-types": "8.3.4",
2626
"@t3-oss/env-core": "^0.12.0",
2727
"bs58": "^6.0.0",
2828
"bullmq": "^5.52.3",
@@ -40,7 +40,6 @@
4040
"redis": "^4.6.13",
4141
"stytch": "^12.4.0",
4242
"tslib": "^2.8.1",
43-
"uuidv4": "^6.2.13",
4443
"viem": "2.29.4",
4544
"wagmi": "^2.14.11",
4645
"zod": "^3.24.2",

packages/auth-services/src/queue-manager/src/bullmqSetup.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { ConnectionOptions, Queue } from 'bullmq';
22
import { JSONStringify as BigIntStringify } from 'json-with-bigint';
3-
import { v4 as uuidv4 } from 'uuid';
43
import { env } from '../../env';
54
import { parseRedisUrl } from './helper/redisUrlParser';
65
import { JobName } from './jobRegistry';
@@ -20,7 +19,7 @@ export const addJob = async (
2019
jobData: { requestBody: any }
2120
) => {
2221
const job = await mainAppQueue.add(jobName, jobData, {
23-
jobId: uuidv4(),
22+
jobId: crypto.randomUUID(),
2423
});
2524

2625
console.log(`[BullMQ] Job ${job.id} added to queue ${mainAppQueue.name}`);

0 commit comments

Comments
 (0)