@microsoft/teamsfx 0.6.2-alpha.83ce60286.0 → 0.6.2-alpha.eb3c5cc12.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.
Files changed (2) hide show
  1. package/README.md +1 -8
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -243,14 +243,7 @@ connection.on("connect", (error) => {
243
243
  ### Use certificate-based authentication in Azure Function
244
244
 
245
245
  ```ts
246
- const authConfig = {
247
- clientId: process.env.M365_CLIENT_ID,
248
- certificateContent: "The content of a PEM-encoded public/private key certificate",
249
- authorityHost: process.env.M365_AUTHORITY_HOST,
250
- tenantId: process.env.M365_TENANT_ID,
251
- };
252
- const teamsfx = new TeamsFx(IdentityType.App);
253
- teamsfx.setCustomeConfig({
246
+ const teamsfx = new TeamsFx(IdentityType.App, {
254
247
  certificateContent: "The content of a PEM-encoded public/private key certificate"
255
248
  });
256
249
  const token = teamsfx.getCredential().getToken();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/teamsfx",
3
- "version": "0.6.2-alpha.83ce60286.0",
3
+ "version": "0.6.2-alpha.eb3c5cc12.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",
@@ -21,7 +21,7 @@
21
21
  "test:unit:node": "nyc --no-clean -- mocha 'test/unit/{,!(browser)/**/}*.spec.ts' --file src/index.ts -r config/mocha.env.ts --config config/mocharc.node.js",
22
22
  "test:unit": "npm run test:unit:node && npm run test:unit:browser",
23
23
  "test:e2e:browser": "karma start --single-run --integration",
24
- "test:e2e:node": "nyc --reporter lcovonly -- mocha 'test/e2e/node/*.spec.ts' --file src/index.ts -r config/mocha.env.ts --config config/mocharc.node.js",
24
+ "test:e2e:node": "nyc --lines 60 --reporter lcovonly -- mocha 'test/e2e/node/*.spec.ts' --file src/index.ts -r config/mocha.env.ts --config config/mocharc.node.js",
25
25
  "test:e2e": "npm run test:e2e:node && npm run test:e2e:browser",
26
26
  "ui-test": "mocha --no-timeouts -r test/mocha.env.ts -r ts-node/register test/ui/**/*.spec.ts --exit",
27
27
  "check-sensitive": "npx eslint --plugin 'no-secrets' --cache --ignore-pattern 'package.json' --ignore-pattern 'package-lock.json'",
@@ -126,7 +126,7 @@
126
126
  "webpack": "^5.62.1",
127
127
  "yargs": "^17.2.1"
128
128
  },
129
- "gitHead": "9ff28c0efd2aba45aba4294aae812b10dc9e3ce1",
129
+ "gitHead": "2cbffe6dd76b5d4b913b1002b2a4d7d72cfd8972",
130
130
  "publishConfig": {
131
131
  "access": "public"
132
132
  },