@meltstudio/meltctl 4.132.0 → 4.134.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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var CLI_VERSION;
|
|
|
14
14
|
var init_version = __esm({
|
|
15
15
|
"src/utils/version.ts"() {
|
|
16
16
|
"use strict";
|
|
17
|
-
CLI_VERSION = "4.
|
|
17
|
+
CLI_VERSION = "4.134.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -798,7 +798,7 @@ function createTrackerResource(config) {
|
|
|
798
798
|
async startOAuth(projectId, provider) {
|
|
799
799
|
const { data, status } = await apiFetch(config, `/tracker/oauth/start?provider=${provider}&projectId=${projectId}`);
|
|
800
800
|
if (status === 503)
|
|
801
|
-
throw new Error("Linear OAuth is not configured for this environment.");
|
|
801
|
+
throw new Error(provider === "jira" ? "Jira OAuth is not configured for this environment." : "Linear OAuth is not configured for this environment.");
|
|
802
802
|
if (status !== 200)
|
|
803
803
|
throw new Error(data.error ?? `Failed to start OAuth flow (${status})`);
|
|
804
804
|
return data;
|
|
@@ -3346,7 +3346,7 @@ function createTrackerResource2(config) {
|
|
|
3346
3346
|
async startOAuth(projectId, provider) {
|
|
3347
3347
|
const { data, status } = await apiFetch2(config, `/tracker/oauth/start?provider=${provider}&projectId=${projectId}`);
|
|
3348
3348
|
if (status === 503)
|
|
3349
|
-
throw new Error("Linear OAuth is not configured for this environment.");
|
|
3349
|
+
throw new Error(provider === "jira" ? "Jira OAuth is not configured for this environment." : "Linear OAuth is not configured for this environment.");
|
|
3350
3350
|
if (status !== 200)
|
|
3351
3351
|
throw new Error(data.error ?? `Failed to start OAuth flow (${status})`);
|
|
3352
3352
|
return data;
|
package/package.json
CHANGED