@tera-system/pro 0.1.2 → 0.1.3
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/MANIFEST.json +1 -1
- package/package.json +2 -2
- package/scripts/install.js +4 -1
package/MANIFEST.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tera-system/pro",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Tera System Pro
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Tera System Pro أ¢â‚¬â€ commercial edition with enforced license gate, server sync, and heartbeat verification",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"engines": {
|
package/scripts/install.js
CHANGED
|
@@ -261,7 +261,10 @@ async function verifyViaAPI(licenseKey) {
|
|
|
261
261
|
clearTimeout(timeout);
|
|
262
262
|
|
|
263
263
|
if (!res.ok) {
|
|
264
|
-
|
|
264
|
+
// Server responded with an error status (e.g. 404 while the endpoint is
|
|
265
|
+
// not implemented yet, or 5xx). This is NOT a definitive license verdict —
|
|
266
|
+
// treat it as "API unavailable" so the offline Ed25519 fallback runs.
|
|
267
|
+
return { ok: false, state: "Unknown", reason: `api-http-${res.status}`, source: "api-fallback" };
|
|
265
268
|
}
|
|
266
269
|
|
|
267
270
|
const data = await res.json();
|