@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tera-system/pro",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Build manifest for the Tera System Pro commercial plugin component.",
5
5
  "compatibleEnvironments": [
6
6
  "opencode"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tera-system/pro",
3
- "version": "0.1.2",
4
- "description": "Tera System Pro — commercial edition with enforced license gate, server sync, and heartbeat verification",
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": {
@@ -261,7 +261,10 @@ async function verifyViaAPI(licenseKey) {
261
261
  clearTimeout(timeout);
262
262
 
263
263
  if (!res.ok) {
264
- return { ok: false, state: "Invalid", reason: `api-http-${res.status}`, source: "api" };
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();