@superglue/cli 1.1.9 → 1.1.10
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 +2 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -21934,7 +21934,7 @@ var import_node_util = require("util");
|
|
|
21934
21934
|
// package.json
|
|
21935
21935
|
var package_default = {
|
|
21936
21936
|
name: "@superglue/cli",
|
|
21937
|
-
version: "1.1.
|
|
21937
|
+
version: "1.1.10",
|
|
21938
21938
|
bin: {
|
|
21939
21939
|
sg: "./dist/cli.js"
|
|
21940
21940
|
},
|
|
@@ -23661,9 +23661,8 @@ function registerOAuthCommand(parent, getContext2) {
|
|
|
23661
23661
|
process.exit(1);
|
|
23662
23662
|
}
|
|
23663
23663
|
const encryptedApiKey = (0, import_shared9.encryptCliApiKey)(config.apiKey, opts.systemId, encryptionSecret);
|
|
23664
|
-
const usingTemplate = Boolean(templateMatch?.key);
|
|
23665
23664
|
let clientCredentialsUid;
|
|
23666
|
-
if (
|
|
23665
|
+
if (system.credentials?.client_secret && clientId) {
|
|
23667
23666
|
clientCredentialsUid = import_node_crypto.default.randomUUID();
|
|
23668
23667
|
try {
|
|
23669
23668
|
await client.cacheOauthClientCredentials({
|