paymongo-cli 1.4.2 → 1.4.3

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 (134) hide show
  1. package/.github/copilot-instructions.md +95 -95
  2. package/AGENTS.md +0 -1
  3. package/CHANGELOG.md +53 -2
  4. package/LICENSE +20 -20
  5. package/dist/.tsbuildinfo +1 -1
  6. package/dist/commands/env.js +27 -3
  7. package/dist/commands/generate.js +977 -977
  8. package/dist/commands/init.js +27 -5
  9. package/dist/commands/login.js +27 -5
  10. package/dist/services/api/client.js +265 -15
  11. package/dist/services/api/undici-client.js +15 -21
  12. package/eslint.config.ts +70 -70
  13. package/package.json +3 -3
  14. package/coverage/base.css +0 -224
  15. package/coverage/block-navigation.js +0 -87
  16. package/coverage/favicon.png +0 -0
  17. package/coverage/index.html +0 -281
  18. package/coverage/lcov-report/base.css +0 -224
  19. package/coverage/lcov-report/block-navigation.js +0 -87
  20. package/coverage/lcov-report/favicon.png +0 -0
  21. package/coverage/lcov-report/index.html +0 -281
  22. package/coverage/lcov-report/prettify.css +0 -1
  23. package/coverage/lcov-report/prettify.js +0 -2
  24. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  25. package/coverage/lcov-report/sorter.js +0 -210
  26. package/coverage/lcov.info +0 -5053
  27. package/coverage/prettify.css +0 -1
  28. package/coverage/prettify.js +0 -2
  29. package/coverage/sort-arrow-sprite.png +0 -0
  30. package/coverage/sorter.js +0 -210
  31. package/dist/commands/config.d.ts +0 -21
  32. package/dist/commands/config.d.ts.map +0 -1
  33. package/dist/commands/config.js.map +0 -1
  34. package/dist/commands/dev.d.ts +0 -16
  35. package/dist/commands/dev.d.ts.map +0 -1
  36. package/dist/commands/dev.js.map +0 -1
  37. package/dist/commands/env.d.ts +0 -4
  38. package/dist/commands/env.d.ts.map +0 -1
  39. package/dist/commands/env.js.map +0 -1
  40. package/dist/commands/gui.d.ts +0 -4
  41. package/dist/commands/gui.d.ts.map +0 -1
  42. package/dist/commands/gui.js +0 -69
  43. package/dist/commands/gui.js.map +0 -1
  44. package/dist/commands/init.d.ts +0 -15
  45. package/dist/commands/init.d.ts.map +0 -1
  46. package/dist/commands/init.js.map +0 -1
  47. package/dist/commands/login.d.ts +0 -20
  48. package/dist/commands/login.d.ts.map +0 -1
  49. package/dist/commands/login.js.map +0 -1
  50. package/dist/commands/payments.d.ts +0 -41
  51. package/dist/commands/payments.d.ts.map +0 -1
  52. package/dist/commands/payments.js.map +0 -1
  53. package/dist/commands/team/index.d.ts +0 -4
  54. package/dist/commands/team/index.d.ts.map +0 -1
  55. package/dist/commands/team/index.js.map +0 -1
  56. package/dist/commands/trigger.d.ts +0 -4
  57. package/dist/commands/trigger.d.ts.map +0 -1
  58. package/dist/commands/trigger.js.map +0 -1
  59. package/dist/commands/webhooks.d.ts +0 -23
  60. package/dist/commands/webhooks.d.ts.map +0 -1
  61. package/dist/commands/webhooks.js.map +0 -1
  62. package/dist/index.d.ts +0 -3
  63. package/dist/index.d.ts.map +0 -1
  64. package/dist/index.js.map +0 -1
  65. package/dist/services/analytics/service.d.ts +0 -35
  66. package/dist/services/analytics/service.d.ts.map +0 -1
  67. package/dist/services/analytics/service.js.map +0 -1
  68. package/dist/services/api/client.d.ts +0 -26
  69. package/dist/services/api/client.d.ts.map +0 -1
  70. package/dist/services/api/client.js.map +0 -1
  71. package/dist/services/api/rate-limiter.d.ts +0 -64
  72. package/dist/services/api/rate-limiter.d.ts.map +0 -1
  73. package/dist/services/api/rate-limiter.js.map +0 -1
  74. package/dist/services/api/undici-client.d.ts +0 -39
  75. package/dist/services/api/undici-client.d.ts.map +0 -1
  76. package/dist/services/api/undici-client.js.map +0 -1
  77. package/dist/services/config/manager.d.ts +0 -16
  78. package/dist/services/config/manager.d.ts.map +0 -1
  79. package/dist/services/config/manager.js.map +0 -1
  80. package/dist/services/dev/process-manager.d.ts +0 -50
  81. package/dist/services/dev/process-manager.d.ts.map +0 -1
  82. package/dist/services/dev/process-manager.js.map +0 -1
  83. package/dist/services/github/auth.d.ts +0 -15
  84. package/dist/services/github/auth.d.ts.map +0 -1
  85. package/dist/services/github/auth.js +0 -79
  86. package/dist/services/github/auth.js.map +0 -1
  87. package/dist/services/github/client.d.ts +0 -95
  88. package/dist/services/github/client.d.ts.map +0 -1
  89. package/dist/services/github/client.js +0 -130
  90. package/dist/services/github/client.js.map +0 -1
  91. package/dist/services/github/sync.d.ts +0 -26
  92. package/dist/services/github/sync.d.ts.map +0 -1
  93. package/dist/services/github/sync.js +0 -203
  94. package/dist/services/github/sync.js.map +0 -1
  95. package/dist/services/payments/simulator.d.ts +0 -28
  96. package/dist/services/payments/simulator.d.ts.map +0 -1
  97. package/dist/services/payments/simulator.js.map +0 -1
  98. package/dist/services/team/service.d.ts +0 -44
  99. package/dist/services/team/service.d.ts.map +0 -1
  100. package/dist/services/team/service.js.map +0 -1
  101. package/dist/services/web/server.d.ts +0 -31
  102. package/dist/services/web/server.d.ts.map +0 -1
  103. package/dist/services/web/server.js +0 -206
  104. package/dist/services/web/server.js.map +0 -1
  105. package/dist/types/paymongo.d.ts +0 -204
  106. package/dist/types/paymongo.d.ts.map +0 -1
  107. package/dist/types/paymongo.js.map +0 -1
  108. package/dist/types/schemas.d.ts +0 -80
  109. package/dist/types/schemas.d.ts.map +0 -1
  110. package/dist/types/schemas.js.map +0 -1
  111. package/dist/utils/bulk.d.ts +0 -62
  112. package/dist/utils/bulk.d.ts.map +0 -1
  113. package/dist/utils/bulk.js.map +0 -1
  114. package/dist/utils/cache.d.ts +0 -22
  115. package/dist/utils/cache.d.ts.map +0 -1
  116. package/dist/utils/cache.js.map +0 -1
  117. package/dist/utils/constants.d.ts +0 -32
  118. package/dist/utils/constants.d.ts.map +0 -1
  119. package/dist/utils/constants.js.map +0 -1
  120. package/dist/utils/errors.d.ts +0 -34
  121. package/dist/utils/errors.d.ts.map +0 -1
  122. package/dist/utils/errors.js.map +0 -1
  123. package/dist/utils/logger.d.ts +0 -20
  124. package/dist/utils/logger.d.ts.map +0 -1
  125. package/dist/utils/logger.js.map +0 -1
  126. package/dist/utils/spinner.d.ts +0 -17
  127. package/dist/utils/spinner.d.ts.map +0 -1
  128. package/dist/utils/spinner.js.map +0 -1
  129. package/dist/utils/validator.d.ts +0 -10
  130. package/dist/utils/validator.d.ts.map +0 -1
  131. package/dist/utils/validator.js.map +0 -1
  132. package/dist/utils/webhook-store.d.ts +0 -22
  133. package/dist/utils/webhook-store.d.ts.map +0 -1
  134. package/dist/utils/webhook-store.js.map +0 -1
