Skip to content
Closed
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
4 changes: 2 additions & 2 deletions automation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"ts-loader": "catalog:",
"tsx": "4.21.0",
"typescript": "catalog:",
"webpack": "5.105.4",
"webpack-cli": "6.0.1"
"webpack": "5.106.2",
"webpack-cli": "7.0.2"
},
"engines": {
"node": ">=24.0.0"
Expand Down
2 changes: 1 addition & 1 deletion back-end/apps/api/src/users/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ConfigService } from '@nestjs/config';
import { InjectRepository } from '@nestjs/typeorm';

import { Repository } from 'typeorm';
import { FindOptionsWhere } from 'typeorm/find-options/FindOptionsWhere';
import { FindOptionsWhere } from 'typeorm';

import * as bcrypt from 'bcryptjs';
import * as argon2 from 'argon2';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,14 +327,14 @@ export class CacheManagementService {
private extractAffectedCount(result: any): number {
if (result == null) return 0;
if (typeof result === 'number') return result;
return (
result.affectedRows ??
result.rowCount ??
(Array.isArray(result) && typeof result[1] === 'number' ? result[1] : null) ??
(Array.isArray(result) ? result[1]?.affectedRows ?? null : null) ??
(Array.isArray(result) ? result[1]?.rowCount ?? null : null) ??
0
);
if (result.affectedRows != null) return result.affectedRows;
if (result.rowCount != null) return result.rowCount;
if (Array.isArray(result)) {
if (typeof result[1] === 'number') return result[1];
if (result[1]?.affectedRows != null) return result[1].affectedRows;
if (result[1]?.rowCount != null) return result[1].rowCount;
}
return 0;
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1111,9 +1111,9 @@ describe('ReceiverService', () => {
jest.spyOn(service as any, 'filterReceiversByPreferenceForType').mockImplementation(
async (
_entityManager: any,
_notificationType: NotificationType,
userIds: Set<number>,
cache: Map<number, User>,
_notificationType: any,
userIds: any,
cache: any,
) => {
for (const id of Array.from(userIds)) {
cache.set(id, {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const AuthWebsocketMiddleware = (
attempts.delete(ip);
};

return async (socket: AuthWebsocket, next) => {
return async (socket: Socket, next) => {
const authSocket = socket as AuthWebsocket;
const ip = socket.handshake.address;

try {
Expand Down Expand Up @@ -105,7 +106,7 @@ export const AuthWebsocketMiddleware = (

// Success - reset rate limit counter
resetAttempts(ip);
socket.user = user;
authSocket.user = user;
next();
} catch (err) {
const e = err as any;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const TRANSACTION_MODEL_MAP = new Map<string, TxModelCtor>([
['SystemDeleteTransaction', SystemDeleteTransactionModel],
['SystemUndeleteTransaction', SystemUndeleteTransactionModel],
['TransferTransaction', TransferTransactionModel],
]);
] as unknown as Array<[string, TxModelCtor]>);

export default class TransactionFactory {
static fromTransaction(tx: Transaction): TransactionBaseModel<any> {
Expand Down
26 changes: 13 additions & 13 deletions back-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@
"winston": "3.19.0"
},
"devDependencies": {
"@eslint/eslintrc": "3.3.5",
"@eslint/js": "10.0.1",
"@hashgraph/hedera-local": "2.39.4",
"@nestjs/cli": "11.0.16",
"@nestjs/schematics": "11.0.9",
"@eslint/eslintrc": "catalog:",
"@eslint/js": "catalog:",
"@hashgraph/hedera-local": "2.40.1",
"@nestjs/cli": "11.0.21",
"@nestjs/schematics": "11.1.0",
"@nestjs/testing": "catalog:nestjs-core",
"@testcontainers/postgresql": "11.13.0",
"@testcontainers/rabbitmq": "11.13.0",
"@testcontainers/redis": "11.13.0",
"@testcontainers/postgresql": "catalog:testcontainers",
"@testcontainers/rabbitmq": "catalog:testcontainers",
"@testcontainers/redis": "catalog:testcontainers",
"@types/express": "5.0.6",
"@types/jest": "catalog:",
"@types/node": "catalog:",
Expand All @@ -97,19 +97,19 @@
"@types/readline-sync": "1.4.8",
"@types/semver": "catalog:",
"@types/supertest": "7.2.0",
"@typescript-eslint/eslint-plugin": "8.57.0",
"@typescript-eslint/parser": "8.57.0",
"eslint": "10.0.3",
"@typescript-eslint/eslint-plugin": "8.59.2",
"@typescript-eslint/parser": "8.59.2",
"eslint": "catalog:",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.5",
"globals": "17.6.0",
"jest": "catalog:",
"jest-mock-extended": "4.0.0",
"jest-mock-extended": "4.0.1",
"picocolors": "1.1.1",
"prettier": "catalog:",
"source-map-support": "0.5.21",
"supertest": "7.2.2",
"testcontainers": "11.13.0",
"testcontainers": "catalog:testcontainers",
"ts-jest": "catalog:",
"ts-loader": "catalog:",
"ts-node": "catalog:",
Expand Down
2 changes: 2 additions & 0 deletions back-end/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"useUnknownInCatchVariables": false,
"resolveJsonModule": true,
"types": ["jest", "node"],
"paths": {
"@app/common": ["libs/common/src"],
"@app/common/*": ["libs/common/src/*"],
Expand Down
38 changes: 19 additions & 19 deletions front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"@hiero-ledger/sdk": "catalog:",
"@prisma/adapter-better-sqlite3": "7.8.0",
"@prisma/client": "7.8.0",
"@vuepic/vue-datepicker": "11.0.3",
"@vueuse/core": "12.8.2",
"@vuepic/vue-datepicker": "12.1.0",
"@vueuse/core": "14.3.0",
"argon2": "catalog:",
"axios": "catalog:",
"bcrypt": "catalog:",
Expand All @@ -62,13 +62,13 @@
"semver": "catalog:",
"socket.io-client": "4.8.3",
"unzipper": "0.12.3",
"vue-router": "4.6.4",
"vue-router": "5.0.6",
"vue-toast-notification": "3.1.3"
},
"devDependencies": {
"@electron-toolkit/tsconfig": "1.0.1",
"@eslint/eslintrc": "3.3.4",
"@eslint/js": "9.39.3",
"@eslint/eslintrc": "catalog:",
"@eslint/js": "catalog:",
"@pinia/testing": "1.0.3",
"@types/bcrypt": "catalog:",
"@types/better-sqlite3": "7.6.13",
Expand All @@ -77,30 +77,30 @@
"@types/node-forge": "1.3.14",
"@types/semver": "catalog:",
"@types/unzipper": "0.10.11",
"@vitejs/plugin-vue": "5.2.4",
"@vitest/coverage-v8": "3.2.4",
"@vitejs/plugin-vue": "6.0.6",
"@vitest/coverage-v8": "catalog:vitest",
"@vue/eslint-config-prettier": "10.2.0",
"@vue/eslint-config-typescript": "14.1.3",
"@vue/test-utils": "2.4.6",
"@vue/tsconfig": "0.7.0",
"@vue/eslint-config-typescript": "14.7.0",
"@vue/test-utils": "2.4.10",
"@vue/tsconfig": "0.9.1",
"electron": "41.5.1",
"electron-builder": "26.8.1",
"eslint": "9.39.3",
"eslint-plugin-vue": "9.33.0",
"eslint": "catalog:",
"eslint-plugin-vue": "10.9.1",
"happy-dom": "20.9.0",
"prebuild-install": "7.1.3",
"prettier": "catalog:",
"prisma": "7.8.0",
"sass": "1.97.3",
"typescript": "5.7.3",
"vite": "6.4.2",
"sass": "1.99.0",
"typescript": "catalog:",
"vite": "8.0.11",
"vite-plugin-electron": "0.29.1",
"vite-plugin-eslint": "1.8.1",
"vite-plugin-vue-devtools": "7.7.9",
"vitest": "3.2.4",
"vite-plugin-vue-devtools": "8.1.2",
"vitest": "catalog:vitest",
"vitest-mock-extended": "3.1.1",
"vue": "3.5.29",
"vue-tsc": "2.2.12"
"vue": "3.5.34",
"vue-tsc": "3.2.8"
},
"engines": {
"node": ">=24.0.0"
Expand Down
2 changes: 2 additions & 0 deletions front-end/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"files": [],
"compilerOptions": {
"skipLibCheck": true,
"ignoreDeprecations": "6.0",
"baseUrl": ".",

"paths": {
"@main/*": ["src/main/*"],
"@renderer/*": ["src/renderer/*"],
Expand Down
4 changes: 3 additions & 1 deletion front-end/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
],
"compilerOptions": {
"composite": true,
"ignoreDeprecations": "6.0",
"baseUrl": ".",
"noImplicitAny": false,
"forceConsistentCasingInFileNames": true,
"types": ["vitest/globals"],
"strict": true,
"baseUrl": ".",

"paths": {
"@main/*": ["src/main/*"],
"@renderer/*": ["src/renderer/*"],
Expand Down
2 changes: 2 additions & 0 deletions front-end/tsconfig.web.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"compilerOptions": {
"composite": true,
"types": ["vitest/globals"],
"ignoreDeprecations": "6.0",
"baseUrl": ".",

"paths": {
"@renderer/*": ["src/renderer/*"],
"@main/*": ["src/main/*"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"ajv@>=8.0.0": "8.20.0",
"tar": "7.5.11",
"fast-uri": "3.1.2",
"diff@<5.0.0": "5.2.0",
"diff": "8.0.4",
"@tootallnate/once@<2.0.0": "2.0.0"
}
},
Expand Down
Loading
Loading