From 95cd05b2b494e386ad360db020cad12407909ce4 Mon Sep 17 00:00:00 2001 From: JQQQ Date: Mon, 6 Nov 2023 14:44:35 +1300 Subject: [PATCH] [release] 20231106 --- packages/node/CHANGELOG.md | 10 +++++++++- packages/node/package.json | 7 +++---- packages/node/src/yargs.ts | 6 ++++++ yarn.lock | 10 +++++----- 4 files changed, 23 insertions(+), 10 deletions(-) diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index ad7c8cb0..0f47b9fe 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [3.3.0] - 2023-11-06 +### Added +- With `dictionary-query-size` now dictionary can config the query block range + +### Fixed +- Sync with node-core 6.3.0 with various fixes + ## [3.2.0] - 2023-11-01 ### Changed - Update `@subql/node-core` with fixes and support for endBlock feature (#74) @@ -144,7 +151,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Add `toJson` method to function args (#9) ## 1.18.0 - 2023-01-26 -[Unreleased]: https://github.com/subquery/subql-near/compare/node-near/3.2.0...HEAD +[Unreleased]: https://github.com/subquery/subql-near/compare/node-near/3.3.0...HEAD +[3.3.0]: https://github.com/subquery/subql-near/compare/node-near/3.2.0...node-near/3.3.0 [3.2.0]: https://github.com/subquery/subql-near/compare/node-near/3.1.1...node-near/3.2.0 [3.1.1]: https://github.com/subquery/subql-near/compare/node-near/3.1.0...node-near/3.1.1 [3.1.0]: https://github.com/subquery/subql-near/compare/node-near/3.0.0...node-near/3.1.0 diff --git a/packages/node/package.json b/packages/node/package.json index 1b5f6e24..7641cfbd 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -1,6 +1,6 @@ { "name": "@subql/node-near", - "version": "3.2.1-1", + "version": "3.3.0", "description": "", "author": "Ian He", "license": "GPL-3.0", @@ -27,7 +27,7 @@ "@nestjs/schedule": "^3.0.1", "@subql/common": "^3.3.0", "@subql/common-near": "workspace:*", - "@subql/node-core": "^6.2.0", + "@subql/node-core": "^6.3.0", "@subql/types-near": "workspace:*", "cron-converter": "^1.0.2", "eventemitter2": "^6.4.5", @@ -59,6 +59,5 @@ "files": [ "/dist", "/bin" - ], - "stableVersion": "3.2.1-0" + ] } diff --git a/packages/node/src/yargs.ts b/packages/node/src/yargs.ts index 2067d3ed..5e6c8499 100644 --- a/packages/node/src/yargs.ts +++ b/packages/node/src/yargs.ts @@ -85,6 +85,12 @@ export const yargsOptions = yargs(hideBin(process.argv)) describe: 'Max timeout for dictionary query', type: 'number', }, + 'dictionary-query-size': { + demandOption: false, + describe: + 'Dictionary query max block size, this specify the block height range of the dictionary query', + type: 'number', + }, 'disable-historical': { demandOption: false, default: false, diff --git a/yarn.lock b/yarn.lock index cbe190ff..4f036763 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3284,9 +3284,9 @@ __metadata: languageName: node linkType: hard -"@subql/node-core@npm:^6.2.0": - version: 6.2.0 - resolution: "@subql/node-core@npm:6.2.0" +"@subql/node-core@npm:^6.3.0": + version: 6.3.0 + resolution: "@subql/node-core@npm:6.3.0" dependencies: "@apollo/client": ^3.7.16 "@nestjs/common": ^9.4.0 @@ -3311,7 +3311,7 @@ __metadata: tar: ^6.1.11 vm2: ^3.9.19 yargs: ^16.2.0 - checksum: ec4deffd88a94067a634349b8b809415a3d0dbc28a3c187df8482409fedef85ce343f497ff68e0c0b86ea0520f4864aee306986a62be0e4e20df14920ec66b40 + checksum: a0961eb85a5bfb5ff521658563ef78e2db55969857295f4108a937377fbf81bb02567d8353be24b880e38e9b6c14d91ebad468fe555346faae7d8a0a5ae69f79 languageName: node linkType: hard @@ -3329,7 +3329,7 @@ __metadata: "@nestjs/testing": ^9.4.0 "@subql/common": ^3.3.0 "@subql/common-near": "workspace:*" - "@subql/node-core": ^6.2.0 + "@subql/node-core": ^6.3.0 "@subql/types-near": "workspace:*" "@types/express": ^4.17.13 "@types/jest": ^27.4.0