diff --git a/package-lock.json b/package-lock.json index 040f871..f5ff386 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ergo-graphql/server", - "version": "0.5.2", + "version": "0.5.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@ergo-graphql/server", - "version": "0.5.2", + "version": "0.5.1", "license": "MIT", "dependencies": { "@ergo-graphql/typeorm-graphql-loader": "^1.7.5", @@ -3323,9 +3323,9 @@ "dev": true }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", "license": "MIT", "engines": { "node": ">= 0.6" @@ -3991,9 +3991,9 @@ } }, "node_modules/express": { - "version": "4.21.0", - "resolved": "https://registry.npmjs.org/express/-/express-4.21.0.tgz", - "integrity": "sha512-VqcNGcj/Id5ZT1LZ/cfihi3ttTn+NJmkli2eZADigjq29qTlWi/hAQ43t/VLPq8+UX06FCEx3ByOYet6ZFblng==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", "license": "MIT", "dependencies": { "accepts": "~1.3.8", @@ -4001,7 +4001,7 @@ "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", diff --git a/package.json b/package.json index 5cd366c..1dafff4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ergo-graphql/server", - "version": "0.5.2", + "version": "0.5.1", "description": "Ergo GraphQL server", "main": "src/index.ts", "scripts": { diff --git a/src/context/transactions-repository.ts b/src/context/transactions-repository.ts index 5a53a01..920639d 100644 --- a/src/context/transactions-repository.ts +++ b/src/context/transactions-repository.ts @@ -18,7 +18,7 @@ export class TransactionRepository extends BaseRepository { constructor(context: RepositoryDataContext) { super(TransactionEntity, "tx", { context, - defaults: { where: { mainChain: true }, orderBy: { globalIndex: "DESC" } } + defaults: { where: { mainChain: true }, orderBy: { timestamp: "DESC" } } }); }