@lizard-build/sdk 0.1.24 → 0.1.26
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -500,7 +500,7 @@ declare class ServicesAPI {
|
|
|
500
500
|
limit?: number;
|
|
501
501
|
since?: string;
|
|
502
502
|
}): Promise<LogLine[]>;
|
|
503
|
-
/** Execute a command inside the running service
|
|
503
|
+
/** Execute a command inside the running service container. */
|
|
504
504
|
exec(id: string, cmd: string, opts?: {
|
|
505
505
|
timeoutMs?: number;
|
|
506
506
|
}): Promise<{
|
package/dist/index.d.ts
CHANGED
|
@@ -500,7 +500,7 @@ declare class ServicesAPI {
|
|
|
500
500
|
limit?: number;
|
|
501
501
|
since?: string;
|
|
502
502
|
}): Promise<LogLine[]>;
|
|
503
|
-
/** Execute a command inside the running service
|
|
503
|
+
/** Execute a command inside the running service container. */
|
|
504
504
|
exec(id: string, cmd: string, opts?: {
|
|
505
505
|
timeoutMs?: number;
|
|
506
506
|
}): Promise<{
|
package/dist/index.js
CHANGED
|
@@ -679,7 +679,7 @@ var ServicesAPI = class {
|
|
|
679
679
|
const result = await this.client.get(`/api/apps/${id}/logs?${qs}`);
|
|
680
680
|
return Array.isArray(result) ? result : result.logs ?? [];
|
|
681
681
|
}
|
|
682
|
-
/** Execute a command inside the running service
|
|
682
|
+
/** Execute a command inside the running service container. */
|
|
683
683
|
exec(id, cmd, opts) {
|
|
684
684
|
return this.client.post(`/api/apps/${id}/exec`, { cmd, timeoutMs: opts?.timeoutMs });
|
|
685
685
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -644,7 +644,7 @@ var ServicesAPI = class {
|
|
|
644
644
|
const result = await this.client.get(`/api/apps/${id}/logs?${qs}`);
|
|
645
645
|
return Array.isArray(result) ? result : result.logs ?? [];
|
|
646
646
|
}
|
|
647
|
-
/** Execute a command inside the running service
|
|
647
|
+
/** Execute a command inside the running service container. */
|
|
648
648
|
exec(id, cmd, opts) {
|
|
649
649
|
return this.client.post(`/api/apps/${id}/exec`, { cmd, timeoutMs: opts?.timeoutMs });
|
|
650
650
|
}
|