@lucidtech/las-sdk-core
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -15,3 +15,3 @@ import { Credentials } from './credentials'; | ||
postTasks(activityArn: string): Promise<any>; | ||
patchTasks(taskId: string, taskResult: any): Promise<any>; | ||
patchTasks(taskId: string, taskResult?: any, taskError?: any): Promise<any>; | ||
makeGetRequest(path: string): Promise<any>; | ||
@@ -18,0 +18,0 @@ makeDeleteRequest(path: string): Promise<any>; |
@@ -51,5 +51,8 @@ "use strict"; | ||
}; | ||
Client.prototype.patchTasks = function (taskId, taskResult) { | ||
Client.prototype.patchTasks = function (taskId, taskResult, taskError) { | ||
if (taskResult === void 0) { taskResult = {}; } | ||
if (taskError === void 0) { taskError = {}; } | ||
var body = { | ||
taskResult: taskResult, | ||
taskError: taskError, | ||
}; | ||
@@ -56,0 +59,0 @@ return this.makePatchRequest("/tasks/" + taskId, body); |
@@ -5,3 +5,2 @@ import { Token } from './credentials'; | ||
setPersistentToken: (value: T) => void; | ||
hasActiveToken: () => boolean; | ||
} |
{ | ||
"name": "@lucidtech/las-sdk-core", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"author": "Lucidtech AS <hello@lucidtech.ai>", | ||
@@ -23,3 +23,3 @@ "maintainers": [ | ||
}, | ||
"gitHead": "7220ca3a313ed6abbddb831d211910331bffe141" | ||
"gitHead": "5cd945327ef7ec223815c9a0a6ddc925a15e3be5" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34432
581