@glassly/cloud-client 0.4.3-dev.1302 → 0.4.4-beta.1317

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
@@ -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 and screenshot URLs, and bundle `{url, sha256, sizeBytes}`.
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.3-dev.1302",
3
+ "version": "0.4.4-beta.1317",
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.3-dev.1302",
15
+ "@glassly/cloud-protocol": "0.4.4-beta.1317",
16
16
  "tweetnacl": "^1.0.3"
17
17
  },
18
18
  "devDependencies": {
@@ -61,6 +61,8 @@ export type {
61
61
  * resource, not part of the live session wire contract.
62
62
  */
63
63
  export interface StoreListing {
64
+ importSource?: {tag: string; name: string}
65
+ requiredGlassesModel?: string
64
66
  packageName: string;
65
67
  name: string;
66
68
  tagline: string;
@@ -79,6 +81,8 @@ export interface StoreListing {
79
81
  /** Authenticated asset URL; fetch through `core.store.fetchAsset`. */
80
82
  iconUrl: string | null;
81
83
  screenshots: StoreListingScreenshot[];
84
+ glassesScreenshots: StoreListingScreenshot[];
85
+ phoneScreenshots: StoreListingScreenshot[];
82
86
  bundle: { url: string; sha256: string; sizeBytes: number };
83
87
  publishedAt: string;
84
88
  updatedAt: string;
@@ -109,6 +113,7 @@ export interface StoreCatalogResponse {
109
113
 
110
114
  /** One published release of a listing (`GET /api/client/store/:packageName/releases`). */
111
115
  export interface StoreRelease {
116
+ requiredGlassesModel?: string
112
117
  version: string;
113
118
  /** The listing's active release. */
114
119
  current: boolean;