connectbase-client 0.12.1 → 0.13.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.js +6 -2
- package/dist/connect-base.umd.js +3 -3
- package/dist/index.d.mts +293 -31
- package/dist/index.d.ts +293 -31
- package/dist/index.js +172 -27
- package/dist/index.mjs +172 -27
- package/package.json +2 -1
package/dist/cli.js
CHANGED
|
@@ -524,7 +524,7 @@ ${colors.blue}?${colors.reset} \uC120\uD0DD (\uBC88\uD638): `);
|
|
|
524
524
|
success(`\uC120\uD0DD\uB428: ${apps[num - 1].name}`);
|
|
525
525
|
info("Public Key \uC0DD\uC131 \uC911...");
|
|
526
526
|
const newKeyRes = await makeRequest(
|
|
527
|
-
`${DEFAULT_BASE_URL}/v1/public/cli/apps/${appId}/public-keys
|
|
527
|
+
`${DEFAULT_BASE_URL}/v1/public/cli/apps/${appId}/public-keys`,
|
|
528
528
|
"POST",
|
|
529
529
|
{ "X-Public-Key": secretKey },
|
|
530
530
|
JSON.stringify({})
|
|
@@ -575,7 +575,11 @@ ${colors.blue}?${colors.reset} \uC120\uD0DD (\uBC88\uD638): `);
|
|
|
575
575
|
process.exit(1);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
|
|
578
|
+
if (!publicKey) {
|
|
579
|
+
error("Public Key\uAC00 \uC5C6\uC5B4 \uC6F9 \uC2A4\uD1A0\uB9AC\uC9C0\uB97C \uC870\uD68C\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4. \uCF58\uC194\uC5D0\uC11C Public Key\uB97C \uBC1C\uAE09\uBC1B\uC544 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694");
|
|
580
|
+
process.exit(1);
|
|
581
|
+
}
|
|
582
|
+
const publicKeyForSdk = publicKey;
|
|
579
583
|
let storageId = "";
|
|
580
584
|
try {
|
|
581
585
|
info("\uC6F9 \uC2A4\uD1A0\uB9AC\uC9C0 \uC870\uD68C \uC911...");
|