@wix/himalaya-cli 0.2036.0 → 0.2038.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.
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/_types/core/ts/src/site-shell.d.ts +21 -1
- package/dist/authoring-runtime/node_modules/@wix/himalaya/dist/core.mjs +5 -2
- package/dist/cli.mjs +1135 -1090
- package/guides/himi-json-output.md +1 -0
- package/guides/push-cli-onboarding.md +7 -3
- package/package.json +2 -2
- package/templates/brandy/config.ts +5 -9
|
@@ -438,6 +438,7 @@ target the command read, e.g. `himi login --browser --target wix`.
|
|
|
438
438
|
| `owner_login_required` | No usable owner login: the control token is missing or has no subject, or the plane answered 401/403 to the owner-apps read (`GET /v1/owner/apps`). Run `himi login`. Other failures of that read stay `app_ownership_unknown`. |
|
|
439
439
|
| `flag_not_supported_with_ping` | A local-sender flag was passed with `--provider ping`; `flag` names it. `--badge` is one: Ping has no badge field, and for a Branded app Ping sets the iOS badge itself from the member's unseen Ping feed items. |
|
|
440
440
|
| `all_members_not_supported_for_site_app` | `--all-members` with a site app's project token (a site lease). Its roster pre-check needs the account that owns the site, which the lease does not name; send to one member with `--member-email`. |
|
|
441
|
+
| `ping_family_not_targetable` | `notify send --provider ping` for an app whose served `pingAppName` no test-send path reaches: not `WixBranded*` (Ping's member send) and not `WixWebShell*` (the dashboard's owner push, unless the plane turned that sender off). The plane refuses with HTTP 409 before any member lookup; prove delivery with a real Wix product notification. |
|
|
441
442
|
| `invalid_platforms` | `notify setup --platforms` named an unknown, empty or repeated store. Pass `ios`, `android` or `ios,android`. |
|
|
442
443
|
| `ios_input_without_ios_platform` | `notify setup --platforms android` was given APNs or App Store Connect input (or `--apple-signing`). An Android-only run provisions no iOS store; drop the Apple input or add `ios`. |
|
|
443
444
|
|
|
@@ -379,8 +379,10 @@ build do not prove device delivery. See [QA builds](qa-builds.md) for prerequisi
|
|
|
379
379
|
## Send a test notification
|
|
380
380
|
|
|
381
381
|
Once status is `ready` and a signed-in member's device has registered, send that member one
|
|
382
|
-
notification through Ping.
|
|
383
|
-
|
|
382
|
+
notification through Ping. You need no Apple or Firebase key files and no Wix internal tooling.
|
|
383
|
+
Himi Serve sends it as Himalaya, except to a WebShell app (`pingAppName: "WixWebShell"`, the
|
|
384
|
+
`brandy` template): Ping's gateway cannot reach that app, so the send goes out as the dashboard's
|
|
385
|
+
owner push, made with your site token, as the site owner:
|
|
384
386
|
|
|
385
387
|
```sh
|
|
386
388
|
himi login --browser --target wix
|
|
@@ -396,7 +398,8 @@ himi notify send --provider ping --target wix --content ./liftgear \
|
|
|
396
398
|
|
|
397
399
|
`--content` supplies the app and site (or pass `--app` and `--site`). Log in to both CLIs as
|
|
398
400
|
the owner of the app and the site. Himi also mints a site token with `wix token --site`; the
|
|
399
|
-
server uses it
|
|
401
|
+
server uses it to look up the member by login email on that one site and, for a WebShell app
|
|
402
|
+
only, to send the notification itself. That token must
|
|
400
403
|
belong to a Wix USER, so `notify send` needs `wix login` even when `WIX_API_KEY` is set —
|
|
401
404
|
an API key is an app identity and the member lookup refuses it.
|
|
402
405
|
|
|
@@ -481,6 +484,7 @@ link, is a new notification.
|
|
|
481
484
|
| Error | Meaning |
|
|
482
485
|
| --- | --- |
|
|
483
486
|
| `push_not_ready` | Run `himi notify setup` for this app and site first. |
|
|
487
|
+
| `ping_family_not_targetable` | No test-send path reaches the app's Ping family. `WixBranded*` apps use Ping's member send, and the site shell's `WixWebShell` uses the dashboard's owner push forced to WebShell (unless the plane turned that sender off). Any other family is refused: prove delivery with a real Wix product notification. |
|
|
484
488
|
| `member_not_found` / `member_ambiguous` / `member_not_active` | Use the login email of one approved site member. |
|
|
485
489
|
| `link_not_routable` | The link's scheme or screen is not in the published release, or a Wix link matches none of the app's `push.routes` (or names another site). |
|
|
486
490
|
| `forbidden_site` / `site_token_invalid` | Both Wix logins must belong to the site owner. |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2038.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
|
|
6
6
|
"keywords": [
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"artifactId": "himalaya-cli"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
|
-
"falconPackageHash": "
|
|
85
|
+
"falconPackageHash": "9e56cbca68a48b109c15010e3f7986917ff80a864d4e8583e18a1191"
|
|
86
86
|
}
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
siteServesMemberCart,
|
|
22
22
|
siteTopBarDefault,
|
|
23
23
|
siteWebSdkCompanion,
|
|
24
|
-
|
|
24
|
+
siteShellPush,
|
|
25
25
|
type SiteShellConfig,
|
|
26
26
|
type SiteWebSdk,
|
|
27
27
|
} from "@himalaya/core";
|
|
@@ -268,14 +268,10 @@ export default defineApp({
|
|
|
268
268
|
base44: base44Config,
|
|
269
269
|
// Ask for notification permission on the first launch. Tapped notifications that carry one of
|
|
270
270
|
// your site's URLs open the page's tab (`navigation.site` below).
|
|
271
|
-
// With a Wix member login that names the site (`wix.siteId`), signed-in members register
|
|
272
|
-
//
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
: {
|
|
276
|
-
registrar: "generic",
|
|
277
|
-
requestPermissionOnLaunch: true,
|
|
278
|
-
},
|
|
271
|
+
// With a Wix member login that names the site (`wix.siteId`), signed-in members register with Wix Ping
|
|
272
|
+
// as the WebShell app, so they get the pushes you send them, and a tap opens the matching page of your
|
|
273
|
+
// site. Wix's automatic member notifications (orders, bookings) do not reach a WebShell app yet.
|
|
274
|
+
push: siteShellPush(site, wix),
|
|
279
275
|
// Your brand colours paint the NATIVE chrome (tabs, drawer, splash); the site paints its pages.
|
|
280
276
|
designTokensPath: "./tokens.json",
|
|
281
277
|
// "Ready" means the first page has painted, not just the app shell — otherwise the splash
|