@swimmingkiim/api-sdk 0.1.14 → 0.1.16
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.
- package/LICENSE +23 -100
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,119 +1,42 @@
|
|
|
1
|
-
|
|
1
|
+
A2A SUSTAINABLE USE LICENSE Agreement
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Version 1.0
|
|
4
4
|
|
|
5
|
-
Copyright (c) 2026
|
|
5
|
+
Copyright (c) 2026 Kim Sooyoung / FLESS. All rights reserved.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
"Software" refers to the A2A project source code, including but not limited to pay-sdk, trust-sdk, api-sdk, and paymaster-gateway.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
1. Purpose
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
-
in the Software without restriction, including without limitation the rights
|
|
14
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
+
The purpose of this License is to allow the community to use, study, and contribute to the Software while ensuring that the primary maintainer’s ability to sustain the project through commercial offerings is protected from direct competition using the Software itself.
|
|
17
12
|
|
|
18
|
-
|
|
19
|
-
copies or substantial portions of the Software.
|
|
13
|
+
2. Grant of License
|
|
20
14
|
|
|
21
|
-
|
|
22
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
-
SOFTWARE.
|
|
15
|
+
Subject to the terms and conditions of this Agreement, the Licensor hereby grants you a worldwide, non-exclusive, no-charge, and royalty-free license to:
|
|
28
16
|
|
|
29
|
-
|
|
17
|
+
* (a) Use, copy, and modify the Software for personal or internal business purposes.
|
|
18
|
+
* (b) Distribute the Software or modified versions of it, provided that such distribution is not for a Commercial Offering as defined in Section 3.
|
|
30
19
|
|
|
31
|
-
|
|
20
|
+
3. Limitations on Commercial Use
|
|
32
21
|
|
|
33
|
-
|
|
22
|
+
You may not provide the Software, or any part of the Software, as a Commercial Offering. A "Commercial Offering" is defined as a service where the primary value provided to third parties is the hosting, management, or execution of the Software itself, including but not limited to:
|
|
34
23
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
- `ProtocolFeeCollector` class and related implementations
|
|
39
|
-
- `PROTOCOL_TREASURY` address constants
|
|
40
|
-
- `FEE_RATE` constants and calculations
|
|
41
|
-
- Any code that bundles fee transfers with user operations
|
|
42
|
-
- Fee-related smart contract interactions
|
|
24
|
+
* Providing the Paymaster Gateway as a managed API service to third parties.
|
|
25
|
+
* Offering "A2A-as-a-Service" or similar hosted infrastructure for gas sponsorship.
|
|
26
|
+
* Charging users specifically for the use of the A2A infrastructure without adding substantial non-A2A value.
|
|
43
27
|
|
|
44
|
-
|
|
45
|
-
points) collected on transactions processed through the A2A ecosystem.
|
|
28
|
+
4. Fee Protection Clause
|
|
46
29
|
|
|
47
|
-
|
|
30
|
+
The Software includes a protocol-level fee mechanism (e.g., service markups in the Paymaster Gateway). Any redistribution of the Software must preserve the integrity of these fee mechanisms. You are strictly prohibited from removing, circumventing, or modifying the code responsible for calculating and routing these fees to the designated Licensor's treasury address, unless explicitly authorized by the Licensor.
|
|
48
31
|
|
|
49
|
-
|
|
50
|
-
apply to ALL uses of this Software:
|
|
32
|
+
5. Redistribution
|
|
51
33
|
|
|
52
|
-
|
|
53
|
-
Code from the Software.
|
|
34
|
+
Any redistribution of the Software, in whole or in part, must include a copy of this License and the original copyright notice.
|
|
54
35
|
|
|
55
|
-
|
|
56
|
-
process designed to bypass, circumvent, or avoid the collection of Protocol
|
|
57
|
-
Fees.
|
|
36
|
+
6. No Warranty
|
|
58
37
|
|
|
59
|
-
|
|
60
|
-
with alternative implementations that redirect, reduce, or eliminate Protocol
|
|
61
|
-
Fees.
|
|
38
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
|
|
62
39
|
|
|
63
|
-
|
|
64
|
-
address or any destination addresses designated for Protocol Fee collection.
|
|
40
|
+
7. Termination
|
|
65
41
|
|
|
66
|
-
|
|
67
|
-
MUST remain intact and functional. Forks that violate this clause are in
|
|
68
|
-
breach of this License.
|
|
69
|
-
|
|
70
|
-
### 2.3 Consequences of Violation
|
|
71
|
-
|
|
72
|
-
Any violation of Section 2.2 shall:
|
|
73
|
-
|
|
74
|
-
1. **Immediately terminate** all rights granted under this License
|
|
75
|
-
2. **Constitute copyright infringement** subject to applicable laws
|
|
76
|
-
3. **Result in liability** for damages including but not limited to:
|
|
77
|
-
- Unpaid Protocol Fees that would have been collected
|
|
78
|
-
- Legal fees and costs of enforcement
|
|
79
|
-
- Statutory damages where applicable
|
|
80
|
-
|
|
81
|
-
### 2.4 Permitted Actions
|
|
82
|
-
|
|
83
|
-
For clarity, you ARE permitted to:
|
|
84
|
-
|
|
85
|
-
- Use the Software to build commercial applications
|
|
86
|
-
- Modify any code NOT related to Protocol Fee collection
|
|
87
|
-
- Set your own service fees (separate from Protocol Fees)
|
|
88
|
-
- Configure your own `TREASURY_ADDRESS` for your service fees
|
|
89
|
-
- Distribute the Software with proper attribution
|
|
90
|
-
- Use the Software in production environments
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Part 3: Acknowledgment
|
|
95
|
-
|
|
96
|
-
By using, copying, modifying, or distributing this Software, you acknowledge
|
|
97
|
-
that you have read, understood, and agree to be bound by all terms in this
|
|
98
|
-
License, including both Part 1 (MIT License Terms) and Part 2 (Fee Protection
|
|
99
|
-
Clause).
|
|
100
|
-
|
|
101
|
-
---
|
|
102
|
-
|
|
103
|
-
## Summary
|
|
104
|
-
|
|
105
|
-
| Action | Permitted? |
|
|
106
|
-
|--------|-----------|
|
|
107
|
-
| Use the SDK | ✅ Yes |
|
|
108
|
-
| Build commercial services | ✅ Yes |
|
|
109
|
-
| Modify non-fee code | ✅ Yes |
|
|
110
|
-
| Set your own service fees | ✅ Yes |
|
|
111
|
-
| Distribute with attribution | ✅ Yes |
|
|
112
|
-
| Modify fee collection code | ❌ No |
|
|
113
|
-
| Remove protocol fees | ❌ No |
|
|
114
|
-
| Change treasury address | ❌ No |
|
|
115
|
-
| Bypass fee mechanism | ❌ No |
|
|
116
|
-
|
|
117
|
-
---
|
|
118
|
-
|
|
119
|
-
**Contact**: For licensing inquiries, contact the project maintainers.
|
|
42
|
+
This License and the rights granted hereunder will terminate automatically if you fail to comply with any of its terms.
|