@microsoft/teamsfx 2.3.0-rc-hotfix.0 → 2.3.1-beta.2023091908.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/README.md +3 -2
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm2017.mjs +40 -4
- package/dist/index.esm2017.mjs.map +1 -1
- package/dist/index.esm5.js +30 -1
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +161 -115
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +26 -9
- package/types/teamsfx.d.ts +3 -3
package/dist/index.esm5.js
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
import jwt_decode from 'jwt-decode';
|
2
|
-
import { __awaiter } from 'tslib';
|
3
2
|
import { app, authentication } from '@microsoft/teams-js';
|
4
3
|
import { PublicClientApplication } from '@azure/msal-browser';
|
5
4
|
import { Client } from '@microsoft/microsoft-graph-client';
|
@@ -476,6 +475,36 @@ class OnBehalfOfUserCredential {
|
|
476
475
|
}
|
477
476
|
}
|
478
477
|
|
478
|
+
/******************************************************************************
|
479
|
+
Copyright (c) Microsoft Corporation.
|
480
|
+
|
481
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
482
|
+
purpose with or without fee is hereby granted.
|
483
|
+
|
484
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
485
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
486
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
487
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
488
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
489
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
490
|
+
PERFORMANCE OF THIS SOFTWARE.
|
491
|
+
***************************************************************************** */
|
492
|
+
|
493
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
494
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
495
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
496
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
497
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
498
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
499
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
500
|
+
});
|
501
|
+
}
|
502
|
+
|
503
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
504
|
+
var e = new Error(message);
|
505
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
506
|
+
};
|
507
|
+
|
479
508
|
// Copyright (c) Microsoft Corporation.
|
480
509
|
const tokenRefreshTimeSpanInMillisecond = 5 * 60 * 1000;
|
481
510
|
const loginPageWidth = 600;
|