@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 +1 -1
- package/package.json +1 -1
- package/scripts/token.mjs +1 -1
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"
|
|
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
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",
|
|
83
|
+
return { active: true, status: "active", tokenKind: data.tokenKind };
|
|
84
84
|
}
|
|
85
85
|
return {
|
|
86
86
|
active: false,
|