mitra-interactions-sdk 1.0.70 → 1.0.71

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.mjs CHANGED
@@ -821,6 +821,9 @@ async function callIntegrationMitra(options) {
821
821
  if (options.body !== void 0) {
822
822
  body.body = options.body;
823
823
  }
824
+ if (options.headers !== void 0) {
825
+ body.headers = options.headers;
826
+ }
824
827
  return http.post("/interactions/integrations/call", body);
825
828
  }
826
829
  async function stopServerFunctionExecutionMitra(options) {
@@ -2238,6 +2241,7 @@ function createMitraInstance(initialConfig) {
2238
2241
  if (options.endpoint !== void 0) body.endpoint = options.endpoint;
2239
2242
  if (options.params !== void 0) body.params = options.params;
2240
2243
  if (options.body !== void 0) body.body = options.body;
2244
+ if (options.headers !== void 0) body.headers = options.headers;
2241
2245
  return request("POST", "/interactions/integrations/call", { body });
2242
2246
  },
2243
2247
  // Dynamic Schema CRUD