conductor-node 11.4.3 → 11.4.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/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<span> • </span>
|
|
16
16
|
<a href="https://docs.conductor.is">Docs</a>
|
|
17
17
|
<span> • </span>
|
|
18
|
-
<a href="https://docs.conductor.is/qbd
|
|
18
|
+
<a href="https://docs.conductor.is/qbd-objects">Examples</a>
|
|
19
19
|
<br />
|
|
20
20
|
<hr />
|
|
21
21
|
</div>
|
package/dist/package.json
CHANGED
|
@@ -24,10 +24,9 @@ function addErrorHandlingInterceptors(httpClient) {
|
|
|
24
24
|
code: "INVALID_JSON_RESPONSE",
|
|
25
25
|
httpStatusCode: error.status ?? axios_1.HttpStatusCode.InternalServerError,
|
|
26
26
|
// @ts-expect-error -- `error.response.headers` always exists as an `AxiosHeaders` instance.
|
|
27
|
-
requestId: error.response.headers.get("
|
|
27
|
+
requestId: error.response.headers.get("Conductor-Request-Id"),
|
|
28
28
|
headers,
|
|
29
|
-
//
|
|
30
|
-
// failed.
|
|
29
|
+
// Help debug if `isWellFormedConductorServerError()` fails.
|
|
31
30
|
raw: errorData,
|
|
32
31
|
});
|
|
33
32
|
}
|
|
@@ -12,6 +12,9 @@ class AuthSessionsResource extends BaseResource_1.default {
|
|
|
12
12
|
* flow.
|
|
13
13
|
*/
|
|
14
14
|
async create(input) {
|
|
15
|
+
if (input.returnUrl !== undefined) {
|
|
16
|
+
console.warn("The `returnUrl` parameter is deprecated. Please use `redirectUrl` instead.");
|
|
17
|
+
}
|
|
15
18
|
const { data } = await this.httpClient.post(this.ROUTE, input);
|
|
16
19
|
return data;
|
|
17
20
|
}
|