@microsoft/teams-js 1.12.0-dev.2 → 1.12.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/LICENSE CHANGED
@@ -1,12 +1,12 @@
1
- Microsoft Teams JS Library
2
-
3
- Copyright (c) Microsoft Corporation
4
- All rights reserved.
5
-
6
- MIT License
7
-
8
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
-
10
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
-
1
+ Microsoft Teams JS Library
2
+
3
+ Copyright (c) Microsoft Corporation
4
+ All rights reserved.
5
+
6
+ MIT License
7
+
8
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
11
+
12
12
  THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -1,65 +1,65 @@
1
- # Microsoft Teams JavaScript client SDK
2
-
3
- This SDK 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).
4
-
5
- [![Build Status](https://travis-ci.org/OfficeDev/microsoft-teams-library-js.svg?branch=master)](https://travis-ci.org/OfficeDev/microsoft-teams-library-js)
6
- [![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)
7
-
8
- ## Getting Started
9
-
10
- 1. Clone the repo
11
- 2. Navigate to the repo root
12
- 3. `yarn install`
13
- 4. `yarn build`
14
- 5. to run Unit test `yarn test`
15
-
16
- ### Installation
17
-
18
- To install the stable version:
19
-
20
- #### npm
21
-
22
- `npm install --save @microsoft/teams-js`
23
-
24
- #### yarn
25
-
26
- `yarn add @microsoft/teams-js`
27
-
28
- #### Production
29
-
30
- You can access [these files on unpkg](https://statics.teams.cdn.office.net/sdk/v1.11.0/js/MicrosoftTeams.min.js), download them, or point your package manager to them.
31
-
32
- ## Usage
33
-
34
- ### As a package
35
-
36
- Install either using npm or yarn.
37
-
38
- **If you are using any dependency loader** such as [RequireJS](http://requirejs.org/) or [SystemJS](https://github.com/systemjs/systemjs) or module bundler such as [browserify](http://browserify.org/), [webpack](https://webpack.github.io/), you can use `import` syntax to import specific modules. For e.g.
39
-
40
- ```typescript
41
- import * as microsoftTeams from "@microsoft/teams-js";
42
- ```
43
-
44
- ### As a script tag
45
-
46
- Reference the SDK inside of your `.html` page using:
47
-
48
- ```html
49
- <!-- Microsoft Teams JavaScript API (via CDN) -->
50
- <script src="https://statics.teams.cdn.office.net/sdk/v1.11.0/js/MicrosoftTeams.min.js" integrity="sha384-SCVF3m7OvDKnfAilUzYn2yozEvBeP8n/Oq0yTH8VUI70J4AzrqR70jzjdQ6DI8s2" crossorigin="anonymous"></script>
51
-
52
- <!-- Microsoft Teams JavaScript API (via npm) -->
53
- <script src="node_modules/@microsoft/teams-js@1.11.0/dist/MicrosoftTeams.min.js"></script>
54
-
55
- <!-- Microsoft Teams JavaScript API (via local) -->
56
- <script src="MicrosoftTeams.min.js"></script>
57
- ```
58
-
59
- ## Contributing
60
-
61
- We strongly welcome and encourage contributions to this project. Please read the [contributor's guide](CONTRIBUTING.md).
62
-
63
- ---
64
-
65
- 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.
1
+ # Microsoft Teams JavaScript client SDK
2
+
3
+ This SDK 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).
4
+
5
+ [![Build Status](https://travis-ci.org/OfficeDev/microsoft-teams-library-js.svg?branch=master)](https://travis-ci.org/OfficeDev/microsoft-teams-library-js)
6
+ [![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)
7
+
8
+ ## Getting Started
9
+
10
+ 1. Clone the repo
11
+ 2. Navigate to the repo root
12
+ 3. `yarn install`
13
+ 4. `yarn build`
14
+ 5. to run Unit test `yarn test`
15
+
16
+ ### Installation
17
+
18
+ To install the stable version:
19
+
20
+ #### npm
21
+
22
+ `npm install --save @microsoft/teams-js`
23
+
24
+ #### yarn
25
+
26
+ `yarn add @microsoft/teams-js`
27
+
28
+ #### Production
29
+
30
+ You can access [these files on unpkg](https://statics.teams.cdn.office.net/sdk/v1.11.0/js/MicrosoftTeams.min.js), download them, or point your package manager to them.
31
+
32
+ ## Usage
33
+
34
+ ### As a package
35
+
36
+ Install either using npm or yarn.
37
+
38
+ **If you are using any dependency loader** such as [RequireJS](http://requirejs.org/) or [SystemJS](https://github.com/systemjs/systemjs) or module bundler such as [browserify](http://browserify.org/), [webpack](https://webpack.github.io/), you can use `import` syntax to import specific modules. For e.g.
39
+
40
+ ```typescript
41
+ import * as microsoftTeams from "@microsoft/teams-js";
42
+ ```
43
+
44
+ ### As a script tag
45
+
46
+ Reference the SDK inside of your `.html` page using:
47
+
48
+ ```html
49
+ <!-- Microsoft Teams JavaScript API (via CDN) -->
50
+ <script src="https://statics.teams.cdn.office.net/sdk/v1.12.0/js/MicrosoftTeams.min.js" integrity="sha384-06E7O0nB4p8Y498LnQL9gO3VQyGbXFGgMxzqlvjucyDqZorCxtaefYs+135dvUiD" crossorigin="anonymous"></script>
51
+
52
+ <!-- Microsoft Teams JavaScript API (via npm) -->
53
+ <script src="node_modules/@microsoft/teams-js@1.12.0/dist/MicrosoftTeams.min.js"></script>
54
+
55
+ <!-- Microsoft Teams JavaScript API (via local) -->
56
+ <script src="MicrosoftTeams.min.js"></script>
57
+ ```
58
+
59
+ ## Contributing
60
+
61
+ We strongly welcome and encourage contributions to this project. Please read the [contributor's guide](CONTRIBUTING.md).
62
+
63
+ ---
64
+
65
+ 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.