@deepbounty/sdk 1.2.3 → 1.2.4
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.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -203,6 +203,12 @@ export interface TargetAPI {
|
|
|
203
203
|
* @returns Array of all targets with complete information
|
|
204
204
|
*/
|
|
205
205
|
getTargets(): Promise<Target[]>;
|
|
206
|
+
/**
|
|
207
|
+
* Get target ID by hostname
|
|
208
|
+
* @param hostname The hostname to look up
|
|
209
|
+
* @returns The target ID or null if not found
|
|
210
|
+
*/
|
|
211
|
+
getTargetIdByHostname(hostname: string): Promise<number | null>;
|
|
206
212
|
}
|
|
207
213
|
export interface ServerAPI {
|
|
208
214
|
version: string;
|