@capgo/cli 4.6.0 → 4.6.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/CHANGELOG.md +7 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/init.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [4.6.1](https://github.com/Cap-go/CLI/compare/v4.6.0...v4.6.1) (2024-05-08)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* force encryption when init and exist ([f6be928](https://github.com/Cap-go/CLI/commit/f6be9281dc8e978fc1a7e80174a884c50d46c495))
|
|
11
|
+
|
|
5
12
|
## [4.6.0](https://github.com/Cap-go/CLI/compare/v4.5.0...v4.6.0) (2024-05-08)
|
|
6
13
|
|
|
7
14
|
|
package/dist/index.js
CHANGED
|
@@ -92373,7 +92373,7 @@ var {
|
|
|
92373
92373
|
// package.json
|
|
92374
92374
|
var package_default = {
|
|
92375
92375
|
name: "@capgo/cli",
|
|
92376
|
-
version: "4.6.
|
|
92376
|
+
version: "4.6.1",
|
|
92377
92377
|
description: "A CLI to upload to capgo servers",
|
|
92378
92378
|
author: "github.com/riderx",
|
|
92379
92379
|
license: "Apache 2.0",
|
|
@@ -95491,7 +95491,7 @@ async function step6(userId, snag, apikey, appId) {
|
|
|
95491
95491
|
if (doEncrypt) {
|
|
95492
95492
|
const s = de();
|
|
95493
95493
|
s.start(`Running: npx @capgo/cli@latest key create`);
|
|
95494
|
-
const keyRes = await createKey({}, false);
|
|
95494
|
+
const keyRes = await createKey({ force: true }, false);
|
|
95495
95495
|
if (!keyRes) {
|
|
95496
95496
|
s.stop(`Cannot create key \u274C`);
|
|
95497
95497
|
import_node_process16.default.exit(1);
|
package/package.json
CHANGED
package/src/init.ts
CHANGED
|
@@ -169,7 +169,7 @@ async function step6(userId: string, snag: LogSnag, apikey: string, appId: strin
|
|
|
169
169
|
if (doEncrypt) {
|
|
170
170
|
const s = p.spinner()
|
|
171
171
|
s.start(`Running: npx @capgo/cli@latest key create`)
|
|
172
|
-
const keyRes = await createKey({}, false)
|
|
172
|
+
const keyRes = await createKey({ force: true }, false)
|
|
173
173
|
if (!keyRes) {
|
|
174
174
|
s.stop(`Cannot create key ❌`)
|
|
175
175
|
process.exit(1)
|