activitysmith 1.2.1 → 1.2.2
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.
|
@@ -176,12 +176,17 @@ class BaseAPI {
|
|
|
176
176
|
body: context.body,
|
|
177
177
|
credentials: this.configuration.credentials,
|
|
178
178
|
};
|
|
179
|
+
const override = await initOverrideFn({
|
|
180
|
+
init: initParams,
|
|
181
|
+
context,
|
|
182
|
+
});
|
|
179
183
|
const overriddenInit = {
|
|
180
184
|
...initParams,
|
|
181
|
-
...
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
+
...override,
|
|
186
|
+
headers: {
|
|
187
|
+
...headers,
|
|
188
|
+
...(override?.headers || {}),
|
|
189
|
+
},
|
|
185
190
|
};
|
|
186
191
|
let body;
|
|
187
192
|
if (isFormData(overriddenInit.body)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ActivitySmith = exports.MetricsResource = exports.LiveActivitiesResource = exports.NotificationsResource = void 0;
|
|
4
4
|
const index_1 = require("../generated/index");
|
|
5
|
-
const SDK_VERSION = "1.
|
|
5
|
+
const SDK_VERSION = "1.2.2";
|
|
6
6
|
const SDK_HEADER_NAME = "X-ActivitySmith-SDK";
|
|
7
7
|
const SDK_HEADER_VALUE = `node-v${SDK_VERSION}`;
|
|
8
8
|
function withTargetChannels(request) {
|