Skip to content

Commit 9928592

Browse files
committed
update licence
Signed-off-by: ふぁ <yuki@yuki0311.com>
1 parent ed1f2dd commit 9928592

File tree

7 files changed

+53
-13
lines changed

7 files changed

+53
-13
lines changed

twitter-openapi-typescript-generated/package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

twitter-openapi-typescript-generated/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"devDependencies": {
1717
"typescript": "^4.0"
1818
},
19+
"license": "custom license or AGPL-3.0-or-later",
1920
"keywords": [
2021
"twitter",
2122
"api",

twitter-openapi-typescript/LICENSE

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
twitter-openapi License
2+
3+
Copyright (c) 2023 yuki
4+
5+
<https://yuki0311.com/>
6+
7+
Permission is hereby granted, free of charge, to any person obtaining a copy
8+
of this software and associated documentation files (the "Software"), to deal
9+
in the Software without restriction, including without limitation the rights
10+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11+
copies of the Software, and to permit persons to whom the Software is
12+
furnished to do so, subject to the following conditions:
13+
14+
The above copyright notice and this permission notice shall be included in all
15+
copies or substantial portions of the Software.
16+
17+
The Software shall not be used for any activity that involves the following types
18+
of behavior, commonly known as spam:
19+
20+
1. Sending unsolicited or excessive messages or posts.
21+
2. Aggressively following, unfollowing, or liking tweets to artificially boost engagement.
22+
3. Engaging in aggressive automated actions that disrupt or annoy other users.
23+
4. Distributing false or misleading information.
24+
25+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
26+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
27+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
28+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
29+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
30+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
31+
SOFTWARE.

twitter-openapi-typescript/LICENSE.txt renamed to twitter-openapi-typescript/LICENSE.AGPL

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU AFFERO GENERAL PUBLIC LICENSE
22
Version 3, 19 November 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -643,7 +643,7 @@ the "copyright" line and a pointer to where the full notice is found.
643643
GNU Affero General Public License for more details.
644644

645645
You should have received a copy of the GNU Affero General Public License
646-
along with this program. If not, see <http://www.gnu.org/licenses/>.
646+
along with this program. If not, see <https://www.gnu.org/licenses/>.
647647

648648
Also add information on how to contact you by electronic and paper mail.
649649

@@ -658,4 +658,4 @@ specific requirements.
658658
You should also get your employer (if you work as a programmer) or school,
659659
if any, to sign a "copyright disclaimer" for the program, if necessary.
660660
For more information on this, and how to apply and follow the GNU AGPL, see
661-
<http://www.gnu.org/licenses/>.
661+
<https://www.gnu.org/licenses/>.

twitter-openapi-typescript/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ npm i twitter-openapi-typescript
3636
You should read the Test case.
3737

3838
<https://github.com/fa0311/twitter-openapi-typescript/tree/master/twitter-openapi-typescript/test/api>
39+
40+
## License
41+
42+
This project is dual licensed. You can choose one of the following licenses:
43+
44+
- [Custom License](./LICENSE)
45+
- [GNU Affero General Public License v3.0](./LICENSE.AGPL)

twitter-openapi-typescript/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

twitter-openapi-typescript/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "twitter-openapi-typescript",
3-
"version": "0.0.14",
3+
"version": "0.0.15",
44
"description": "Implementation of Twitter internal API in TypeScript",
55
"scripts": {
66
"test": "jest",
@@ -14,15 +14,15 @@
1414
"scraper"
1515
],
1616
"author": "fa0311",
17-
"license": "AGPL-3.0-only",
17+
"license": "custom license or AGPL-3.0-or-later",
1818
"repository": {
1919
"type": "git",
2020
"url": "https://github.com/fa0311/twitter-openapi-typescript.git"
2121
},
2222
"main": "./dist/src/index.js",
2323
"typings": "./dist/src/index.d.ts",
2424
"dependencies": {
25-
"twitter-openapi-typescript-generated": "^0.0.10"
25+
"twitter-openapi-typescript-generated": "^0.0.11"
2626
},
2727
"devDependencies": {
2828
"@types/jest": "^28.1.8",

0 commit comments

Comments
 (0)