@mastra/slack 1.8.0-alpha.1 → 1.8.0-alpha.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.
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5235,7 +5235,7 @@ function stripTrailingSlash(url) {
|
|
|
5235
5235
|
* fallback or preserved options.
|
|
5236
5236
|
*/
|
|
5237
5237
|
function resolveSlackAdapterConfig(channelConfig) {
|
|
5238
|
-
const { adapterConfig, cors, gateway, formatError, streaming: topLevelStreaming, textFormat, textDisplay, typingStatus, toolDisplay: topLevelToolDisplay } = channelConfig;
|
|
5238
|
+
const { adapterConfig, cors, gateway, formatError, streaming: topLevelStreaming, textFormat, textDisplay, typingStatus, toolApprovers, toolDisplay: topLevelToolDisplay } = channelConfig;
|
|
5239
5239
|
const filteredTopLevel = Object.fromEntries(Object.entries({
|
|
5240
5240
|
cors,
|
|
5241
5241
|
gateway,
|
|
@@ -5244,6 +5244,7 @@ function resolveSlackAdapterConfig(channelConfig) {
|
|
|
5244
5244
|
textFormat,
|
|
5245
5245
|
textDisplay,
|
|
5246
5246
|
typingStatus,
|
|
5247
|
+
toolApprovers,
|
|
5247
5248
|
toolDisplay: topLevelToolDisplay
|
|
5248
5249
|
}).filter(([, value]) => value !== void 0));
|
|
5249
5250
|
const merged = {
|