Skip to content

Commit

Permalink
Update license to GPL-3.0 in packages (#70)
Browse files Browse the repository at this point in the history
* Update license to GPL-3.0

* Update changelogs

* Update headers on missed files
  • Loading branch information
stwiname authored Jul 27, 2023
1 parent ac07559 commit 9888e54
Show file tree
Hide file tree
Showing 78 changed files with 2,175 additions and 759 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ module.exports = {
2,
'line',
[
//Copyright 2020-2022 OnFinality Limited authors & contributors
{pattern: ' Copyright \\d{4}(-\\d{4})? OnFinality Limited authors & contributors'},
' SPDX-License-Identifier: Apache-2.0',
//Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
{pattern: ' Copyright \\d{4}(-\\d{4})? SubQuery Pte Ltd authors & contributors'},
' SPDX-License-Identifier: GPL-3.0',
],
2,
],
Expand Down
3 changes: 3 additions & 0 deletions packages/common-algorand/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Add `applicationArgs` to `AlgorandTransactionFilter` (#67)

### Changed
- Update license to GPL-3.0

## [2.3.0] - 2023-06-27
### Changed
- Update @subql/common dependency (#62)
Expand Down
875 changes: 674 additions & 201 deletions packages/common-algorand/LICENSE

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/common-algorand/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"repository": "github:subquery/subql-algorand",
"author": "Ian He",
"main": "dist/index.js",
"license": "Apache-2.0",
"license": "GPL-3.0",
"dependencies": {
"@subql/common": "^2.3.0",
"@subql/types-algorand": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/common-algorand/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './project';
4 changes: 2 additions & 2 deletions packages/common-algorand/src/project/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './load';
export * from './models';
Expand Down
4 changes: 2 additions & 2 deletions packages/common-algorand/src/project/load.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {getManifestPath, loadFromJsonOrYaml} from '@subql/common';
import {AlgorandProjectManifestVersioned, VersionedProjectManifest} from './versioned';
Expand Down
4 changes: 2 additions & 2 deletions packages/common-algorand/src/project/models.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {BaseMapping, FileReference} from '@subql/common';
import {
Expand Down
4 changes: 2 additions & 2 deletions packages/common-algorand/src/project/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {IProjectManifest, ProjectNetworkConfig} from '@subql/common';
import {AlgorandDataSource} from '@subql/types-algorand';
Expand Down
4 changes: 2 additions & 2 deletions packages/common-algorand/src/project/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
SecondLayerHandlerProcessor,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2021 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {registerDecorator, ValidationOptions} from 'class-validator';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {AlgorandDataSource} from '@subql/types-algorand';
import {plainToClass} from 'class-transformer';
Expand All @@ -13,7 +13,7 @@ const ALGORAND_SUPPORTED_VERSIONS = {

type Versions = keyof typeof ALGORAND_SUPPORTED_VERSIONS;

type ProjectManifestImpls = InstanceType<typeof ALGORAND_SUPPORTED_VERSIONS[Versions]>;
type ProjectManifestImpls = InstanceType<(typeof ALGORAND_SUPPORTED_VERSIONS)[Versions]>;

export function manifestIsV1_0_0(manifest: IAlgorandProjectManifest): manifest is ProjectManifestV1_0_0Impl {
return manifest.specVersion === '1.0.0';
Expand Down
4 changes: 2 additions & 2 deletions packages/common-algorand/src/project/versioned/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './ProjectManifestVersioned';
export * from './v1_0_0';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

export * from './model';
export * from './types';
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2022 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {
BaseMapping,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020-2021 OnFinality Limited authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2020-2023 SubQuery Pte Ltd authors & contributors
// SPDX-License-Identifier: GPL-3.0

import {TemplateBase} from '@subql/common';
import {
Expand Down
5 changes: 4 additions & 1 deletion packages/node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add `block` to `AlgorandTransaction` (#67)
- Add `getTransactionsByGroup` to `AlgorandBlock` (#67)
- Add `applicationArgs` to `AlgorandTransactionFilter`. Note: dictionary doesn't yet support this. (#67)

### Changed
- Reduce block time interval (#67)
- Update license to GPL-3.0

### Fixed
- Sync with @node/core, various improvements for POI feature

### Changed
- Update node-core and add `store-cache-upper-limit` flag
- Update node-core and add `store-cache-upper-limit` flag

## [2.8.0] - 2023-06-27
### Changed
Expand Down
Loading

0 comments on commit 9888e54

Please sign in to comment.