Skip to content

Commit

Permalink
Export modular algorand
Browse files Browse the repository at this point in the history
  • Loading branch information
jiqiang90 committed Jul 1, 2024
1 parent e22ee86 commit 52fb45e
Show file tree
Hide file tree
Showing 9 changed files with 188 additions and 159 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]

### Added
- Add alias `parseProjectManifest`, also follow type of `INetworkCommonModule` (#2462)

## [3.5.0] - 2024-05-20
### Removed
- Transient dependencies specified already in `@subql/common` (#123)
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": "^3.5.1",
"@subql/common": "^4.0.0",
"@subql/types-algorand": "workspace:*"
},
"peerDependencies": {
Expand Down
10 changes: 10 additions & 0 deletions packages/common-algorand/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@
// SPDX-License-Identifier: GPL-3.0

export * from './project';

import {AlgorandDataSource, AlgorandRuntimeDataSource, AlgorandCustomDataSource} from '@subql/types-algorand';
import {INetworkCommonModule} from '@subql/types-core';
import * as p from './project';

// This provides a compiled time check to ensure that the correct exports are provided
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const _ = {
...p,
} satisfies INetworkCommonModule<AlgorandDataSource, AlgorandRuntimeDataSource, AlgorandCustomDataSource>;
3 changes: 3 additions & 0 deletions packages/common-algorand/src/project/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ export * from './models';
export * from './types';
export * from './utils';
export * from './versioned';

import {parseAlgorandProjectManifest} from './load';
export {parseAlgorandProjectManifest as parseProjectManifest};
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 version with `@subql/common-algorand`,`@subql/node-core`

## [3.11.3] - 2024-05-14
### Fixed
- POI throwing an error due to incorrect block hash (#120)
Expand Down
3 changes: 1 addition & 2 deletions packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"@nestjs/event-emitter": "^2.0.0",
"@nestjs/platform-express": "^9.4.0",
"@nestjs/schedule": "^3.0.1",
"@subql/common": "^3.5.1",
"@subql/common-algorand": "workspace:*",
"@subql/node-core": "^10.1.1",
"@subql/node-core": "^10.10.0",
"@subql/types-algorand": "workspace:*",
"algosdk": "^2.2.0",
"axios": "^1.3.4",
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 version with `@subql/types-core`

## [3.3.0] - 2024-05-02
### Changed
- Update dependencies and apply changes to match (#115)
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.2.0"
},
"dependencies": {
"@subql/types-core": "^0.7.0"
"@subql/types-core": "^0.9.0"
}
}
Loading

0 comments on commit 52fb45e

Please sign in to comment.