@workdynamite/cli 1.0.0 → 1.1.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/src/lib/api.ts CHANGED
@@ -125,4 +125,4 @@ export async function getTasks(options: {
125
125
 
126
126
  export async function getTask(taskId: string): Promise<ApiResponse<{ task: Task }>> {
127
127
  return request(`tasks/${taskId}`);
128
- }
128
+ }
package/src/lib/config.ts CHANGED
@@ -30,7 +30,7 @@ export function getConfig(): ConfigSchema {
30
30
  };
31
31
  }
32
32
 
33
- export function setToken(token: string): void {
33
+ export function setToken(token: string | null): void {
34
34
  config.set('token', token);
35
35
  }
36
36