@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.
Files changed (2) hide show
  1. package/LICENSE +23 -100
  2. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,119 +1,42 @@
1
- # A2A License
1
+ A2A SUSTAINABLE USE LICENSE Agreement
2
2
 
3
- ## MIT License with Fee Protection Clause
3
+ Version 1.0
4
4
 
5
- Copyright (c) 2026 A2A Project Contributors
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
- ## Part 1: MIT License Terms
9
+ 1. Purpose
10
10
 
11
- Permission is hereby granted, free of charge, to any person obtaining a copy
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
- The above copyright notice and this permission notice shall be included in all
19
- copies or substantial portions of the Software.
13
+ 2. Grant of License
20
14
 
21
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
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
- ## Part 2: Fee Protection Clause
20
+ 3. Limitations on Commercial Use
32
21
 
33
- ### 2.1 Definitions
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
- - **"Protocol Fee Code"** means any code, functions, classes, or modules that
36
- implement, calculate, collect, or transmit protocol fees, including but not
37
- limited to:
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
- - **"Protocol Fee"** means the percentage-based fee (currently 0.05% or 5 basis
45
- points) collected on transactions processed through the A2A ecosystem.
28
+ 4. Fee Protection Clause
46
29
 
47
- ### 2.2 Restrictions
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
- Notwithstanding the permissions granted in Part 1, the following restrictions
50
- apply to ALL uses of this Software:
32
+ 5. Redistribution
51
33
 
52
- 1. **No Modification**: You may NOT modify, alter, or remove any Protocol Fee
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
- 2. **No Bypass**: You may NOT create, develop, or use any mechanism, code, or
56
- process designed to bypass, circumvent, or avoid the collection of Protocol
57
- Fees.
36
+ 6. No Warranty
58
37
 
59
- 3. **No Alternative Implementation**: You may NOT replace the Protocol Fee Code
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
- 4. **No Fee Address Modification**: You may NOT modify the `PROTOCOL_TREASURY`
64
- address or any destination addresses designated for Protocol Fee collection.
40
+ 7. Termination
65
41
 
66
- 5. **Fork Restrictions**: If you fork this repository, ALL Protocol Fee Code
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swimmingkiim/api-sdk",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/swimmingkiim/a2a-project.git"