@glagan/rettiwt-api 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/.eslintrc.js +166 -0
  2. package/.gitattributes +3 -0
  3. package/.github/FUNDING.yml +4 -0
  4. package/.github/ISSUE_TEMPLATE/bug-report.yml +57 -0
  5. package/.github/ISSUE_TEMPLATE/feature-request.yml +20 -0
  6. package/.github/ISSUE_TEMPLATE/question.yml +15 -0
  7. package/.github/PULL_REQUEST_TEMPLATE.md +32 -0
  8. package/.github/workflows/ci.yml +32 -0
  9. package/.github/workflows/publish.yml +23 -0
  10. package/.nvmrc +1 -0
  11. package/.prettierignore +3 -0
  12. package/.prettierrc +13 -0
  13. package/LICENSE +21 -0
  14. package/README.md +566 -0
  15. package/dist/cli.js +43 -0
  16. package/eslint.config.mjs +17 -0
  17. package/package.json +50 -0
  18. package/src/Rettiwt.ts +97 -0
  19. package/src/cli.ts +48 -0
  20. package/src/collections/Extractors.ts +155 -0
  21. package/src/collections/Groups.ts +81 -0
  22. package/src/collections/Requests.ts +89 -0
  23. package/src/collections/Tweet.ts +17 -0
  24. package/src/commands/DirectMessage.ts +62 -0
  25. package/src/commands/List.ts +90 -0
  26. package/src/commands/Tweet.ts +437 -0
  27. package/src/commands/User.ts +367 -0
  28. package/src/enums/Api.ts +10 -0
  29. package/src/enums/Authentication.ts +10 -0
  30. package/src/enums/Data.ts +13 -0
  31. package/src/enums/Logging.ts +14 -0
  32. package/src/enums/Media.ts +10 -0
  33. package/src/enums/Notification.ts +12 -0
  34. package/src/enums/Resource.ts +69 -0
  35. package/src/enums/Tweet.ts +8 -0
  36. package/src/enums/raw/Analytics.ts +32 -0
  37. package/src/enums/raw/Media.ts +10 -0
  38. package/src/enums/raw/Notification.ts +11 -0
  39. package/src/enums/raw/Tweet.ts +20 -0
  40. package/src/helper/CliUtils.ts +17 -0
  41. package/src/helper/JsonUtils.ts +70 -0
  42. package/src/index.ts +128 -0
  43. package/src/models/RettiwtConfig.ts +101 -0
  44. package/src/models/args/FetchArgs.ts +169 -0
  45. package/src/models/args/PostArgs.ts +93 -0
  46. package/src/models/args/ProfileArgs.ts +68 -0
  47. package/src/models/auth/AuthCookie.ts +58 -0
  48. package/src/models/auth/AuthCredential.ts +83 -0
  49. package/src/models/data/Analytics.ts +97 -0
  50. package/src/models/data/BookmarkFolder.ts +73 -0
  51. package/src/models/data/Conversation.ts +344 -0
  52. package/src/models/data/CursoredData.ts +64 -0
  53. package/src/models/data/DirectMessage.ts +335 -0
  54. package/src/models/data/Inbox.ts +124 -0
  55. package/src/models/data/List.ts +113 -0
  56. package/src/models/data/Notification.ts +84 -0
  57. package/src/models/data/Tweet.ts +388 -0
  58. package/src/models/data/User.ts +187 -0
  59. package/src/models/errors/TwitterError.ts +65 -0
  60. package/src/models/params/Variables.ts +62 -0
  61. package/src/requests/DirectMessage.ts +229 -0
  62. package/src/requests/List.ts +203 -0
  63. package/src/requests/Media.ts +67 -0
  64. package/src/requests/Tweet.ts +607 -0
  65. package/src/requests/User.ts +1191 -0
  66. package/src/services/internal/AuthService.ts +115 -0
  67. package/src/services/internal/ErrorService.ts +41 -0
  68. package/src/services/internal/LogService.ts +34 -0
  69. package/src/services/public/DirectMessageService.ts +159 -0
  70. package/src/services/public/FetcherService.ts +366 -0
  71. package/src/services/public/ListService.ts +241 -0
  72. package/src/services/public/TweetService.ts +886 -0
  73. package/src/services/public/UserService.ts +1154 -0
  74. package/src/types/ErrorHandler.ts +13 -0
  75. package/src/types/Fetch.ts +3 -0
  76. package/src/types/RettiwtConfig.ts +48 -0
  77. package/src/types/args/FetchArgs.ts +233 -0
  78. package/src/types/args/PostArgs.ts +142 -0
  79. package/src/types/args/ProfileArgs.ts +33 -0
  80. package/src/types/auth/AuthCookie.ts +22 -0
  81. package/src/types/auth/AuthCredential.ts +28 -0
  82. package/src/types/auth/TransactionHeader.ts +8 -0
  83. package/src/types/data/Analytics.ts +58 -0
  84. package/src/types/data/BookmarkFolder.ts +12 -0
  85. package/src/types/data/Conversation.ts +44 -0
  86. package/src/types/data/CursoredData.ts +24 -0
  87. package/src/types/data/DirectMessage.ts +33 -0
  88. package/src/types/data/Inbox.ts +23 -0
  89. package/src/types/data/List.ts +33 -0
  90. package/src/types/data/Notification.ts +26 -0
  91. package/src/types/data/Tweet.ts +99 -0
  92. package/src/types/data/User.ts +54 -0
  93. package/src/types/errors/TwitterError.ts +37 -0
  94. package/src/types/params/Variables.ts +41 -0
  95. package/src/types/raw/base/Analytic.ts +32 -0
  96. package/src/types/raw/base/BookmarkFolder.ts +12 -0
  97. package/src/types/raw/base/Cursor.ts +13 -0
  98. package/src/types/raw/base/Error.ts +38 -0
  99. package/src/types/raw/base/LimitedVisibilityTweet.ts +40 -0
  100. package/src/types/raw/base/List.ts +50 -0
  101. package/src/types/raw/base/Media.ts +53 -0
  102. package/src/types/raw/base/Message.ts +22 -0
  103. package/src/types/raw/base/Notification.ts +66 -0
  104. package/src/types/raw/base/Space.ts +35 -0
  105. package/src/types/raw/base/Tweet.ts +139 -0
  106. package/src/types/raw/base/User.ts +182 -0
  107. package/src/types/raw/composite/DataResult.ts +8 -0
  108. package/src/types/raw/composite/TimelineList.ts +10 -0
  109. package/src/types/raw/composite/TimelineTweet.ts +14 -0
  110. package/src/types/raw/composite/TimelineUser.ts +13 -0
  111. package/src/types/raw/dm/Conversation.ts +59 -0
  112. package/src/types/raw/dm/InboxInitial.ts +155 -0
  113. package/src/types/raw/dm/InboxTimeline.ts +301 -0
  114. package/src/types/raw/dm/UserUpdates.ts +46 -0
  115. package/src/types/raw/generic/Response.ts +10 -0
  116. package/src/types/raw/list/AddMember.ts +175 -0
  117. package/src/types/raw/list/Details.ts +176 -0
  118. package/src/types/raw/list/Members.ts +154 -0
  119. package/src/types/raw/list/RemoveMember.ts +174 -0
  120. package/src/types/raw/list/Tweets.ts +2296 -0
  121. package/src/types/raw/media/FinalizeUpload.ts +20 -0
  122. package/src/types/raw/media/InitalizeUpload.ts +12 -0
  123. package/src/types/raw/media/LiveVideoStream.ts +21 -0
  124. package/src/types/raw/space/Details.ts +359 -0
  125. package/src/types/raw/tweet/Bookmark.ts +14 -0
  126. package/src/types/raw/tweet/Details.ts +210 -0
  127. package/src/types/raw/tweet/DetailsBulk.ts +338 -0
  128. package/src/types/raw/tweet/Like.ts +14 -0
  129. package/src/types/raw/tweet/Likers.ts +200 -0
  130. package/src/types/raw/tweet/Post.ts +150 -0
  131. package/src/types/raw/tweet/Replies.ts +539 -0
  132. package/src/types/raw/tweet/Retweet.ts +31 -0
  133. package/src/types/raw/tweet/Retweeters.ts +208 -0
  134. package/src/types/raw/tweet/Schedule.ts +18 -0
  135. package/src/types/raw/tweet/Search.ts +597 -0
  136. package/src/types/raw/tweet/Unbookmark.ts +14 -0
  137. package/src/types/raw/tweet/Unlike.ts +14 -0
  138. package/src/types/raw/tweet/Unpost.ts +20 -0
  139. package/src/types/raw/tweet/Unretweet.ts +31 -0
  140. package/src/types/raw/tweet/Unschedule.ts +14 -0
  141. package/src/types/raw/user/Affiliates.ts +179 -0
  142. package/src/types/raw/user/Analytics.ts +23 -0
  143. package/src/types/raw/user/BookmarkFolderTweets.ts +53 -0
  144. package/src/types/raw/user/BookmarkFolders.ts +41 -0
  145. package/src/types/raw/user/Bookmarks.ts +637 -0
  146. package/src/types/raw/user/Details.ts +185 -0
  147. package/src/types/raw/user/DetailsBulk.ts +104 -0
  148. package/src/types/raw/user/Follow.ts +280 -0
  149. package/src/types/raw/user/Followed.ts +1942 -0
  150. package/src/types/raw/user/Followers.ts +215 -0
  151. package/src/types/raw/user/Following.ts +215 -0
  152. package/src/types/raw/user/Highlights.ts +1287 -0
  153. package/src/types/raw/user/Likes.ts +1254 -0
  154. package/src/types/raw/user/Lists.ts +378 -0
  155. package/src/types/raw/user/Media.ts +1738 -0
  156. package/src/types/raw/user/Notifications.ts +499 -0
  157. package/src/types/raw/user/ProfileUpdate.ts +80 -0
  158. package/src/types/raw/user/Recommended.ts +2319 -0
  159. package/src/types/raw/user/Scheduled.ts +37 -0
  160. package/src/types/raw/user/Search.ts +230 -0
  161. package/src/types/raw/user/Subscriptions.ts +176 -0
  162. package/src/types/raw/user/Tweets.ts +1254 -0
  163. package/src/types/raw/user/TweetsAndReplies.ts +1254 -0
  164. package/src/types/raw/user/Unfollow.ts +280 -0
  165. package/tsconfig.json +97 -0
