Skip to content

Commit

Permalink
Sync @subql dependencies (#135)
Browse files Browse the repository at this point in the history
* Update @subql deps

* chang log

* fix build issues

* Remove redundant code

---------

Co-authored-by: yoozo <[email protected]>
Co-authored-by: Tate <[email protected]>
  • Loading branch information
3 people authored Oct 22, 2024
1 parent 1a8756e commit f1ebe6e
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 23 deletions.
3 changes: 3 additions & 0 deletions packages/common-algorand/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion packages/common-algorand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
8 changes: 4 additions & 4 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
3 changes: 0 additions & 3 deletions packages/node/src/indexer/fetch.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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,
Expand All @@ -55,7 +53,6 @@ export class FetchService extends BaseFetchService<
super(
nodeConfig,
projectService,
project.network,
blockDispatcher,
dictionaryService,
eventEmitter,
Expand Down
3 changes: 3 additions & 0 deletions packages/types/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"algosdk": "^2.8.0"
},
"dependencies": {
"@subql/types-core": "^1.1.1"
"@subql/types-core": "^2.0.0"
}
}
35 changes: 21 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

Expand All @@ -2819,15 +2819,15 @@ __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:
algosdk: ^2.8.0
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
Expand All @@ -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"
Expand Down

0 comments on commit f1ebe6e

Please sign in to comment.