runpod-sdk 1.0.5 → 1.0.6
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/package.json +1 -1
- package/src/index.ts +4 -1
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -255,7 +255,10 @@ class Endpoint {
|
|
|
255
255
|
): Promise<EndpointCompletedOutput> {
|
|
256
256
|
return runSync(this.baseUrl, this.apiKey, this.endpointId, request, timeout)
|
|
257
257
|
}
|
|
258
|
-
async run(
|
|
258
|
+
async run(
|
|
259
|
+
request: EndpointInputPayload,
|
|
260
|
+
timeout: number = 3000
|
|
261
|
+
): Promise<EndpointIncompleteOutput> {
|
|
259
262
|
return run(this.baseUrl, this.apiKey, this.endpointId, request, timeout)
|
|
260
263
|
}
|
|
261
264
|
async status(requestId: string, timeout: number = 3000): Promise<EndpointOutput> {
|