@@ -1,95 +1,95 @@
1
- # PayMongo CLI - AI Agent Instructions
2
-
3
- ## Project Overview
4
- PayMongo CLI is a TypeScript-based developer tool for PayMongo payment integration with local webhook forwarding via ngrok tunneling. It uses **ESM modules** (`"type": "module"`) with Commander.js for CLI commands.
5
-
6
- ## Architecture
7
-
8
- ### Code Structure
9
- ```
10
- src/
11
- ├── commands/ # CLI commands (commander.js) - one file per top-level command
12
- ├── services/ # Core business logic
13
- │ ├── api/ # ApiClient - PayMongo V1 API wrapper with retries & caching
14
- │ ├── config/ # ConfigManager - .paymongo file handling via cosmiconfig
15
- │ └── web/ # Express + Socket.io for GUI dashboard
16
- ├── types/ # TypeScript definitions + Zod schemas
17
- └── utils/ # Shared utilities (errors, logging, cache, validation)
18
- ```
19
-
20
- ### Key Patterns
21
-
22
- **Error Handling** - Always use custom error classes from `src/utils/errors.ts`:
23
- ```typescript
24
- import { PayMongoError, NetworkError, ConfigError, ApiKeyError } from '../utils/errors.js';
25
- throw new PayMongoError('User-friendly message', 'ERROR_CODE', 400);
26
- ```
27
-
28
- **Retry Logic** - Use `withRetry()` for network operations:
29
- ```typescript
30
- import { withRetry } from '../utils/errors.js';
31
- const result = await withRetry(() => apiCall(), { maxRetries: 3, silent: true });
32
- ```
33
-
34
- **Lazy Loading** - Import heavy dependencies inside functions to keep CLI startup fast (<100ms):
35
- ```typescript
36
- // ✓ Correct - lazy load inside action
37
- .action(async () => {
38
- const { confirm } = await import('@inquirer/prompts');
39
- });
40
- // ✗ Wrong - top-level import slows startup
41
- import { confirm } from '@inquirer/prompts';
42
- ```
43
-
44
- **ESM Imports** - Always use `.js` extension for local imports:
45
- ```typescript
46
- import ConfigManager from '../services/config/manager.js';
47
- ```
48
-
49
- ## Configuration
50
- - Project config: `.paymongo` (JSON, managed via `ConfigManager`)
51
- - Global credentials: `~/.paymongo/credentials.enc` (AES-256-CBC encrypted)
52
- - Validation: Zod schemas in `src/types/schemas.ts`
53
-
54
- ## Development Workflow
55
-
56
- ### Commands
57
- ```bash
58
- npm run build # Compile TypeScript
59
- npm run dev # Watch mode compilation
60
- npm link # Test CLI globally as 'paymongo'
61
- npm test # Jest with ESM (--experimental-vm-modules)
62
- npm run lint:fix # ESLint auto-fix
63
- ```
64
-
65
- ### Testing Strategy
66
- - **Mocking ESM**: Use `jest.unstable_mockModule()` before dynamic imports
67
- - Structure: `tests/unit/`, `tests/integration/`, `tests/e2e/`
68
- - Mock external services (axios, ngrok, filesystem)
69
-
70
- Example test pattern:
71
- ```typescript
72
- jest.unstable_mockModule('axios', () => ({ default: mockAxios }));
73
- const { ApiClient } = await import('../../src/services/api/client.js');
74
- ```
75
-
76
- ## Code Conventions
77
-
78
- ### TypeScript
79
- - Strict mode enabled with `noImplicitAny`, `noUncheckedIndexedAccess`
80
- - Avoid `any` - use proper types from `src/types/paymongo.ts`
81
- - Config validation via Zod: `validateConfig()` from `src/types/schemas.ts`
82
-
83
- ### Commit Messages
84
- Follow conventional commits: `feat:`, `fix:`, `docs:`, `test:`, `refactor:`
85
-
86
- ### Security
87
- - Never log API keys or sensitive data
88
- - Use `ConfigManager` for credential access
89
- - Keep `.paymongo` and `.env` in `.gitignore`
90
-
91
- ## Key Files Reference
92
- - [src/services/api/client.ts](src/services/api/client.ts) - API wrapper with interceptors
93
- - [src/utils/errors.ts](src/utils/errors.ts) - Error classes + `withRetry()`
94
- - [src/types/schemas.ts](src/types/schemas.ts) - Zod validation schemas
95
- - [src/services/config/manager.ts](src/services/config/manager.ts) - Config file handling
1
+ # PayMongo CLI - AI Agent Instructions
2
+
3
+ ## Project Overview
4
+ PayMongo CLI is a TypeScript-based developer tool for PayMongo payment integration with local webhook forwarding via ngrok tunneling. It uses **ESM modules** (`"type": "module"`) with Commander.js for CLI commands.
5
+
6
+ ## Architecture
7
+
8
+ ### Code Structure
9
+ ```
10
+ src/
11
+ ├── commands/ # CLI commands (commander.js) - one file per top-level command
12
+ ├── services/ # Core business logic
13
+ │ ├── api/ # ApiClient - PayMongo V1 API wrapper with retries & caching
14
+ │ ├── config/ # ConfigManager - .paymongo file handling via cosmiconfig
15
+ │ └── web/ # Express + Socket.io for GUI dashboard
16
+ ├── types/ # TypeScript definitions + Zod schemas
17
+ └── utils/ # Shared utilities (errors, logging, cache, validation)
18
+ ```
19
+
20
+ ### Key Patterns
21
+
22
+ **Error Handling** - Always use custom error classes from `src/utils/errors.ts`:
23
+ ```typescript
24
+ import { PayMongoError, NetworkError, ConfigError, ApiKeyError } from '../utils/errors.js';
25
+ throw new PayMongoError('User-friendly message', 'ERROR_CODE', 400);
26
+ ```
27
+
28
+ **Retry Logic** - Use `withRetry()` for network operations:
29
+ ```typescript
30
+ import { withRetry } from '../utils/errors.js';
31
+ const result = await withRetry(() => apiCall(), { maxRetries: 3, silent: true });
32
+ ```
33
+
34
+ **Lazy Loading** - Import heavy dependencies inside functions to keep CLI startup fast (<100ms):
35
+ ```typescript
36
+ // ✓ Correct - lazy load inside action
37
+ .action(async () => {
38
+ const { confirm } = await import('@inquirer/prompts');
39
+ });
40
+ // ✗ Wrong - top-level import slows startup
41
+ import { confirm } from '@inquirer/prompts';
42
+ ```
43
+
44
+ **ESM Imports** - Always use `.js` extension for local imports:
45
+ ```typescript
46
+ import ConfigManager from '../services/config/manager.js';
47
+ ```
48
+
49
+ ## Configuration
50
+ - Project config: `.paymongo` (JSON, managed via `ConfigManager`)
51
+ - Global credentials: `~/.paymongo/credentials.enc` (AES-256-CBC encrypted)
52
+ - Validation: Zod schemas in `src/types/schemas.ts`
53
+
54
+ ## Development Workflow
55
+
56
+ ### Commands
57
+ ```bash
58
+ npm run build # Compile TypeScript
59
+ npm run dev # Watch mode compilation
60
+ npm link # Test CLI globally as 'paymongo'
61
+ npm test # Jest with ESM (--experimental-vm-modules)
62
+ npm run lint:fix # ESLint auto-fix
63
+ ```
64
+
65
+ ### Testing Strategy
66
+ - **Mocking ESM**: Use `jest.unstable_mockModule()` before dynamic imports
67
+ - Structure: `tests/unit/`, `tests/integration/`
68
+ - Mock external services (axios, ngrok, filesystem)
69
+
70
+ Example test pattern:
71
+ ```typescript
72
+ jest.unstable_mockModule('axios', () => ({ default: mockAxios }));
73
+ const { ApiClient } = await import('../../src/services/api/client.js');
74
+ ```
75
+
76
+ ## Code Conventions
77
+
78
+ ### TypeScript
79
+ - Strict mode enabled with `noImplicitAny`, `noUncheckedIndexedAccess`
80
+ - Avoid `any` - use proper types from `src/types/paymongo.ts`
81
+ - Config validation via Zod: `validateConfig()` from `src/types/schemas.ts`
82
+
83
+ ### Commit Messages
84
+ Follow conventional commits: `feat:`, `fix:`, `docs:`, `test:`, `refactor:`
85
+
86
+ ### Security
87
+ - Never log API keys or sensitive data
88
+ - Use `ConfigManager` for credential access
89
+ - Keep `.paymongo` and `.env` in `.gitignore`
90
+
91
+ ## Key Files Reference
92
+ - [src/services/api/client.ts](src/services/api/client.ts) - API wrapper with interceptors
93
+ - [src/utils/errors.ts](src/utils/errors.ts) - Error classes + `withRetry()`
94
+ - [src/types/schemas.ts](src/types/schemas.ts) - Zod validation schemas
95
+ - [src/services/config/manager.ts](src/services/config/manager.ts) - Config file handling
package/AGENTS.md CHANGED
@@ -167,7 +167,6 @@ const config = validateConfig(input);
167
167
  tests/
