Skip to content

Commit fd713ff

Browse files
authored
1.5.0 (#148)
1 parent 668cb2f commit fd713ff

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

action/deps.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3949,6 +3949,19 @@ class API {
39493949
throw err;
39503950
}
39513951
}
3952+
async getDeployments(projectId) {
3953+
try {
3954+
return await this.#requestJson(`/projects/${projectId}/deployments/`);
3955+
} catch (err) {
3956+
if (err instanceof APIError && err.code === "projectNotFound") {
3957+
return null;
3958+
}
3959+
throw err;
3960+
}
3961+
}
3962+
getLogs(projectId, deploymentId) {
3963+
return this.#requestStream(`/projects/${projectId}/deployments/${deploymentId}/logs/`);
3964+
}
39523965
async projectNegotiateAssets(id, manifest) {
39533966
return await this.#requestJson(`/projects/${id}/assets/negotiate`, {
39543967
method: "POST",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export const VERSION = "1.4.0";
1+
export const VERSION = "1.5.0";
22

33
export const MINIMUM_DENO_VERSION = "1.20.0";

0 commit comments

Comments
 (0)