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

botframework-schema

Package Overview
Dependencies
Maintainers
3
Versions
543
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botframework-schema - npm Package Compare versions

Comparing version 4.21.1 to 4.21.2

20

_ts3.4/lib/teams/index.d.ts

@@ -22,6 +22,3 @@ /**

}
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> {
}
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> {
}
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse;
/**

@@ -51,16 +48,15 @@ * @interface

*/
export interface ConfigResponse<T> {
export interface ConfigResponse {
/**
* @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration.
*/
cacheInfo: CacheInfo;
cacheInfo?: CacheInfo;
/**
* @template T
* @member {T} [config] The response to a configuration message.
* @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse
*/
config: T;
config: ConfigResponseConfig;
/**
* @member {string} [responseType] The type of config response. Possible values are 'auth' and 'continue'
* @member {string} [responseType] The type of response 'config'.
*/
responseType: string;
responseType: 'config';
}

@@ -1539,3 +1535,3 @@ /**

*/
export type BotConfigAuthType = 'auth' | 'task';
export type BotConfigAuthType = 'auth';
/**

@@ -1542,0 +1538,0 @@ * Defines values for Os.

@@ -22,6 +22,3 @@ /**

}
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> {
}
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> {
}
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse;
/**

@@ -51,16 +48,15 @@ * @interface

*/
export interface ConfigResponse<T> {
export interface ConfigResponse {
/**
* @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration.
*/
cacheInfo: CacheInfo;
cacheInfo?: CacheInfo;
/**
* @template T
* @member {T} [config] The response to a configuration message.
* @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse
*/
config: T;
config: ConfigResponseConfig;
/**
* @member {string} [responseType] The type of config response. Possible values are 'auth' and 'continue'
* @member {string} [responseType] The type of response 'config'.
*/
responseType: string;
responseType: 'config';
}

@@ -1539,3 +1535,3 @@ /**

*/
export type BotConfigAuthType = 'auth' | 'task';
export type BotConfigAuthType = 'auth';
/**

@@ -1542,0 +1538,0 @@ * Defines values for Os.

2

package.json

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

"description": "Activity schema for the Microsoft Bot Framework.",
"version": "4.21.1",
"version": "4.21.2",
"license": "MIT",

@@ -8,0 +8,0 @@ "keywords": [

@@ -27,7 +27,4 @@ /**

// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ConfigAuthResponse extends ConfigResponse<BotConfigAuth> {}
export type ConfigResponseConfig = BotConfigAuth | TaskModuleResponse;
// eslint-disable-next-line @typescript-eslint/no-empty-interface
export interface ConfigTaskResponse extends ConfigResponse<TaskModuleResponse> {}
/**

@@ -57,16 +54,15 @@ * @interface

*/
export interface ConfigResponse<T> {
export interface ConfigResponse {
/**
* @member {CacheInfo} [cacheInfo] The data of the ConfigResponse cache, including cache type and cache duration.
*/
cacheInfo: CacheInfo;
cacheInfo?: CacheInfo;
/**
* @template T
* @member {T} [config] The response to a configuration message.
* @member {ConfigResponseConfig} [config] The ConfigResponse config of BotConfigAuth or TaskModuleResponse
*/
config: T;
config: ConfigResponseConfig;
/**
* @member {string} [responseType] The type of config response. Possible values are 'auth' and 'continue'
* @member {string} [responseType] The type of response 'config'.
*/
responseType: string;
responseType: 'config';
}

@@ -1617,3 +1613,3 @@

export type BotConfigAuthType = 'auth' | 'task';
export type BotConfigAuthType = 'auth';

@@ -1620,0 +1616,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