Skip to content

Commit

Permalink
[release] Fix worker dependencies (#122)
Browse files Browse the repository at this point in the history
* Fix worker dependencies

* Changelogs, bump version
  • Loading branch information
stwiname authored Sep 3, 2024
1 parent c7ae59c commit 58fb902
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .yarn/versions/da403cf5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
undecided:
- "@subql/common-near"
- "@subql/types-near"
7 changes: 6 additions & 1 deletion packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.0.1] - 2024-09-04
### Fixed
- Workers dependencies causing crash (#122)

## [4.0.0] - 2024-08-30
### Added
- Support for network endpoint config providing the ability to set headers (#119)
Expand Down Expand Up @@ -249,7 +253,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/4.0.0...HEAD
[Unreleased]: https://github.com/subquery/subql-near/compare/node-near/4.0.1...HEAD
[4.0.1]: https://github.com/subquery/subql-near/compare/node-near/4.0.0...node-near/4.0.1
[4.0.0]: https://github.com/subquery/subql-near/compare/node-near/3.12.0...node-near/4.0.0
[3.12.0]: https://github.com/subquery/subql-near/compare/node-near/3.11.1...node-near/3.12.0
[3.11.1]: https://github.com/subquery/subql-near/compare/node-near/3.11.0...node-near/3.11.1
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@subql/node-near",
"version": "4.0.0",
"version": "4.0.1",
"description": "",
"author": "Ian He",
"license": "GPL-3.0",
Expand Down
1 change: 0 additions & 1 deletion packages/node/src/indexer/worker/worker-fetch.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { WorkerService } from '../worker/worker.service';
imports: [WorkerCoreModule],
providers: [
IndexerManager,
ConnectionPoolService,
{
provide: ApiService,
useFactory: ApiService.create.bind(ApiService),
Expand Down
3 changes: 2 additions & 1 deletion packages/node/src/indexer/worker/worker.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { Module } from '@nestjs/common';
import { EventEmitterModule } from '@nestjs/event-emitter';
import { ScheduleModule } from '@nestjs/schedule';
import { DbModule } from '@subql/node-core';
import { DbModule, WorkerCoreModule } from '@subql/node-core';
import { ConfigureModule } from '../../configure/configure.module';
import { WorkerFetchModule } from './worker-fetch.module';

Expand All @@ -14,6 +14,7 @@ import { WorkerFetchModule } from './worker-fetch.module';
EventEmitterModule.forRoot(),
ConfigureModule.register(),
ScheduleModule.forRoot(),
WorkerCoreModule,
WorkerFetchModule,
],
controllers: [],
Expand Down

0 comments on commit 58fb902

Please sign in to comment.