@microsoft/teamsfx 0.4.1-alpha.fa070464.0 → 0.4.2-alpha.01a113d2.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 CHANGED
@@ -14,6 +14,8 @@ Use the library to:
14
14
 
15
15
  ## Getting started
16
16
 
17
+ > Important: Please be advised that access tokens are stored in sessionStorage for you by default. This can make it possible for malicious code in your app (or code pasted into a console on your page) to access APIs at the same privilege level as your client application. Please ensure you only request the minimum necessary scopes from your client application, and perform any sensitive operations from server side code that your client has to authenticate with.
18
+
17
19
  TeamsFx SDK is pre-configured in scaffolded project using Teams Toolkit extension for Visual Studio and vscode, or the `teamsfx` cli from the `teamsfx-cli` npm package.
18
20
  Please check the [README](https://github.com/OfficeDev/TeamsFx/blob/main/packages/vscode-extension/README.md) to see how to create a Teams App project.
19
21
 
@@ -203,7 +205,10 @@ Apart from `tedious`, you can also compose connection config of other SQL librar
203
205
  ```ts
204
206
  loadConfiguration();
205
207
  const sqlConnectConfig = new DefaultTediousConnectionConfiguration();
208
+ // if there's only one SQL database
206
209
  const config = await sqlConnectConfig.getConfig();
210
+ // if there are multiple SQL databases
211
+ const config2 = await sqlConnectionConfig.getConfig("your database name");
207
212
  const connection = new Connection(config);
208
213
  connection.on("connect", (error) => {
209
214
  if (error) {