@microsoft/teamsfx 2.2.3-alpha.952007dba.0 → 2.2.3-alpha.a99162fe0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx",
3
- "version": "2.2.3-alpha.952007dba.0",
3
+ "version": "2.2.3-alpha.a99162fe0.0",
4
4
  "description": "Microsoft Teams Framework for Node.js and browser.",
5
5
  "main": "dist/index.node.cjs.js",
6
6
  "browser": "dist/index.esm2017.js",
@@ -49,7 +49,7 @@
49
49
  "@azure/identity": "^2.0.1",
50
50
  "@azure/msal-browser": "^2.21.0",
51
51
  "@azure/msal-node": "^1.14.6",
52
- "@microsoft/adaptivecards-tools": "1.3.3-alpha.952007dba.0",
52
+ "@microsoft/adaptivecards-tools": "1.3.3-alpha.a99162fe0.0",
53
53
  "@microsoft/microsoft-graph-client": "^3.0.5",
54
54
  "axios": "^0.27.2",
55
55
  "botbuilder": ">=4.18.0 <5.0.0",
@@ -67,7 +67,6 @@
67
67
  "@istanbuljs/nyc-config-typescript": "^1.0.1",
68
68
  "@microsoft/api-documenter": "^7.14.1",
69
69
  "@microsoft/api-extractor": "^7.19.4",
70
- "@microsoft/eslint-plugin-teamsfx": "0.0.5-alpha.952007dba.0",
71
70
  "@microsoft/teams-js": "^2.13.0",
72
71
  "@rollup/plugin-json": "^4.1.0",
73
72
  "@types/chai": "^4.2.22",
@@ -125,7 +124,7 @@
125
124
  "webpack": "^5.62.1",
126
125
  "yargs": "^17.2.1"
127
126
  },
128
- "gitHead": "238a9f9e0854145eb0f362bd9785c983c29217a0",
127
+ "gitHead": "5f83a1ed069767a1ecf148492eb7a145b2bf5382",
129
128
  "publishConfig": {
130
129
  "access": "public"
131
130
  },
@@ -185,6 +185,8 @@ export declare type AppCredentialAuthConfig = OnBehalfOfCredentialAuthConfig;
185
185
 
186
186
  /**
187
187
  * Authentication related configuration.
188
+ * @deprecated Please use {@link TeamsUserCredentialAuthConfig}
189
+ * or {@link OnBehalfOfCredentialAuthConfig} or {@link AppCredentialAuthConfig} instead.
188
190
  */
189
191
  export declare interface AuthenticationConfiguration {
190
192
  /**
@@ -1201,6 +1203,14 @@ export declare class BotSsoExecutionDialog extends ComponentDialog {
1201
1203
 
1202
1204
  /**
1203
1205
  * Get Microsoft graph client.
1206
+ * @deprecated Use `TokenCredentialAuthenticationProvider` and `Client.initWithMiddleware` instead.
1207
+ * ```typescript
1208
+ * const authProvider = new TokenCredentialAuthenticationProvider(credential, { scopes: scope });
1209
+ * const graph = Client.initWithMiddleware({
1210
+ * authProvider: authProvider,
1211
+ * });
1212
+ * ```
1213
+ *
1204
1214
  * @example
1205
1215
  * Get Microsoft graph client by TokenCredential
1206
1216
  * ```typescript
@@ -1251,6 +1261,14 @@ export declare class BotSsoExecutionDialog extends ComponentDialog {
1251
1261
 
1252
1262
  /**
1253
1263
  * Get Microsoft graph client.
1264
+ * @deprecated Use `TokenCredentialAuthenticationProvider` and `Client.initWithMiddleware` instead.
1265
+ * ```typescript
1266
+ * const authProvider = new TokenCredentialAuthenticationProvider(credential, { scopes: scope });
1267
+ * const graph = Client.initWithMiddleware({
1268
+ * authProvider: authProvider,
1269
+ * });
1270
+ * ```
1271
+ *
1254
1272
  * @example
1255
1273
  * Get Microsoft graph client by TokenCredential
1256
1274
  * ```typescript
@@ -1488,7 +1506,7 @@ export declare class BotSsoExecutionDialog extends ComponentDialog {
1488
1506
 
1489
1507
  /**
1490
1508
  * Users execute query in message extension with SSO or access token.
1491
- *
1509
+ * @deprecated Use {@link handleMessageExtensionQueryWithSSO} instead.
1492
1510
  *
1493
1511
  * @param {TurnContext} context - The context object for the current turn.
1494
1512
  * @param {AuthenticationConfiguration} config - User custom the message extension authentication configuration.
@@ -1906,6 +1924,7 @@ export declare class BotSsoExecutionDialog extends ComponentDialog {
1906
1924
 
1907
1925
  /**
1908
1926
  * Microsoft Graph auth provider for Teams Framework
1927
+ * @deprecated Use `TokenCredentialAuthenticationProvider` from `@microsoft/microsoft-graph-client/authProviders/azureTokenCredentials` instead.
1909
1928
  */
1910
1929
  export declare class MsGraphAuthProvider implements AuthenticationProvider {
1911
1930
  private credentialOrTeamsFx;
@@ -2908,6 +2927,8 @@ export declare class BotSsoExecutionDialog extends ComponentDialog {
2908
2927
 
2909
2928
  /**
2910
2929
  * A class providing credential and configuration.
2930
+ * @deprecated Please use {@link TeamsUserCredential}
2931
+ * in browser environment and {@link OnBehalfOfUserCredential} or {@link AppCredential} in NodeJS.
2911
2932
  */
2912
2933
  export declare class TeamsFx implements TeamsFxConfiguration {
2913
2934
  private configuration;
@@ -3078,6 +3099,8 @@ export declare class BotSsoExecutionDialog extends ComponentDialog {
3078
3099
 
3079
3100
  /**
3080
3101
  * TeamsFx interface that provides credential and configuration.
3102
+ * @deprecated Please use {@link TeamsUserCredential}
3103
+ * in browser environment and {@link OnBehalfOfUserCredential} or {@link AppCredential} in NodeJS.
3081
3104
  */
3082
3105
  declare interface TeamsFxConfiguration {
3083
3106
  /**