next-flipbook 0.10.0 → 1.0.0
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 +192 -68
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -1,97 +1,221 @@
|
|
|
1
|
-
|
|
1
|
+
# next-flipbook Commercial License
|
|
2
2
|
|
|
3
|
-
This
|
|
4
|
-
lawyer. It says what the author asked for: the package is not free, and one license key covers one
|
|
5
|
-
website. Whether it says that in a way that holds up in your country, and what else it needs
|
|
6
|
-
(governing law, a limit on liability that the law of your customers' countries allows, how
|
|
7
|
-
contributions to the repository are licensed), is for a lawyer to decide. Fill in the [bracketed]
|
|
8
|
-
parts. `npm run verify:release` refuses to publish a package while this banner is here.
|
|
3
|
+
This document describes a commercial, one-time-payment license for next-flipbook. It is intended to provide perpetual use of the licensed Software for one website, without recurring subscription or renewal fees.
|
|
9
4
|
|
|
10
|
-
|
|
5
|
+
The Licensor should obtain legal advice on enforceability, governing law, liability limitations, third-party licenses, contributor rights, and applicable consumer protection requirements before publishing this agreement.
|
|
11
6
|
|
|
12
|
-
|
|
7
|
+
Complete all [bracketed] sections before release.
|
|
8
|
+
|
|
9
|
+
# next-flipbook Commercial License
|
|
13
10
|
|
|
14
11
|
Copyright (c) 2026 Samith Mendis ("the Licensor"). All rights reserved.
|
|
15
12
|
|
|
16
|
-
This license applies to next-flipbook version [0.10.0] and later ("the Software"). Earlier versions
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
This license applies to next-flipbook version [0.10.0] and later ("the Software"). Earlier versions published under the MIT License remain under the MIT License for recipients who obtained them under that license.
|
|
14
|
+
|
|
15
|
+
## 1. Definitions
|
|
16
|
+
|
|
17
|
+
**"Software"** means the next-flipbook npm package, including its source code, compiled files, documentation, and associated components distributed by the Licensor.
|
|
18
|
+
|
|
19
|
+
**"License Key"** means the unique license identifier issued by the Licensor after successful payment.
|
|
20
|
+
|
|
21
|
+
**"Licensed Website"** means the website domain registered to a License Key, including its subdomains.
|
|
22
|
+
|
|
23
|
+
**"Project"** means the website or web application operated from the Licensed Website.
|
|
24
|
+
|
|
25
|
+
**"Licensee"** means the individual or legal entity that purchases and holds the License Key.
|
|
26
|
+
|
|
27
|
+
**"Development Address"** means a local or private-network address, including localhost, an address in a private range (10.x.x.x, 172.16-31.x.x, 192.168.x.x, 127.x.x.x), or a hostname ending in .local, .localhost, .test, or .internal.
|
|
28
|
+
|
|
29
|
+
## 2. License Grant
|
|
30
|
+
|
|
31
|
+
Subject to payment of the applicable one-time license fee and compliance with this agreement, the Licensor grants the Licensee a non-exclusive, non-transferable, non-sublicensable, worldwide, perpetual commercial license to:
|
|
32
|
+
|
|
33
|
+
a. Evaluate and test the Software on any Development Address without a License Key and without charge.
|
|
34
|
+
|
|
35
|
+
b. Install, configure, integrate, and use the Software in the Project associated with the Licensed Website.
|
|
36
|
+
|
|
37
|
+
c. Use the Software in production and testing environments associated with the Project.
|
|
38
|
+
|
|
39
|
+
d. Include the Software in the Project's production build and distribute the resulting compiled or bundled files to visitors of the Licensed Website as part of the Project.
|
|
40
|
+
|
|
41
|
+
e. Access and read the Software's source code for the purposes of understanding, configuring, debugging, and maintaining their own use of the Software.
|
|
42
|
+
|
|
43
|
+
The rights granted under this section remain valid for the lifetime of the purchased license and do not require periodic renewal.
|
|
44
|
+
|
|
45
|
+
## 3. One License Key, One Website
|
|
46
|
+
|
|
47
|
+
Each License Key grants production usage rights for exactly one Licensed Website and its associated Project.
|
|
48
|
+
|
|
49
|
+
The following conditions apply:
|
|
50
|
+
|
|
51
|
+
a. A License Key may not be used for multiple independent websites or projects.
|
|
52
|
+
|
|
53
|
+
b. A separate License Key must be purchased for each additional website.
|
|
54
|
+
|
|
55
|
+
c. A License Key may not be shared, sold, transferred, published, or distributed to another party for independent use.
|
|
56
|
+
|
|
57
|
+
d. Agencies, development companies, and freelancers developing websites for multiple clients must purchase a separate License Key for each client's website.
|
|
58
|
+
|
|
59
|
+
e. Multiple developers working on the same Project may use the same License Key, provided they are working on behalf of the same Licensee and for the same Licensed Website.
|
|
60
|
+
|
|
61
|
+
f. Subdomains belonging to the Licensed Website are included under the same License Key.
|
|
62
|
+
|
|
63
|
+
g. Staging, testing, and preview environments associated with the same Project are permitted, including staging subdomains. Separate independent websites and projects require separate licenses.
|
|
64
|
+
|
|
65
|
+
A License Key does not grant production usage rights for any other website owned or operated by the Licensee.
|
|
66
|
+
|
|
67
|
+
## 4. Domain Changes and License Migration
|
|
68
|
+
|
|
69
|
+
A Licensee may migrate the License Key to a replacement domain when changing the domain of the same Project.
|
|
70
|
+
|
|
71
|
+
The following conditions apply:
|
|
72
|
+
|
|
73
|
+
a. The Licensee must deactivate the previous domain before activating the replacement domain.
|
|
74
|
+
|
|
75
|
+
b. A License Key cannot be active on multiple independent production websites simultaneously.
|
|
76
|
+
|
|
77
|
+
c. Domain migration must be performed through the license management system or by contacting the Licensor if manual assistance is required.
|
|
78
|
+
|
|
79
|
+
d. Domain migration does not require purchasing another License Key when it relates to the same Project.
|
|
80
|
+
|
|
81
|
+
e. A domain migration cannot be used to transfer a License Key to another customer's independent Project.
|
|
82
|
+
|
|
83
|
+
The Licensor may request reasonable verification to prevent misuse of domain migration.
|
|
84
|
+
|
|
85
|
+
## 5. Restrictions
|
|
86
|
+
|
|
87
|
+
The Licensee may not:
|
|
88
|
+
|
|
89
|
+
a. Remove, hide, disable, modify, or circumvent the Software's license validation mechanism, watermark, or console warning.
|
|
90
|
+
|
|
91
|
+
b. Modify the Software to make an unlicensed website appear as though it has a valid License Key.
|
|
92
|
+
|
|
93
|
+
c. Sell, rent, sublicense, redistribute, publish, or otherwise make the Software available to third parties as a standalone product or competing package.
|
|
94
|
+
|
|
95
|
+
d. Redistribute the Software's source code, compiled package, or substantial portions of it as part of another npm package, template, library, or commercial product, except for the permitted distribution described in Section 2.
|
|
96
|
+
|
|
97
|
+
e. Use the Software to develop, distribute, or operate a competing flipbook library or substantially similar competing software product.
|
|
98
|
+
|
|
99
|
+
f. Use the Software in production on a website without a valid License Key.
|
|
100
|
+
|
|
101
|
+
g. Share or expose a License Key publicly or intentionally allow unauthorized third parties to use it.
|
|
102
|
+
|
|
103
|
+
These restrictions do not prohibit the normal integration and distribution of the Software as part of the licensed Project.
|
|
104
|
+
|
|
105
|
+
## 6. Lifetime License and Payment
|
|
106
|
+
|
|
107
|
+
The Software is licensed under a one-time-payment model.
|
|
108
|
+
|
|
109
|
+
a. The Licensee pays a fixed license fee determined by the Licensor at the time of purchase.
|
|
110
|
+
|
|
111
|
+
b. The payment is made once for each Licensed Website.
|
|
112
|
+
|
|
113
|
+
c. No monthly, annual, subscription, or recurring renewal fees are required.
|
|
114
|
+
|
|
115
|
+
d. After successful payment and issuance of a License Key, the license is perpetual and does not have an automatic expiration date.
|
|
116
|
+
|
|
117
|
+
e. The Licensee may continue using the licensed version of the Software indefinitely, subject to this agreement.
|
|
118
|
+
|
|
119
|
+
f. Updates and bug fixes made generally available for the licensed product are included without additional recurring fees. Any separately priced major-version upgrade must be clearly identified and disclosed before purchase.
|
|
120
|
+
|
|
121
|
+
g. The Licensee is not required to pay additional fees merely to maintain an existing valid lifetime license.
|
|
122
|
+
|
|
123
|
+
The lifetime license grants continuing usage rights. It does not guarantee that the Licensor will maintain the Software, provide technical support, host external services, or release updates indefinitely.
|
|
124
|
+
|
|
125
|
+
## 7. License Termination and Revocation
|
|
126
|
+
|
|
127
|
+
A properly purchased lifetime License Key does not expire due to the passage of time.
|
|
128
|
+
|
|
129
|
+
However, the Licensor reserves the right to suspend or revoke a License Key if:
|
|
130
|
+
|
|
131
|
+
a. The Licensee materially breaches the terms of this agreement.
|
|
132
|
+
|
|
133
|
+
b. The License Key is obtained through fraud, unauthorized payment methods, or other unlawful means.
|
|
134
|
+
|
|
135
|
+
c. A payment is reversed, charged back, or otherwise invalidated after the License Key has been issued, subject to applicable payment dispute procedures.
|
|
136
|
+
|
|
137
|
+
d. The Licensee redistributes or sublicenses the Software in violation of this agreement.
|
|
138
|
+
|
|
139
|
+
Where reasonably possible, the Licensor will provide written notice describing the violation and a reasonable opportunity to correct it before revocation.
|
|
140
|
+
|
|
141
|
+
Upon valid termination or revocation:
|
|
142
|
+
|
|
143
|
+
a. The Licensee must stop production use of the Software on the affected Licensed Website.
|
|
144
|
+
|
|
145
|
+
b. The Software may display its watermark and license warning on the affected website.
|
|
146
|
+
|
|
147
|
+
c. The Licensee must remove or replace the Software if continued licensed use is no longer authorized.
|
|
148
|
+
|
|
149
|
+
d. The Licensee may contact the Licensor to resolve a disputed suspension or revocation.
|
|
150
|
+
|
|
151
|
+
A revocation becomes technically effective when the affected website receives or installs a Software version that recognizes the revoked License Key.
|
|
152
|
+
|
|
153
|
+
Nothing in this section removes any rights that cannot legally be excluded under applicable law.
|
|
154
|
+
|
|
155
|
+
## 8. Ownership and Intellectual Property
|
|
156
|
+
|
|
157
|
+
The Software is licensed, not sold.
|
|
158
|
+
|
|
159
|
+
The Licensor retains ownership of all intellectual property rights in the Software, including its source code, architecture, design, documentation, branding, and associated materials, except for third-party components.
|
|
160
|
+
|
|
161
|
+
This agreement does not transfer ownership of the Software to the Licensee.
|
|
162
|
+
|
|
163
|
+
The Licensee receives only the rights expressly granted under this agreement.
|
|
164
|
+
|
|
165
|
+
Nothing in this agreement grants the Licensee ownership of or rights to the next-flipbook name, trademarks, logos, or branding.
|
|
166
|
+
|
|
167
|
+
## 9. Third-Party Software
|
|
168
|
+
|
|
169
|
+
The Software may include or depend on third-party libraries, frameworks, and components, including React and PDF.js.
|
|
170
|
+
|
|
171
|
+
Such third-party components remain subject to their respective licenses and copyright notices.
|
|
172
|
+
|
|
173
|
+
This commercial license does not replace, override, or modify the licensing terms of third-party software.
|
|
19
174
|
|
|
20
|
-
|
|
175
|
+
The Licensor will identify applicable third-party licenses where required.
|
|
21
176
|
|
|
22
|
-
|
|
23
|
-
"Licensed Website" is the website name a License Key names, and the subdomains of that name.
|
|
24
|
-
"Project" is the one website or web application that is served from the Licensed Website.
|
|
25
|
-
"Development Address" is a local or private-network address: localhost, an address in a private
|
|
26
|
-
range (10.x.x.x, 172.16-31.x.x, 192.168.x.x, 127.x.x.x), or a name ending in .local, .localhost,
|
|
27
|
-
.test or .internal.
|
|
177
|
+
## 10. No Warranty
|
|
28
178
|
|
|
29
|
-
|
|
179
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE", WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
|
|
30
180
|
|
|
31
|
-
|
|
32
|
-
Key and at no charge.
|
|
33
|
-
b. With a valid License Key for a Licensed Website, use the Software in the Project, in
|
|
34
|
-
production and in testing, and include it in the Project's build and in what the Project
|
|
35
|
-
sends to its visitors.
|
|
36
|
-
c. Read the source code, for the purpose of understanding the Software and fixing your own use of it.
|
|
181
|
+
The Licensor does not guarantee that the Software will be uninterrupted, error-free, compatible with every environment, or suitable for every particular use.
|
|
37
182
|
|
|
38
|
-
|
|
39
|
-
the License Key.
|
|
183
|
+
Nothing in this section excludes warranties or rights that cannot legally be excluded.
|
|
40
184
|
|
|
41
|
-
|
|
185
|
+
## 11. Limitation of Liability
|
|
42
186
|
|
|
43
|
-
|
|
44
|
-
License Key on any other website or in any other project, and may not give, sell, publish or
|
|
45
|
-
share it so that another party can use it. A second website, or a project for a different
|
|
46
|
-
customer, needs its own License Key. [An agency that builds sites for clients needs a License Key
|
|
47
|
-
for each client's site.]
|
|
187
|
+
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW:
|
|
48
188
|
|
|
49
|
-
|
|
189
|
+
a. The Licensor shall not be liable for indirect, incidental, special, exemplary, or consequential damages.
|
|
50
190
|
|
|
51
|
-
|
|
52
|
-
or change the Software so that a website without a valid License Key looks as if it had one.
|
|
53
|
-
b. Sell, rent, sublicense, publish, or otherwise make the Software available to others, whole or in
|
|
54
|
-
part, in source form, compiled form, or inside a package, template or library of your own,
|
|
55
|
-
except as part of the Project's own output to its visitors.
|
|
56
|
-
c. Use the Software to make a product that competes with it.
|
|
57
|
-
d. Use the Software in production on a website that has no valid License Key.
|
|
191
|
+
b. The Licensor shall not be liable for loss of profits, revenue, business opportunities, data, or business interruption arising from the use of or inability to use the Software.
|
|
58
192
|
|
|
59
|
-
|
|
193
|
+
c. The Licensor's total aggregate liability arising from or relating to this agreement shall not exceed the license fee actually paid by the Licensee for the relevant License Key.
|
|
60
194
|
|
|
61
|
-
|
|
62
|
-
Licensor may withdraw a License Key if you break this license, or if the fee for it is not paid
|
|
63
|
-
[when due]. When a License Key ends or is withdrawn, the Software shows its watermark on the
|
|
64
|
-
Licensed Website, and you must stop using the Software there in production, or obtain a new
|
|
65
|
-
License Key. A withdrawal takes effect for a website when it installs a version of the Software
|
|
66
|
-
that lists the withdrawal.
|
|
195
|
+
These limitations do not apply to liability that cannot legally be excluded or limited under applicable law.
|
|
67
196
|
|
|
68
|
-
|
|
197
|
+
## 12. Governing Law and Jurisdiction
|
|
69
198
|
|
|
70
|
-
|
|
71
|
-
give you. Nothing here gives you any right to the name "next-flipbook".
|
|
199
|
+
This agreement shall be governed by the laws of [SRI LANKA / OTHER JURISDICTION], without regard to conflict-of-law principles.
|
|
72
200
|
|
|
73
|
-
|
|
201
|
+
Any disputes arising from or relating to this agreement shall be subject to the jurisdiction of the competent courts of [COLOMBO, SRI LANKA / OTHER AGREED JURISDICTION], subject to mandatory legal protections and jurisdictional requirements.
|
|
74
202
|
|
|
75
|
-
|
|
76
|
-
license does not change those.
|
|
203
|
+
## 13. Changes to This Agreement
|
|
77
204
|
|
|
78
|
-
|
|
205
|
+
The Licensor may publish updated versions of this agreement.
|
|
79
206
|
|
|
80
|
-
|
|
81
|
-
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
|
|
207
|
+
Changes to the agreement will not automatically remove or reduce the perpetual usage rights already granted under a previously purchased License Key.
|
|
82
208
|
|
|
83
|
-
|
|
209
|
+
Any material changes affecting existing Licensees must be communicated appropriately and will be subject to applicable law.
|
|
84
210
|
|
|
85
|
-
|
|
86
|
-
ANY LOSS OF PROFIT, DATA OR BUSINESS, ARISING FROM THE SOFTWARE, AND THE LICENSOR'S TOTAL LIABILITY IS
|
|
87
|
-
LIMITED TO THE FEE YOU PAID FOR THE LICENSE KEY IN THE [12] MONTHS BEFORE THE CLAIM.
|
|
88
|
-
[A lawyer should check this against the law of the places your customers are in.]
|
|
211
|
+
## 14. Contact Information
|
|
89
212
|
|
|
90
|
-
|
|
213
|
+
For licensing questions, technical inquiries, domain migrations, and license-related support:
|
|
91
214
|
|
|
92
|
-
|
|
93
|
-
|
|
215
|
+
**Licensor:** Samith Mendis
|
|
216
|
+
**Email:** samithmendis.01@gmail.com
|
|
217
|
+
**GitHub:** https://github.com/dsamithmendis
|
|
94
218
|
|
|
95
|
-
|
|
219
|
+
---
|
|
96
220
|
|
|
97
|
-
|
|
221
|
+
Copyright (c) 2026 Samith Mendis. All rights reserved.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next-flipbook",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "A realistic, responsive flipbook engine for React and Next.js. Drag to turn, pinch to zoom, thumbnails, bookmarks, fullscreen, print and share. PDFs via PDF.js.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flipbook",
|