@wix/himalaya-cli 0.1886.0 → 0.1887.0

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.
@@ -31,6 +31,10 @@ export interface AppInfo {
31
31
  * False on older binaries and web. Does not grant member access or guarantee
32
32
  * the site's invitation permission; the server still authorizes each request. */
33
33
  oneAppInviteAvailable?: boolean;
34
+ /** The WEB host sends a picked profile photo to the serve plane as the signed-in member (it is running on a serve plane). Present
35
+ * and true only then: absent on every native host (a worker reads their `binaryVersion` and `serveBaseUrl` instead), on the
36
+ * dev-server and on old hosts, so a worker treats absence as "no". */
37
+ memberPhotoUpload?: boolean;
34
38
  /** The host can read a `_stream` whose `request.format` is "ndjson" (one JSON document per
35
39
  * line). False on binaries built before that format existed, which read such a stream as
36
40
  * server-sent events and deliver nothing, and on web. */
@@ -45,6 +45,7 @@ async function get() {
45
45
  platform: PLATFORMS.includes(platform) ? platform : "unknown",
46
46
  memberSiteBound: r?.memberSiteBound === true,
47
47
  oneAppInviteAvailable: r?.oneAppInviteAvailable === true,
48
+ ...r?.memberPhotoUpload === true ? { memberPhotoUpload: true } : {},
48
49
  ndjsonStreamAvailable: r?.ndjsonStreamAvailable === true,
49
50
  deviceModel: str(r?.deviceModel),
50
51
  deviceName: str(r?.deviceName),
@@ -45,6 +45,7 @@ async function get() {
45
45
  platform: PLATFORMS.includes(platform) ? platform : "unknown",
46
46
  memberSiteBound: r?.memberSiteBound === true,
47
47
  oneAppInviteAvailable: r?.oneAppInviteAvailable === true,
48
+ ...r?.memberPhotoUpload === true ? { memberPhotoUpload: true } : {},
48
49
  ndjsonStreamAvailable: r?.ndjsonStreamAvailable === true,
49
50
  deviceModel: str(r?.deviceModel),
50
51
  deviceName: str(r?.deviceName),
@@ -1823,6 +1823,7 @@ async function get() {
1823
1823
  platform: PLATFORMS.includes(platform) ? platform : "unknown",
1824
1824
  memberSiteBound: r?.memberSiteBound === true,
1825
1825
  oneAppInviteAvailable: r?.oneAppInviteAvailable === true,
1826
+ ...r?.memberPhotoUpload === true ? { memberPhotoUpload: true } : {},
1826
1827
  ndjsonStreamAvailable: r?.ndjsonStreamAvailable === true,
1827
1828
  deviceModel: str(r?.deviceModel),
1828
1829
  deviceName: str(r?.deviceName),
@@ -2,7 +2,7 @@
2
2
  "files": [
3
3
  {
4
4
  "name": "sw.js",
5
- "bytes": 2763796
5
+ "bytes": 2765454
6
6
  },
7
7
  {
8
8
  "name": "host.html",
@@ -21,7 +21,7 @@
21
21
  "bytes": 24320
22
22
  },
23
23
  {
24
- "name": "preview-deferred/3c60676d1298b453781d40ec97d5ab59bdc85b33b983653e9c5fd750ac11c8a0.bin",
24
+ "name": "preview-deferred/d4250730f37a006c948187a7640453097348fa24695586a3d0014c041511c896.bin",
25
25
  "bytes": 488215
26
26
  },
27
27
  {
@@ -79,10 +79,10 @@
79
79
  ],
80
80
  "deferred": [
81
81
  {
82
- "key": "assets/pdf-ZiMxTL7H.js",
82
+ "key": "assets/pdf-BmHnRkPb.js",
83
83
  "contentType": "application/javascript; charset=utf-8",
84
- "sha256": "3c60676d1298b453781d40ec97d5ab59bdc85b33b983653e9c5fd750ac11c8a0",
85
- "file": "preview-deferred/3c60676d1298b453781d40ec97d5ab59bdc85b33b983653e9c5fd750ac11c8a0.bin"
84
+ "sha256": "d4250730f37a006c948187a7640453097348fa24695586a3d0014c041511c896",
85
+ "file": "preview-deferred/d4250730f37a006c948187a7640453097348fa24695586a3d0014c041511c896.bin"
86
86
  },
87
87
  {
88
88
  "key": "assets/pdf.worker.min-BGnVRhRG.js",