Skip to content

Commit c746cc2

Browse files
committed
chore: Update license to BUSL-1.1 in package.json and add license section in README.md
1 parent f33897f commit c746cc2

File tree

3 files changed

+104
-1
lines changed

3 files changed

+104
-1
lines changed

LICENSE

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
Business Source License 1.1
2+
3+
Parameters
4+
5+
Licensor: CodeX (Hawk)
6+
Licensed Work: hawk.api.nodejs (https://github.com/codex-team/hawk.api.nodejs)
7+
The Licensed Work is © 2025 CodeX
8+
Additional Use Grant: Self-hosted use for own/internal needs and research/evaluation is permitted.
9+
Using this code to provide a competing error-tracking SaaS or commercial
10+
hosted service without the Licensor’s prior permission is prohibited.
11+
12+
Change Date: 2030-01-01
13+
14+
Change License: AGPL-3.0
15+
16+
-------------------------------------------------------------------------------
17+
18+
License text copyright © 2024 MariaDB plc, All Rights Reserved.
19+
“Business Source License” is a trademark of MariaDB plc.
20+
21+
Terms
22+
23+
The Licensor hereby grants you the right to copy, modify, create derivative
24+
works, redistribute, and make non-production use of the Licensed Work. The
25+
Licensor may make an Additional Use Grant, above, permitting limited
26+
production use.
27+
28+
Effective on the Change Date, or the fourth anniversary of the first publicly
29+
available distribution of a specific version of the Licensed Work under this
30+
License, whichever comes first, the Licensor hereby grants you rights under
31+
the terms of the Change License, and the rights granted in the paragraph
32+
above terminate.
33+
34+
If your use of the Licensed Work does not comply with the requirements
35+
currently in effect as described in this License, you must purchase a
36+
commercial license from the Licensor, its affiliated entities, or authorized
37+
resellers, or you must refrain from using the Licensed Work.
38+
39+
All copies of the original and modified Licensed Work, and derivative works
40+
of the Licensed Work, are subject to this License. This License applies
41+
separately for each version of the Licensed Work and the Change Date may vary
42+
for each version of the Licensed Work released by Licensor.
43+
44+
You must conspicuously display this License on each original or modified copy
45+
of the Licensed Work. If you receive the Licensed Work in original or
46+
modified form from a third party, the terms and conditions set forth in this
47+
License apply to your use of that work.
48+
49+
Any use of the Licensed Work in violation of this License will automatically
50+
terminate your rights under this License for the current and all other
51+
versions of the Licensed Work.
52+
53+
This License does not grant you any right in any trademark or logo of
54+
Licensor or its affiliates (provided that you may use a trademark or logo of
55+
Licensor as expressly required by this License). TO THE EXTENT PERMITTED BY
56+
APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON AN “AS IS” BASIS. LICENSOR
57+
HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS OR IMPLIED, INCLUDING
58+
(WITHOUT LIMITATION) WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
59+
PURPOSE, NON-INFRINGEMENT, AND TITLE. MariaDB hereby grants you permission to
60+
use this License’s text to license your works, and to refer to it using the
61+
trademark “Business Source License”, as long as you comply with the Covenants
62+
of Licensor below.
63+
64+
Covenants of Licensor
65+
66+
In consideration of the right to use this License’s text and the “Business
67+
Source License” name and trademark, Licensor covenants to MariaDB, and to all
68+
other recipients of the licensed work to be provided by Licensor:
69+
70+
1. To specify as the Change License the GPL Version 2.0 or any later version,
71+
or a license that is compatible with GPL Version 2.0 or a later version,
72+
where “compatible” means that software provided under the Change License can
73+
be included in a program with software provided under GPL Version 2.0 or a
74+
later version. Licensor may specify additional Change Licenses without
75+
limitation.
76+
77+
2. To either: (a) specify an additional grant of rights to use that does not
78+
impose any additional restriction on the right granted in this License, as
79+
the Additional Use Grant; or (b) insert the text “None”.
80+
81+
3. To specify a Change Date not later than the fourth anniversary of the first
82+
publicly available distribution of a specific version of the Licensed Work
83+
under this License.
84+
85+
4. Not to modify this License in any other way.
86+
87+
Notice
88+
89+
The Business Source License (this document, or the “License”) is not an Open
90+
Source license. However, the Licensed Work will eventually be made available
91+
under an Open Source License, as stated in this License.
92+
93+
For more information on the use of the Business Source License for MariaDB
94+
products, please visit the MariaDB Business Source License FAQ.
95+
For more information on the use of the Business Source License generally,
96+
please visit the Adopting and Developing Business Source License FAQ.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Hawk API
22

3+
![License](https://img.shields.io/badge/license-BSL--1.1-orange)
4+
35
## Start API
46
For deployment (both in production and in development), you can use Docker.
57
See Docker instructions [here](DOCKER.md).
@@ -29,3 +31,8 @@ You can view API Schema visualization in `/voyager` page in your browser. To see
2931

3032
Run `yarn migrations:up` command to apply migration revisions or
3133
`yarn migrations:down` to rollback the last revision.
34+
35+
## License
36+
37+
Source code is available under **Business Source License 1.1 (BSL 1.1)**.
38+
See [`LICENSE`](./LICENSE) for terms, including:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "hawk.api",
33
"version": "1.1.38",
44
"main": "index.ts",
5-
"license": "UNLICENSED",
5+
"license": "BUSL-1.1",
66
"scripts": {
77
"dev": "ts-node-dev --no-notify index.ts",
88
"start": "node index.ts",

0 commit comments

Comments
 (0)