@microsoft/teams-js 2.0.0-beta.3-dev.40 → 2.0.0-beta.3-dev.44

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
@@ -1,24 +1,18 @@
1
1
  # Microsoft Teams JavaScript client SDK
2
2
 
3
- Welcome to the Teams client SDK monorepo! For breaking changes, please refer to our changelog in the monorepo root of the `2.0-preview` branch.
3
+ Welcome to the Teams JavaScript client SDK ! For breaking changes, please refer to our changelog in the monorepo root of the `2.0-preview` branch.
4
4
 
5
- This JavaScript library is part of the [Microsoft Teams developer platform](https://developer.microsoft.com/microsoft-teams/). See full [SDK reference documentation](https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client).
6
-
7
- [![Build Status](https://travis-ci.org/OfficeDev/microsoft-teams-library-js.svg?branch=master)](https://travis-ci.org/OfficeDev/microsoft-teams-library-js)
8
- [![Coverage Status](https://coveralls.io/repos/github/OfficeDev/microsoft-teams-library-js/badge.svg?branch=master)](https://coveralls.io/github/OfficeDev/microsoft-teams-library-js?branch=master)
5
+ This JavaScript library is part of the [Microsoft Teams developer platform](https://docs.microsoft.com/en-us/microsoftteams/platform/overview?view=msteams-client-js-beta). See full [SDK reference documentation](https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client?view=msteams-client-js-beta).
9
6
 
10
7
  ## Getting Started
11
8
 
12
- 1. Clone the repo
13
- 2. Navigate to the repo root and run `yarn install`
14
- 3. Run `yarn build` from repo root
15
- 4. To run Unit tests, run `yarn test`
9
+ See [instructions](../../README.md#Getting-Started) in the monorepo root for how to clone and build the repository.
16
10
 
17
- TIP: whenever building or testing the Teams client SDK, you can run `yarn build` or `yarn test` from the packages/teams-js directory.
11
+ Whenever building or testing the Teams client SDK, you can run `yarn build` or `yarn test` from the packages/teams-js directory.
18
12
 
19
13
  ## Installation
20
14
 
21
- To install the latest 2.0 preview version:
15
+ To install the latest [2.0 preview version](https://docs.microsoft.com/en-us/javascript/api/overview/msteams-client?view=msteams-client-js-beta):
22
16
 
23
17
  ### npm
24
18
 
@@ -74,11 +68,3 @@ Stay tuned for examples coming soon.
74
68
  ## Testing
75
69
 
76
70
  The [Teams Test App](https://aka.ms/teams-test-app) is used to validate the Teams client SDK APIs.
77
-
78
- ## Contributing
79
-
80
- We strongly welcome and encourage contributions to this project. Please read the [contributor's guide](CONTRIBUTING.md).
81
-
82
- ---
83
-
84
- This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
@@ -1120,7 +1120,7 @@ __webpack_require__.d(__webpack_exports__, {
1120
1120
  });
1121
1121
 
1122
1122
  ;// CONCATENATED MODULE: ./src/internal/constants.ts
1123
- var version = "2.0.0-beta.3-dev.40";
1123
+ var version = "2.0.0-beta.3-dev.44";
1124
1124
  /**
1125
1125
  * @hidden
1126
1126
  * The client version when all SDK APIs started to check platform compatibility for the APIs was 1.6.0.
@@ -5332,6 +5332,9 @@ var mail;
5332
5332
  if (!isSupported()) {
5333
5333
  throw 'Not Supported';
5334
5334
  }
5335
+ if (!openMailItemParams.itemId || !openMailItemParams.itemId.trim()) {
5336
+ throw new Error('Must supply an itemId to openMailItem');
5337
+ }
5335
5338
  resolve(sendAndHandleStatusAndReason('mail.openMailItem', openMailItemParams));
5336
5339
  });
5337
5340
  }