@microsoft/teamsfx 0.7.1-beta.dc88fcdc0.0 → 1.0.0-alpha.324752dff.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": "0.7.1-beta.dc88fcdc0.0",
3
+ "version": "1.0.0-alpha.324752dff.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.1.0",
52
- "@microsoft/adaptivecards-tools": "0.1.7-beta.dc88fcdc0.0",
52
+ "@microsoft/adaptivecards-tools": "1.0.0-alpha.324752dff.0",
53
53
  "@microsoft/microsoft-graph-client": "^3.0.1",
54
54
  "axios": "^0.27.2",
55
55
  "botbuilder": ">=4.15.0 <5.0.0",
@@ -128,7 +128,7 @@
128
128
  "webpack": "^5.62.1",
129
129
  "yargs": "^17.2.1"
130
130
  },
131
- "gitHead": "d54bc2dacf0202ba7f8e282e7288b1202ce617e5",
131
+ "gitHead": "d78a04166fb1383c7e07e529116aa3d82f4199b9",
132
132
  "publishConfig": {
133
133
  "access": "public"
134
134
  },
@@ -339,7 +339,7 @@ export declare class Channel implements NotificationTarget {
339
339
  */
340
340
  readonly type: NotificationTargetType;
341
341
  /**
342
- * Constuctor.
342
+ * Constructor.
343
343
  *
344
344
  * @remarks
345
345
  * It's recommended to get channels from {@link TeamsBotInstallation.channels()}, instead of using this constructor.
@@ -413,7 +413,7 @@ export declare class CommandBot {
413
413
  }
414
414
 
415
415
  /**
416
- * Interface for a command messagge that can handled in a command handler.
416
+ * Interface for a command message that can handled in a command handler.
417
417
  */
418
418
  export declare interface CommandMessage {
419
419
  /**
@@ -916,7 +916,7 @@ export declare class Member implements NotificationTarget {
916
916
  */
917
917
  readonly type: NotificationTargetType;
918
918
  /**
919
- * Constuctor.
919
+ * Constructor.
920
920
  *
921
921
  * @remarks
922
922
  * It's recommended to get members from {@link TeamsBotInstallation.members()}, instead of using this constructor.
@@ -993,7 +993,7 @@ export declare class MessageBuilder {
993
993
  *
994
994
  * @beta
995
995
  */
996
- static attachAdaptiveCard<TData>(cardTemplate: any, data: TData): Partial<Activity_2>;
996
+ static attachAdaptiveCard<TData extends object>(cardTemplate: unknown, data: TData): Partial<Activity_2>;
997
997
  /**
998
998
  * Build a bot message activity attached with an adaptive card.
999
999
  *
@@ -1002,7 +1002,7 @@ export declare class MessageBuilder {
1002
1002
  *
1003
1003
  * @beta
1004
1004
  */
1005
- static attachAdaptiveCardWithoutData(card: any): Partial<Activity_2>;
1005
+ static attachAdaptiveCardWithoutData(card: unknown): Partial<Activity_2>;
1006
1006
  /**
1007
1007
  * Build a bot message activity attached with an hero card.
1008
1008
  *
@@ -1242,7 +1242,7 @@ export declare interface NotificationTargetStorage {
1242
1242
  [key: string]: unknown;
1243
1243
  }): Promise<void>;
1244
1244
  /**
1245
- * Delete one notificaton target by its key.
1245
+ * Delete one notification target by its key.
1246
1246
  *
1247
1247
  * @param key - the key of a notification target.
1248
1248
  *
@@ -1804,7 +1804,7 @@ export declare interface TeamsFxBotCommandHandler {
1804
1804
  * @param context The bot context.
1805
1805
  * @param message The command message the user types from Teams.
1806
1806
  * @returns A `Promise` representing an activity or text to send as the command response.
1807
- * Or no return value if developers want to send the response activity by themself in this method.
1807
+ * Or no return value if developers want to send the response activity by themselves in this method.
1808
1808
  */
1809
1809
  handleCommandReceived(context: TurnContext, message: CommandMessage): Promise<string | Partial<Activity> | void>;
1810
1810
  }