diff --git a/packages/common-algorand/CHANGELOG.md b/packages/common-algorand/CHANGELOG.md index 4b4e3b80..1a0f9c49 100644 --- a/packages/common-algorand/CHANGELOG.md +++ b/packages/common-algorand/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `@subql/common` dependency (#135) + ## [4.2.1] - 2024-09-10 ### Changed - Bump version with `@subql/common` diff --git a/packages/common-algorand/package.json b/packages/common-algorand/package.json index ff9c64dc..b87c1bf3 100644 --- a/packages/common-algorand/package.json +++ b/packages/common-algorand/package.json @@ -14,7 +14,7 @@ "main": "dist/index.js", "license": "GPL-3.0", "dependencies": { - "@subql/common": "^5.1.2", + "@subql/common": "^5.1.3", "@subql/types-algorand": "workspace:*" }, "peerDependencies": { diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md index 15fd9309..48b43078 100644 --- a/packages/node/CHANGELOG.md +++ b/packages/node/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `@subql/common` and `@subql/node-core` dependency (#135) + ## [3.14.1] - 2024-09-10 ### Changed - Bump version with `node-core` and `@subql/common` diff --git a/packages/node/package.json b/packages/node/package.json index 668cb52b..d6c4d106 100644 --- a/packages/node/package.json +++ b/packages/node/package.json @@ -9,8 +9,8 @@ "build": "rm -rf dist && tsc -b", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "start": "nest start", - "start:dev": "nodemon", - "start:prod": "node dist/main", + "start:dev": "TZ=utc nodemon", + "start:prod": "TZ=utc node dist/main", "changelog:release": "echo \"Updating changelog $npm_package_version\" && npx chan release $npm_package_version --git-url \"https://github.com/subquery/subql-algorand\" --release-prefix=\"node-algorand/\"" }, "homepage": "https://github.com/subquery/subql", @@ -24,9 +24,9 @@ "@nestjs/event-emitter": "^2.0.0", "@nestjs/platform-express": "^9.4.0", "@nestjs/schedule": "^3.0.1", - "@subql/common": "^5.1.2", + "@subql/common": "^5.1.3", "@subql/common-algorand": "workspace:*", - "@subql/node-core": "^14.1.4", + "@subql/node-core": "^14.1.6", "@subql/types-algorand": "workspace:*", "algosdk": "^2.8.0", "lodash": "^4.17.21", diff --git a/packages/node/src/indexer/fetch.service.ts b/packages/node/src/indexer/fetch.service.ts index 8cca040d..ac0a7bb7 100644 --- a/packages/node/src/indexer/fetch.service.ts +++ b/packages/node/src/indexer/fetch.service.ts @@ -23,7 +23,6 @@ import { algorandBlockToHeader, calcInterval, } from '../algorand'; -import { SubqueryProject } from '../configure/SubqueryProject'; import { IAlgorandBlockDispatcher } from './blockDispatcher'; import { AlgorandDictionaryService } from './dictionary'; import { ProjectService } from './project.service'; @@ -43,7 +42,6 @@ export class FetchService extends BaseFetchService< private apiService: AlgorandApiService, nodeConfig: NodeConfig, @Inject('IProjectService') projectService: ProjectService, - @Inject('ISubqueryProject') project: SubqueryProject, @Inject('IBlockDispatcher') blockDispatcher: IAlgorandBlockDispatcher, dictionaryService: AlgorandDictionaryService, @@ -55,7 +53,6 @@ export class FetchService extends BaseFetchService< super( nodeConfig, projectService, - project.network, blockDispatcher, dictionaryService, eventEmitter, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 58d71607..c2febe26 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `@subql/types-core` dependency (#135) + ## [3.6.1] - 2024-09-10 ### Changed - Bump version with `@subql/types-core` diff --git a/packages/types/package.json b/packages/types/package.json index 4d640903..9ed0ea33 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -24,6 +24,6 @@ "algosdk": "^2.8.0" }, "dependencies": { - "@subql/types-core": "^1.1.1" + "@subql/types-core": "^2.0.0" } } diff --git a/yarn.lock b/yarn.lock index 71212bcc..a4ebed81 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2709,7 +2709,7 @@ __metadata: version: 0.0.0-use.local resolution: "@subql/common-algorand@workspace:packages/common-algorand" dependencies: - "@subql/common": ^5.1.2 + "@subql/common": ^5.1.3 "@subql/types-algorand": "workspace:*" "@types/bn.js": 4.11.6 "@types/js-yaml": ^4.0.4 @@ -2723,9 +2723,9 @@ __metadata: languageName: unknown linkType: soft -"@subql/common@npm:5.1.2, @subql/common@npm:^5.1.2": - version: 5.1.2 - resolution: "@subql/common@npm:5.1.2" +"@subql/common@npm:5.1.3, @subql/common@npm:^5.1.3": + version: 5.1.3 + resolution: "@subql/common@npm:5.1.3" dependencies: "@subql/types-core": 1.1.1 axios: ^0.28.0 @@ -2735,7 +2735,7 @@ __metadata: reflect-metadata: ^0.1.14 semver: ^7.6.3 update-notifier: ^5.1.0 - checksum: 271e98e32a57be6606f3d65d1f6f5bb3afecd3d7099bea35e7624c3880462d1e9e32d18fc887bd86fae7267d6ec2886e65d6997e33ff43114b569da4f7e209ff + checksum: 8946cca78246460c5a9474548b3e83e276fe29e80b4c654213f43ef5c4a4b2f7f4f06c8e124d6b91855084e4afeef0059df33aa8cd7d372c4586b51cc437dbd3 languageName: node linkType: hard @@ -2750,9 +2750,9 @@ __metadata: "@nestjs/schedule": ^3.0.1 "@nestjs/schematics": ^9.2.0 "@nestjs/testing": ^9.4.0 - "@subql/common": ^5.1.2 + "@subql/common": ^5.1.3 "@subql/common-algorand": "workspace:*" - "@subql/node-core": ^14.1.4 + "@subql/node-core": ^14.1.6 "@subql/types-algorand": "workspace:*" "@types/express": ^4.17.13 "@types/jest": ^27.4.0 @@ -2774,15 +2774,15 @@ __metadata: languageName: unknown linkType: soft -"@subql/node-core@npm:^14.1.4": - version: 14.1.4 - resolution: "@subql/node-core@npm:14.1.4" +"@subql/node-core@npm:^14.1.6": + version: 14.1.6 + resolution: "@subql/node-core@npm:14.1.6" dependencies: "@apollo/client": ^3.11.2 "@nestjs/common": ^9.4.0 "@nestjs/event-emitter": ^2.0.0 "@nestjs/schedule": ^3.0.1 - "@subql/common": 5.1.2 + "@subql/common": 5.1.3 "@subql/testing": 2.2.1 "@subql/types": 3.11.2 "@subql/utils": 2.14.0 @@ -2802,7 +2802,7 @@ __metadata: toposort-class: ^1.0.1 vm2: ^3.9.19 yargs: ^16.2.0 - checksum: 7684019bff43d8b63d62cb3f90ef91bdeb912dad89ebd4df98baec0bdf51b67da34ab310b3ab3961530bdf49364e3d4fbb5ab81c613bb7a5ddc2eea9880080b6 + checksum: c0096e2567ed3a2aeb09e26a4044e1647948dad583eea07c4f261078ed1001593bd0276ab7a430f711b9ba92a929d333bb206ab624b68ddb55bf7847eba94a74 languageName: node linkType: hard @@ -2819,7 +2819,7 @@ __metadata: version: 0.0.0-use.local resolution: "@subql/types-algorand@workspace:packages/types" dependencies: - "@subql/types-core": ^1.1.1 + "@subql/types-core": ^2.0.0 "@types/app-module-path": ^2.2.0 algosdk: ^2.8.0 peerDependencies: @@ -2827,7 +2827,7 @@ __metadata: languageName: unknown linkType: soft -"@subql/types-core@npm:1.1.1, @subql/types-core@npm:^1.1.1": +"@subql/types-core@npm:1.1.1": version: 1.1.1 resolution: "@subql/types-core@npm:1.1.1" checksum: d804ba8f9a9a8bbce36e98ef3dd03e33602495e96ca8e04438c38b6631de102772b5f209de17d78657bcacc9c91f9af02dabd68edb8e6e24a2ca6e681e4636fc @@ -2843,6 +2843,13 @@ __metadata: languageName: node linkType: hard +"@subql/types-core@npm:^2.0.0": + version: 2.0.0 + resolution: "@subql/types-core@npm:2.0.0" + checksum: cb32c8f1eed13eabee65fb9dd0b4b64435ca18e820f640bd29a3e3a0d4c58692df1163fbc66c2dd29b52faab60b4bd895518c5aad63ec81ade5c250bf580619c + languageName: node + linkType: hard + "@subql/types@npm:3.11.2": version: 3.11.2 resolution: "@subql/types@npm:3.11.2"