@glassly/cloud-client 0.3.0-dev.472 → 0.3.0-dev.478

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glassly/cloud-client",
3
- "version": "0.3.0-dev.472",
3
+ "version": "0.3.0-dev.478",
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.3.0-dev.472",
15
+ "@glassly/cloud-protocol": "0.3.0-dev.478",
16
16
  "tweetnacl": "^1.0.3"
17
17
  },
18
18
  "devDependencies": {
@@ -103,6 +103,12 @@ export interface StoreCatalogResponse {
103
103
  listings: StoreListing[];
104
104
  }
105
105
 
106
+ /**
107
+ * `install_once`: installed by default, once. `mandatory`: reinstalled
108
+ * whenever it is missing. Neither updates a miniapp the phone has; the Store
109
+ * does. `keep_updated` is from before the Store had an update path; phones
110
+ * now treat it like `install_once`.
111
+ */
106
112
  export type PreinstalledInstallPolicy =
107
113
  | "install_once"
108
114
  | "keep_updated"
@@ -113,6 +119,11 @@ export interface PreinstalledMiniappRegistryEntry {
113
119
  version: string;
114
120
  bundleUrl: string;
115
121
  bundleSha256: string;
122
+ /**
123
+ * Installed by default: a phone without a release of it installs it once,
124
+ * and not again after the user uninstalls it. An entry that is neither
125
+ * required nor `mandatory` does nothing.
126
+ */
116
127
  required: boolean;
117
128
  installPolicy: PreinstalledInstallPolicy;
118
129
  channel: string;