@capgo/cli 8.42.5 → 8.43.1
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/README.md +3 -1
- package/dist/index.js +764 -746
- package/dist/package.json +5 -2
- package/dist/src/api/app.d.ts +0 -1
- package/dist/src/api/crypto.d.ts +1 -0
- package/dist/src/app/add.d.ts +2 -2
- package/dist/src/bundle/validate-inputs.d.ts +4 -0
- package/dist/src/channel/add.d.ts +12 -0
- package/dist/src/recovery/app-id.d.ts +15 -0
- package/dist/src/recovery/notify-app-ready.d.ts +17 -0
- package/dist/src/recovery/public-key.d.ts +7 -0
- package/dist/src/schemas/bundle.d.ts +2 -0
- package/dist/src/sdk.js +396 -377
- package/dist/src/shared/two-factor-compliance.d.ts +19 -0
- package/dist/src/types/supabase.types.d.ts +3 -0
- package/dist/src/utils.d.ts +12 -4
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -403,6 +403,7 @@ npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel prod
|
|
|
403
403
|
| **--bundle-url** | <code>boolean</code> | Prints bundle URL into stdout |
|
|
404
404
|
| **--no-key** | <code>boolean</code> | Ignore signing key and send clear update |
|
|
405
405
|
| **--no-code-check** | <code>boolean</code> | Ignore checking if notifyAppReady() is called in source code and index present in root folder |
|
|
406
|
+
| **--ignore-notify-app-ready** | <code>boolean</code> | Skip notifyAppReady() check (not recommended — updates may roll back) |
|
|
406
407
|
| **--display-iv-session** | <code>boolean</code> | Show in the console the IV and session key used to encrypt the update |
|
|
407
408
|
| **-b** | <code>string</code> | Bundle version number of the bundle to upload |
|
|
408
409
|
| **--link** | <code>string</code> | Link to external resource (e.g. GitHub release) |
|
|
@@ -606,7 +607,7 @@ Prints base64 session key for verification.
|
|
|
606
607
|
**Example:**
|
|
607
608
|
|
|
608
609
|
```bash
|
|
609
|
-
npx @capgo/cli@latest bundle decrypt ./myapp_encrypted.zip
|
|
610
|
+
npx @capgo/cli@latest bundle decrypt ./myapp_encrypted.zip IV_BASE64:SESSION_KEY_BASE64
|
|
610
611
|
```
|
|
611
612
|
|
|
612
613
|
**Options:**
|
|
@@ -642,6 +643,7 @@ npx @capgo/cli@latest bundle zip com.example.app --path ./dist
|
|
|
642
643
|
| **-n** | <code>string</code> | Name of the zip file |
|
|
643
644
|
| **-j** | <code>boolean</code> | Output in JSON |
|
|
644
645
|
| **--no-code-check** | <code>boolean</code> | Ignore checking if notifyAppReady() is called in source code and index present in root folder |
|
|
646
|
+
| **--ignore-notify-app-ready** | <code>boolean</code> | Skip notifyAppReady() check (not recommended — updates may roll back) |
|
|
645
647
|
| **--key-v2** | <code>boolean</code> | Use encryption v2 |
|
|
646
648
|
| **--package-json** | <code>string</code> | Paths to package.json files for monorepos (comma-separated) |
|
|
647
649
|
|