@meltstudio/meltctl 4.115.0 → 4.115.2
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 +1 -27
- 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.115.
|
|
17
|
+
CLI_VERSION = "4.115.2";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -1048,19 +1048,6 @@ function createPmResource(config) {
|
|
|
1048
1048
|
// ../sdk/dist/resources/slack.js
|
|
1049
1049
|
function createSlackResource(config) {
|
|
1050
1050
|
return {
|
|
1051
|
-
/** Returns the URL the manager should follow to install the Slack App.
|
|
1052
|
-
* Just exposes `/slack/install` — Slack's auth UI lives upstream. */
|
|
1053
|
-
installUrl() {
|
|
1054
|
-
return `${config.baseUrl}/slack/install`;
|
|
1055
|
-
},
|
|
1056
|
-
async getInstallStatus() {
|
|
1057
|
-
const { data, status } = await apiFetch(config, "/slack/install/status");
|
|
1058
|
-
if (status === 403)
|
|
1059
|
-
throw new Error("Access denied. Only Team Managers can view this.");
|
|
1060
|
-
if (status !== 200)
|
|
1061
|
-
throw new Error(`Failed to fetch Slack install status (${status})`);
|
|
1062
|
-
return data;
|
|
1063
|
-
},
|
|
1064
1051
|
async listChannels() {
|
|
1065
1052
|
const { data, status } = await apiFetch(config, "/slack/channels");
|
|
1066
1053
|
if (status === 403)
|
|
@@ -3505,19 +3492,6 @@ function createPmResource2(config) {
|
|
|
3505
3492
|
}
|
|
3506
3493
|
function createSlackResource2(config) {
|
|
3507
3494
|
return {
|
|
3508
|
-
/** Returns the URL the manager should follow to install the Slack App.
|
|
3509
|
-
* Just exposes `/slack/install` — Slack's auth UI lives upstream. */
|
|
3510
|
-
installUrl() {
|
|
3511
|
-
return `${config.baseUrl}/slack/install`;
|
|
3512
|
-
},
|
|
3513
|
-
async getInstallStatus() {
|
|
3514
|
-
const { data, status } = await apiFetch2(config, "/slack/install/status");
|
|
3515
|
-
if (status === 403)
|
|
3516
|
-
throw new Error("Access denied. Only Team Managers can view this.");
|
|
3517
|
-
if (status !== 200)
|
|
3518
|
-
throw new Error(`Failed to fetch Slack install status (${status})`);
|
|
3519
|
-
return data;
|
|
3520
|
-
},
|
|
3521
3495
|
async listChannels() {
|
|
3522
3496
|
const { data, status } = await apiFetch2(config, "/slack/channels");
|
|
3523
3497
|
if (status === 403)
|
package/package.json
CHANGED