Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@slack/bolt

Package Overview
Dependencies
Maintainers
13
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@slack/bolt - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

8

dist/Assistant.d.ts
import type { AssistantThreadsSetStatusResponse, AssistantThreadsSetSuggestedPromptsResponse, AssistantThreadsSetTitleResponse } from '@slack/web-api';
import { type AssistantThreadContext, type AssistantThreadContextStore, type GetThreadContextFn, type SaveThreadContextFn } from './AssistantThreadContextStore';
import { type AssistantThreadContext, type AssistantThreadContextStore } from './AssistantThreadContextStore';
import type { AllMiddlewareArgs, AnyMiddlewareArgs, Middleware, SayFn, SlackEventMiddlewareArgs } from './types';

@@ -17,4 +17,4 @@ /**

interface AssistantUtilityArgs {
getThreadContext: GetThreadContextFn;
saveThreadContext: SaveThreadContextFn;
getThreadContext: GetThreadContextUtilFn;
saveThreadContext: SaveThreadContextUtilFn;
say: SayFn;

@@ -25,2 +25,4 @@ setStatus: SetStatusFn;

}
type GetThreadContextUtilFn = () => Promise<AssistantThreadContext>;
type SaveThreadContextUtilFn = () => Promise<void>;
type SetStatusFn = (status: string) => Promise<AssistantThreadsSetStatusResponse>;

@@ -27,0 +29,0 @@ type SetSuggestedPromptsFn = (params: SetSuggestedPromptsArguments) => Promise<AssistantThreadsSetSuggestedPromptsResponse>;

@@ -195,3 +195,3 @@ "use strict";

return async (message) => {
const threadContext = context.channel_id ? context : await args.getThreadContext(args);
const threadContext = context.channel_id ? context : await args.getThreadContext();
const postMessageArgument = typeof message === 'string' ? { text: message, channel, thread_ts } : { ...message, channel, thread_ts };

@@ -198,0 +198,0 @@ if (threadContext) {

{
"name": "@slack/bolt",
"version": "4.1.0",
"version": "4.1.1",
"description": "A framework for building Slack apps, fast.",

@@ -61,3 +61,3 @@ "author": "Slack Technologies, LLC",

"@types/mocha": "^10.0.1",
"@types/node": "22.8.1",
"@types/node": "22.9.3",
"@types/sinon": "^7.0.11",

@@ -64,0 +64,0 @@ "@types/tsscmp": "^1.0.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc