@glassly/cloud-client 0.3.0-beta.489 → 0.3.0-dev.460
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 +2 -2
- package/src/modules/core/core.ts +1 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glassly/cloud-client",
|
|
3
|
-
"version": "0.3.0-
|
|
3
|
+
"version": "0.3.0-dev.460",
|
|
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-
|
|
15
|
+
"@glassly/cloud-protocol": "0.3.0-dev.460",
|
|
16
16
|
"tweetnacl": "^1.0.3"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/modules/core/core.ts
CHANGED
|
@@ -68,10 +68,8 @@ export interface StoreListing {
|
|
|
68
68
|
author: { name: string; verified: boolean };
|
|
69
69
|
/** The active (published) release version. */
|
|
70
70
|
version: string;
|
|
71
|
-
type: "standard" | "background" | "
|
|
71
|
+
type: "standard" | "background" | "system_dashboard";
|
|
72
72
|
alwaysOn: boolean;
|
|
73
|
-
/** Lowest Glassly App version the release runs on; null when the manifest sets none. */
|
|
74
|
-
minHostVersion: string | null;
|
|
75
73
|
permissions: StoreListingPermission[];
|
|
76
74
|
hardwareRequirements: StoreListingHardwareRequirement[];
|
|
77
75
|
/** Authenticated asset URL; fetch through `core.store.fetchAsset`. */
|
|
@@ -105,12 +103,6 @@ export interface StoreCatalogResponse {
|
|
|
105
103
|
listings: StoreListing[];
|
|
106
104
|
}
|
|
107
105
|
|
|
108
|
-
/**
|
|
109
|
-
* `install_once`: installed by default, once. `mandatory`: reinstalled
|
|
110
|
-
* whenever it is missing. Neither updates a miniapp the phone has; the Store
|
|
111
|
-
* does. `keep_updated` is from before the Store had an update path; phones
|
|
112
|
-
* now treat it like `install_once`.
|
|
113
|
-
*/
|
|
114
106
|
export type PreinstalledInstallPolicy =
|
|
115
107
|
| "install_once"
|
|
116
108
|
| "keep_updated"
|
|
@@ -121,11 +113,6 @@ export interface PreinstalledMiniappRegistryEntry {
|
|
|
121
113
|
version: string;
|
|
122
114
|
bundleUrl: string;
|
|
123
115
|
bundleSha256: string;
|
|
124
|
-
/**
|
|
125
|
-
* Installed by default: a phone without a release of it installs it once,
|
|
126
|
-
* and not again after the user uninstalls it. An entry that is neither
|
|
127
|
-
* required nor `mandatory` does nothing.
|
|
128
|
-
*/
|
|
129
116
|
required: boolean;
|
|
130
117
|
installPolicy: PreinstalledInstallPolicy;
|
|
131
118
|
channel: string;
|