@ductape/sdk 0.1.156 → 0.1.157
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.js
CHANGED
|
@@ -5814,6 +5814,9 @@ class Ductape {
|
|
|
5814
5814
|
if ((variable === null || variable === void 0 ? void 0 : variable.key) && variable.value !== undefined)
|
|
5815
5815
|
credentials[String(variable.key)] = variable.value;
|
|
5816
5816
|
}
|
|
5817
|
+
if (mapping.credentials && typeof mapping.credentials === 'object') {
|
|
5818
|
+
Object.assign(credentials, mapping.credentials);
|
|
5819
|
+
}
|
|
5817
5820
|
// token_access data is the reusable request credential itself. credential_access
|
|
5818
5821
|
// data contains login secrets and must only be sent to its dedicated auth action.
|
|
5819
5822
|
if (((_f = (_e = entry.data) === null || _e === void 0 ? void 0 : _e.app_auth) === null || _f === void 0 ? void 0 : _f.setup_type) === 'token_access' && ((_g = mapping.auth) === null || _g === void 0 ? void 0 : _g.data)) {
|