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

botbuilder-core

Package Overview
Dependencies
Maintainers
1
Versions
539
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botbuilder-core - npm Package Compare versions

Comparing version 4.0.0-preview1.0 to 4.0.0-preview1.1

8

lib/middlewareSet.d.ts

@@ -5,2 +5,6 @@ import { TurnContext } from './turnContext';

* asynchronously using a Promise.
*
* ```TypeScript
* type Promiseable <T = void> = Promise<T>|T;
* ```
* @param T (Optional) type of value being returned. This defaults to `void`.

@@ -17,2 +21,6 @@ */

* Signature implemented by function based middleware.
*
* ```TypeScript
* type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>;
* ```
*/

@@ -19,0 +27,0 @@ export declare type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>;

@@ -13,2 +13,6 @@ /**

* Signature implemented by functions registered with `context.onSendActivity()`.
*
* ```TypeScript
* type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>;
* ```
*/

@@ -18,2 +22,6 @@ export declare type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>;

* Signature implemented by functions registered with `context.onUpdateActivity()`.
*
* ```TypeScript
* type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>;
* ```
*/

@@ -23,2 +31,6 @@ export declare type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>;

* Signature implemented by functions registered with `context.onDeleteActivity()`.
*
* ```TypeScript
* type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>;
* ```
*/

@@ -25,0 +37,0 @@ export declare type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>;

4

package.json

@@ -5,3 +5,3 @@ {

"description": "Bot Builder core library. Bot Builder is a toolkit for building rich bots on virtually any platform.",
"version": "4.0.0-preview1.0",
"version": "4.0.0-preview1.1",
"license": "MIT",

@@ -25,3 +25,3 @@ "keywords": [

"@types/node": "^9.3.0",
"botframework-schema": "4.0.0-preview1.0",
"botframework-schema": "4.0.0-preview1.1",
"assert": "^1.4.1"

@@ -28,0 +28,0 @@ },

@@ -14,2 +14,6 @@ /**

* asynchronously using a Promise.
*
* ```TypeScript
* type Promiseable <T = void> = Promise<T>|T;
* ```
* @param T (Optional) type of value being returned. This defaults to `void`.

@@ -28,2 +32,6 @@ */

* Signature implemented by function based middleware.
*
* ```TypeScript
* type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>;
* ```
*/

@@ -30,0 +38,0 @@ export type MiddlewareHandler = (context: TurnContext, next: () => Promise<void>) => Promiseable<void>;

@@ -15,2 +15,6 @@ /**

* Signature implemented by functions registered with `context.onSendActivity()`.
*
* ```TypeScript
* type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>;
* ```
*/

@@ -21,2 +25,6 @@ export type SendActivitiesHandler = (context: TurnContext, activities: Partial<Activity>[], next: () => Promise<ResourceResponse[]>) => Promiseable<ResourceResponse[]>;

* Signature implemented by functions registered with `context.onUpdateActivity()`.
*
* ```TypeScript
* type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>;
* ```
*/

@@ -27,2 +35,6 @@ export type UpdateActivityHandler = (context: TurnContext, activity: Partial<Activity>, next: () => Promise<void>) => Promiseable<void>;

* Signature implemented by functions registered with `context.onDeleteActivity()`.
*
* ```TypeScript
* type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>;
* ```
*/

@@ -29,0 +41,0 @@ export type DeleteActivityHandler = (context: TurnContext, reference: Partial<ConversationReference>, next: () => Promise<void>) => Promiseable<void>;

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