@microsoft/teams-js 2.43.0 → 2.44.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
@@ -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.43.0/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.44.0/js/MicrosoftTeams.min.js) or point your package manager at them.
28
28
 
29
29
  ## Usage
30
30
 
@@ -45,13 +45,13 @@ Reference the library 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.43.0/js/MicrosoftTeams.min.js"
49
- integrity="sha384-0nHNpMJRciJQlpaCyCYK4yo0UU4tusQNisqsYd0ViC1d+tHWCoicv0wyyqSyV45f"
48
+ src="https://res.cdn.office.net/teams-js/2.43.1/js/MicrosoftTeams.min.js"
49
+ integrity="sha384-7ORQy8xx1gKRnfigO9zP+eIdkANt5I5YKoTJh4P55DqdbkInsqjaevmrCNLwtkLb"
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.43.0/dist/MicrosoftTeams.min.js"></script>
54
+ <script src="node_modules/@microsoft/teams-js@2.43.1/dist/MicrosoftTeams.min.js"></script>
55
55
 
56
56
  <!-- Microsoft Teams JavaScript API (via local) -->
57
57
  <script src="MicrosoftTeams.min.js"></script>
@@ -1050,6 +1050,11 @@ export interface AppEligibilityInformation {
1050
1050
  * Education Eligibility Information for the app user
1051
1051
  */
1052
1052
  userClassification: UserClassification | null;
1053
+ /**
1054
+ * Describes settings available to the user.
1055
+ * If this property is undefined, it indicates that the host is an older version that doesn't support this property.
1056
+ */
1057
+ settings?: AppSettings | null;
1053
1058
  }
1054
1059
  /**
1055
1060
  * @hidden
@@ -1081,6 +1086,28 @@ export interface UserClassificationWithEduType {
1081
1086
  */
1082
1087
  persona: Persona.Faculty | Persona.Student;
1083
1088
  }
1089
+ /**
1090
+ * @hidden
1091
+ * @beta
1092
+ * Represents the settings set available to the user.
1093
+ */
1094
+ export interface AppSettings {
1095
+ /**
1096
+ * Describes conversation settings available to the user.
1097
+ */
1098
+ conversationSettings?: AppConversationSettings | null;
1099
+ }
1100
+ /**
1101
+ * @hidden
1102
+ * @beta
1103
+ * Represents the conversation settings available to the user.
1104
+ */
1105
+ export interface AppConversationSettings {
1106
+ /**
1107
+ * Indicates OCE admin toggle
1108
+ */
1109
+ isOptionalConnectedExperiencesEnabled: boolean;
1110
+ }
1084
1111
  /**
1085
1112
  * @hidden
1086
1113
  *
@@ -1 +1 @@
1
- const o="2.43.0";export{o as version};
1
+ const o="2.44.0";export{o as version};
@@ -4644,7 +4644,7 @@ function isSerializable(arg) {
4644
4644
  * @hidden
4645
4645
  * Package version.
4646
4646
  */
4647
- const version = "2.43.0";
4647
+ const version = "2.44.0";
4648
4648
 
4649
4649
  ;// ./src/public/featureFlags.ts
4650
4650
  // All build feature flags are defined inside this object. Any build feature flag must have its own unique getter and setter function. This pattern allows for client apps to treeshake unused code and avoid including code guarded by this feature flags in the final bundle. If this property isn't desired, use the below runtime feature flags object.