react-achievements 5.0.0 → 5.0.1

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 (3) hide show
  1. package/LICENSE +5 -73
  2. package/README.md +3 -6
  3. package/package.json +2 -2
package/LICENSE CHANGED
@@ -1,18 +1,13 @@
1
- # Dual License
2
-
3
- React Achievements is dual-licensed under the MIT License for non-commercial use and a Commercial License for commercial use.
4
-
5
- ## MIT License (Non-Commercial Use)
1
+ MIT License
6
2
 
7
3
  Copyright (c) 2025 Dave B
8
4
 
9
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
10
6
  of this software and associated documentation files (the "Software"), to deal
11
- in the Software without restriction for **non-commercial purposes**, including
12
- without limitation the rights to use, copy, modify, merge, publish, distribute,
13
- sublicense, and/or sell copies of the Software for non-commercial purposes,
14
- and to permit persons to whom the Software is furnished to do so, subject to
15
- the following conditions:
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:
16
11
 
17
12
  The above copyright notice and this permission notice shall be included in all
18
13
  copies or substantial portions of the Software.
@@ -24,66 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
21
  SOFTWARE.
27
-
28
- ### Non-Commercial Use Includes:
29
-
30
- - Personal projects (no revenue generation)
31
- - Educational and academic institutions
32
- - Non-profit organizations with 501(c)(3) or equivalent status
33
- - Open source projects (with OSI-approved license)
34
- - Evaluation, development, and testing purposes
35
- - Government agencies and public sector organizations
36
-
37
- ---
38
-
39
- ## Commercial License
40
-
41
- **Commercial use requires a paid license via GitHub Sponsors.**
42
-
43
- ### What Constitutes Commercial Use:
44
-
45
- Commercial use includes, but is not limited to:
46
-
47
- - Companies or organizations using this library in products/services that generate revenue
48
- - SaaS (Software as a Service) applications
49
- - Commercial websites, web applications, or mobile apps
50
- - Enterprise software or internal business applications
51
- - Freelancers or contractors building paid projects for clients
52
- - Any use where the library contributes to revenue-generating activities
53
-
54
- ### How to Obtain a Commercial License:
55
-
56
- Visit our **[GitHub Sponsors page](https://github.com/sponsors/dave-b-b)** to select a tier that matches your organization's size and revenue.
57
-
58
- **Pricing Tiers:**
59
-
60
- - **Indie Developer** ($19/month): For small businesses, freelancers, and startups with annual revenue < $100,000
61
- - **Professional** ($49/month): For growing companies with annual revenue < $1,000,000, includes priority support
62
- - **Enterprise** ($199/month): For large companies with unlimited revenue, includes private support channel and feature requests
63
-
64
- For custom licensing arrangements or questions, please contact: dave.b.business@gmail.com
65
-
66
- See [COMMERCIAL-LICENSE.md](./COMMERCIAL-LICENSE.md) for detailed commercial licensing terms.
67
-
68
- ---
69
-
70
- ## Frequently Asked Questions
71
-
72
- **Q: I'm a freelancer building a website for a client. Do I need a commercial license?**
73
- A: Yes, if the client is paying you or if the website generates revenue, you need a commercial license.
74
-
75
- **Q: I'm using this in an open-source project. Do I need a commercial license?**
76
- A: No, open-source projects with an OSI-approved license can use the MIT license.
77
-
78
- **Q: Can I try the library before committing to a commercial license?**
79
- A: Yes, evaluation and testing fall under non-commercial use.
80
-
81
- **Q: What if my startup grows and exceeds the Indie Developer tier revenue?**
82
- A: Please upgrade to the appropriate tier when your revenue grows. We operate on an honor system and trust our users.
83
-
84
- **Q: Do non-profits need a commercial license?**
85
- A: No, registered non-profit organizations (501(c)(3) or equivalent) can use the MIT license for free.
86
-
87
- ---
88
-
89
- For questions about licensing, please email dave.b.business@gmail.com or open a discussion on GitHub.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [📚 Documentation](https://dave-b-b.github.io/react-achievements/) | [📦 npm Package](https://www.npmjs.com/package/react-achievements)
6
6
 
7
- [![npm version](https://img.shields.io/npm/v/react-achievements.svg)](https://www.npmjs.com/package/react-achievements) [![License](https://img.shields.io/badge/license-Dual%20(MIT%20%2B%20Commercial)-blue.svg)](./LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)
7
+ [![npm version](https://img.shields.io/npm/v/react-achievements.svg)](https://www.npmjs.com/package/react-achievements) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)
8
8
 
9
9
  <p align="center">
10
10
  <img
@@ -285,12 +285,9 @@ React Native UI components are not included in the web package; use `achievement
285
285
 
286
286
  ## License
287
287
 
288
- React Achievements is dual-licensed:
288
+ React Achievements is licensed under the MIT License. It is free to use, modify, distribute, and include in personal, open-source, and commercial projects.
289
289
 
290
- - **Free for Non-Commercial Use** (MIT License)
291
- - **Commercial License Required** for businesses, SaaS, commercial apps, and enterprise use
292
-
293
- [Get Commercial License](https://github.com/sponsors/dave-b-b) | [License Details](./LICENSE) | [Commercial Terms](./COMMERCIAL-LICENSE.md)
290
+ See [LICENSE](./LICENSE) for details.
294
291
 
295
292
  ## AI Agents
296
293
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-achievements",
3
- "version": "5.0.0",
3
+ "version": "5.0.1",
4
4
  "description": "React UI and client hooks for server-backed achievements",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.esm.js",
@@ -102,7 +102,7 @@
102
102
  "core"
103
103
  ],
104
104
  "author": "Dave B",
105
- "license": "SEE LICENSE IN LICENSE",
105
+ "license": "MIT",
106
106
  "funding": {
107
107
  "type": "github",
108
108
  "url": "https://github.com/sponsors/dave-b-b"