@glassly/cloud-client 0.4.4-dev.1312 → 0.4.4-dev.1314
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 +4 -1
- package/package.json +2 -2
- package/src/modules/core/core.ts +2 -0
package/README.md
CHANGED
|
@@ -59,7 +59,10 @@ if (listing.iconUrl) {
|
|
|
59
59
|
|
|
60
60
|
Listings include identity, tagline, description, tags, author, featured status,
|
|
61
61
|
published version, miniapp type and Always On default, permissions, hardware
|
|
62
|
-
requirements, icon
|
|
62
|
+
requirements, the icon URL, and bundle `{url, sha256, sizeBytes}`. Screenshots
|
|
63
|
+
come in two galleries, `glassesScreenshots` (the glasses display, wide) and
|
|
64
|
+
`phoneScreenshots` (the miniapp's phone page, portrait), each `{url, width, height}`
|
|
65
|
+
in display order; `screenshots` repeats the glasses set for older hosts.
|
|
63
66
|
Fetch icons and screenshots through `fetchAsset` so Core receives the user's
|
|
64
67
|
Bearer token. The host owns installation, compatibility checks, and updates;
|
|
65
68
|
listing or fetching an asset does not install a miniapp. These APIs belong to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glassly/cloud-client",
|
|
3
|
-
"version": "0.4.4-dev.
|
|
3
|
+
"version": "0.4.4-dev.1314",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"test": "bun test"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@glassly/cloud-protocol": "0.4.4-dev.
|
|
15
|
+
"@glassly/cloud-protocol": "0.4.4-dev.1314",
|
|
16
16
|
"tweetnacl": "^1.0.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/modules/core/core.ts
CHANGED
|
@@ -81,6 +81,8 @@ export interface StoreListing {
|
|
|
81
81
|
/** Authenticated asset URL; fetch through `core.store.fetchAsset`. */
|
|
82
82
|
iconUrl: string | null;
|
|
83
83
|
screenshots: StoreListingScreenshot[];
|
|
84
|
+
glassesScreenshots: StoreListingScreenshot[];
|
|
85
|
+
phoneScreenshots: StoreListingScreenshot[];
|
|
84
86
|
bundle: { url: string; sha256: string; sizeBytes: number };
|
|
85
87
|
publishedAt: string;
|
|
86
88
|
updatedAt: string;
|