@wix/himalaya-cli 0.1987.0 → 0.1989.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/cli.mjs CHANGED
@@ -44922,7 +44922,6 @@ function resolveIdiom(tokens2, ctx = {}) {
44922
44922
  var IDIOM_CONTEXTS, UNSAFE_KEYS;
44923
44923
  var init_idiom = __esm({
44924
44924
  "../../core/ts/src/idiom.ts"() {
44925
- "use strict";
44926
44925
  init_define_HHP_CATALOG();
44927
44926
  IDIOM_CONTEXTS = {
44928
44927
  ios: { native: ["ios"] },
@@ -130,6 +130,7 @@ either form, so a local `.env` can keep raw JSON.
130
130
  | `release_predates_store_adopt` (409) | the release's commit has a build runner from before adopted builds, which would ship an ordinary QA binary under the listing's id. Publish a new release from `master` |
131
131
  | `store_adopt_shell_required` (400) | an adopted build named a shell other than the app's own |
132
132
  | `store_adopt_release_required` (400) | no release to take the commit from |
133
+ | `store_adopt_add_capabilities` (400) | an adopted build sent `addCapabilities`: it carries what its config.ts declares, so declare the id there |
133
134
  | `store_adopt_signing_unavailable` (501) | minted App Store signing is not configured |
134
135
  | `store_adopt_team_mismatch` (502, signing route) | the minted App Store profile is on another team than the allow-listed one. This is an Apple-account change, not a retry |
135
136
  | `play_internal_not_allowed` (403) | the app has no `android` entry on the allow-list |
@@ -1553,7 +1554,12 @@ himi dist --app <app> --platform android --aab --wait --target bo
1553
1554
  runs without push, as one with no file does. The job shows `storeBuild.firebase`
1554
1555
  (`{ packageName, firebaseProjectId, configSha256 }`) or `storeBuild.firebaseRefused` (the check's
1555
1556
  code), and the build log has a `[dist:firebase]` line. Himalaya makes no Branded or Containers call
1556
- for it. Every check of the plane's own still runs
1557
+ for it. A store build may also send `addCapabilities: ["iap"]`: the binary then links StoreKit /
1558
+ Play Billing although the release declares no `iap`, so an owner who starts selling a digital
1559
+ product later gets the selling screen over the air instead of needing a new binary. The job records
1560
+ it as `addCapabilities`, its `buildCapabilities` include `iap`, and the contract's
1561
+ `native.capabilities` carry it. Only an id with no permission to justify can be added (today only
1562
+ `iap`); any other is `400 dist_add_capabilities_invalid`. Every check of the plane's own still runs
1557
1563
  (shape, release, shell, store marker, icon, kill switch, the per-app cap; for the App Store,
1558
1564
  `PrepareAppleCertificates`, whose bundle id must equal `storeId`: `409 store_id_mismatch`). The app
1559
1565
  must be bound to `metaSiteId` (`403 store_build_site_mismatch`); only the store-build fields are
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1987.0",
3
+ "version": "0.1989.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": "ce74375a8df91a71f94d40fcdf802d13f7b83f7c9869db4d85c1e6b3"
85
+ "falconPackageHash": "457bce367d6dcf8734348d6ececb40c380e44d3669a34c4ec58cee08"
86
86
  }
@@ -3115,270 +3115,368 @@ const SCREENS = runtimeSetting({
3115
3115
  "alignment": "leading",
3116
3116
  "children": [
3117
3117
  {
3118
- "id": "",
3118
+ "id": "himi_sign_in.form",
3119
3119
  "body": {
3120
3120
  "package": "himalaya",
3121
3121
  "type": "VStack",
3122
3122
  "props": {
3123
- "spacing": 4,
3123
+ "spacing": 12,
3124
3124
  "alignment": "leading",
3125
3125
  "children": [
3126
3126
  {
3127
- "id": "himi_sign_in.title",
3127
+ "id": "",
3128
+ "body": {
3129
+ "package": "himalaya",
3130
+ "type": "VStack",
3131
+ "props": {
3132
+ "spacing": 4,
3133
+ "alignment": "leading",
3134
+ "children": [
3135
+ {
3136
+ "id": "himi_sign_in.title",
3137
+ "body": {
3138
+ "package": "himalaya",
3139
+ "type": "Text",
3140
+ "props": {
3141
+ "text": "$service:bareFashionSignIn.authTitle",
3142
+ "style": "title1",
3143
+ "collapseWhenEmpty": true
3144
+ }
3145
+ }
3146
+ },
3147
+ {
3148
+ "id": "",
3149
+ "body": {
3150
+ "package": "himalaya",
3151
+ "type": "Text",
3152
+ "props": {
3153
+ "text": "$service:bareFashionSignIn.authBody",
3154
+ "style": "body",
3155
+ "color": "textPrimary",
3156
+ "collapseWhenEmpty": true
3157
+ }
3158
+ }
3159
+ }
3160
+ ]
3161
+ }
3162
+ },
3163
+ "modifiers": {
3164
+ "fillMaxWidth": true,
3165
+ "padding": {
3166
+ "bottom": 8
3167
+ }
3168
+ }
3169
+ },
3170
+ {
3171
+ "id": "himi_sign_in.first_name",
3172
+ "body": {
3173
+ "package": "himalaya",
3174
+ "type": "TextField",
3175
+ "props": {
3176
+ "placeholder": "First name",
3177
+ "autoCapitalization": "words",
3178
+ "submitLabel": "next",
3179
+ "onSubmit": {
3180
+ "actionId": "tier5.bareFashionSignIn.focusLastName"
3181
+ },
3182
+ "onChange": {
3183
+ "actionId": "tier5.bareFashionSignIn.setFirstName"
3184
+ }
3185
+ }
3186
+ },
3187
+ "modifiers": {
3188
+ "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3189
+ }
3190
+ },
3191
+ {
3192
+ "id": "himi_sign_in.last_name",
3193
+ "body": {
3194
+ "package": "himalaya",
3195
+ "type": "TextField",
3196
+ "props": {
3197
+ "placeholder": "Last name",
3198
+ "autoCapitalization": "words",
3199
+ "focusPath": "$service:bareFashionSignIn.lastNameFocus",
3200
+ "submitLabel": "next",
3201
+ "onSubmit": {
3202
+ "actionId": "tier5.bareFashionSignIn.focusEmail"
3203
+ },
3204
+ "onChange": {
3205
+ "actionId": "tier5.bareFashionSignIn.setLastName"
3206
+ }
3207
+ }
3208
+ },
3209
+ "modifiers": {
3210
+ "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3211
+ }
3212
+ },
3213
+ {
3214
+ "id": "himi_sign_in.email",
3215
+ "body": {
3216
+ "package": "himalaya",
3217
+ "type": "TextField",
3218
+ "props": {
3219
+ "placeholder": "Email",
3220
+ "keyboard": "email",
3221
+ "autoCapitalization": "none",
3222
+ "focusPath": "$service:bareFashionSignIn.emailFocus",
3223
+ "onChange": {
3224
+ "actionId": "tier5.bareFashionSignIn.setEmail"
3225
+ },
3226
+ "errorPath": "$service:bareFashionSignIn.emailError"
3227
+ }
3228
+ }
3229
+ },
3230
+ {
3231
+ "id": "himi_sign_in.password",
3232
+ "body": {
3233
+ "package": "himalaya",
3234
+ "type": "TextField",
3235
+ "props": {
3236
+ "placeholder": "Password",
3237
+ "secure": true,
3238
+ "autoCapitalization": "none",
3239
+ "onChange": {
3240
+ "actionId": "tier5.bareFashionSignIn.setPassword"
3241
+ },
3242
+ "errorPath": "$service:bareFashionSignIn.passwordError",
3243
+ "focusPath": "$service:bareFashionSignIn.passwordFocus"
3244
+ }
3245
+ },
3246
+ "modifiers": {
3247
+ "hiddenPath": "$service:bareFashionSignIn.isRecovering"
3248
+ }
3249
+ },
3250
+ {
3251
+ "id": "himi_sign_in.message",
3128
3252
  "body": {
3129
3253
  "package": "himalaya",
3130
3254
  "type": "Text",
3131
3255
  "props": {
3132
- "text": "$service:bareFashionSignIn.authTitle",
3133
- "style": "title1",
3256
+ "text": "$service:bareFashionSignIn.errorMessage",
3257
+ "style": "footnote",
3258
+ "color": "danger",
3134
3259
  "collapseWhenEmpty": true
3135
3260
  }
3136
3261
  }
3137
3262
  },
3138
3263
  {
3139
- "id": "",
3264
+ "id": "himi_sign_in.notice",
3140
3265
  "body": {
3141
3266
  "package": "himalaya",
3142
3267
  "type": "Text",
3143
3268
  "props": {
3144
- "text": "$service:bareFashionSignIn.authBody",
3145
- "style": "body",
3146
- "color": "textPrimary",
3269
+ "text": "$service:bareFashionSignIn.noticeMessage",
3270
+ "style": "footnote",
3271
+ "color": "success",
3147
3272
  "collapseWhenEmpty": true
3148
3273
  }
3149
3274
  }
3275
+ },
3276
+ {
3277
+ "id": "himi_sign_in.signin",
3278
+ "body": {
3279
+ "package": "himalaya",
3280
+ "type": "Button",
3281
+ "props": {
3282
+ "title": "SIGN IN",
3283
+ "style": "primary",
3284
+ "fullWidth": true,
3285
+ "action": {
3286
+ "actionId": "tier5.bareFashionSignIn.signIn"
3287
+ },
3288
+ "cornerRadius": 4,
3289
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3290
+ }
3291
+ },
3292
+ "modifiers": {
3293
+ "hiddenPath": "$service:bareFashionSignIn.hideSignInChoices"
3294
+ }
3295
+ },
3296
+ {
3297
+ "id": "himi_sign_in.register",
3298
+ "body": {
3299
+ "package": "himalaya",
3300
+ "type": "Button",
3301
+ "props": {
3302
+ "title": "CREATE ACCOUNT",
3303
+ "style": "primary",
3304
+ "fullWidth": true,
3305
+ "action": {
3306
+ "actionId": "tier5.bareFashionSignIn.register"
3307
+ },
3308
+ "cornerRadius": 4,
3309
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3310
+ }
3311
+ },
3312
+ "modifiers": {
3313
+ "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3314
+ }
3315
+ },
3316
+ {
3317
+ "id": "himi_sign_in.reset_password",
3318
+ "body": {
3319
+ "package": "himalaya",
3320
+ "type": "Button",
3321
+ "props": {
3322
+ "title": "SEND RESET LINK",
3323
+ "style": "primary",
3324
+ "fullWidth": true,
3325
+ "action": {
3326
+ "actionId": "tier5.bareFashionSignIn.resetPassword"
3327
+ },
3328
+ "cornerRadius": 4,
3329
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3330
+ }
3331
+ },
3332
+ "modifiers": {
3333
+ "hiddenPath": "$service:bareFashionSignIn.notRecovering"
3334
+ }
3335
+ },
3336
+ {
3337
+ "id": "himi_sign_in.show_register",
3338
+ "body": {
3339
+ "package": "himalaya",
3340
+ "type": "Button",
3341
+ "props": {
3342
+ "title": "CREATE ACCOUNT",
3343
+ "style": "secondary",
3344
+ "fullWidth": true,
3345
+ "action": {
3346
+ "actionId": "tier5.bareFashionSignIn.showRegister"
3347
+ },
3348
+ "cornerRadius": 4,
3349
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3350
+ }
3351
+ },
3352
+ "modifiers": {
3353
+ "hiddenPath": "$service:bareFashionSignIn.hideSignInChoices"
3354
+ }
3355
+ },
3356
+ {
3357
+ "id": "himi_sign_in.show_signin",
3358
+ "body": {
3359
+ "package": "himalaya",
3360
+ "type": "Button",
3361
+ "props": {
3362
+ "title": "SIGN IN INSTEAD",
3363
+ "style": "secondary",
3364
+ "fullWidth": true,
3365
+ "action": {
3366
+ "actionId": "tier5.bareFashionSignIn.showSignIn"
3367
+ },
3368
+ "cornerRadius": 4,
3369
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3370
+ }
3371
+ },
3372
+ "modifiers": {
3373
+ "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3374
+ }
3375
+ },
3376
+ {
3377
+ "id": "himi_sign_in.cancel_recovery",
3378
+ "body": {
3379
+ "package": "himalaya",
3380
+ "type": "Button",
3381
+ "props": {
3382
+ "title": "BACK TO SIGN IN",
3383
+ "style": "secondary",
3384
+ "fullWidth": true,
3385
+ "action": {
3386
+ "actionId": "tier5.bareFashionSignIn.showSignIn"
3387
+ },
3388
+ "cornerRadius": 4,
3389
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3390
+ }
3391
+ },
3392
+ "modifiers": {
3393
+ "hiddenPath": "$service:bareFashionSignIn.notRecovering"
3394
+ }
3395
+ },
3396
+ {
3397
+ "id": "himi_sign_in.show_recovery",
3398
+ "body": {
3399
+ "package": "himalaya",
3400
+ "type": "Button",
3401
+ "props": {
3402
+ "title": "Forgot password?",
3403
+ "style": "plain",
3404
+ "fullWidth": true,
3405
+ "action": {
3406
+ "actionId": "tier5.bareFashionSignIn.showRecovery"
3407
+ },
3408
+ "cornerRadius": 4,
3409
+ "disabledPath": "$service:bareFashionSignIn.authBusy"
3410
+ }
3411
+ },
3412
+ "modifiers": {
3413
+ "hiddenPath": "$service:bareFashionSignIn.hideSignInChoices"
3414
+ }
3150
3415
  }
3151
3416
  ]
3152
3417
  }
3153
3418
  },
3154
3419
  "modifiers": {
3155
- "fillMaxWidth": true,
3156
- "padding": {
3157
- "bottom": 8
3158
- }
3159
- }
3160
- },
3161
- {
3162
- "id": "himi_sign_in.first_name",
3163
- "body": {
3164
- "package": "himalaya",
3165
- "type": "TextField",
3166
- "props": {
3167
- "placeholder": "First name",
3168
- "autoCapitalization": "words",
3169
- "submitLabel": "next",
3170
- "onSubmit": {
3171
- "actionId": "tier5.bareFashionSignIn.focusLastName"
3172
- },
3173
- "onChange": {
3174
- "actionId": "tier5.bareFashionSignIn.setFirstName"
3175
- }
3176
- }
3177
- },
3178
- "modifiers": {
3179
- "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3180
- }
3181
- },
3182
- {
3183
- "id": "himi_sign_in.last_name",
3184
- "body": {
3185
- "package": "himalaya",
3186
- "type": "TextField",
3187
- "props": {
3188
- "placeholder": "Last name",
3189
- "autoCapitalization": "words",
3190
- "focusPath": "$service:bareFashionSignIn.lastNameFocus",
3191
- "submitLabel": "next",
3192
- "onSubmit": {
3193
- "actionId": "tier5.bareFashionSignIn.focusEmail"
3194
- },
3195
- "onChange": {
3196
- "actionId": "tier5.bareFashionSignIn.setLastName"
3197
- }
3198
- }
3199
- },
3200
- "modifiers": {
3201
- "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3202
- }
3203
- },
3204
- {
3205
- "id": "himi_sign_in.email",
3206
- "body": {
3207
- "package": "himalaya",
3208
- "type": "TextField",
3209
- "props": {
3210
- "placeholder": "Email",
3211
- "keyboard": "email",
3212
- "autoCapitalization": "none",
3213
- "focusPath": "$service:bareFashionSignIn.emailFocus",
3214
- "onChange": {
3215
- "actionId": "tier5.bareFashionSignIn.setEmail"
3216
- }
3217
- }
3218
- }
3219
- },
3220
- {
3221
- "id": "himi_sign_in.password",
3222
- "body": {
3223
- "package": "himalaya",
3224
- "type": "TextField",
3225
- "props": {
3226
- "placeholder": "Password",
3227
- "secure": true,
3228
- "autoCapitalization": "none",
3229
- "onChange": {
3230
- "actionId": "tier5.bareFashionSignIn.setPassword"
3231
- }
3232
- }
3233
- },
3234
- "modifiers": {
3235
- "hiddenPath": "$service:bareFashionSignIn.isRecovering"
3236
- }
3237
- },
3238
- {
3239
- "id": "himi_sign_in.message",
3240
- "body": {
3241
- "package": "himalaya",
3242
- "type": "Text",
3243
- "props": {
3244
- "text": "$service:bareFashionSignIn.message",
3245
- "style": "footnote",
3246
- "color": "textPrimary",
3247
- "collapseWhenEmpty": true
3248
- }
3249
- }
3250
- },
3251
- {
3252
- "id": "himi_sign_in.signin",
3253
- "body": {
3254
- "package": "himalaya",
3255
- "type": "Button",
3256
- "props": {
3257
- "title": "SIGN IN",
3258
- "style": "primary",
3259
- "fullWidth": true,
3260
- "action": {
3261
- "actionId": "tier5.bareFashionSignIn.signIn"
3262
- },
3263
- "cornerRadius": 4
3264
- }
3265
- },
3266
- "modifiers": {
3267
- "hiddenPath": "$service:bareFashionSignIn.hideSignInChoices"
3268
- }
3269
- },
3270
- {
3271
- "id": "himi_sign_in.register",
3272
- "body": {
3273
- "package": "himalaya",
3274
- "type": "Button",
3275
- "props": {
3276
- "title": "CREATE ACCOUNT",
3277
- "style": "primary",
3278
- "fullWidth": true,
3279
- "action": {
3280
- "actionId": "tier5.bareFashionSignIn.register"
3281
- },
3282
- "cornerRadius": 4
3283
- }
3284
- },
3285
- "modifiers": {
3286
- "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3287
- }
3288
- },
3289
- {
3290
- "id": "himi_sign_in.reset_password",
3291
- "body": {
3292
- "package": "himalaya",
3293
- "type": "Button",
3294
- "props": {
3295
- "title": "SEND RESET LINK",
3296
- "style": "primary",
3297
- "fullWidth": true,
3298
- "action": {
3299
- "actionId": "tier5.bareFashionSignIn.resetPassword"
3300
- },
3301
- "cornerRadius": 4
3302
- }
3303
- },
3304
- "modifiers": {
3305
- "hiddenPath": "$service:bareFashionSignIn.notRecovering"
3306
- }
3307
- },
3308
- {
3309
- "id": "himi_sign_in.show_register",
3310
- "body": {
3311
- "package": "himalaya",
3312
- "type": "Button",
3313
- "props": {
3314
- "title": "CREATE ACCOUNT",
3315
- "style": "secondary",
3316
- "fullWidth": true,
3317
- "action": {
3318
- "actionId": "tier5.bareFashionSignIn.showRegister"
3319
- },
3320
- "cornerRadius": 4
3321
- }
3322
- },
3323
- "modifiers": {
3324
- "hiddenPath": "$service:bareFashionSignIn.hideSignInChoices"
3325
- }
3326
- },
3327
- {
3328
- "id": "himi_sign_in.show_signin",
3329
- "body": {
3330
- "package": "himalaya",
3331
- "type": "Button",
3332
- "props": {
3333
- "title": "SIGN IN INSTEAD",
3334
- "style": "secondary",
3335
- "fullWidth": true,
3336
- "action": {
3337
- "actionId": "tier5.bareFashionSignIn.showSignIn"
3338
- },
3339
- "cornerRadius": 4
3340
- }
3341
- },
3342
- "modifiers": {
3343
- "hiddenPath": "$service:bareFashionSignIn.notRegistering"
3344
- }
3345
- },
3346
- {
3347
- "id": "himi_sign_in.cancel_recovery",
3348
- "body": {
3349
- "package": "himalaya",
3350
- "type": "Button",
3351
- "props": {
3352
- "title": "BACK TO SIGN IN",
3353
- "style": "secondary",
3354
- "fullWidth": true,
3355
- "action": {
3356
- "actionId": "tier5.bareFashionSignIn.showSignIn"
3357
- },
3358
- "cornerRadius": 4
3359
- }
3360
- },
3361
- "modifiers": {
3362
- "hiddenPath": "$service:bareFashionSignIn.notRecovering"
3420
+ "hiddenPath": "$service:bareFashionSignIn.hideForm",
3421
+ "fillMaxWidth": true
3363
3422
  }
3364
3423
  },
3365
3424
  {
3366
- "id": "himi_sign_in.show_recovery",
3425
+ "id": "himi_sign_in.pending",
3367
3426
  "body": {
3368
3427
  "package": "himalaya",
3369
- "type": "Button",
3428
+ "type": "VStack",
3370
3429
  "props": {
3371
- "title": "Forgot password?",
3372
- "style": "plain",
3373
- "fullWidth": true,
3374
- "action": {
3375
- "actionId": "tier5.bareFashionSignIn.showRecovery"
3376
- },
3377
- "cornerRadius": 4
3430
+ "spacing": 12,
3431
+ "alignment": "leading",
3432
+ "children": [
3433
+ {
3434
+ "id": "himi_sign_in.pending_title",
3435
+ "body": {
3436
+ "package": "himalaya",
3437
+ "type": "Text",
3438
+ "props": {
3439
+ "text": "$service:bareFashionSignIn.pendingTitle",
3440
+ "style": "title1",
3441
+ "color": "textPrimary"
3442
+ }
3443
+ }
3444
+ },
3445
+ {
3446
+ "id": "himi_sign_in.pending_body",
3447
+ "body": {
3448
+ "package": "himalaya",
3449
+ "type": "Text",
3450
+ "props": {
3451
+ "text": "$service:bareFashionSignIn.pendingBody",
3452
+ "style": "body",
3453
+ "color": "textPrimary"
3454
+ }
3455
+ }
3456
+ },
3457
+ {
3458
+ "id": "himi_sign_in.pending_back",
3459
+ "body": {
3460
+ "package": "himalaya",
3461
+ "type": "Button",
3462
+ "props": {
3463
+ "title": "BACK TO SIGN IN",
3464
+ "style": "secondary",
3465
+ "fullWidth": true,
3466
+ "action": {
3467
+ "actionId": "tier5.bareFashionSignIn.closePendingApproval"
3468
+ },
3469
+ "cornerRadius": 4
3470
+ }
3471
+ },
3472
+ "modifiers": {}
3473
+ }
3474
+ ]
3378
3475
  }
3379
3476
  },
3380
3477
  "modifiers": {
3381
- "hiddenPath": "$service:bareFashionSignIn.hideSignInChoices"
3478
+ "hiddenPath": "$service:bareFashionSignIn.hidePendingApproval",
3479
+ "fillMaxWidth": true
3382
3480
  }
3383
3481
  }
3384
3482
  ]