@pulsecharterconnect/types 0.2.123 → 0.2.124

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.
@@ -179,6 +179,15 @@ class Organization {
179
179
  },
180
180
  ];
181
181
  }
182
+ organization.featureFlags.forEach((flag) => {
183
+ const existingFlagIndex = this.featureFlags.findIndex((f) => f.name === flag.name);
184
+ if (existingFlagIndex !== -1) {
185
+ this.featureFlags[existingFlagIndex].enabled = flag.enabled;
186
+ }
187
+ else {
188
+ this.featureFlags.push(flag);
189
+ }
190
+ });
182
191
  if (!organization.communicationsSettings)
183
192
  organization.communicationsSettings = { alwaysAddParticipantIds: [] };
184
193
  if (!organization.communicationsSettings.alwaysAddParticipantIds)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulsecharterconnect/types",
3
- "version": "0.2.123",
3
+ "version": "0.2.124",
4
4
  "description": "A TypeScript library for enhanced type safety.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",