Skip to content

Commit c478800

Browse files
fix them
1 parent 0496965 commit c478800

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codesandbox/sdk",
3-
"version": "1.1.0",
3+
"version": "1.1.3",
44
"description": "The CodeSandbox SDK",
55
"author": "CodeSandbox",
66
"license": "MIT",

src/sessions/WebSocketSession/tasks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@ export class Tasks {
3333
/**
3434
* Gets all tasks that are available in the current sandbox.
3535
*/
36-
getTasks(): Task[] {
36+
getAll(): Task[] {
3737
return this.tasks;
3838
}
3939

4040
/**
4141
* Gets a task by its ID.
4242
*/
43-
getTask(taskId: string): Task | undefined {
43+
get(taskId: string): Task | undefined {
4444
return this.tasks.find((task) => task.id === taskId);
4545
}
4646
}

0 commit comments

Comments
 (0)