@mastra/slack 1.7.3 → 1.8.0-alpha.0
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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -13
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +23 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -293,6 +293,7 @@ const DEFAULT_BOT_SCOPES = [
|
|
|
293
293
|
"users:read",
|
|
294
294
|
"reactions:write",
|
|
295
295
|
"files:read",
|
|
296
|
+
"files:write",
|
|
296
297
|
"assistant:write"
|
|
297
298
|
];
|
|
298
299
|
/**
|
|
@@ -5257,13 +5258,14 @@ function stripTrailingSlash(url) {
|
|
|
5257
5258
|
* fallback or preserved options.
|
|
5258
5259
|
*/
|
|
5259
5260
|
function resolveSlackAdapterConfig(channelConfig) {
|
|
5260
|
-
const { adapterConfig, cors, gateway, formatError, streaming: topLevelStreaming, textFormat, typingStatus, toolDisplay: topLevelToolDisplay } = channelConfig;
|
|
5261
|
+
const { adapterConfig, cors, gateway, formatError, streaming: topLevelStreaming, textFormat, textDisplay, typingStatus, toolDisplay: topLevelToolDisplay } = channelConfig;
|
|
5261
5262
|
const filteredTopLevel = Object.fromEntries(Object.entries({
|
|
5262
5263
|
cors,
|
|
5263
5264
|
gateway,
|
|
5264
5265
|
formatError,
|
|
5265
5266
|
streaming: topLevelStreaming,
|
|
5266
5267
|
textFormat,
|
|
5268
|
+
textDisplay,
|
|
5267
5269
|
typingStatus,
|
|
5268
5270
|
toolDisplay: topLevelToolDisplay
|
|
5269
5271
|
}).filter(([, value]) => value !== void 0));
|