168
168
  ├── unit/ # Unit tests (single functions/classes)
169
169
  ├── integration/ # Integration tests (command end-to-end)
170
- └── e2e/ # End-to-end tests (full CLI workflows)
171
170
  ```
172
171
 
173
172
  ### Mocking ESM Modules
package/CHANGELOG.md CHANGED
@@ -7,12 +7,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.4.3] - 2026-01-26
11
+
12
+ ### Added
13
+
14
+ - **Enhanced Error Handling** - Improved error messages in `init`, `login`, and `env` commands with specific error types:
15
+ - `ApiKeyError`: Invalid or unauthorized API keys
16
+ - `NetworkError`: Connection and timeout issues
17
+ - `PayMongoError`: API-specific errors with status codes
18
+ - Actionable error messages with troubleshooting guidance
19
+
20
+ ### Changed
21
+
22
+ - **Test Output Cleanup** - Suppressed verbose console output and Node.js warnings in test runs:
23
+ - Added `silent: true` to Jest configuration to hide CLI command output
24
+ - Added `NODE_NO_WARNINGS=1` to test scripts to suppress experimental VM warnings
25
+ - Cleaner test output focused on results rather than implementation details
26
+
27
+ - **API Client Consolidation** - Merged `UndiciClient` into main `ApiClient` class:
28
+ - Removed separate `undici-client.ts` file
29
+ - Updated all imports and tests to use unified `ApiClient`
30
+ - Maintained all existing functionality (caching, rate limiting, error handling)
31
+
32
+ ### Removed
33
+
34
+ - **E2E Test Suite** - Removed `tests/e2e/` folder and associated files:
35
+ - Deleted `tests/e2e/login.test.ts` and `tests/e2e/README.md`
36
+ - Removed e2e references from documentation (`CONTRIBUTING.md`, `AGENTS.md`, `.github/copilot-instructions.md`)
37
+ - Unit tests provide equivalent coverage without requiring real API credentials
38
+
39
+ ### Fixed
40
+
41
+ - **Test Compatibility** - Updated test mocks to work with new error handling:
42
+ - Changed `validateApiKey()` from boolean return to void (throws on error)
43
+ - Updated test expectations for error throwing instead of boolean returns
44
+ - Maintained test coverage while improving error handling consistency
45
+
10
46
  ## [1.4.1] - 2026-01-26
11
47
 
12
48
  ### Added
13
49
 
14
50
  - **Comprehensive Test Coverage** - Added 380 unit tests across 23 test suites:
15
- - Complete test coverage for 9 CLI command files (init, config, login, dev, payments, env, gui, trigger, webhooks)
51
+ - Complete test coverage for 8 CLI command files (init, config, login, dev, payments, env, trigger, webhooks)
16
52
  - 100% coverage for each tested command with comprehensive error handling and edge cases
17
53
  - Established testing patterns for Commander.js commands with ESM module mocking
18
54
  - Mock implementations for all external dependencies (axios, ngrok, filesystem operations)
@@ -234,6 +270,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
234
270
 
235
271
  | Version | Release Date | Highlights |
236
272
  | ------- | ------------ | -------------------------------------------------------------------- |
273
+ | [1.4.3] | 2026-01-26 | Enhanced error handling, test output cleanup, API client consolidation |
237
274
  | [1.4.1] | 2026-01-26 | Test coverage completion, ESLint compliance, documentation updates |
238
275
  | [1.4.0] | 2026-01-26 | Code generation, HTTP client migration, GUI removal, performance optimization |
239
276
  | [1.3.0] | 2026-01-25 | Rate limiting protection, bulk operations, team collaboration |
@@ -244,6 +281,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
244
281
  ---
245
282
 
246
283
  ## Upgrade Guide
284
+ ### Upgrading to 1.4.3
285
+
286
+ ```bash
287
+ npm install -g paymongo-cli@latest
288
+ ```
289
+
290
+ **Breaking Changes:** None. This is a backward-compatible patch release.
291
+
292
+ **New Features:**
293
+ - Enhanced error handling with specific error types and actionable messages
294
+ - Cleaner test output with suppressed console logs and warnings
295
+ - Consolidated API client implementation
296
+
247
297
  ### Upgrading to 1.4.1
248
298
 
249
299
  ```bash
@@ -322,7 +372,8 @@ npm install -g paymongo-cli
322
372
  - [Issue Tracker](https://github.com/leodyversemilla07/paymongo-cli/issues)
323
373
  - [PayMongo API Documentation](https://developers.paymongo.com/)
324
374
 
325
- [Unreleased]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.4.1...HEAD
375
+ [Unreleased]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.4.3...HEAD
376
+ [1.4.3]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.4.1...v1.4.3
326
377
  [1.4.1]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.4.0...v1.4.1
327
378
  [1.4.0]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.3.0...v1.4.0
328
379
  [1.3.0]: https://github.com/leodyversemilla07/paymongo-cli/compare/v1.2.0...v1.3.0
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Leodyver Semilla
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
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Leodyver Semilla
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
21
  SOFTWARE.