@sky.ui.pro/core 0.0.4 → 0.0.5

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/README.md CHANGED
@@ -8,7 +8,7 @@ Requires an active Sky UI Pro subscription. Install alongside `@sky.ui/core` whe
8
8
 
9
9
  ```bash
10
10
  npx sky.ui.pro login
11
- npm install "@sky.ui.pro/core" "@sky.ui/core"
11
+ npm install "@sky.ui.pro/core"
12
12
  ```
13
13
 
14
14
  > Quote scoped names (`"@sky.ui/…"`) — required in PowerShell. See [powershell-scoped-packages.md](../../docs/powershell-scoped-packages.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sky.ui.pro/core",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Sky UI Pro web components — installs full package via postinstall (online license).",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
package/scripts/token.mjs CHANGED
@@ -80,7 +80,7 @@ export async function validateAccessTokenOnline(token, apiBase) {
80
80
  });
81
81
  const data = await res.json().catch(() => ({}));
82
82
  if (res.ok && data.active) {
83
- return { active: true, status: "active", ...data };
83
+ return { active: true, status: "active", tokenKind: data.tokenKind };
84
84
  }
85
85
  return {
86
86
  active: false,