@meltstudio/meltctl 4.75.0 → 4.76.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 +9 -1
- 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.76.0";
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -748,6 +748,14 @@ function createBoardAuditsResource(config2) {
|
|
|
748
748
|
if (status !== 200)
|
|
749
749
|
throw new Error(data.error ?? `Failed to fetch board audit (${status})`);
|
|
750
750
|
return data;
|
|
751
|
+
},
|
|
752
|
+
async getLatestByProject() {
|
|
753
|
+
const { data, status } = await apiFetch(config2, "/board-audits/latest-by-project");
|
|
754
|
+
if (status === 403)
|
|
755
|
+
throw new Error("Access denied. Only Team Managers can view board audits.");
|
|
756
|
+
if (status !== 200)
|
|
757
|
+
throw new Error(data.error ?? `Failed to fetch latest board audits (${status})`);
|
|
758
|
+
return data;
|
|
751
759
|
}
|
|
752
760
|
};
|
|
753
761
|
}
|
package/package.json
CHANGED