Skip to content

Commit b53dcf4

Browse files
katspaughclaude
andauthored
chore: Relicense project from MIT to LGPL-3.0 (#14)
Update the project license from MIT to GNU Lesser General Public License v3.0. This change: - Replaces the MIT license with LGPL-3.0 in the LICENSE file - Updates the package.json license field to reflect LGPL-3.0 - Maintains the Safe Global copyright notice The LGPL-3.0 license allows the library to be used in proprietary applications while ensuring that modifications to the library itself remain open source. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent aaad524 commit b53dcf4

File tree

2 files changed

+180
-20
lines changed

2 files changed

+180
-20
lines changed

LICENSE

Lines changed: 179 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,181 @@
1-
MIT License
2-
31
Copyright (c) 2024 Safe Global
42

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.
3+
This library is free software; you can redistribute it and/or
4+
modify it under the terms of the GNU Lesser General Public
5+
License as published by the Free Software Foundation; either
6+
version 3 of the License, or (at your option) any later version.
7+
8+
This library is distributed in the hope that it will be useful,
9+
but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11+
Lesser General Public License for more details.
12+
13+
You should have received a copy of the GNU Lesser General Public
14+
License along with this library; if not, see <http://www.gnu.org/licenses/>.
15+
16+
---
17+
18+
GNU LESSER GENERAL PUBLIC LICENSE
19+
Version 3, 29 June 2007
20+
21+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
22+
Everyone is permitted to copy and distribute verbatim copies
23+
of this license document, but changing it is not allowed.
24+
25+
26+
This version of the GNU Lesser General Public License incorporates
27+
the terms and conditions of version 3 of the GNU General Public
28+
License, supplemented by the additional permissions listed below.
29+
30+
0. Additional Definitions.
31+
32+
As used herein, "this License" refers to version 3 of the GNU Lesser
33+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
34+
General Public License.
35+
36+
"The Library" refers to a covered work governed by this License,
37+
other than an Application or a Combined Work as defined below.
38+
39+
An "Application" is any work that makes use of an interface provided
40+
by the Library, but which is not otherwise based on the Library.
41+
Defining a subclass of a class defined by the Library is deemed a mode
42+
of using an interface provided by the Library.
43+
44+
A "Combined Work" is a work produced by combining or linking an
45+
Application with the Library. The particular version of the Library
46+
with which the Combined Work was made is also called the "Linked
47+
Version".
48+
49+
The "Minimal Corresponding Source" for a Combined Work means the
50+
Corresponding Source for the Combined Work, excluding any source code
51+
for portions of the Combined Work that, considered in isolation, are
52+
based on the Application, and not on the Linked Version.
53+
54+
The "Corresponding Application Code" for a Combined Work means the
55+
object code and/or source code for the Application, including any data
56+
and utility programs needed for reproducing the Combined Work from the
57+
Application, but excluding the System Libraries of the Combined Work.
58+
59+
1. Exception to Section 3 of the GNU GPL.
60+
61+
You may convey a covered work under sections 3 and 4 of this License
62+
without being bound by section 3 of the GNU GPL.
63+
64+
2. Conveying Modified Versions.
65+
66+
If you modify a copy of the Library, and, in your modifications, a
67+
facility refers to a function or data to be supplied by an Application
68+
that uses the facility (other than as an argument passed when the
69+
facility is invoked), then you may convey a copy of the modified
70+
version:
71+
72+
a) under this License, provided that you make a good faith effort to
73+
ensure that, in the event an Application does not supply the
74+
function or data, the facility still operates, and performs
75+
whatever part of its purpose remains meaningful, or
76+
77+
b) under the GNU GPL, with none of the additional permissions of
78+
this License applicable to that copy.
79+
80+
3. Object Code Incorporating Material from Library Header Files.
81+
82+
The object code form of an Application may incorporate material from
83+
a header file that is part of the Library. You may convey such object
84+
code under terms of your choice, provided that, if the incorporated
85+
material is not limited to numerical parameters, data structure
86+
layouts and accessors, or small macros, inline functions and templates
87+
(ten or fewer lines in length), you do both of the following:
88+
89+
a) Give prominent notice with each copy of the object code that the
90+
Library is used in it and that the Library and its use are covered
91+
by this License.
92+
93+
b) Accompany the object code with a copy of the GNU GPL and this
94+
license document.
95+
96+
4. Combined Works.
97+
98+
You may convey a Combined Work under terms of your choice that,
99+
taken together, effectively do not restrict modification of the
100+
portions of the Library contained in the Combined Work and reverse
101+
engineering for debugging such modifications, if you also do each of
102+
the following:
103+
104+
a) Give prominent notice with each copy of the Combined Work that
105+
the Library is used in it and that the Library and its use are
106+
covered by this License.
107+
108+
b) Accompany the Combined Work with a copy of the GNU GPL and this
109+
license document.
110+
111+
c) For a Combined Work that displays copyright notices during
112+
execution, include the copyright notice for the Library among
113+
these notices, as well as a reference directing the user to the
114+
copies of the GNU GPL and this license document.
115+
116+
d) Do one of the following:
117+
118+
0) Convey the Minimal Corresponding Source under the terms of this
119+
License, and the Corresponding Application Code in a form
120+
suitable for, and under terms that permit, the user to
121+
recombine or relink the Application with a modified version of
122+
the Linked Version to produce a modified Combined Work, in the
123+
manner specified by section 6 of the GNU GPL for conveying
124+
Corresponding Source.
125+
126+
1) Use a suitable shared library mechanism for linking with the
127+
Library. A suitable mechanism is one that (a) uses at run time
128+
a copy of the Library already present on the user's computer
129+
system, and (b) will operate properly with a modified version
130+
of the Library that is interface-compatible with the Linked
131+
Version.
132+
133+
e) Provide Installation Information, but only if you would otherwise
134+
be required to provide such information under section 6 of the
135+
GNU GPL, and only to the extent that such information is
136+
necessary to install and execute a modified version of the
137+
Combined Work produced by recombining or relinking the
138+
Application with a modified version of the Linked Version. (If
139+
you use option 4d0, the Installation Information must accompany
140+
the Minimal Corresponding Source and Corresponding Application
141+
Code. If you use option 4d1, you must provide the Installation
142+
Information in the manner specified by section 6 of the GNU GPL
143+
for conveying Corresponding Source.)
144+
145+
5. Combined Libraries.
146+
147+
You may place library facilities that are a work based on the
148+
Library side by side in a single library together with other library
149+
facilities that are not Applications and are not covered by this
150+
License, and convey such a combined library under terms of your
151+
choice, if you do both of the following:
152+
153+
a) Accompany the combined library with a copy of the same work based
154+
on the Library, uncombined with any other library facilities,
155+
conveyed under the terms of this License.
156+
157+
b) Give prominent notice with the combined library that part of it
158+
is a work based on the Library, and explaining where to find the
159+
accompanying uncombined form of the same work.
160+
161+
6. Revised Versions of the GNU Lesser General Public License.
162+
163+
The Free Software Foundation may publish revised and/or new versions
164+
of the GNU Lesser General Public License from time to time. Such new
165+
versions will be similar in spirit to the present version, but may
166+
differ in detail to address new problems or concerns.
167+
168+
Each version is given a distinguishing version number. If the
169+
Library as you received it specifies that a certain numbered version
170+
of the GNU Lesser General Public License "or any later version"
171+
applies to it, you have the option of following the terms and
172+
conditions either of that published version or of any later version
173+
published by the Free Software Foundation. If the Library as you
174+
received it does not specify a version number of the GNU Lesser
175+
General Public License, you may choose any version of the GNU Lesser
176+
General Public License ever published by the Free Software Foundation.
177+
178+
If the Library as you received it specifies that a proxy can decide
179+
whether future versions of the GNU Lesser General Public License shall
180+
apply, that proxy's public statement of acceptance of any version is
181+
permanent authorization for you to choose that version for the Library.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"account-abstraction"
3131
],
3232
"author": "Safe Global",
33-
"license": "MIT",
33+
"license": "LGPL-3.0",
3434
"dependencies": {
3535
"@clack/prompts": "^0.7.0",
3636
"@ledgerhq/hw-app-eth": "^6.46.1",

0 commit comments

Comments
 (0)