package/.eslintrc.js ADDED
@@ -0,0 +1,166 @@
1
+ module.exports = {
2
+ parser: '@typescript-eslint/parser',
3
+ parserOptions: {
4
+ project: 'tsconfig.json',
5
+ tsconfigRootDir: __dirname,
6
+ sourceType: 'module',
7
+ },
8
+ plugins: ['@typescript-eslint/eslint-plugin', 'import'],
9
+ extends: [
10
+ 'plugin:@typescript-eslint/recommended',
11
+ 'plugin:@typescript-eslint/recommended-requiring-type-checking',
12
+ 'plugin:import/recommended',
13
+ 'plugin:import/typescript',
14
+ ],
15
+ root: true,
16
+ env: {
17
+ node: true,
18
+ jest: true,
19
+ },
20
+ ignorePatterns: ['.eslintrc.js', 'eslint.config.mjs'],
21
+ rules: {
22
+ '@typescript-eslint/naming-convention': [
23
+ 'warn',
24
+ {
25
+ selector: ['class', 'enum'],
26
+ format: ['PascalCase'],
27
+ },
28
+ {
29
+ selector: ['interface'],
30
+ format: ['PascalCase'],
31
+ prefix: ['I'],
32
+ },
33
+ {
34
+ selector: ['typeAlias'],
35
+ format: ['PascalCase'],
36
+ },
37
+ {
38
+ selector: ['memberLike', 'variableLike'],
39
+ format: ['camelCase'],
40
+ leadingUnderscore: 'allow',
41
+ },
42
+ {
43
+ selector: ['memberLike'],
44
+ modifiers: ['private'],
45
+ format: ['camelCase'],
46
+ leadingUnderscore: 'require',
47
+ },
48
+ {
49
+ selector: ['memberLike'],
50
+ modifiers: ['static', 'readonly'],
51
+ format: ['UPPER_CASE'],
52
+ },
53
+ {
54
+ selector: ['enumMember'],
55
+ format: ['UPPER_CASE'],
56
+ },
57
+ {
58
+ selector: ['variable'],
59
+ modifiers: ['global'],
60
+ format: ['PascalCase'],
61
+ },
62
+ ],
63
+ '@typescript-eslint/explicit-function-return-type': 'error',
64
+ '@typescript-eslint/explicit-module-boundary-types': 'error',
65
+ '@typescript-eslint/explicit-member-accessibility': 'error',
66
+ '@typescript-eslint/member-ordering': [
67
+ 'warn',
68
+ {
69
+ default: {
70
+ memberTypes: [
71
+ // FIELDS
72
+
73
+ // PRIVATE
74
+ 'private-static-readonly-field',
75
+ 'private-static-field',
76
+ 'private-readonly-field',
77
+ 'private-field',
78
+
79
+ // PROTECTED
80
+ 'protected-static-readonly-field',
81
+ 'protected-static-field',
82
+ 'protected-readonly-field',
83
+ 'protected-field',
84
+
85
+ // PUBLIC
86
+ 'public-static-readonly-field',
87
+ 'public-static-field',
88
+ 'public-readonly-field',
89
+ 'public-field',
90
+
91
+ // CONSTRUCTORS
92
+ 'private-constructor',
93
+ 'protected-constructor',
94
+ 'public-constructor',
95
+
96
+ // GETTERS
97
+
98
+ // PRIVATE
99
+ 'private-static-get',
100
+ 'private-get',
101
+
102
+ // PROTECTED
103
+ 'protected-static-get',
104
+ 'protected-get',
105
+
106
+ // PUBLIC
107
+ 'public-static-get',
108
+ 'public-get',
109
+
110
+ // SETTERS
111
+
112
+ // PRIVATE
113
+ 'private-static-set',
114
+ 'private-set',
115
+
116
+ // PROTECTED
117
+ 'protected-static-set',
118
+ 'protected-set',
119
+
120
+ // PUBLIC
121
+ 'public-static-set',
122
+ 'public-set',
123
+
124
+ // METHODS
125
+
126
+ // PRIVATE
127
+ 'private-static-method',
128
+ 'private-method',
129
+
130
+ // PROTECTED
131
+ 'protected-static-method',
132
+ 'protected-method',
133
+
134
+ // PUBLIC
135
+ 'public-static-method',
136
+ 'public-method',
137
+ ],
138
+ order: 'alphabetically',
139
+ },
140
+ },
141
+ ],
142
+ '@typescript-eslint/no-explicit-any': 'warn',
143
+ '@typescript-eslint/no-inferrable-types': 'warn',
144
+ 'sort-imports': [
145
+ 'warn',
146
+ {
147
+ ignoreCase: true,
148
+ ignoreDeclarationSort: true,
149
+ ignoreMemberSort: false,
150
+ memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single'],
151
+ allowSeparatedGroups: false,
152
+ },
153
+ ],
154
+ 'import/order': [
155
+ 'warn',
156
+ {
157
+ groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
158
+ alphabetize: {
159
+ order: 'asc',
160
+ caseInsensitive: true,
161
+ },
162
+ 'newlines-between': 'always-and-inside-groups',
163
+ },
164
+ ],
165
+ },
166
+ };
package/.gitattributes ADDED
@@ -0,0 +1,3 @@
1
+ * text=auto eol=lf
2
+ *.{cmd,[cC][mM][dD]} text eol=crlf
3
+ *.{bat,[bB][aA][tT]} text eol=crlf
@@ -0,0 +1,4 @@
1
+ # These are supported funding model platforms
2
+
3
+ # github: [Rishikant181]
4
+ custom: ['https://paypal.me/Rishikant181?country.x=IN&locale.x=en_GB']
@@ -0,0 +1,57 @@
1
+ name: '๐Ÿ› Bug report'
2
+ description: Report a bug to help us improve Rettiwt-API.
3
+ labels: ['triage', 'bug']
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Before reporting a bug, please make sure you have read through our [documentation](https://rishikant181.github.io/Rettiwt-API/) and checked existing [issues](https://github.com/Rishikant181/Rettiwt-API/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc).
9
+ - type: textarea
10
+ id: env
11
+ attributes:
12
+ label: Environment
13
+ description: Please provide your environment details. You can use `node -v` and `npm list rettiwt-api` to fill this section.
14
+ placeholder: |
15
+ - Operating System: `Windows/Linux/macOS`
16
+ - Node Version: `v22.x.x` (Rettiwt-API requires NodeJS 20+)
17
+ - Rettiwt-API Version: `x.x.x`
18
+ - Package Manager: `npm/yarn/pnpm`
19
+ - CLI or Dependency: `CLI` or `Dependency`
20
+ validations:
21
+ required: true
22
+ - type: textarea
23
+ id: reproduction
24
+ attributes:
25
+ label: Reproduction
26
+ description: Please provide a minimal code snippet or CLI command that reproduces the issue. If possible, include the API_KEY usage and any relevant configuration. If the report is vague and has no reproduction, it may be closed automatically.
27
+ placeholder: |
28
+ ```ts
29
+ import { Rettiwt } from 'rettiwt-api';
30
+ const rettiwt = new Rettiwt({ apiKey: '<API_KEY>' });
31
+ // ...
32
+ ```
33
+ or
34
+ ```sh
35
+ rettiwt <command> -k <API_KEY>
36
+ ```
37
+ validations:
38
+ required: true
39
+ - type: textarea
40
+ id: description
41
+ attributes:
42
+ label: Description
43
+ description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, mention it here.
44
+ validations:
45
+ required: true
46
+ - type: textarea
47
+ id: additional
48
+ attributes:
49
+ label: Additional context
50
+ description: If applicable, add any other context, configuration, or screenshots here.
51
+ - type: textarea
52
+ id: logs
53
+ attributes:
54
+ label: Logs
55
+ description: |
56
+ Please copy-paste any error logs or stack traces here. Avoid screenshots if possible.
57
+ render: shell-script
@@ -0,0 +1,20 @@
1
+ name: '๐Ÿš€ Feature request (Rettiwt-API)'
2
+ description: Suggest an idea or enhancement for Rettiwt-API.
3
+ labels: ['triage', 'enhancement', 'feature-request']
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Before requesting a feature, please make sure you have read through our [documentation](https://rishikant181.github.io/Rettiwt-API/) and checked existing [issues](https://github.com/Rishikant181/Rettiwt-API/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc).
9
+ - type: textarea
10
+ id: description
11
+ attributes:
12
+ label: Description
13
+ description: A clear and concise description of the feature or enhancement. Include possible use cases, alternatives, and links to any prototype or related module.
14
+ validations:
15
+ required: true
16
+ - type: textarea
17
+ id: additional
18
+ attributes:
19
+ label: Additional context
20
+ description: If applicable, add any other context, configuration, or screenshots here.
@@ -0,0 +1,15 @@
1
+ name: '๐Ÿ’ฌ Question (Rettiwt-API)'
2
+ description: Ask a question about Rettiwt-API.
3
+ labels: ['question']
4
+ body:
5
+ - type: markdown
6
+ attributes:
7
+ value: |
8
+ Before asking a question, please make sure you have read through our [documentation](https://rishikant181.github.io/Rettiwt-API/) and checked existing [issues](https://github.com/Rishikant181/Rettiwt-API/issues?q=is%3Aissue%20is%3Aopen%20sort%3Aupdated-desc).
9
+ - type: textarea
10
+ id: description
11
+ attributes:
12
+ label: Description
13
+ description: Please provide a clear and concise question. Include any relevant context, code snippets, or links to documentation.
14
+ validations:
15
+ required: true
@@ -0,0 +1,32 @@
1
+ ## ๐Ÿ”— Related Issue
2
+
3
+ <!-- Reference any related issue or discussion, e.g. "Closes #123" -->
4
+
5
+ ## โ“ Type of Change
6
+
7
+ <!-- Select all that apply -->
8
+
9
+ - [ ] ๐Ÿ“– Documentation (docs, README, or comments)
10
+ - [ ] ๐Ÿž Bug fix (non-breaking fix for an issue)
11
+ - [ ] ๐Ÿ‘Œ Enhancement (improvement to existing functionality)
12
+ - [ ] โœจ New feature (adds new functionality)
13
+ - [ ] ๐Ÿงน Chore (build, tooling, dependencies)
14
+ - [ ] โš ๏ธ Breaking change (affects existing usage)
15
+
16
+ ## ๐Ÿ“š Description
17
+
18
+ <!--
19
+ Describe your changes and their motivation.
20
+ What problem does this solve? Any relevant context for Rettiwt-API?
21
+ -->
22
+
23
+ ## ๐Ÿ“ Checklist
24
+
25
+ - [ ] Issue/discussion linked above.
26
+ - [ ] Documentation updated (if needed).
27
+ - [ ] Code follows project conventions and ESLint rules.
28
+ - [ ] No sensitive data or credentials are included.
29
+
30
+ <!--
31
+ If you need help, mention @Rishikant181 or ask in the discussions.
32
+ -->
@@ -0,0 +1,32 @@
1
+ name: ci
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - dev
7
+ pull_request:
8
+ branches:
9
+ - dev
10
+ jobs:
11
+ ci:
12
+ runs-on: ${{ matrix.os }}
13
+
14
+ strategy:
15
+ matrix:
16
+ os: [ubuntu-latest]
17
+
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
+
22
+ - name: Install Bun
23
+ uses: oven-sh/setup-bun@v1
24
+
25
+ - name: Install dependencies
26
+ run: bun install
27
+
28
+ - name: Run Format check
29
+ run: bun run format:check
30
+
31
+ - name: Run Lint check
32
+ run: bun run lint:check
@@ -0,0 +1,23 @@
1
+ name: Publish
2
+ run-name: Publishing the package to NPM
3
+
4
+ on:
5
+ release:
6
+ types: [released]
7
+
8
+ jobs:
9
+ # Packages and publishes the package to NPM
10
+ publish-npm:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ # Setting up Bun
14
+ - uses: actions/checkout@v4
15
+ - uses: oven-sh/setup-bun@v1
16
+
17
+ # Installing dependencies
18
+ - run: bun install
19
+
20
+ # Publishing to NPM
21
+ - run: bun publish
22
+ env:
23
+ NODE_AUTH_TOKEN: ${{secrets.npm_token}}
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 22.21.0
@@ -0,0 +1,3 @@
1
+ dist/
2
+ node_modules/
3
+ docs/
package/.prettierrc ADDED
@@ -0,0 +1,13 @@
1
+ {
2
+ "arrowParens": "always",
3
+ "bracketSpacing": true,
4
+ "endOfLine": "auto",
5
+ "printWidth": 120,
6
+ "quoteProps": "as-needed",
7
+ "semi": true,
8
+ "singleQuote": true,
9
+ "tabWidth": 4,
10
+ "trailingComma": "all",
11
+ "useTabs": true,
12
+ "vueIndentScriptAndStyle": true
13
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Rishikant Sahu
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.