@microsoft/teams-js 2.4.2-beta.0 → 2.4.2

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
@@ -24,7 +24,7 @@ To install the stable [version](https://learn.microsoft.com/javascript/api/overv
24
24
 
25
25
  ### Production
26
26
 
27
- You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.4.1/js/MicrosoftTeams.min.js) or point your package manager at them.
27
+ You can reference these files directly [from here](https://res.cdn.office.net/teams-js/2.4.2/js/MicrosoftTeams.min.js) or point your package manager at them.
28
28
 
29
29
  ## Usage
30
30
 
@@ -45,13 +45,13 @@ Reference the SDK inside of your `.html` page using:
45
45
  ```html
46
46
  <!-- Microsoft Teams JavaScript API (via CDN) -->
47
47
  <script
48
- src="https://res.cdn.office.net/teams-js/2.4.1/js/MicrosoftTeams.min.js"
49
- integrity="sha384-f54aC8b3HUFudeEk+QUkv5RpZUpPr2g7TdP4+jnDAMoJSmt+PbMdUV+zGTYCQY1c"
48
+ src="https://res.cdn.office.net/teams-js/2.4.2/js/MicrosoftTeams.min.js"
49
+ integrity="sha384-M1BiuUWGXFEu6jscBr/dyRZl4uojmiT5eMSu50lpG3eUyacKjwXE0eWRa2ZIdOmQ"
50
50
  crossorigin="anonymous"
51
51
  ></script>
52
52
 
53
53
  <!-- Microsoft Teams JavaScript API (via npm) -->
54
- <script src="node_modules/@microsoft/teams-js@2.4.1/dist/MicrosoftTeams.min.js"></script>
54
+ <script src="node_modules/@microsoft/teams-js@2.4.2/dist/MicrosoftTeams.min.js"></script>
55
55
 
56
56
  <!-- Microsoft Teams JavaScript API (via local) -->
57
57
  <script src="MicrosoftTeams.min.js"></script>
@@ -69,6 +69,10 @@ Stay tuned for examples coming soon.
69
69
 
70
70
  The [Teams Test App](https://aka.ms/teams-test-app) is used to validate the Teams client SDK APIs.
71
71
 
72
+ ## Troubleshooting
73
+
74
+ If the CDN hash value on the npm page is out of date please refer to [here] (https://github.com/OfficeDev/microsoft-teams-library-js/blob/main/packages/teams-js/README.md) for an up to date version. If you notice this problem, please report that issue to us in [GitHub Issues] (https://github.com/OfficeDev/microsoft-teams-library-js/issues)
75
+
72
76
  ## Contributing
73
77
 
74
78
  Please be sure to check out the [Contributor's guide](../../CONTRIBUTING.md) for crucial steps.
@@ -6366,7 +6366,7 @@ export namespace stageView {
6366
6366
  function isSupported(): boolean;
6367
6367
  }
6368
6368
 
6369
- export const version = "ERROR: This value should be replaced by webpack!";
6369
+ export const version: string;
6370
6370
 
6371
6371
  /**
6372
6372
  * Contains functionality to allow web apps to store data in webview cache
@@ -1130,7 +1130,7 @@ __webpack_require__.d(__webpack_exports__, {
1130
1130
  });
1131
1131
 
1132
1132
  ;// CONCATENATED MODULE: ./src/public/version.ts
1133
- var version = "2.4.2-beta.0";
1133
+ var version = "2.4.2";
1134
1134
 
1135
1135
  ;// CONCATENATED MODULE: ./src/internal/globalVars.ts
1136
1136
  var GlobalVars = /** @class */ (function () {