@microsoft/teamsfx 2.2.3-alpha.f2e5373f1.0 → 2.2.3-alpha.f4d0f0217.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.
@@ -10,7 +10,6 @@ import axios from 'axios';
10
10
  import { Agent } from 'https';
11
11
  import * as path from 'path';
12
12
  import * as fs from 'fs';
13
- import { __rest } from 'tslib';
14
13
  import { AdaptiveCards } from '@microsoft/adaptivecards-tools';
15
14
 
16
15
  // Copyright (c) Microsoft Corporation.
@@ -1985,6 +1984,7 @@ var InvokeResponseErrorCode;
1985
1984
  InvokeResponseErrorCode[InvokeResponseErrorCode["InternalServerError"] = 500] = "InternalServerError";
1986
1985
  })(InvokeResponseErrorCode || (InvokeResponseErrorCode = {}));
1987
1986
 
1987
+ // Copyright (c) Microsoft Corporation.
1988
1988
  /**
1989
1989
  * Available response type for an adaptive card invoke response.
1990
1990
  * @internal
@@ -1999,7 +1999,7 @@ var InvokeResponseType;
1999
1999
  * Provides methods for formatting various invoke responses a bot can send to respond to an invoke request.
2000
2000
  *
2001
2001
  * @remarks
2002
- * All of these functions return an {@link InvokeResponse} object, which can be
2002
+ * All of these functions return an `InvokeResponse` object, which can be
2003
2003
  * passed as input to generate a new `invokeResponse` activity.
2004
2004
  *
2005
2005
  * This example sends an invoke response that contains an adaptive card.
@@ -3223,6 +3223,38 @@ var SearchScope$1;
3223
3223
  SearchScope[SearchScope["All"] = 7] = "All";
3224
3224
  })(SearchScope$1 || (SearchScope$1 = {}));
3225
3225
 
3226
+ /******************************************************************************
3227
+ Copyright (c) Microsoft Corporation.
3228
+
3229
+ Permission to use, copy, modify, and/or distribute this software for any
3230
+ purpose with or without fee is hereby granted.
3231
+
3232
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3233
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3234
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3235
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3236
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3237
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3238
+ PERFORMANCE OF THIS SOFTWARE.
3239
+ ***************************************************************************** */
3240
+
3241
+ function __rest(s, e) {
3242
+ var t = {};
3243
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
3244
+ t[p] = s[p];
3245
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
3246
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
3247
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
3248
+ t[p[i]] = s[p[i]];
3249
+ }
3250
+ return t;
3251
+ }
3252
+
3253
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
3254
+ var e = new Error(message);
3255
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
3256
+ };
3257
+
3226
3258
  // Copyright (c) Microsoft Corporation.
3227
3259
  let DIALOG_NAME = "BotSsoExecutionDialog";
3228
3260
  let TEAMS_SSO_PROMPT_ID = "TeamsFxSsoPrompt";
@@ -3555,7 +3587,7 @@ class DefaultBotSsoExecutionActivityHandler extends TeamsActivityHandler {
3555
3587
  * @param query Signin state (part of signin action auth flow) verification invoke query
3556
3588
  * @returns A promise that represents the work queued.
3557
3589
  *
3558
- * @remark
3590
+ * @remarks
3559
3591
  * It should trigger {@link BotSsoExecutionDialog} instance to handle signin process
3560
3592
  */
3561
3593
  async handleTeamsSigninTokenExchange(context, query) {